Sha256: 371783666c95b650543bbb9d69bff62a9a5ae5dc3ae346ed2cebb01b3d98af84

Contents?: true

Size: 1.34 KB

Versions: 4

Compression:

Stored size: 1.34 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::Appconfiguration::Mgmt::V2019_02_01_preview
  module Models
    #
    # AppConfiguration error object.
    #
    class Error

      include MsRestAzure

      # @return [String] Error code.
      attr_accessor :code

      # @return [String] Error message.
      attr_accessor :message


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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_appconfiguration-0.17.4 lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/error.rb
azure_mgmt_appconfiguration-0.17.3 lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/error.rb
azure_mgmt_appconfiguration-0.17.2 lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/error.rb
azure_mgmt_appconfiguration-0.17.0 lib/2019-02-01-preview/generated/azure_mgmt_appconfiguration/models/error.rb