com.cumulocity.rest.representation.measurement
Class MeasurementRepresentation
java.lang.Object
com.cumulocity.rest.representation.BaseResourceRepresentation
com.cumulocity.rest.representation.AbstractExtensibleRepresentation
com.cumulocity.rest.representation.measurement.MeasurementRepresentation
- All Implemented Interfaces:
- ResourceRepresentation, org.svenson.DynamicProperties
public class MeasurementRepresentation
- extends AbstractExtensibleRepresentation
MeasurementRepresentation
public MeasurementRepresentation()
setId
@JSONConverter(type=IDTypeConverter.class)
public void setId(GId id)
getId
@JSONProperty(ignoreIfNull=true)
public GId getId()
setType
public void setType(String type)
getType
@JSONProperty(ignoreIfNull=true)
public String getType()
setTime
public void setTime(Date time)
getTime
@JSONProperty(value="time",
ignoreIfNull=true)
@JSONConverter(type=DateConverter.class)
public Date getTime()
setSource
public void setSource(ManagedObjectRepresentation source)
getSource
@JSONProperty(ignoreIfNull=true)
public ManagedObjectRepresentation getSource()
Copyright © 2013 (C) Cumulocity GmbH. All Rights Reserved.