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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
org.joda.time.DateTime
Deprecated.getId()
int
hashCode()
void
setBulkOperationId
(Long bulkOperationId) void
setConnector
(ConnectorReferenceRepresentation connector) void
setCreationDateTime
(org.joda.time.DateTime creationTime) void
setCreationTime
(Date creationTime) Deprecated.void
setDelivery
(DeliveryRepresentation delivery) void
setDeviceExternalIDs
(ExternalIDCollectionRepresentation deviceExternalIDs) void
setDeviceId
(GId deviceId) void
setDeviceName
(String deviceName) void
setFailureReason
(String failureReason) void
void
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
-
Constructor Details
-
OperationRepresentation
public OperationRepresentation()
-
-
Method Details
-
getId
-
setId
-
getDeviceId
@JSONConverter(type=IDTypeConverter.class) @JSONProperty(ignoreIfNull=true) public GId getDeviceId() -
setDeviceId
-
getDeviceName
-
setDeviceName
-
getStatus
-
setStatus
-
getFailureReason
-
setFailureReason
-
getCreationTime
@JSONProperty(value="deprecated_CreationTime", ignore=true) @Deprecated public Date getCreationTime()Deprecated. -
setCreationTime
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
-
setDeviceExternalIDs
-
getBulkOperationId
-
setBulkOperationId
-
hashCode
public int hashCode() -
equals
-
aOperation
-
getDelivery
-
setDelivery
-
getConnector
-
setConnector
-