# 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::ServiceFabric::V6_4_0_36 module Models # # Describes the trigger for performing auto scaling operation. # class AutoScalingTrigger include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["AverageLoad"] = "AverageLoadScalingTrigger" def initialize @kind = "AutoScalingTrigger" end attr_accessor :kind # # Mapper for AutoScalingTrigger class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AutoScalingTrigger', type: { name: 'Composite', polymorphic_discriminator: 'kind', uber_parent: 'AutoScalingTrigger', class_name: 'AutoScalingTrigger', model_properties: { } } } end end end end