Sha256: 8a6952e39776a940b249e697cb7e89415b366a00fd7504718499f2a1df796de1

Contents?: true

Size: 1.95 KB

Versions: 2

Compression:

Stored size: 1.95 KB

Contents

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

module Azure::ARM::ServiceBus
  module Models
    #
    # Represents the filter actions which are allowed for the transformation of
    # a message that have been matched by a filter expression.
    #
    class Action

      include MsRestAzure

      include MsRest::JSONable
      # @return [String] SQL expression. e.g. MyProperty='ABC'
      attr_accessor :sql_expression

      # @return [Integer] This property is reserved for future use. An integer
      # value showing the compatibility level, currently hard-coded to 20.
      attr_accessor :compatibility_level

      # @return [Boolean] Value that indicates whether the rule action requires
      # preprocessing. Default value: true .
      attr_accessor :requires_preprocessing


      #
      # Mapper for Action class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'Action',
          type: {
            name: 'Composite',
            class_name: 'Action',
            model_properties: {
              sql_expression: {
                required: false,
                serialized_name: 'sqlExpression',
                type: {
                  name: 'String'
                }
              },
              compatibility_level: {
                required: false,
                serialized_name: 'compatibilityLevel',
                type: {
                  name: 'Number'
                }
              },
              requires_preprocessing: {
                required: false,
                serialized_name: 'requiresPreprocessing',
                default_value: true,
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_service_bus-0.12.0 lib/generated/azure_mgmt_service_bus/models/action.rb
azure_mgmt_service_bus-0.11.0 lib/generated/azure_mgmt_service_bus/models/action.rb