Class: TencentCloud::Ssa::V20180608::Bucket

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180608/models.rb

Overview

es聚合数据类型

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CountObject

Parameters:

  • Key:

    key

  • Count:

    数量



888
889
890
# File 'lib/v20180608/models.rb', line 888

def Count
  @Count
end

#KeyObject

Parameters:

  • Key:

    key

  • Count:

    数量



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