# 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::V2017_11_01
  module Models
    #
    # Model object.
    #
    #
    class ExtendedStatusInfo

      include MsRestAzure

      # @return [Enum] Possible values include: 'None', 'Pending', 'Active',
      # 'PurchaseError', 'PaymentInstrumentError', 'Split', 'Merged',
      # 'Expired', 'Succeeded'
      attr_accessor :status_code

      # @return [String] The message giving detailed information about the
      # status code.
      attr_accessor :message


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