Share via


AffectedMoveResource Class

  • java.lang.Object
    • com.azure.resourcemanager.resourcemover.models.AffectedMoveResource

Implements

public final class AffectedMoveResource
implements JsonSerializable<AffectedMoveResource>

The RP custom operation error info.

Constructor Summary

Constructor Description
AffectedMoveResource()

Creates an instance of AffectedMoveResource class.

Method Summary

Modifier and Type Method and Description
static AffectedMoveResource fromJson(JsonReader jsonReader)

Reads an instance of AffectedMoveResource from the JsonReader.

String id()

Get the id property: The affected move resource id.

List<AffectedMoveResource> moveResources()

Get the moveResources property: The affected move resources.

String sourceId()

Get the sourceId property: The affected move resource source id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

AffectedMoveResource

public AffectedMoveResource()

Creates an instance of AffectedMoveResource class.

Method Details

fromJson

public static AffectedMoveResource fromJson(JsonReader jsonReader)

Reads an instance of AffectedMoveResource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The affected move resource id.

Returns:

the id value.

moveResources

public List<AffectedMoveResource> moveResources()

Get the moveResources property: The affected move resources.

Returns:

the moveResources value.

sourceId

public String sourceId()

Get the sourceId property: The affected move resource source id.

Returns:

the sourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to