MonitorServiceList Class

public final class MonitorServiceList
extends AlertsMetadataProperties

Monitor service details.

Constructor Summary

Constructor Description
MonitorServiceList()

Creates an instance of MonitorServiceList class.

Method Summary

Modifier and Type Method and Description
List<MonitorServiceDetails> data()

Get the data property: Array of operations.

static MonitorServiceList fromJson(JsonReader jsonReader)

Reads an instance of MonitorServiceList from the JsonReader.

MetadataIdentifier metadataIdentifier()

Get the metadataIdentifier property: Identification of the information to be retrieved by API call.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MonitorServiceList withData(List<MonitorServiceDetails> data)

Set the data property: Array of operations.

Methods inherited from AlertsMetadataProperties

Methods inherited from java.lang.Object

Constructor Details

MonitorServiceList

public MonitorServiceList()

Creates an instance of MonitorServiceList class.

Method Details

data

public List<MonitorServiceDetails> data()

Get the data property: Array of operations.

Returns:

the data value.

fromJson

public static MonitorServiceList fromJson(JsonReader jsonReader)

Reads an instance of MonitorServiceList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MonitorServiceList if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

metadataIdentifier

public MetadataIdentifier metadataIdentifier()

Get the metadataIdentifier property: Identification of the information to be retrieved by API call.

Overrides:

MonitorServiceList.metadataIdentifier()

Returns:

the metadataIdentifier value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MonitorServiceList.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MonitorServiceList.validate()

withData

public MonitorServiceList withData(List<MonitorServiceDetails> data)

Set the data property: Array of operations.

Parameters:

data - the data value to set.

Returns:

the MonitorServiceList object itself.

Applies to