com.cumulocity.rest.representation.operation
Class OperationRepresentation

java.lang.Object
  extended by com.cumulocity.rest.representation.BaseResourceRepresentation
      extended by com.cumulocity.rest.representation.AbstractExtensibleRepresentation
          extended by com.cumulocity.rest.representation.operation.OperationRepresentation
All Implemented Interfaces:
ResourceRepresentation, org.svenson.DynamicProperties

public class OperationRepresentation
extends AbstractExtensibleRepresentation


Constructor Summary
OperationRepresentation()
           
 
Method Summary
 Date getCreationTime()
           
 ExternalIDCollectionRepresentation getDeviceExternalIDs()
           
 GId getDeviceId()
           
 String getFailureReason()
           
 GId getId()
           
 String getStatus()
           
 void setCreationTime(Date creationTime)
           
 void setDeviceExternalIDs(ExternalIDCollectionRepresentation deviceExternalIDs)
           
 void setDeviceId(GId deviceId)
           
 void setFailureReason(String failureReason)
           
 void setId(GId id)
           
 void setStatus(String status)
           
 
Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, propertyNames, set, set, set, setAttrs, setProperty
 
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, setSelf, toJSON, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperationRepresentation

public OperationRepresentation()
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)

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="creationTime",
              ignoreIfNull=true)
@JSONConverter(type=DateConverter.class)
public Date getCreationTime()

setCreationTime

public void setCreationTime(Date creationTime)

getDeviceExternalIDs

@JSONProperty(ignoreIfNull=true)
public ExternalIDCollectionRepresentation getDeviceExternalIDs()

setDeviceExternalIDs

public void setDeviceExternalIDs(ExternalIDCollectionRepresentation deviceExternalIDs)


Copyright © 2013 (C) Cumulocity GmbH. All Rights Reserved.