Class: Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuota
- Inherits:
-
Object
- Object
- Azure::IotHub::Mgmt::V2018_04_01::Models::UserSubscriptionQuota
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb
Overview
User subscription quota response
Instance Attribute Summary collapse
-
#current_value ⇒ Integer
Current number of IotHub type.
-
#id ⇒ String
IotHub type id.
-
#limit ⇒ Integer
Numerical limit on IotHub type.
-
#name ⇒ Name
IotHub type.
-
#type ⇒ String
Response type.
-
#unit ⇒ String
Unit of IotHub type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for UserSubscriptionQuota class as Ruby Hash.
Instance Attribute Details
#current_value ⇒ Integer
Returns Current number of IotHub type.
25 26 27 |
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb', line 25 def current_value @current_value end |
#id ⇒ String
Returns IotHub type id.
16 17 18 |
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb', line 16 def id @id end |
#limit ⇒ Integer
Returns Numerical limit on IotHub type.
28 29 30 |
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb', line 28 def limit @limit end |
#name ⇒ Name
Returns IotHub type.
31 32 33 |
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb', line 31 def name @name end |
#type ⇒ String
Returns Response type.
19 20 21 |
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb', line 19 def type @type end |
#unit ⇒ String
Returns Unit of IotHub type.
22 23 24 |
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb', line 22 def unit @unit end |
Class Method Details
.mapper ⇒ Object
Mapper for UserSubscriptionQuota class as Ruby Hash. This will be used for serialization/deserialization.
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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'lib/2018-04-01/generated/azure_mgmt_iot_hub/models/user_subscription_quota.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UserSubscriptionQuota', type: { name: 'Composite', class_name: 'UserSubscriptionQuota', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } }, unit: { client_side_validation: true, required: false, serialized_name: 'unit', type: { name: 'String' } }, current_value: { client_side_validation: true, required: false, serialized_name: 'currentValue', type: { name: 'Number' } }, limit: { client_side_validation: true, required: false, serialized_name: 'limit', type: { name: 'Number' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'Composite', class_name: 'Name' } } } } } end |