# 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 # @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