Sha256: 16fd442f209662f4a657a39dec9a48d7d7cc3577db4dc020a796021015aec0d8

Contents?: true

Size: 1.94 KB

Versions: 2

Compression:

Stored size: 1.94 KB

Contents

# 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
    #
    # The proprties of an alert.
    #
    class AlertProperties

      include MsRestAzure

      # @return [String] A value indicating whether to send email to
      # subscription administrator.
      attr_accessor :send_to_owners

      # @return [Array<String>] 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 AlertProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'AlertProperties',
          type: {
            name: 'Composite',
            class_name: 'AlertProperties',
            model_properties: {
              send_to_owners: {
                required: false,
                serialized_name: 'sendToOwners',
                type: {
                  name: 'String'
                }
              },
              custom_email_addresses: {
                required: false,
                serialized_name: 'customEmailAddresses',
                type: {
                  name: 'Sequence',
                  element: {
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              },
              locale: {
                required: false,
                serialized_name: 'locale',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_recovery_services_site_recovery-0.15.1 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/alert_properties.rb
azure_mgmt_recovery_services_site_recovery-0.15.0 lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/models/alert_properties.rb