class Azure::IotHub::Mgmt::V2019_03_22_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.
Private Class Methods
mapper()
click to toggle source
Mapper for IotHubQuotaMetricInfo
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-03-22-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