Class: TencentCloud::Cdb::V20170320::Bucket

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

Overview

聚合桶的信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CountObject

Parameters:

  • Key:

  • Count:

    key值出现的次数。



1477
1478
1479
# File 'lib/v20170320/models.rb', line 1477

def Count
  @Count
end

#KeyObject

Parameters:

  • Key:

  • Count:

    key值出现的次数。



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