Sha256: 0828a267be30a06333673bd9aec58d41f0729c849d823c0df93d0c540e6149d4

Contents?: true

Size: 1.24 KB

Versions: 4

Compression:

Stored size: 1.24 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::CDN
  module Models
    #
    # Model object.
    #
    class ErrorResponse

      include MsRestAzure

      # @return [String] Error code
      attr_accessor :code

      # @return [String] Error message indicating why the operation failed.
      attr_accessor :message


      #
      # Mapper for ErrorResponse class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'ErrorResponse',
          type: {
            name: 'Composite',
            class_name: 'ErrorResponse',
            model_properties: {
              code: {
                required: false,
                serialized_name: 'code',
                type: {
                  name: 'String'
                }
              },
              message: {
                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_cdn-0.7.0 lib/generated/azure_mgmt_cdn/models/error_response.rb
azure_mgmt_cdn-0.6.0 lib/generated/azure_mgmt_cdn/models/error_response.rb
azure_mgmt_cdn-0.5.0 lib/generated/azure_mgmt_cdn/models/error_response.rb
azure_mgmt_cdn-0.4.0 lib/generated/azure_mgmt_cdn/models/error_response.rb