# 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 details of quota request.
    #
    class QuotaRequestProperties

      include MsRestAzure

      # @return The quota request status.
      attr_accessor :provisioning_state

      # @return [String] User friendly status message.
      attr_accessor :message

      # @return [DateTime] The quota request submit time. The date conforms to
      # the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601
      # standard.
      attr_accessor :request_submit_time

      # @return [Array<SubRequest>] The quotaRequests.
      attr_accessor :value


      #
      # Mapper for QuotaRequestProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'QuotaRequestProperties',
          type: {
            name: 'Composite',
            class_name: 'QuotaRequestProperties',
            model_properties: {
              provisioning_state: {
                client_side_validation: true,
                required: false,
                serialized_name: 'provisioningState',
                type: {
                  name: 'Object'
                }
              },
              message: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'message',
                type: {
                  name: 'String'
                }
              },
              request_submit_time: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'requestSubmitTime',
                type: {
                  name: 'DateTime'
                }
              },
              value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'value',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'SubRequestElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'SubRequest'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
