Class: Azure::ARM::DevTestLabs::Models::NotificationSettings

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_devtestlabs/models/notification_settings.rb

Overview

Notification settings for a schedule.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#statusNotificationStatus

schedule (i.e. Enabled, Disabled). Possible values include: ‘Disabled’, ‘Enabled’

Returns:



19
20
21
# File 'lib/generated/azure_mgmt_devtestlabs/models/notification_settings.rb', line 19

def status
  @status
end

#time_in_minutesInteger

will be sent.

Returns:

  • (Integer)

    Time in minutes before event at which notification



23
24
25
# File 'lib/generated/azure_mgmt_devtestlabs/models/notification_settings.rb', line 23

def time_in_minutes
  @time_in_minutes
end

#webhook_urlString

sent.

Returns:

  • (String)

    The webhook URL to which the notification will be



27
28
29
# File 'lib/generated/azure_mgmt_devtestlabs/models/notification_settings.rb', line 27

def webhook_url
  @webhook_url
end

Class Method Details

.mapperObject

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



34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# File 'lib/generated/azure_mgmt_devtestlabs/models/notification_settings.rb', line 34

def self.mapper()
  {
    required: false,
    serialized_name: 'NotificationSettings',
    type: {
      name: 'Composite',
      class_name: 'NotificationSettings',
      model_properties: {
        status: {
          required: false,
          serialized_name: 'status',
          type: {
            name: 'String'
          }
        },
        time_in_minutes: {
          required: false,
          serialized_name: 'timeInMinutes',
          type: {
            name: 'Number'
          }
        },
        webhook_url: {
          required: false,
          serialized_name: 'webhookUrl',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end