StatusItem Class

  • java.lang.Object
    • com.azure.resourcemanager.appcomplianceautomation.models.StatusItem

Implements

public final class StatusItem
implements JsonSerializable<StatusItem>

Single status.

Method Summary

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

Reads an instance of StatusItem from the JsonReader.

String statusName()

Get the statusName property: Status name - e.g.

String statusValue()

Get the statusValue property: Status value.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static StatusItem fromJson(JsonReader jsonReader)

Reads an instance of StatusItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

statusName

public String statusName()

Get the statusName property: Status name - e.g. "Active", "Failed".

Returns:

the statusName value.

statusValue

public String statusValue()

Get the statusValue property: Status value. e.g. "100", or "100%".

Returns:

the statusValue value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to