Class: Azure::ServiceFabric::V6_3_0_9::Models::ScalingTriggerDescription

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/scaling_trigger_description.rb

Overview

Describes the trigger for performing a scaling operation.

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeScalingTriggerDescription

Returns a new instance of ScalingTriggerDescription.



19
20
21
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/scaling_trigger_description.rb', line 19

def initialize
  @Kind = "ScalingTriggerDescription"
end

Instance Attribute Details

#KindObject

Returns the value of attribute Kind.



23
24
25
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/scaling_trigger_description.rb', line 23

def Kind
  @Kind
end

Class Method Details

.mapperObject

Mapper for ScalingTriggerDescription class as Ruby Hash. This will be used for serialization/deserialization.



30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/scaling_trigger_description.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ScalingTriggerDescription',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'Kind',
      uber_parent: 'ScalingTriggerDescription',
      class_name: 'ScalingTriggerDescription',
      model_properties: {
      }
    }
  }
end