LocationOperationStatusInner Class

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

Implements

public final class LocationOperationStatusInner
implements JsonSerializable<LocationOperationStatusInner>

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 LocationOperationStatusInner fromJson(JsonReader jsonReader)

Reads an instance of LocationOperationStatusInner from the JsonReader.

String id()

Get the id property: Operation resource Id.

String name()

Get the name property: Operation Id.

Integer percentComplete()

Get the percentComplete property: Percent complete.

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 LocationOperationStatusInner fromJson(JsonReader jsonReader)

Reads an instance of LocationOperationStatusInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Operation resource Id.

Returns:

the id value.

name

public String name()

Get the name property: Operation Id.

Returns:

the name value.

percentComplete

public Integer percentComplete()

Get the percentComplete property: Percent complete.

Returns:

the percentComplete 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