Class: TencentCloud::Ssa::V20180608::Bucket
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssa::V20180608::Bucket
- Defined in:
- lib/v20180608/models.rb
Overview
es聚合数据类型
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.
890 891 892 893 |
# File 'lib/v20180608/models.rb', line 890 def initialize(key=nil, count=nil) @Key = key @Count = count end |
Instance Attribute Details
#Count ⇒ Object
888 889 890 |
# File 'lib/v20180608/models.rb', line 888 def Count @Count end |
#Key ⇒ Object
888 889 890 |
# File 'lib/v20180608/models.rb', line 888 def Key @Key end |
Instance Method Details
#deserialize(params) ⇒ Object
895 896 897 898 |
# File 'lib/v20180608/models.rb', line 895 def deserialize(params) @Key = params['Key'] @Count = params['Count'] end |