class Azure::ServiceFabric::V7_0_0_42::Models::NodeRepairImpactDescription

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.

Attributes

Kind[RW]
node_impact_list[RW]

@return [Array<NodeImpact>] The list of nodes impacted by a repair action and their respective expected impact.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/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
new() click to toggle source
# File lib/7.0.0.42/generated/azure_service_fabric/models/node_repair_impact_description.rb, line 19
def initialize
  @Kind = "Node"
end