Class: Azure::IotHub::Mgmt::V2018_04_01::Models::TestRouteResult

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_result.rb

Overview

Result of testing one route

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#detailsTestRouteResultDetails

Returns Detailed result of testing route.

Returns:



20
21
22
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_result.rb', line 20

def details
  @details
end

#resultTestResultStatus

include: ‘undefined’, ‘false’, ‘true’

Returns:



17
18
19
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_result.rb', line 17

def result
  @result
end

Class Method Details

.mapperObject

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



27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/test_route_result.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'TestRouteResult',
    type: {
      name: 'Composite',
      class_name: 'TestRouteResult',
      model_properties: {
        result: {
          client_side_validation: true,
          required: false,
          serialized_name: 'result',
          type: {
            name: 'String'
          }
        },
        details: {
          client_side_validation: true,
          required: false,
          serialized_name: 'details',
          type: {
            name: 'Composite',
            class_name: 'TestRouteResultDetails'
          }
        }
      }
    }
  }
end