Class: Azure::ApiManagement::Mgmt::V2017_03_01::Models::QuotaCounterContract
- Inherits:
-
Object
- Object
- Azure::ApiManagement::Mgmt::V2017_03_01::Models::QuotaCounterContract
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb
Overview
Quota counter details.
Instance Attribute Summary collapse
-
#counter_key ⇒ String
The Key value of the Counter.
-
#period_end_time ⇒ DateTime
conforms to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
-
#period_key ⇒ String
collected.
-
#period_start_time ⇒ DateTime
conforms to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
-
#value ⇒ QuotaCounterValueContractProperties
Quota Value Properties.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for QuotaCounterContract class as Ruby Hash.
Instance Attribute Details
#counter_key ⇒ String
Returns The Key value of the Counter. Must not be empty.
16 17 18 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb', line 16 def counter_key @counter_key end |
#period_end_time ⇒ DateTime
conforms to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
32 33 34 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb', line 32 def period_end_time @period_end_time end |
#period_key ⇒ String
collected. Must not be empty.
20 21 22 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb', line 20 def period_key @period_key end |
#period_start_time ⇒ DateTime
conforms to the following format: ‘yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
26 27 28 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb', line 26 def period_start_time @period_start_time end |
#value ⇒ QuotaCounterValueContractProperties
Returns Quota Value Properties.
35 36 37 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb', line 35 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for QuotaCounterContract class as Ruby Hash. This will be used for serialization/deserialization.
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 100 101 |
# File 'lib/2017-03-01/generated/azure_mgmt_api_management/models/quota_counter_contract.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'QuotaCounterContract', type: { name: 'Composite', class_name: 'QuotaCounterContract', model_properties: { counter_key: { client_side_validation: true, required: true, serialized_name: 'counterKey', constraints: { MinLength: 1 }, type: { name: 'String' } }, period_key: { client_side_validation: true, required: true, serialized_name: 'periodKey', constraints: { MinLength: 1 }, type: { name: 'String' } }, period_start_time: { client_side_validation: true, required: true, serialized_name: 'periodStartTime', type: { name: 'DateTime' } }, period_end_time: { client_side_validation: true, required: true, serialized_name: 'periodEndTime', type: { name: 'DateTime' } }, value: { client_side_validation: true, required: false, serialized_name: 'Value', type: { name: 'Composite', class_name: 'QuotaCounterValueContractProperties' } } } } } end |