OperationStatusInner Class

  • java.lang.Object
    • com.azure.resourcemanager.storagesync.fluent.models.OperationStatusInner

Implements

public final class OperationStatusInner
implements JsonSerializable<OperationStatusInner>

Operation status object.

Method Summary

Modifier and Type Method and Description
OffsetDateTime endTime()

Get the endTime property: End time of the operation.

StorageSyncApiError error()

Get the error property: Error details.

static OperationStatusInner fromJson(JsonReader jsonReader)

Reads an instance of OperationStatusInner from the JsonReader.

String name()

Get the name property: Operation Id.

OffsetDateTime startTime()

Get the startTime property: Start time of the operation.

String status()

Get the status property: Operation status.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

endTime

public OffsetDateTime endTime()

Get the endTime property: End time of the operation.

Returns:

the endTime value.

error

public StorageSyncApiError error()

Get the error property: Error details.

Returns:

the error value.

fromJson

public static OperationStatusInner fromJson(JsonReader jsonReader)

Reads an instance of OperationStatusInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Operation Id.

Returns:

the name value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Start time of the operation.

Returns:

the startTime value.

status

public String status()

Get the status property: Operation status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to