Share via


OperationsDefinitionInner Class

  • java.lang.Object
    • com.azure.resourcemanager.datamigration.fluent.models.OperationsDefinitionInner

Implements

public final class OperationsDefinitionInner
implements JsonSerializable<OperationsDefinitionInner>

The OperationsDefinition model.

Constructor Summary

Constructor Description
OperationsDefinitionInner()

Creates an instance of OperationsDefinitionInner class.

Method Summary

Modifier and Type Method and Description
OperationsDisplayDefinition display()

Get the display property: The display property.

static OperationsDefinitionInner fromJson(JsonReader jsonReader)

Reads an instance of OperationsDefinitionInner from the JsonReader.

Boolean isDataAction()

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

String name()

Get the name property: The name property.

OperationOrigin origin()

Get the origin property: The origin property.

Map<String,Object> properties()

Get the properties property: Dictionary of <AnyObject>.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OperationsDefinitionInner withIsDataAction(Boolean isDataAction)

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

Methods inherited from java.lang.Object

Constructor Details

OperationsDefinitionInner

public OperationsDefinitionInner()

Creates an instance of OperationsDefinitionInner class.

Method Details

display

public OperationsDisplayDefinition display()

Get the display property: The display property.

Returns:

the display value.

fromJson

public static OperationsDefinitionInner fromJson(JsonReader jsonReader)

Reads an instance of OperationsDefinitionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

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: The name property.

Returns:

the name value.

origin

public OperationOrigin origin()

Get the origin property: The origin property.

Returns:

the origin value.

properties

public Map<String,Object> properties()

Get the properties property: Dictionary of <AnyObject>.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIsDataAction

public OperationsDefinitionInner withIsDataAction(Boolean isDataAction)

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

Parameters:

isDataAction - the isDataAction value to set.

Returns:

the OperationsDefinitionInner object itself.

Applies to