Class: Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubQuotaMetricInfo
- Inherits:
-
Object
- Object
- Azure::IotHub::Mgmt::V2017_07_01::Models::IotHubQuotaMetricInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb
Overview
Quota metrics properties.
Instance Attribute Summary collapse
-
#current_value ⇒ Integer
The current value for the quota metric.
-
#max_value ⇒ Integer
The maximum value of the quota metric.
-
#name ⇒ String
The name of the quota metric.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for IotHubQuotaMetricInfo class as Ruby Hash.
Instance Attribute Details
#current_value ⇒ Integer
Returns The current value for the quota metric.
19 20 21 |
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb', line 19 def current_value @current_value end |
#max_value ⇒ Integer
Returns The maximum value of the quota metric.
22 23 24 |
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb', line 22 def max_value @max_value end |
#name ⇒ String
Returns The name of the quota metric.
16 17 18 |
# File 'lib/2017-07-01/generated/azure_mgmt_iot_hub/models/iot_hub_quota_metric_info.rb', line 16 def name @name end |
Class Method Details
.mapper ⇒ Object
Mapper for IotHubQuotaMetricInfo class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/2017-07-01/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 |