class Azure::Batch::Mgmt::V2019_08_01::Models::DeleteCertificateError

An error response from the Batch 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<DeleteCertificateError>] 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.

target[RW]

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

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DeleteCertificateError',
    type: {
      name: 'Composite',
      class_name: 'DeleteCertificateError',
      model_properties: {
        code: {
          client_side_validation: true,
          required: true,
          serialized_name: 'code',
          type: {
            name: 'String'
          }
        },
        message: {
          client_side_validation: true,
          required: true,
          serialized_name: 'message',
          type: {
            name: 'String'
          }
        },
        target: {
          client_side_validation: true,
          required: false,
          serialized_name: 'target',
          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: 'DeleteCertificateErrorElementType',
                type: {
                  name: 'Composite',
                  class_name: 'DeleteCertificateError'
                }
            }
          }
        }
      }
    }
  }
end