SmartGroupsList Class

  • java.lang.Object
    • com.azure.resourcemanager.alertsmanagement.models.SmartGroupsList

Implements

public final class SmartGroupsList
implements JsonSerializable<SmartGroupsList>

List the alerts.

Constructor Summary

Constructor Description
SmartGroupsList()

Creates an instance of SmartGroupsList class.

Method Summary

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

Reads an instance of SmartGroupsList from the JsonReader.

String nextLink()

Get the nextLink property: URL to fetch the next set of alerts.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<SmartGroupInner> value()

Get the value property: List of alerts.

SmartGroupsList withNextLink(String nextLink)

Set the nextLink property: URL to fetch the next set of alerts.

SmartGroupsList withValue(List<SmartGroupInner> value)

Set the value property: List of alerts.

Methods inherited from java.lang.Object

Constructor Details

SmartGroupsList

public SmartGroupsList()

Creates an instance of SmartGroupsList class.

Method Details

fromJson

public static SmartGroupsList fromJson(JsonReader jsonReader)

Reads an instance of SmartGroupsList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: URL to fetch the next set of alerts.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<SmartGroupInner> value()

Get the value property: List of alerts.

Returns:

the value value.

withNextLink

public SmartGroupsList withNextLink(String nextLink)

Set the nextLink property: URL to fetch the next set of alerts.

Parameters:

nextLink - the nextLink value to set.

Returns:

the SmartGroupsList object itself.

withValue

public SmartGroupsList withValue(List<SmartGroupInner> value)

Set the value property: List of alerts.

Parameters:

value - the value value to set.

Returns:

the SmartGroupsList object itself.

Applies to