class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::NotificationSettings

Notification settings for a schedule.

Attributes

email_recipient[RW]

@return [String] The email recipient to send notifications to (can be a list of semi-colon separated email addresses).

notification_locale[RW]

@return [String] The locale to use when sending a notification (fallback for unsupported languages is EN).

status[RW]

@return [EnableStatus] If notifications are enabled for this schedule (i.e. Enabled, Disabled). Possible values include: 'Enabled', 'Disabled'

time_in_minutes[RW]

@return [Integer] Time in minutes before event at which notification will be sent.

webhook_url[RW]

@return [String] The webhook URL to which the notification will be sent.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notification_settings.rb, line 41
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NotificationSettings',
    type: {
      name: 'Composite',
      class_name: 'NotificationSettings',
      model_properties: {
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        time_in_minutes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'timeInMinutes',
          type: {
            name: 'Number'
          }
        },
        webhook_url: {
          client_side_validation: true,
          required: false,
          serialized_name: 'webhookUrl',
          type: {
            name: 'String'
          }
        },
        email_recipient: {
          client_side_validation: true,
          required: false,
          serialized_name: 'emailRecipient',
          type: {
            name: 'String'
          }
        },
        notification_locale: {
          client_side_validation: true,
          required: false,
          serialized_name: 'notificationLocale',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end