# 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::NetApp::Mgmt::V2020_07_01
  module Models
    #
    # Quota availability request content.
    #
    class QuotaAvailabilityRequest

      include MsRestAzure

      # @return [String] Name of the resource to verify.
      attr_accessor :name

      # @return [CheckQuotaNameResourceTypes] Resource type used for
      # verification. Possible values include:
      # 'Microsoft.NetApp/netAppAccounts',
      # 'Microsoft.NetApp/netAppAccounts/capacityPools',
      # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
      # 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
      attr_accessor :type

      # @return [String] Resource group name.
      attr_accessor :resource_group


      #
      # Mapper for QuotaAvailabilityRequest class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'QuotaAvailabilityRequest',
          type: {
            name: 'Composite',
            class_name: 'QuotaAvailabilityRequest',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              type: {
                client_side_validation: true,
                required: true,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              },
              resource_group: {
                client_side_validation: true,
                required: true,
                serialized_name: 'resourceGroup',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
