Sha256: 6c96830ef943e067b3311f9962e9b624cf762c1377c7f9230719972492938136

Contents?: true

Size: 1.72 KB

Versions: 2

Compression:

Stored size: 1.72 KB

Contents

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

module Azure::ARM::Batch
  module Models
    #
    # Specific detail about an error.
    #
    class ErrorDetail

      include MsRestAzure

      # @return [String] An identifier for the error. Codes are invariant and
      # are intended to be consumed programmatically.
      attr_accessor :code

      # @return [String] A message describing the error, intended to be
      # suitable for display in a user interface.
      attr_accessor :message

      # @return [String] The target of the particular error. For example, the
      # name of the property in error.
      attr_accessor :target


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_batch-0.9.0 lib/generated/azure_mgmt_batch/models/error_detail.rb
azure_mgmt_batch-0.8.0 lib/generated/azure_mgmt_batch/models/error_detail.rb