次の方法で共有


OperationInner Class

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

Implements

public final class OperationInner
implements JsonSerializable<OperationInner>

Operation entity.

Constructor Summary

Constructor Description
OperationInner()

Creates an instance of OperationInner class.

Method Summary

Modifier and Type Method and Description
OperationDisplay display()

Get the display property: Operation display values.

static OperationInner fromJson(JsonReader jsonReader)

Reads an instance of OperationInner from the JsonReader.

Boolean isDataAction()

Get the isDataAction property: Indicates whether the operation is a data action.

String name()

Get the name property: Name of the operation.

String origin()

Get the origin property: Origin of the operation.

Object properties()

Get the properties property: Operation properties.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OperationInner withIsDataAction(Boolean isDataAction)

Set the isDataAction property: Indicates whether the operation is a data action.

Methods inherited from java.lang.Object

Constructor Details

OperationInner

public OperationInner()

Creates an instance of OperationInner class.

Method Details

display

public OperationDisplay display()

Get the display property: Operation display values.

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: Indicates whether the operation is a data action.

Returns:

the isDataAction value.

name

public String name()

Get the name property: Name of the operation. Format: {resourceProviderNamespace}/{resourceType}/{read|write|delete|action}.

Returns:

the name value.

origin

public String origin()

Get the origin property: Origin of the operation. Can be : user|system|user,system.

Returns:

the origin value.

properties

public Object properties()

Get the properties property: Operation properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIsDataAction

public OperationInner withIsDataAction(Boolean isDataAction)

Set the isDataAction property: Indicates whether the operation is a data action.

Parameters:

isDataAction - the isDataAction value to set.

Returns:

the OperationInner object itself.

Applies to