Class UpgradeNotificationInner

java.lang.Object
com.azure.resourcemanager.redis.fluent.models.UpgradeNotificationInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<UpgradeNotificationInner>

public final class UpgradeNotificationInner extends Object implements com.azure.json.JsonSerializable<UpgradeNotificationInner>
Properties of upgrade notification.
  • Constructor Details

    • UpgradeNotificationInner

      public UpgradeNotificationInner()
      Creates an instance of UpgradeNotificationInner class.
  • Method Details

    • 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.
    • upsellNotification

      public Map<String,String> upsellNotification()
      Get the upsellNotification property: Details about this upgrade notification.
      Returns:
      the upsellNotification value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<UpgradeNotificationInner>
      Throws:
      IOException
    • fromJson

      public static UpgradeNotificationInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.