OperationDisplay Class

  • java.lang.Object
    • com.azure.resourcemanager.deviceprovisioningservices.models.OperationDisplay

Implements

public final class OperationDisplay
implements JsonSerializable<OperationDisplay>

The OperationDisplay model.

Method Summary

Modifier and Type Method and Description
static OperationDisplay fromJson(JsonReader jsonReader)

Reads an instance of OperationDisplay from the JsonReader.

String operation()

Get the operation property: Name of the operation.

String provider()

Get the provider property: Service provider: Microsoft Devices.

String resource()

Get the resource property: Resource Type: ProvisioningServices.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static OperationDisplay fromJson(JsonReader jsonReader)

Reads an instance of OperationDisplay from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OperationDisplay 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 OperationDisplay.

operation

public String operation()

Get the operation property: Name of the operation.

Returns:

the operation value.

provider

public String provider()

Get the provider property: Service provider: Microsoft Devices.

Returns:

the provider value.

resource

public String resource()

Get the resource property: Resource Type: ProvisioningServices.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to