AsyncOperationResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.deviceprovisioningservices.fluent.models.AsyncOperationResultInner

Implements

public final class AsyncOperationResultInner
implements JsonSerializable<AsyncOperationResultInner>

Result of a long running operation.

Method Summary

Modifier and Type Method and Description
ErrorMessage error()

Get the error property: Error message containing code, description and details.

static AsyncOperationResultInner fromJson(JsonReader jsonReader)

Reads an instance of AsyncOperationResultInner from the JsonReader.

String status()

Get the status property: current status of a long running operation.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

error

public ErrorMessage error()

Get the error property: Error message containing code, description and details.

Returns:

the error value.

fromJson

public static AsyncOperationResultInner fromJson(JsonReader jsonReader)

Reads an instance of AsyncOperationResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

status

public String status()

Get the status property: current status of a long running operation.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to