class Azure::Redis::Mgmt::V2018_03_01::Models::UpgradeNotification

Properties of upgrade notification.

Attributes

name[RW]

@return [String] Name of upgrade notification.

timestamp[RW]

@return [DateTime] Timestamp when upgrade notification occurred.

upsell_notification[RW]

@return [Hash{String => String}] Details about this upgrade notification

Private Class Methods

mapper() click to toggle source

Mapper for UpgradeNotification class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-03-01/generated/azure_mgmt_redis/models/upgrade_notification.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'UpgradeNotification',
    type: {
      name: 'Composite',
      class_name: 'UpgradeNotification',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        timestamp: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'timestamp',
          type: {
            name: 'DateTime'
          }
        },
        upsell_notification: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'upsellNotification',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end