class Azure::CognitiveServices::LuisAuthoring::V2_0::Models::OperationError

Operation error details when invoking an operation on the API.

Attributes

code[RW]

@return [String]

message[RW]

@return [String]

Public Class Methods

mapper() click to toggle source

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

# File lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/operation_error.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'OperationError',
    type: {
      name: 'Composite',
      class_name: 'OperationError',
      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