Class: TencentCloud::Cdb::V20170320::Bucket
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::Bucket
- Defined in:
- lib/v20170320/models.rb
Overview
聚合桶的信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, count = nil) ⇒ Bucket
constructor
A new instance of Bucket.
Constructor Details
#initialize(key = nil, count = nil) ⇒ Bucket
Returns a new instance of Bucket.
1479 1480 1481 1482 |
# File 'lib/v20170320/models.rb', line 1479 def initialize(key=nil, count=nil) @Key = key @Count = count end |
Instance Attribute Details
#Count ⇒ Object
1477 1478 1479 |
# File 'lib/v20170320/models.rb', line 1477 def Count @Count end |
#Key ⇒ Object
1477 1478 1479 |
# File 'lib/v20170320/models.rb', line 1477 def Key @Key end |
Instance Method Details
#deserialize(params) ⇒ Object
1484 1485 1486 1487 |
# File 'lib/v20170320/models.rb', line 1484 def deserialize(params) @Key = params['Key'] @Count = params['Count'] end |