SmartGroupModificationProperties Class

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

Implements

public final class SmartGroupModificationProperties
implements JsonSerializable<SmartGroupModificationProperties>

Properties of the smartGroup modification item.

Constructor Summary

Constructor Description
SmartGroupModificationProperties()

Creates an instance of SmartGroupModificationProperties class.

Method Summary

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

Reads an instance of SmartGroupModificationProperties from the JsonReader.

List<SmartGroupModificationItem> modifications()

Get the modifications property: Modification details.

String nextLink()

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

String smartGroupId()

Get the smartGroupId property: Unique Id of the smartGroup for which the history is being retrieved.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SmartGroupModificationProperties withModifications(List<SmartGroupModificationItem> modifications)

Set the modifications property: Modification details.

SmartGroupModificationProperties withNextLink(String nextLink)

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

Methods inherited from java.lang.Object

Constructor Details

SmartGroupModificationProperties

public SmartGroupModificationProperties()

Creates an instance of SmartGroupModificationProperties class.

Method Details

fromJson

public static SmartGroupModificationProperties fromJson(JsonReader jsonReader)

Reads an instance of SmartGroupModificationProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

modifications

public List<SmartGroupModificationItem> modifications()

Get the modifications property: Modification details.

Returns:

the modifications value.

nextLink

public String nextLink()

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

Returns:

the nextLink value.

smartGroupId

public String smartGroupId()

Get the smartGroupId property: Unique Id of the smartGroup for which the history is being retrieved.

Returns:

the smartGroupId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withModifications

public SmartGroupModificationProperties withModifications(List<SmartGroupModificationItem> modifications)

Set the modifications property: Modification details.

Parameters:

modifications - the modifications value to set.

Returns:

the SmartGroupModificationProperties object itself.

withNextLink

public SmartGroupModificationProperties withNextLink(String nextLink)

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

Parameters:

nextLink - the nextLink value to set.

Returns:

the SmartGroupModificationProperties object itself.

Applies to