Class: Azure::ARM::DevTestLabs::Models::NotifyParameters
- Inherits:
-
Object
- Object
- Azure::ARM::DevTestLabs::Models::NotifyParameters
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/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’
18 19 20 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb', line 18 def event_name @event_name end |
#json_payload ⇒ String
Returns Properties for the notification in json format.
21 22 23 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb', line 21 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.
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 |
# File 'lib/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb', line 28 def self.mapper() { required: false, serialized_name: 'NotifyParameters', type: { name: 'Composite', class_name: 'NotifyParameters', model_properties: { event_name: { required: false, serialized_name: 'eventName', type: { name: 'String' } }, json_payload: { required: false, serialized_name: 'jsonPayload', type: { name: 'String' } } } } } end |