Condividi tramite


ValidateResponseError Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.ValidateResponseError

Implements

public final class ValidateResponseError
implements JsonSerializable<ValidateResponseError>

Error details for when validation fails.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: Validation error code.

static ValidateResponseError fromJson(JsonReader jsonReader)

Reads an instance of ValidateResponseError from the JsonReader.

String message()

Get the message property: Validation error message.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

code

public String code()

Get the code property: Validation error code.

Returns:

the code value.

fromJson

public static ValidateResponseError fromJson(JsonReader jsonReader)

Reads an instance of ValidateResponseError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

message

public String message()

Get the message property: Validation error message.

Returns:

the message value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to