UpgradeNotificationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.redis.fluent.models.UpgradeNotificationInner

Implements

public final class UpgradeNotificationInner
implements JsonSerializable<UpgradeNotificationInner>

Properties of upgrade notification.

Constructor Summary

Constructor Description
UpgradeNotificationInner()

Creates an instance of UpgradeNotificationInner class.

Method Summary

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

Reads an instance of UpgradeNotificationInner from the JsonReader.

String name()

Get the name property: Name of upgrade notification.

OffsetDateTime timestamp()

Get the timestamp property: Timestamp when upgrade notification occurred.

JsonWriter toJson(JsonWriter jsonWriter)
Map<String,String> upsellNotification()

Get the upsellNotification property: Details about this upgrade notification.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

UpgradeNotificationInner

public UpgradeNotificationInner()

Creates an instance of UpgradeNotificationInner class.

Method Details

fromJson

public static UpgradeNotificationInner fromJson(JsonReader jsonReader)

Reads an instance of UpgradeNotificationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of upgrade notification.

Returns:

the name value.

timestamp

public OffsetDateTime timestamp()

Get the timestamp property: Timestamp when upgrade notification occurred.

Returns:

the timestamp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

upsellNotification

public Map upsellNotification()

Get the upsellNotification property: Details about this upgrade notification.

Returns:

the upsellNotification value.

validate

public void validate()

Validates the instance.

Applies to