Sha256: 3ce9fe3a7a6b88bb7dbc00bb514b19a20fb407a13c2ed752f37138cf382142e9

Contents?: true

Size: 1.29 KB

Versions: 2

Compression:

Stored size: 1.29 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::CDN::Mgmt::V2020_09_01
  module Models
    #
    # Error response

    # Common error response for all Azure Resource Manager APIs to return error
    # details for failed operations. (This also follows the OData error
    # response format.).
    #
    class AfdErrorResponse

      include MsRestAzure

      # @return [ErrorResponse] The error object.
      attr_accessor :error


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_cdn-0.18.2 lib/2020-09-01/generated/azure_mgmt_cdn/models/afd_error_response.rb
azure_mgmt_cdn-0.18.1 lib/2020-09-01/generated/azure_mgmt_cdn/models/afd_error_response.rb