AutomationValidationStatusInner Class

  • java.lang.Object
    • com.azure.resourcemanager.security.fluent.models.AutomationValidationStatusInner

Implements

public final class AutomationValidationStatusInner
implements JsonSerializable<AutomationValidationStatusInner>

The security automation model state property bag.

Method Summary

Modifier and Type Method and Description
static AutomationValidationStatusInner fromJson(JsonReader jsonReader)

Reads an instance of AutomationValidationStatusInner from the JsonReader.

Boolean isValid()

Get the isValid property: Indicates whether the model is valid or not.

String message()

Get the message property: The validation message.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static AutomationValidationStatusInner fromJson(JsonReader jsonReader)

Reads an instance of AutomationValidationStatusInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isValid

public Boolean isValid()

Get the isValid property: Indicates whether the model is valid or not.

Returns:

the isValid 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