Sha256: 6a358996164ff76d70d24e1fc66047244047be8eb7560beba892005fd6d0a2fb

Contents?: true

Size: 1.74 KB

Versions: 10

Compression:

Stored size: 1.74 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::Web::Mgmt::V2015_04_01
  module Models
    #
    # Trigger based on request execution time.
    #
    class SlowRequestsBasedTrigger

      include MsRestAzure

      # @return [String] Time taken.
      attr_accessor :time_taken

      # @return [Integer] Request Count.
      attr_accessor :count

      # @return [String] Time interval.
      attr_accessor :time_interval


      #
      # Mapper for SlowRequestsBasedTrigger class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SlowRequestsBasedTrigger',
          type: {
            name: 'Composite',
            class_name: 'SlowRequestsBasedTrigger',
            model_properties: {
              time_taken: {
                client_side_validation: true,
                required: false,
                serialized_name: 'timeTaken',
                type: {
                  name: 'String'
                }
              },
              count: {
                client_side_validation: true,
                required: false,
                serialized_name: 'count',
                type: {
                  name: 'Number'
                }
              },
              time_interval: {
                client_side_validation: true,
                required: false,
                serialized_name: 'timeInterval',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
azure_mgmt_web-0.18.1 lib/2015-04-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb
azure_mgmt_web-0.18.0 lib/2015-04-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb
azure_mgmt_web-0.17.6 lib/2015-04-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb
azure_mgmt_web-0.17.5 lib/2015-04-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb
azure_mgmt_web-0.17.4 lib/2015-04-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb
azure_mgmt_web-0.17.3 lib/2015-04-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb
azure_mgmt_web-0.17.2 lib/2015-04-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb
azure_mgmt_web-0.17.1 lib/2015-04-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb
azure_mgmt_web-0.17.0 lib/2015-04-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb
azure_mgmt_web-0.16.0 lib/2015-04-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb