Sha256: f3470c303404d06c317768c5d1bf9b4ec2872994b9066bb076b9cfb56bc9b9af

Contents?: true

Size: 1.88 KB

Versions: 6

Compression:

Stored size: 1.88 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
    #
    # Compilation error when evaluating route
    #
    class RouteCompilationError

      include MsRestAzure

      # @return [String] Route error message
      attr_accessor :message

      # @return [RouteErrorSeverity] Severity of the route error. Possible
      # values include: 'error', 'warning'
      attr_accessor :severity

      # @return [RouteErrorRange] Location where the route error happened
      attr_accessor :location


      #
      # Mapper for RouteCompilationError class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'RouteCompilationError',
          type: {
            name: 'Composite',
            class_name: 'RouteCompilationError',
            model_properties: {
              message: {
                client_side_validation: true,
                required: false,
                serialized_name: 'message',
                type: {
                  name: 'String'
                }
              },
              severity: {
                client_side_validation: true,
                required: false,
                serialized_name: 'severity',
                type: {
                  name: 'String'
                }
              },
              location: {
                client_side_validation: true,
                required: false,
                serialized_name: 'location',
                type: {
                  name: 'Composite',
                  class_name: 'RouteErrorRange'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.17.5 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb
azure_mgmt_iot_hub-0.17.4 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb
azure_mgmt_iot_hub-0.17.3 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb
azure_mgmt_iot_hub-0.17.2 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb
azure_mgmt_iot_hub-0.17.1 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb
azure_mgmt_iot_hub-0.17.0 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb