Sha256: 40bcf749f3e2c174851a1b977677de293983320b8b2c21348b01106d69a95bd8

Contents?: true

Size: 1.62 KB

Versions: 2

Compression:

Stored size: 1.62 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 actions for auto quota increase.
    #
    class OnFailure

      include MsRestAzure

      # @return [OnFailureEmailActions] The email actions for auto quota
      # increase.
      attr_accessor :email_actions

      # @return [OnFailurePhoneActions] The phone actions for auto quota
      # increase.
      attr_accessor :phone_actions


      #
      # Mapper for OnFailure class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'OnFailure',
          type: {
            name: 'Composite',
            class_name: 'OnFailure',
            model_properties: {
              email_actions: {
                client_side_validation: true,
                required: false,
                serialized_name: 'emailActions',
                type: {
                  name: 'Composite',
                  class_name: 'OnFailureEmailActions'
                }
              },
              phone_actions: {
                client_side_validation: true,
                required: false,
                serialized_name: 'phoneActions',
                type: {
                  name: 'Composite',
                  class_name: 'OnFailurePhoneActions'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_reservations-0.19.2 lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/on_failure.rb
azure_mgmt_reservations-0.19.1 lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/on_failure.rb