Class: Azure::ServiceFabric::V6_5_0_36::Models::NodeRepairImpactDescription
- Inherits:
-
RepairImpactDescriptionBase
- Object
- RepairImpactDescriptionBase
- Azure::ServiceFabric::V6_5_0_36::Models::NodeRepairImpactDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/node_repair_impact_description.rb
Overview
Describes the expected impact of a repair on a set of nodes.
This type supports the Service Fabric platform; it is not meant to be used directly from your code.
Instance Attribute Summary collapse
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#node_impact_list ⇒ Array<NodeImpact>
action and their respective expected impact.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NodeRepairImpactDescription class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ NodeRepairImpactDescription
constructor
A new instance of NodeRepairImpactDescription.
Constructor Details
#initialize ⇒ NodeRepairImpactDescription
Returns a new instance of NodeRepairImpactDescription.
19 20 21 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_repair_impact_description.rb', line 19 def initialize @Kind = "Node" end |
Instance Attribute Details
#Kind ⇒ Object
Returns the value of attribute Kind.
23 24 25 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_repair_impact_description.rb', line 23 def Kind @Kind end |
#node_impact_list ⇒ Array<NodeImpact>
action and their respective expected impact.
27 28 29 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_repair_impact_description.rb', line 27 def node_impact_list @node_impact_list end |
Class Method Details
.mapper ⇒ Object
Mapper for NodeRepairImpactDescription class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/node_repair_impact_description.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Node', type: { name: 'Composite', class_name: 'NodeRepairImpactDescription', model_properties: { Kind: { client_side_validation: true, required: true, serialized_name: 'Kind', type: { name: 'String' } }, node_impact_list: { client_side_validation: true, required: false, serialized_name: 'NodeImpactList', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NodeImpactElementType', type: { name: 'Composite', class_name: 'NodeImpact' } } } } } } } end |