class Azure::DataBox::Mgmt::V2018_01_01::Models::NotificationPreference
Notification preference for a job stage.
Attributes
send_notification[RW]
@return [Boolean] Notification is required or not.
stage_name[RW]
@return [NotificationStageName] Name of the stage. Possible values include: 'DevicePrepared', 'Dispatched', 'Delivered', 'PickedUp', 'AtAzureDC', 'DataCopy'
Private Class Methods
mapper()
click to toggle source
Mapper for NotificationPreference
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-01-01/generated/azure_mgmt_databox/models/notification_preference.rb, line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NotificationPreference', type: { name: 'Composite', class_name: 'NotificationPreference', model_properties: { stage_name: { client_side_validation: true, required: true, serialized_name: 'stageName', type: { name: 'Enum', module: 'NotificationStageName' } }, send_notification: { client_side_validation: true, required: true, serialized_name: 'sendNotification', type: { name: 'Boolean' } } } } } end