Share via


MoveErrorInfo Class

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

Implements

public final class MoveErrorInfo
implements JsonSerializable<MoveErrorInfo>

The move custom error info.

Constructor Summary

Constructor Description
MoveErrorInfo()

Creates an instance of MoveErrorInfo class.

Method Summary

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

Reads an instance of MoveErrorInfo from the JsonReader.

List<AffectedMoveResource> moveResources()

Get the moveResources property: The affected move resources.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

MoveErrorInfo

public MoveErrorInfo()

Creates an instance of MoveErrorInfo class.

Method Details

fromJson

public static MoveErrorInfo fromJson(JsonReader jsonReader)

Reads an instance of MoveErrorInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

moveResources

public List<AffectedMoveResource> moveResources()

Get the moveResources property: The affected move resources.

Returns:

the moveResources value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to