public class EventRepresentation extends AbstractExtensibleRepresentation
EventMediaType.EVENT
.Constructor and Description |
---|
EventRepresentation() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
org.joda.time.DateTime |
getCreationDateTime() |
Date |
getCreationTime()
Deprecated.
|
org.joda.time.DateTime |
getDateTime() |
ExternalIDRepresentation |
getExternalSource() |
com.cumulocity.model.idtype.GId |
getId() |
ManagedObjectRepresentation |
getSource() |
String |
getText() |
Date |
getTime()
Deprecated.
|
String |
getType() |
int |
hashCode() |
void |
setCreationDateTime(org.joda.time.DateTime creationTime) |
void |
setCreationTime(Date creationTime)
Deprecated.
|
void |
setDateTime(org.joda.time.DateTime time) |
void |
setExternalSource(ExternalIDRepresentation externalSource) |
void |
setId(com.cumulocity.model.idtype.GId id) |
void |
setSource(ManagedObjectRepresentation managedObject) |
void |
setText(String text) |
void |
setTime(Date time)
Deprecated.
|
void |
setType(String type) |
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
getSelf, getSelfDecoded, setSelf, toJSON, toString
@JSONConverter(type=com.cumulocity.model.IDTypeConverter.class) @JSONProperty(ignoreIfNull=true) public com.cumulocity.model.idtype.GId getId()
public void setId(com.cumulocity.model.idtype.GId id)
@JSONProperty(ignoreIfNull=true) public String getType()
public void setType(String type)
@JSONProperty(value="deprecated_Time", ignore=true) @Deprecated public Date getTime()
@Deprecated public void setTime(Date time)
@JSONProperty(value="time", ignoreIfNull=true) @JSONConverter(type=com.cumulocity.model.DateTimeConverter.class) public org.joda.time.DateTime getDateTime()
public void setDateTime(org.joda.time.DateTime time)
@JSONProperty(value="text", ignoreIfNull=true) public String getText()
public void setText(String text)
@JSONProperty(value="source", ignoreIfNull=true) public ManagedObjectRepresentation getSource()
public void setSource(ManagedObjectRepresentation managedObject)
@JSONProperty(value="externalSource", ignoreIfNull=true) public ExternalIDRepresentation getExternalSource()
public void setExternalSource(ExternalIDRepresentation externalSource)
@JSONProperty(value="deprecated_CreationTime", ignore=true) @Deprecated public Date getCreationTime()
@Deprecated public void setCreationTime(Date creationTime)
@JSONProperty(value="creationTime", ignoreIfNull=true) @JSONConverter(type=com.cumulocity.model.DateTimeConverter.class) public org.joda.time.DateTime getCreationDateTime()
public void setCreationDateTime(org.joda.time.DateTime creationTime)
protected boolean canEqual(Object other)
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.