Class: Azure::ARM::DevTestLabs::Models::NotificationSettings
- Inherits:
-
Object
- Object
- Azure::ARM::DevTestLabs::Models::NotificationSettings
- 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
-
#status ⇒ NotificationStatus
schedule (i.e. Enabled, Disabled).
-
#time_in_minutes ⇒ Integer
will be sent.
-
#webhook_url ⇒ String
sent.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NotificationSettings class as Ruby Hash.
Instance Attribute Details
#status ⇒ NotificationStatus
schedule (i.e. Enabled, Disabled). Possible values include: ‘Disabled’, ‘Enabled’
19 20 21 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/notification_settings.rb', line 19 def status @status end |
#time_in_minutes ⇒ Integer
will be sent.
23 24 25 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/notification_settings.rb', line 23 def time_in_minutes @time_in_minutes end |
#webhook_url ⇒ String
sent.
27 28 29 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/notification_settings.rb', line 27 def webhook_url @webhook_url end |
Class Method Details
.mapper ⇒ Object
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 |