class Azure::AlertsManagement::Mgmt::V2018_05_05::Models::AlertModificationProperties

Properties of the alert modification item.

Attributes

alert_id[RW]

@return [String] Unique Id of the alert for which the history is being retrieved

modifications[RW]

@return [Array<AlertModificationItem>] Modification details

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-05-05/generated/azure_mgmt_alerts_management/models/alert_modification_properties.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'alertModificationProperties',
    type: {
      name: 'Composite',
      class_name: 'AlertModificationProperties',
      model_properties: {
        alert_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'alertId',
          type: {
            name: 'String'
          }
        },
        modifications: {
          client_side_validation: true,
          required: false,
          serialized_name: 'modifications',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AlertModificationItemElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AlertModificationItem'
                }
            }
          }
        }
      }
    }
  }
end