Condividi tramite


ValidateResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.ValidateResponseInner

Implements

public final class ValidateResponseInner
implements JsonSerializable<ValidateResponseInner>

Describes the result of resource validation.

Method Summary

Modifier and Type Method and Description
ValidateResponseError error()

Get the error property: Error details for the case when validation fails.

static ValidateResponseInner fromJson(JsonReader jsonReader)

Reads an instance of ValidateResponseInner from the JsonReader.

String status()

Get the status property: Result of validation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

error

public ValidateResponseError error()

Get the error property: Error details for the case when validation fails.

Returns:

the error value.

fromJson

public static ValidateResponseInner fromJson(JsonReader jsonReader)

Reads an instance of ValidateResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

status

public String status()

Get the status property: Result of validation.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to