class Azure::IotHub::Mgmt::V2018_12_01_preview::Models::IotHubQuotaMetricInfo

Quota metrics properties.

Attributes

current_value[RW]

@return [Integer] The current value for the quota metric.

max_value[RW]

@return [Integer] The maximum value of the quota metric.

name[RW]

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

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb, line 29
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