Dela via


ValidateProbeOutputInner Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.fluent.models.ValidateProbeOutputInner

Implements

public final class ValidateProbeOutputInner
implements JsonSerializable<ValidateProbeOutputInner>

Output of the validate probe API.

Constructor Summary

Constructor Description
ValidateProbeOutputInner()

Creates an instance of ValidateProbeOutputInner class.

Method Summary

Modifier and Type Method and Description
String errorCode()

Get the errorCode property: Specifies the error code when the probe url is not accepted.

static ValidateProbeOutputInner fromJson(JsonReader jsonReader)

Reads an instance of ValidateProbeOutputInner from the JsonReader.

Boolean isValid()

Get the isValid property: Indicates whether the probe URL is accepted or not.

String message()

Get the message property: The detailed error message describing why the probe URL is not accepted.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ValidateProbeOutputInner

public ValidateProbeOutputInner()

Creates an instance of ValidateProbeOutputInner class.

Method Details

errorCode

public String errorCode()

Get the errorCode property: Specifies the error code when the probe url is not accepted.

Returns:

the errorCode value.

fromJson

public static ValidateProbeOutputInner fromJson(JsonReader jsonReader)

Reads an instance of ValidateProbeOutputInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isValid

public Boolean isValid()

Get the isValid property: Indicates whether the probe URL is accepted or not.

Returns:

the isValid value.

message

public String message()

Get the message property: The detailed error message describing why the probe URL is not accepted.

Returns:

the message value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to