Class: Azure::IotHub::Mgmt::V2018_04_01::Models::RoutingTwinProperties

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

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#desired_propertiesObject

Returns Twin desired properties.

Returns:

  • Twin desired properties



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

def desired_properties
  @desired_properties
end

#reported_propertiesObject

Returns Twin desired properties.

Returns:

  • Twin desired properties



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

def reported_properties
  @reported_properties
end

Class Method Details

.mapperObject

Mapper for RoutingTwinProperties 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
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_twin_properties.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RoutingTwin_properties',
    type: {
      name: 'Composite',
      class_name: 'RoutingTwinProperties',
      model_properties: {
        desired_properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'desiredProperties',
          type: {
            name: 'Object'
          }
        },
        reported_properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'reportedProperties',
          type: {
            name: 'Object'
          }
        }
      }
    }
  }
end