AlertOperationResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.AlertOperationResultInner

Implements

public final class AlertOperationResultInner
implements JsonSerializable<AlertOperationResultInner>

Alert operation result.

Method Summary

Modifier and Type Method and Description
OffsetDateTime createdDateTime()

Get the createdDateTime property: The created date of the alert operation.

static AlertOperationResultInner fromJson(JsonReader jsonReader)

Reads an instance of AlertOperationResultInner from the JsonReader.

String id()

Get the id property: The id of the alert operation.

OffsetDateTime lastActionDateTime()

Get the lastActionDateTime property: The last action date of the alert operation.

String resourceLocation()

Get the resourceLocation property: The location of the alert associated with the operation.

String status()

Get the status property: The status of the alert operation.

String statusDetail()

Get the statusDetail property: The status detail of the alert operation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

createdDateTime

public OffsetDateTime createdDateTime()

Get the createdDateTime property: The created date of the alert operation.

Returns:

the createdDateTime value.

fromJson

public static AlertOperationResultInner fromJson(JsonReader jsonReader)

Reads an instance of AlertOperationResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The id of the alert operation.

Returns:

the id value.

lastActionDateTime

public OffsetDateTime lastActionDateTime()

Get the lastActionDateTime property: The last action date of the alert operation.

Returns:

the lastActionDateTime value.

resourceLocation

public String resourceLocation()

Get the resourceLocation property: The location of the alert associated with the operation.

Returns:

the resourceLocation value.

status

public String status()

Get the status property: The status of the alert operation.

Returns:

the status value.

statusDetail

public String statusDetail()

Get the statusDetail property: The status detail of the alert operation.

Returns:

the statusDetail value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to