# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10 module Models # # Properties of a configure alert request. # class ConfigureAlertRequestProperties include MsRestAzure # @return [String] A value indicating whether to send email to # subscription administrator. attr_accessor :send_to_owners # @return [Array] The custom email address for sending emails. attr_accessor :custom_email_addresses # @return [String] The locale for the email notification. attr_accessor :locale # # Mapper for ConfigureAlertRequestProperties class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ConfigureAlertRequestProperties', type: { name: 'Composite', class_name: 'ConfigureAlertRequestProperties', model_properties: { send_to_owners: { client_side_validation: true, required: false, serialized_name: 'sendToOwners', type: { name: 'String' } }, custom_email_addresses: { client_side_validation: true, required: false, serialized_name: 'customEmailAddresses', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, locale: { client_side_validation: true, required: false, serialized_name: 'locale', type: { name: 'String' } } } } } end end end end