Sha256: 0d5110125303783dc7a0e56e46dee80d1de64bb8cb0854bacc71e64449f5980c

Contents?: true

Size: 1.78 KB

Versions: 5

Compression:

Stored size: 1.78 KB

Contents

# 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 reported by replica.
    #
    class LoadMetricReportInfo

      include MsRestAzure

      # @return [String] The name of the metric.
      attr_accessor :name

      # @return [Integer] The value of the load for the metric..
      attr_accessor :value

      # @return [DateTime] The UTC time when the load is reported.
      attr_accessor :last_reported_utc


      #
      # Mapper for LoadMetricReportInfo class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'LoadMetricReportInfo',
          type: {
            name: 'Composite',
            class_name: 'LoadMetricReportInfo',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Name',
                type: {
                  name: 'String'
                }
              },
              value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Value',
                type: {
                  name: 'Number'
                }
              },
              last_reported_utc: {
                client_side_validation: true,
                required: false,
                serialized_name: 'LastReportedUtc',
                type: {
                  name: 'DateTime'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.2.0.9/generated/azure_service_fabric/models/load_metric_report_info.rb
azure_service_fabric-0.18.0 lib/6.2.0.9/generated/azure_service_fabric/models/load_metric_report_info.rb
azure_service_fabric-0.17.2 lib/6.2.0.9/generated/azure_service_fabric/models/load_metric_report_info.rb
azure_service_fabric-0.17.1 lib/6.2.0.9/generated/azure_service_fabric/models/load_metric_report_info.rb
azure_service_fabric-0.17.0 lib/6.2.0.9/generated/azure_service_fabric/models/load_metric_report_info.rb