class Azure::CognitiveServices::Personalizer::V1_0::Models::InternalError

An object containing more specific information than the parent object about the error.

Attributes

code[RW]

@return [String] Detailed error code.

innererror[RW]

@return [InternalError] The error object.

Public Class Methods

mapper() click to toggle source

Mapper for InternalError class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/v1.0/generated/azure_cognitiveservices_personalizer/models/internal_error.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'InternalError',
    type: {
      name: 'Composite',
      class_name: 'InternalError',
      model_properties: {
        code: {
          client_side_validation: true,
          required: false,
          serialized_name: 'code',
          type: {
            name: 'String'
          }
        },
        innererror: {
          client_side_validation: true,
          required: false,
          serialized_name: 'innererror',
          type: {
            name: 'Composite',
            class_name: 'InternalError'
          }
        }
      }
    }
  }
end