OperationInner Class

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

Implements

public final class OperationInner
implements JsonSerializable<OperationInner>

The peering API operation.

Constructor Summary

Constructor Description
OperationInner()

Creates an instance of OperationInner class.

Method Summary

Modifier and Type Method and Description
OperationDisplayInfo display()

Get the display property: The information related to the operation.

static OperationInner fromJson(JsonReader jsonReader)

Reads an instance of OperationInner 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: The name of the operation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

OperationInner

public OperationInner()

Creates an instance of OperationInner class.

Method Details

display

public OperationDisplayInfo display()

Get the display property: The information related to the operation.

Returns:

the display 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.

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: The name of the operation.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to