ValidationResultProperties Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. ValidationResultProperties
- com.
Implements
public final class ValidationResultProperties
implements JsonSerializable<ValidationResultProperties>
The properties of the validation result.
Constructor Summary
| Constructor | Description |
|---|---|
| ValidationResultProperties() |
Creates an instance of Validation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
code()
Get the code property: Result Code. |
|
static
Validation |
fromJson(JsonReader jsonReader)
Reads an instance of Validation |
| String |
level()
Get the level property: Result Level. |
| String |
message()
Get the message property: The validation message. |
|
Json |
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:
fromJson
public static ValidationResultProperties fromJson(JsonReader jsonReader)
Reads an instance of ValidationResultProperties from the JsonReader.
Parameters:
Returns:
Throws:
level
public String level()
Get the level property: Result Level.
Returns:
message
public String message()
Get the message property: The validation message.
Returns:
toJson
validate
public void validate()
Validates the instance.