Class: Azure::ServiceFabric::V6_4_0_36::Models::RepairTargetDescriptionBase

Inherits:
Object
  • Object
show all
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

NodeRepairTargetDescription

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRepairTargetDescriptionBase

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

#KindObject

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

.mapperObject

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