Sha256: 8f64001a334a2c52fa22be4d2d91ed0bb416c68b6a274d91b88fef1eb3f3ed18

Contents?: true

Size: 1.46 KB

Versions: 1

Compression:

Stored size: 1.46 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::Reservations::Mgmt::V2019_07_19_preview
  module Models
    #
    # The email actions.
    #
    class EmailActions

      include MsRestAzure

      # @return [Array<EmailAction>] The list of email actions.
      attr_accessor :email_addresses


      #
      # Mapper for EmailActions class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'EmailActions',
          type: {
            name: 'Composite',
            class_name: 'EmailActions',
            model_properties: {
              email_addresses: {
                client_side_validation: true,
                required: false,
                serialized_name: 'emailAddresses',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'EmailActionElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'EmailAction'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_reservations-0.20.0 lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/email_actions.rb