Sha256: 37b006a2fe2c29e34fbbb309abbe2af4bdd39197d31d3202a88600ba419f45ac

Contents?: true

Size: 1.97 KB

Versions: 3

Compression:

Stored size: 1.97 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_12_01_preview
  module Models
    #
    # Input for testing all routes
    #
    class TestAllRoutesInput

      include MsRestAzure

      # @return [RoutingSource] Routing source. Possible values include:
      # 'Invalid', 'DeviceMessages', 'TwinChangeEvents',
      # 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents'
      attr_accessor :routing_source

      # @return [RoutingMessage] Routing message
      attr_accessor :message

      # @return [RoutingTwin] Routing Twin Reference
      attr_accessor :twin


      #
      # Mapper for TestAllRoutesInput class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'TestAllRoutesInput',
          type: {
            name: 'Composite',
            class_name: 'TestAllRoutesInput',
            model_properties: {
              routing_source: {
                client_side_validation: true,
                required: false,
                serialized_name: 'routingSource',
                type: {
                  name: 'String'
                }
              },
              message: {
                client_side_validation: true,
                required: false,
                serialized_name: 'message',
                type: {
                  name: 'Composite',
                  class_name: 'RoutingMessage'
                }
              },
              twin: {
                client_side_validation: true,
                required: false,
                serialized_name: 'twin',
                type: {
                  name: 'Composite',
                  class_name: 'RoutingTwin'
                }
              }
            }
          }
        }
      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-12-01-preview/generated/azure_mgmt_iot_hub/models/test_all_routes_input.rb
azure_mgmt_iot_hub-0.17.4 lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/test_all_routes_input.rb
azure_mgmt_iot_hub-0.17.3 lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/test_all_routes_input.rb