次の方法で共有


PreferencesValidationResponseProperties Class

public final class PreferencesValidationResponseProperties
extends ValidationInputResponse

Properties of data center and transport preference validation response.

Constructor Summary

Constructor Description
PreferencesValidationResponseProperties()

Creates an instance of PreferencesValidationResponseProperties class.

Method Summary

Modifier and Type Method and Description
CloudError error()

Get the error property: Error code and message of validation response.

static PreferencesValidationResponseProperties fromJson(JsonReader jsonReader)

Reads an instance of PreferencesValidationResponseProperties from the JsonReader.

ValidationStatus status()

Get the status property: Validation status of requested data center and transport.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ValidationInputDiscriminator validationType()

Get the validationType property: Identifies the type of validation response.

Methods inherited from ValidationInputResponse

Methods inherited from java.lang.Object

Constructor Details

PreferencesValidationResponseProperties

public PreferencesValidationResponseProperties()

Creates an instance of PreferencesValidationResponseProperties class.

Method Details

error

public CloudError error()

Get the error property: Error code and message of validation response.

Overrides:

PreferencesValidationResponseProperties.error()

Returns:

the error value.

fromJson

public static PreferencesValidationResponseProperties fromJson(JsonReader jsonReader)

Reads an instance of PreferencesValidationResponseProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

status

public ValidationStatus status()

Get the status property: Validation status of requested data center and transport.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PreferencesValidationResponseProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

PreferencesValidationResponseProperties.validate()

validationType

public ValidationInputDiscriminator validationType()

Get the validationType property: Identifies the type of validation response.

Overrides:

PreferencesValidationResponseProperties.validationType()

Returns:

the validationType value.

Applies to