Share via


MoveResourcePropertiesErrors Class

public final class MoveResourcePropertiesErrors
extends MoveResourceError

Defines the move resource errors.

Constructor Summary

Constructor Description
MoveResourcePropertiesErrors()

Creates an instance of MoveResourcePropertiesErrors class.

Method Summary

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

Reads an instance of MoveResourcePropertiesErrors from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MoveResourcePropertiesErrors withProperties(MoveResourceErrorBody properties)

Set the properties property: The move resource error body.

Methods inherited from MoveResourceError

Methods inherited from java.lang.Object

Constructor Details

MoveResourcePropertiesErrors

public MoveResourcePropertiesErrors()

Creates an instance of MoveResourcePropertiesErrors class.

Method Details

fromJson

public static MoveResourcePropertiesErrors fromJson(JsonReader jsonReader)

Reads an instance of MoveResourcePropertiesErrors from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MoveResourcePropertiesErrors.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MoveResourcePropertiesErrors.validate()

withProperties

public MoveResourcePropertiesErrors withProperties(MoveResourceErrorBody properties)

Set the properties property: The move resource error body.

Overrides:

MoveResourcePropertiesErrors.withProperties(MoveResourceErrorBody properties)

Parameters:

properties

Applies to