public class ManagedObjectRepresentation extends AbstractExtensibleRepresentation implements ResourceRepresentationWithId, com.cumulocity.model.OwnerSource
Constructor and Description |
---|
ManagedObjectRepresentation()
Default constructor is needed for reflection based class instantiation.
|
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
getSelf, getSelfDecoded, setSelf, toJSON, toString
public ManagedObjectRepresentation()
@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)
setId
in interface ResourceRepresentationWithId
@JSONProperty(ignoreIfNull=true) public String getType()
public void setType(String type)
@JSONProperty(ignoreIfNull=true) public String getName()
public void setName(String name)
@JSONProperty(value="deprecated_LastUpdated", ignore=true) @Deprecated public Date getLastUpdated()
@Deprecated public void setLastUpdated(Date lastUpdate)
@JSONProperty(value="lastUpdated", ignoreIfNull=true) @JSONConverter(type=com.cumulocity.model.DateTimeConverter.class) public org.joda.time.DateTime getLastUpdatedDateTime()
public void setLastUpdatedDateTime(org.joda.time.DateTime lastUpdate)
@JSONProperty(value="deprecated_CreationTime", ignore=true) @Deprecated public Date getCreationTime()
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)
@JSONProperty(ignoreIfNull=true) public String getOwner()
getOwner
in interface com.cumulocity.model.OwnerSource
public void setOwner(String owner)
@JSONProperty(ignoreIfNull=true) public ManagedObjectReferenceCollectionRepresentation getChildDevices()
public void setChildDevices(ManagedObjectReferenceCollectionRepresentation childDevices)
@JSONProperty(ignoreIfNull=true) public ManagedObjectReferenceCollectionRepresentation getChildAssets()
public void setChildAssets(ManagedObjectReferenceCollectionRepresentation childAssets)
@JSONProperty(ignoreIfNull=true) public ManagedObjectReferenceCollectionRepresentation getChildAdditions()
public void setChildAdditions(ManagedObjectReferenceCollectionRepresentation childAdditions)
@JSONProperty(ignoreIfNull=true) public ManagedObjectReferenceCollectionRepresentation getDeviceParents()
public void setDeviceParents(ManagedObjectReferenceCollectionRepresentation deviceParents)
@JSONProperty(ignoreIfNull=true) public ManagedObjectReferenceCollectionRepresentation getAdditionParents()
public void setAdditionParents(ManagedObjectReferenceCollectionRepresentation additionParents)
@JSONProperty(ignoreIfNull=true) public ManagedObjectReferenceCollectionRepresentation getAssetParents()
public void setAssetParents(ManagedObjectReferenceCollectionRepresentation assetParents)
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.