class Azure::DevTestLabs::Mgmt::V2016_05_15::Models::NotifyParameters
Properties for generating a Notification.
Attributes
event_name[RW]
@return [NotificationChannelEventType] The type of event (i.e. AutoShutdown, Cost). Possible values include: 'AutoShutdown', 'Cost'
json_payload[RW]
@return [String] Properties for the notification in json format.
Public Class Methods
mapper()
click to toggle source
Mapper for NotifyParameters
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-05-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