class Azure::DevTestLabs::Mgmt::V2016_05_15::Models::Event

An event to be notified for.

Attributes

event_name[RW]

@return [NotificationChannelEventType] The event type for which this notification is enabled (i.e. AutoShutdown, Cost). Possible values include: 'AutoShutdown', 'Cost'

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/event.rb, line 25
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Event',
    type: {
      name: 'Composite',
      class_name: 'Event',
      model_properties: {
        event_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'eventName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end