class Azure::MachineLearning::Mgmt::V2017_01_01::Models::AsyncOperationErrorInfo

The error detail information for async operation

Attributes

code[RW]

@return [String] The error code.

details[RW]

@return [Array<AsyncOperationErrorInfo>] An array containing error information.

message[RW]

@return [String] The error message.

target[RW]

@return [String] The error target.

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-01-01/generated/azure_mgmt_machine_learning/models/async_operation_error_info.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AsyncOperationErrorInfo',
    type: {
      name: 'Composite',
      class_name: 'AsyncOperationErrorInfo',
      model_properties: {
        code: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'code',
          type: {
            name: 'String'
          }
        },
        target: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'target',
          type: {
            name: 'String'
          }
        },
        message: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        },
        details: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'details',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AsyncOperationErrorInfoElementType',
                type: {
                  name: 'Composite',
                  class_name: 'AsyncOperationErrorInfo'
                }
            }
          }
        }
      }
    }
  }
end