Sha256: f087ae40241afecfddfea197b2395c3dd898c73a64d22d96ba8e756766c5e2cb

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 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::ARM::Web
  module Models
    #
    # Trigger based on total requests.
    #
    class RequestsBasedTrigger

      include MsRestAzure

      include MsRest::JSONable
      # @return [Integer] Count.
      attr_accessor :count

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


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_web-0.13.0 lib/generated/azure_mgmt_web/models/requests_based_trigger.rb