Class: Azure::Batch::Mgmt::V2019_08_01::Models::DeleteCertificateError

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb

Overview

An error response from the Batch service.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#codeString

are intended to be consumed programmatically.

Returns:

  • (String)

    An identifier for the error. Codes are invariant and



17
18
19
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb', line 17

def code
  @code
end

#detailsArray<DeleteCertificateError>

about the error.

Returns:



29
30
31
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb', line 29

def details
  @details
end

#messageString

suitable for display in a user interface.

Returns:

  • (String)

    A message describing the error, intended to be



21
22
23
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb', line 21

def message
  @message
end

#targetString

name of the property in error.

Returns:

  • (String)

    The target of the particular error. For example, the



25
26
27
# File 'lib/2019-08-01/generated/azure_mgmt_batch/models/delete_certificate_error.rb', line 25

def target
  @target
end

Class Method Details

.mapperObject

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



36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# 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