Class: Azure::ServiceFabric::V6_4_0_36::Models::RepairTargetDescriptionBase
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_4_0_36::Models::RepairTargetDescriptionBase
- Includes:
- MsRestAzure
- Defined in:
- lib/6.4.0.36/generated/azure_service_fabric/models/repair_target_description_base.rb
Overview
Describes the entities targeted by a repair action.
This type supports the Service Fabric platform; it is not meant to be used directly from your code.
Direct Known Subclasses
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#Kind ⇒ Object
Returns the value of attribute Kind.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RepairTargetDescriptionBase class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ RepairTargetDescriptionBase
constructor
A new instance of RepairTargetDescriptionBase.
Constructor Details
#initialize ⇒ RepairTargetDescriptionBase
Returns a new instance of RepairTargetDescriptionBase.
21 22 23 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/repair_target_description_base.rb', line 21 def initialize @Kind = "RepairTargetDescriptionBase" end |
Instance Attribute Details
#Kind ⇒ Object
Returns the value of attribute Kind.
25 26 27 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/repair_target_description_base.rb', line 25 def Kind @Kind end |
Class Method Details
.mapper ⇒ Object
Mapper for RepairTargetDescriptionBase class as Ruby Hash. This will be used for serialization/deserialization.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/repair_target_description_base.rb', line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RepairTargetDescriptionBase', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'RepairTargetDescriptionBase', class_name: 'RepairTargetDescriptionBase', model_properties: { } } } end |