Share via


MoveCollectionPropertiesErrors Class

public final class MoveCollectionPropertiesErrors
extends MoveResourceError

Defines the move collection errors.

Constructor Summary

Constructor Description
MoveCollectionPropertiesErrors()

Creates an instance of MoveCollectionPropertiesErrors class.

Method Summary

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

Reads an instance of MoveCollectionPropertiesErrors from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MoveCollectionPropertiesErrors withProperties(MoveResourceErrorBody properties)

Set the properties property: The move resource error body.

Methods inherited from MoveResourceError

Methods inherited from java.lang.Object

Constructor Details

MoveCollectionPropertiesErrors

public MoveCollectionPropertiesErrors()

Creates an instance of MoveCollectionPropertiesErrors class.

Method Details

fromJson

public static MoveCollectionPropertiesErrors fromJson(JsonReader jsonReader)

Reads an instance of MoveCollectionPropertiesErrors from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MoveCollectionPropertiesErrors.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MoveCollectionPropertiesErrors.validate()

withProperties

public MoveCollectionPropertiesErrors withProperties(MoveResourceErrorBody properties)

Set the properties property: The move resource error body.

Overrides:

MoveCollectionPropertiesErrors.withProperties(MoveResourceErrorBody properties)

Parameters:

properties

Applies to