class Azure::BatchAI::Mgmt::V2017_09_01_preview::Models::BatchAIError
An error response from the Batch AI service.
Attributes
code[RW]
@return [String] An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
details[RW]
@return [Array<NameValuePair>] A list of additional details about the error.
message[RW]
@return [String] A message describing the error, intended to be suitable for display in a user interface.
Public Class Methods
mapper()
click to toggle source
Mapper for BatchAIError
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-09-01-preview/generated/azure_mgmt_batchai/models/batch_aierror.rb, line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BatchAIError', type: { name: 'Composite', class_name: 'BatchAIError', 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' } }, details: { client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NameValuePairElementType', type: { name: 'Composite', class_name: 'NameValuePair' } } } } } } } end