Class: Azure::DevTestLabs::Mgmt::V2018_09_15::Models::NotifyParameters
- Inherits:
-
Object
- Object
- Azure::DevTestLabs::Mgmt::V2018_09_15::Models::NotifyParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb
Overview
Properties for generating a Notification.
Instance Attribute Summary collapse
-
#event_name ⇒ NotificationChannelEventType
AutoShutdown, Cost).
-
#json_payload ⇒ String
Properties for the notification in json format.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NotifyParameters class as Ruby Hash.
Instance Attribute Details
#event_name ⇒ NotificationChannelEventType
AutoShutdown, Cost). Possible values include: ‘AutoShutdown’, ‘Cost’
17 18 19 |
# File 'lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb', line 17 def event_name @event_name end |
#json_payload ⇒ String
Returns Properties for the notification in json format.
20 21 22 |
# File 'lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb', line 20 def json_payload @json_payload end |
Class Method Details
.mapper ⇒ Object
Mapper for NotifyParameters class as Ruby Hash. This will be used for serialization/deserialization.
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NotifyParameters', type: { name: 'Composite', class_name: 'NotifyParameters', model_properties: { event_name: { client_side_validation: true, required: false, serialized_name: 'eventName', type: { name: 'String' } }, json_payload: { client_side_validation: true, required: false, serialized_name: 'jsonPayload', type: { name: 'String' } } } } } end |