Operation Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.models.Operation

Implements

public final class Operation
implements JsonSerializable<Operation>

An operation for Azure Container Instance service.

Method Summary

Modifier and Type Method and Description
OperationDisplay display()

Get the display property: The display information of the operation.

static Operation fromJson(JsonReader jsonReader)

Reads an instance of Operation from the JsonReader.

String name()

Get the name property: The name of the operation.

ContainerInstanceOperationsOrigin origin()

Get the origin property: The intended executor of the operation.

Object properties()

Get the properties property: The additional properties.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

display

public OperationDisplay display()

Get the display property: The display information of the operation.

Returns:

the display value.

fromJson

public static Operation fromJson(JsonReader jsonReader)

Reads an instance of Operation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Operation if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

name

public String name()

Get the name property: The name of the operation.

Returns:

the name value.

origin

public ContainerInstanceOperationsOrigin origin()

Get the origin property: The intended executor of the operation.

Returns:

the origin value.

properties

public Object properties()

Get the properties property: The additional properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to