Sha256: c171d98f7a09c4f19d8f9f21f3552da871e239421e94f77bfc0dee0eaf20c7b3

Contents?: true

Size: 1.43 KB

Versions: 3

Compression:

Stored size: 1.43 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::IotHub::Mgmt::V2018_04_01
  module Models
    #
    # Twin reference input parameter. This is an optional parameter
    #
    class RoutingTwin

      include MsRestAzure

      # @return Twin Tags
      attr_accessor :tags

      # @return [RoutingTwinProperties]
      attr_accessor :properties


      #
      # Mapper for RoutingTwin class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'RoutingTwin',
          type: {
            name: 'Composite',
            class_name: 'RoutingTwin',
            model_properties: {
              tags: {
                client_side_validation: true,
                required: false,
                serialized_name: 'tags',
                type: {
                  name: 'Object'
                }
              },
              properties: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties',
                type: {
                  name: 'Composite',
                  class_name: 'RoutingTwinProperties'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.17.5 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_twin.rb
azure_mgmt_iot_hub-0.17.4 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_twin.rb
azure_mgmt_iot_hub-0.17.3 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/routing_twin.rb