Share via


OperationsDisplayDefinition Class

  • java.lang.Object
    • com.azure.resourcemanager.datamigration.models.OperationsDisplayDefinition

Implements

public final class OperationsDisplayDefinition
implements JsonSerializable<OperationsDisplayDefinition>

The OperationsDisplayDefinition model.

Constructor Summary

Constructor Description
OperationsDisplayDefinition()

Creates an instance of OperationsDisplayDefinition class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The description property.

static OperationsDisplayDefinition fromJson(JsonReader jsonReader)

Reads an instance of OperationsDisplayDefinition from the JsonReader.

String operation()

Get the operation property: The operation property.

String provider()

Get the provider property: The provider property.

String resource()

Get the resource property: The resource property.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

OperationsDisplayDefinition

public OperationsDisplayDefinition()

Creates an instance of OperationsDisplayDefinition class.

Method Details

description

public String description()

Get the description property: The description property.

Returns:

the description value.

fromJson

public static OperationsDisplayDefinition fromJson(JsonReader jsonReader)

Reads an instance of OperationsDisplayDefinition from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

operation

public String operation()

Get the operation property: The operation property.

Returns:

the operation value.

provider

public String provider()

Get the provider property: The provider property.

Returns:

the provider value.

resource

public String resource()

Get the resource property: The resource property.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to