| Modifier and Type | Field and Description |
|---|---|
protected DeviceCapabilities |
capabilities |
protected TwinConnectionState |
connectionState |
protected String |
connectionStateUpdatedTime |
protected String |
deviceId |
protected String |
eTag |
protected String |
generationId |
protected String |
lastActivityTime |
protected String |
moduleId |
protected TwinStatus |
status |
protected String |
statusReason |
protected String |
statusUpdatedTime |
protected Integer |
version |
| Modifier and Type | Method and Description |
|---|---|
DeviceCapabilities |
getCapabilities()
Getter for the Capabilities
|
String |
getDeviceId()
Getter for the DeviceId
|
String |
getETag()
Getter for the ETag
|
String |
getModuleId()
Getter for the ModuleId
|
Integer |
getVersion()
Getter for the Version
|
void |
setCapabilities(DeviceCapabilities capabilities)
Setter for the Capabilities
|
void |
setDeviceId(String deviceId)
Setter for the DeviceId
|
void |
setETag(String eTag)
Setter for the ETag
|
void |
setModuleId(String moduleId)
Setter for the ModuleId
|
@Expose(serialize=true,
deserialize=true)
@SerializedName(value="deviceId")
protected String deviceId
@Expose(serialize=true,
deserialize=true)
@SerializedName(value="moduleId")
protected String moduleId
@Expose(serialize=true,
deserialize=true)
@SerializedName(value="generationId")
protected String generationId
@Expose(serialize=true,
deserialize=true)
@SerializedName(value="etag")
protected String eTag
@Expose(serialize=true,
deserialize=true)
@SerializedName(value="version")
protected Integer version
@Expose(serialize=true,
deserialize=true)
@SerializedName(value="status")
protected TwinStatus status
@Expose(serialize=true,
deserialize=true)
@SerializedName(value="statusReason")
protected String statusReason
@Expose(serialize=true,
deserialize=true)
@SerializedName(value="statusUpdatedTime")
protected String statusUpdatedTime
@Expose(serialize=true,
deserialize=true)
@SerializedName(value="connectionState")
protected TwinConnectionState connectionState
@Expose(serialize=true,
deserialize=true)
@SerializedName(value="connectionStateUpdatedTime")
protected String connectionStateUpdatedTime
@Expose(serialize=true,
deserialize=true)
@SerializedName(value="lastActivityTime")
protected String lastActivityTime
@Expose(serialize=true,
deserialize=true)
@SerializedName(value="capabilities")
protected DeviceCapabilities capabilities
public void setDeviceId(String deviceId) throws IllegalArgumentException
deviceId - the String that contains the new DeviceID.IllegalArgumentException - If the new DeviceId do not fits the ID criteria.public void setModuleId(String moduleId) throws IllegalArgumentException
moduleId - the String that contains the new ModuleId.IllegalArgumentException - If the new ModuleId do not fits the ID criteria.public void setETag(String eTag)
eTag - the String that contains the new ETag.public String getETag()
String with the stored ETag.public String getDeviceId()
String with the stored DeviceID.public String getModuleId()
String with the stored ModuleId.public DeviceCapabilities getCapabilities()
String with the stored ModuleId.public void setCapabilities(DeviceCapabilities capabilities) throws IllegalArgumentException
capabilities - the capabilitiesIllegalArgumentException - If the new capabilities do not fits the ID criteria.public Integer getVersion()
Integer with the stored version.Copyright © 2019. All rights reserved.