Class: Azure::Network::Mgmt::V2018_08_01::Models::ErrorResponse

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-08-01/generated/azure_mgmt_network/models/error_response.rb

Overview

The error object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#errorErrorDetails

Returns Error.

Returns:


16
17
18
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/error_response.rb', line 16

def error
  @error
end

Class Method Details

.mapperObject

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


23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/2018-08-01/generated/azure_mgmt_network/models/error_response.rb', line 23

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ErrorResponse',
    type: {
      name: 'Composite',
      class_name: 'ErrorResponse',
      model_properties: {
        error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'ErrorDetails'
          }
        }
      }
    }
  }
end