Condividi tramite


OperationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.OperationInner

Implements

public final class OperationInner
implements JsonSerializable<OperationInner>

An operation on a resource.

Method Summary

Modifier and Type Method and Description
OffsetDateTime createdTime()

Get the createdTime property: Time when operation has started.

List<ErrorEntity> errors()

Get the errors property: Any errors associate with the operation.

OffsetDateTime expirationTime()

Get the expirationTime property: Time when operation will expire.

static OperationInner fromJson(JsonReader jsonReader)

Reads an instance of OperationInner from the JsonReader.

UUID geoMasterOperationId()

Get the geoMasterOperationId property: Applicable only for stamp operation ids.

String id()

Get the id property: Operation ID.

OffsetDateTime modifiedTime()

Get the modifiedTime property: Time when operation has been updated.

String name()

Get the name property: Operation name.

OperationStatus status()

Get the status property: The current status of the operation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

createdTime

public OffsetDateTime createdTime()

Get the createdTime property: Time when operation has started.

Returns:

the createdTime value.

errors

public List<ErrorEntity> errors()

Get the errors property: Any errors associate with the operation.

Returns:

the errors value.

expirationTime

public OffsetDateTime expirationTime()

Get the expirationTime property: Time when operation will expire.

Returns:

the expirationTime value.

fromJson

public static OperationInner fromJson(JsonReader jsonReader)

Reads an instance of OperationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

geoMasterOperationId

public UUID geoMasterOperationId()

Get the geoMasterOperationId property: Applicable only for stamp operation ids.

Returns:

the geoMasterOperationId value.

id

public String id()

Get the id property: Operation ID.

Returns:

the id value.

modifiedTime

public OffsetDateTime modifiedTime()

Get the modifiedTime property: Time when operation has been updated.

Returns:

the modifiedTime value.

name

public String name()

Get the name property: Operation name.

Returns:

the name value.

status

public OperationStatus status()

Get the status property: The current status of the operation.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to