ApiOperationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.storagecache.fluent.models.ApiOperationInner

Implements

public final class ApiOperationInner
implements JsonSerializable<ApiOperationInner>

Method Summary

Modifier and Type Method and Description
ApiOperationDisplay display()

Get the display property: The object that represents the operation.

static ApiOperationInner fromJson(JsonReader jsonReader)

Reads an instance of ApiOperationInner from the JsonReader.

Boolean isDataAction()

Get the isDataAction property: The flag that indicates whether the operation applies to data plane.

String name()

Get the name property: Operation name: {provider}/{resource}/{operation}.

String origin()

Get the origin property: Origin of the operation.

ApiOperationPropertiesServiceSpecification serviceSpecification()

Get the serviceSpecification property: Specification of the all the metrics provided for a resource type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

display

public ApiOperationDisplay display()

Get the display property: The object that represents the operation.

Returns:

the display value.

fromJson

public static ApiOperationInner fromJson(JsonReader jsonReader)

Reads an instance of ApiOperationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isDataAction

public Boolean isDataAction()

Get the isDataAction property: The flag that indicates whether the operation applies to data plane.

Returns:

the isDataAction value.

name

public String name()

Get the name property: Operation name: {provider}/{resource}/{operation}.

Returns:

the name value.

origin

public String origin()

Get the origin property: Origin of the operation.

Returns:

the origin value.

serviceSpecification

public ApiOperationPropertiesServiceSpecification serviceSpecification()

Get the serviceSpecification property: Specification of the all the metrics provided for a resource type.

Returns:

the serviceSpecification value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to