NotificationListResponse Class

  • java.lang.Object
    • com.azure.resourcemanager.redis.models.NotificationListResponse

Implements

public final class NotificationListResponse
implements JsonSerializable<NotificationListResponse>

The response of listUpgradeNotifications.

Constructor Summary

Constructor Description
NotificationListResponse()

Creates an instance of NotificationListResponse class.

Method Summary

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

Reads an instance of NotificationListResponse from the JsonReader.

String nextLink()

Get the nextLink property: Link for next set of notifications.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<UpgradeNotificationInner> value()

Get the value property: List of all notifications.

NotificationListResponse withValue(List<UpgradeNotificationInner> value)

Set the value property: List of all notifications.

Methods inherited from java.lang.Object

Constructor Details

NotificationListResponse

public NotificationListResponse()

Creates an instance of NotificationListResponse class.

Method Details

fromJson

public static NotificationListResponse fromJson(JsonReader jsonReader)

Reads an instance of NotificationListResponse from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

nextLink

public String nextLink()

Get the nextLink property: Link for next set of notifications.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List value()

Get the value property: List of all notifications.

Returns:

the value value.

withValue

public NotificationListResponse withValue(List value)

Set the value property: List of all notifications.

Parameters:

value - the value value to set.

Returns:

the NotificationListResponse object itself.

Applies to

Azure SDK for Java

Latest