Sha256: 65f91dfa629d1f952c2f189301969d1d11cf838edeabfdaa5752195014621dd4

Contents?: true

Size: 1.87 KB

Versions: 6

Compression:

Stored size: 1.87 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::IotHub::Mgmt::V2018_04_01
  module Models
    #
    # Quota metrics properties.
    #
    class IotHubQuotaMetricInfo

      include MsRestAzure

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

      # @return [Integer] The current value for the quota metric.
      attr_accessor :current_value

      # @return [Integer] The maximum value of the quota metric.
      attr_accessor :max_value


      #
      # Mapper for IotHubQuotaMetricInfo class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'IotHubQuotaMetricInfo',
          type: {
            name: 'Composite',
            class_name: 'IotHubQuotaMetricInfo',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              current_value: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'currentValue',
                type: {
                  name: 'Number'
                }
              },
              max_value: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'maxValue',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_iot_hub-0.17.5 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb
azure_mgmt_iot_hub-0.17.4 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb
azure_mgmt_iot_hub-0.17.3 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb
azure_mgmt_iot_hub-0.17.2 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb
azure_mgmt_iot_hub-0.17.1 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb
azure_mgmt_iot_hub-0.17.0 lib/2018-04-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb