class Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotificationSettingsFragment

Notification settings for a schedule.

Attributes

status[RW]

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

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.

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_settings_fragment.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NotificationSettingsFragment',
    type: {
      name: 'Composite',
      class_name: 'NotificationSettingsFragment',
      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'
          }
        }
      }
    }
  }
end