ValidationResultProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.models.ValidationResultProperties

Implements

public final class ValidationResultProperties
implements JsonSerializable<ValidationResultProperties>

The properties of the validation result.

Constructor Summary

Constructor Description
ValidationResultProperties()

Creates an instance of ValidationResultProperties class.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: Result Code.

static ValidationResultProperties fromJson(JsonReader jsonReader)

Reads an instance of ValidationResultProperties from the JsonReader.

String level()

Get the level property: Result Level.

String message()

Get the message property: The validation message.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ValidationResultProperties

public ValidationResultProperties()

Creates an instance of ValidationResultProperties class.

Method Details

code

public String code()

Get the code property: Result Code.

Returns:

the code value.

fromJson

public static ValidationResultProperties fromJson(JsonReader jsonReader)

Reads an instance of ValidationResultProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

level

public String level()

Get the level property: Result Level.

Returns:

the level value.

message

public String message()

Get the message property: The validation message.

Returns:

the message value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to