public final class Device extends Object
Constructor and Description |
---|
Device() |
Modifier and Type | Method and Description |
---|---|
DeviceDeploymentState |
getDeploymentStatus()
Get the deploymentStatus property: State of the device in its last deployment.
|
String |
getDeviceClassId()
Get the deviceClassId property: Device class identity.
|
String |
getDeviceId()
Get the deviceId property: Device identity.
|
String |
getGroupId()
Get the groupId property: Device group identity.
|
UpdateId |
getInstalledUpdateId()
Get the installedUpdateId property: Update identity.
|
UpdateId |
getLastAttemptedUpdateId()
Get the lastAttemptedUpdateId property: Update identity.
|
String |
getLastDeploymentId()
Get the lastDeploymentId property: The deployment identifier for the last deployment to the device.
|
String |
getManufacturer()
Get the manufacturer property: Device manufacturer.
|
String |
getModel()
Get the model property: Device model.
|
boolean |
isOnLatestUpdate()
Get the onLatestUpdate property: Boolean flag indicating whether the latest update is installed on the device.
|
Device |
setDeploymentStatus(DeviceDeploymentState deploymentStatus)
Set the deploymentStatus property: State of the device in its last deployment.
|
Device |
setDeviceClassId(String deviceClassId)
Set the deviceClassId property: Device class identity.
|
Device |
setDeviceId(String deviceId)
Set the deviceId property: Device identity.
|
Device |
setGroupId(String groupId)
Set the groupId property: Device group identity.
|
Device |
setInstalledUpdateId(UpdateId installedUpdateId)
Set the installedUpdateId property: Update identity.
|
Device |
setLastAttemptedUpdateId(UpdateId lastAttemptedUpdateId)
Set the lastAttemptedUpdateId property: Update identity.
|
Device |
setLastDeploymentId(String lastDeploymentId)
Set the lastDeploymentId property: The deployment identifier for the last deployment to the device.
|
Device |
setManufacturer(String manufacturer)
Set the manufacturer property: Device manufacturer.
|
Device |
setModel(String model)
Set the model property: Device model.
|
Device |
setOnLatestUpdate(boolean onLatestUpdate)
Set the onLatestUpdate property: Boolean flag indicating whether the latest update is installed on the device.
|
public String getDeviceId()
public Device setDeviceId(String deviceId)
deviceId
- the deviceId value to set.public String getDeviceClassId()
public Device setDeviceClassId(String deviceClassId)
deviceClassId
- the deviceClassId value to set.public String getManufacturer()
public Device setManufacturer(String manufacturer)
manufacturer
- the manufacturer value to set.public String getModel()
public Device setModel(String model)
model
- the model value to set.public String getGroupId()
public Device setGroupId(String groupId)
groupId
- the groupId value to set.public UpdateId getLastAttemptedUpdateId()
public Device setLastAttemptedUpdateId(UpdateId lastAttemptedUpdateId)
lastAttemptedUpdateId
- the lastAttemptedUpdateId value to set.public DeviceDeploymentState getDeploymentStatus()
public Device setDeploymentStatus(DeviceDeploymentState deploymentStatus)
deploymentStatus
- the deploymentStatus value to set.public UpdateId getInstalledUpdateId()
public Device setInstalledUpdateId(UpdateId installedUpdateId)
installedUpdateId
- the installedUpdateId value to set.public boolean isOnLatestUpdate()
public Device setOnLatestUpdate(boolean onLatestUpdate)
onLatestUpdate
- the onLatestUpdate value to set.public String getLastDeploymentId()
Copyright © 2021 Microsoft Corporation. All rights reserved.