OperationDetailInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.fluent.models.OperationDetailInner

Implements

public final class OperationDetailInner
implements JsonSerializable<OperationDetailInner>

Operation detail payload.

Constructor Summary

Constructor Description
OperationDetailInner()

Creates an instance of OperationDetailInner class.

Method Summary

Modifier and Type Method and Description
ActionType actionType()

Get the actionType property: Enum.

OperationDisplay display()

Get the display property: Display of the operation.

static OperationDetailInner fromJson(JsonReader jsonReader)

Reads an instance of OperationDetailInner 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.

OperationProperties properties()

Get the properties property: Properties of the operation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OperationDetailInner withDisplay(OperationDisplay display)

Set the display property: Display of the operation.

OperationDetailInner withIsDataAction(Boolean isDataAction)

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

OperationDetailInner withName(String name)

Set the name property: Name of the operation.

OperationDetailInner withOrigin(String origin)

Set the origin property: Origin of the operation.

OperationDetailInner withProperties(OperationProperties properties)

Set the properties property: Properties of the operation.

Methods inherited from java.lang.Object

Constructor Details

OperationDetailInner

public OperationDetailInner()

Creates an instance of OperationDetailInner class.

Method Details

actionType

public ActionType actionType()

Get the actionType property: Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.

Returns:

the actionType value.

display

public OperationDisplay display()

Get the display property: Display of the operation.

Returns:

the display value.

fromJson

public static OperationDetailInner fromJson(JsonReader jsonReader)

Reads an instance of OperationDetailInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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.

Returns:

the name value.

origin

public String origin()

Get the origin property: Origin of the operation.

Returns:

the origin value.

properties

public OperationProperties properties()

Get the properties property: Properties of the operation.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisplay

public OperationDetailInner withDisplay(OperationDisplay display)

Set the display property: Display of the operation.

Parameters:

display - the display value to set.

Returns:

the OperationDetailInner object itself.

withIsDataAction

public OperationDetailInner withIsDataAction(Boolean isDataAction)

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

Parameters:

isDataAction - the isDataAction value to set.

Returns:

the OperationDetailInner object itself.

withName

public OperationDetailInner withName(String name)

Set the name property: Name of the operation.

Parameters:

name - the name value to set.

Returns:

the OperationDetailInner object itself.

withOrigin

public OperationDetailInner withOrigin(String origin)

Set the origin property: Origin of the operation.

Parameters:

origin - the origin value to set.

Returns:

the OperationDetailInner object itself.

withProperties

public OperationDetailInner withProperties(OperationProperties properties)

Set the properties property: Properties of the operation.

Parameters:

properties - the properties value to set.

Returns:

the OperationDetailInner object itself.

Applies to