Share via


ProviderInstancePropertiesErrors Class

public final class ProviderInstancePropertiesErrors
extends Error

Defines the provider instance errors.

Constructor Summary

Constructor Description
ProviderInstancePropertiesErrors()

Creates an instance of ProviderInstancePropertiesErrors class.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: Server-defined set of error codes.

List<Error> details()

Get the details property: Array of details about specific errors that led to this reported error.

static ProviderInstancePropertiesErrors fromJson(JsonReader jsonReader)

Reads an instance of ProviderInstancePropertiesErrors from the JsonReader.

ErrorInnerError innerError()

Get the innerError property: Object containing more specific information than the current object about the error.

String message()

Get the message property: Human-readable representation of the error.

String target()

Get the target property: Target of the error.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from Error

Methods inherited from java.lang.Object

Constructor Details

ProviderInstancePropertiesErrors

public ProviderInstancePropertiesErrors()

Creates an instance of ProviderInstancePropertiesErrors class.

Method Details

code

public String code()

Get the code property: Server-defined set of error codes.

Overrides:

ProviderInstancePropertiesErrors.code()

Returns:

the code value.

details

public List<Error> details()

Get the details property: Array of details about specific errors that led to this reported error.

Overrides:

ProviderInstancePropertiesErrors.details()

Returns:

the details value.

fromJson

public static ProviderInstancePropertiesErrors fromJson(JsonReader jsonReader)

Reads an instance of ProviderInstancePropertiesErrors from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

innerError

public ErrorInnerError innerError()

Get the innerError property: Object containing more specific information than the current object about the error.

Overrides:

ProviderInstancePropertiesErrors.innerError()

Returns:

the innerError value.

message

public String message()

Get the message property: Human-readable representation of the error.

Overrides:

ProviderInstancePropertiesErrors.message()

Returns:

the message value.

target

public String target()

Get the target property: Target of the error.

Overrides:

ProviderInstancePropertiesErrors.target()

Returns:

the target value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ProviderInstancePropertiesErrors.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

ProviderInstancePropertiesErrors.validate()

Applies to