Sha256: c77f08512132ab239d7f1d2744fc6bc793965facbad98c1b08f9c4de44251d1f

Contents?: true

Size: 1.89 KB

Versions: 1

Compression:

Stored size: 1.89 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::V2019_07_01_preview
  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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.17.5 lib/2019-07-01-preview/generated/azure_mgmt_iot_hub/models/route_compilation_error.rb