Freigeben über


DeviceStatus Class

  • java.lang.Object
    • com.azure.resourcemanager.deviceregistry.models.DeviceStatus

Implements

public final class DeviceStatus
implements JsonSerializable<DeviceStatus>

Defines the device status properties.

Method Summary

Modifier and Type Method and Description
StatusConfig config()

Get the config property: Defines the device status config properties.

DeviceStatusEndpoints endpoints()

Get the endpoints property: Defines the device status for inbound/outbound endpoints.

static DeviceStatus fromJson(JsonReader jsonReader)

Reads an instance of DeviceStatus from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

config

public StatusConfig config()

Get the config property: Defines the device status config properties.

Returns:

the config value.

endpoints

public DeviceStatusEndpoints endpoints()

Get the endpoints property: Defines the device status for inbound/outbound endpoints.

Returns:

the endpoints value.

fromJson

public static DeviceStatus fromJson(JsonReader jsonReader)

Reads an instance of DeviceStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DeviceStatus if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DeviceStatus.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to