# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ServiceFabric::V6_2_0_9 module Models # # Information about load on a Service Fabric node. It holds a summary of # all metrics and their load on a node. # class NodeLoadInfo include MsRestAzure # @return [String] Name of the node for which the load information is # provided by this object. attr_accessor :node_name # @return [Array] List that contains metrics # and their load information on this node. attr_accessor :node_load_metric_information # # Mapper for NodeLoadInfo class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NodeLoadInfo', type: { name: 'Composite', class_name: 'NodeLoadInfo', model_properties: { node_name: { client_side_validation: true, required: false, serialized_name: 'NodeName', type: { name: 'String' } }, node_load_metric_information: { client_side_validation: true, required: false, serialized_name: 'NodeLoadMetricInformation', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NodeLoadMetricInformationElementType', type: { name: 'Composite', class_name: 'NodeLoadMetricInformation' } } } } } } } end end end end