Class OperationRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.operation.OperationRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
,org.svenson.DynamicProperties
public class OperationRepresentation extends AbstractExtensibleRepresentation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OperationRepresentation.OperationRepresentationBuilder
-
Constructor Summary
Constructors Constructor Description OperationRepresentation()
-
Method Summary
-
Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
-
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON, toString
-
-
-
-
Method Detail
-
getId
@JSONConverter(type=IDTypeConverter.class) @JSONProperty(ignoreIfNull=true) public GId getId()
-
setId
public void setId(GId id)
-
getDeviceId
@JSONConverter(type=IDTypeConverter.class) @JSONProperty(ignoreIfNull=true) public GId getDeviceId()
-
setDeviceId
public void setDeviceId(GId deviceId)
-
getDeviceName
@JSONProperty(ignoreIfNull=true) public String getDeviceName()
-
setDeviceName
public void setDeviceName(String deviceName)
-
getStatus
@JSONProperty(ignoreIfNull=true) public String getStatus()
-
setStatus
public void setStatus(String status)
-
getFailureReason
@JSONProperty(ignoreIfNull=true) public String getFailureReason()
-
setFailureReason
public void setFailureReason(String failureReason)
-
getCreationTime
@JSONProperty(value="deprecated_CreationTime", ignore=true) @Deprecated public Date getCreationTime()
Deprecated.
-
setCreationTime
@Deprecated public void setCreationTime(Date creationTime)
Deprecated.
-
getCreationDateTime
@JSONProperty(value="creationTime", ignoreIfNull=true) @JSONConverter(type=DateTimeConverter.class) public org.joda.time.DateTime getCreationDateTime()
-
setCreationDateTime
public void setCreationDateTime(org.joda.time.DateTime creationTime)
-
getDeviceExternalIDs
@JSONProperty(ignoreIfNull=true) public ExternalIDCollectionRepresentation getDeviceExternalIDs()
-
setDeviceExternalIDs
public void setDeviceExternalIDs(ExternalIDCollectionRepresentation deviceExternalIDs)
-
getBulkOperationId
@JSONProperty(ignoreIfNull=true) public Long getBulkOperationId()
-
setBulkOperationId
public void setBulkOperationId(Long bulkOperationId)
-
aOperation
public static OperationRepresentation.OperationRepresentationBuilder aOperation()
-
getDelivery
@JSONProperty(ignoreIfNull=true) public DeliveryRepresentation getDelivery()
-
setDelivery
public void setDelivery(DeliveryRepresentation delivery)
-
getConnector
@JSONProperty(ignoreIfNull=true) public ConnectorReferenceRepresentation getConnector()
-
setConnector
public void setConnector(ConnectorReferenceRepresentation connector)
-
-