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.



1466
1467
1468
1469
# File 'lib/v20170320/models.rb', line 1466

def initialize(key=nil, count=nil)
  @Key = key
  @Count = count
end

Instance Attribute Details

#CountObject

Parameters:

  • Key:

  • Count:

    key值出现的次数。



1464
1465
1466
# File 'lib/v20170320/models.rb', line 1464

def Count
  @Count
end

#KeyObject

Parameters:

  • Key:

  • Count:

    key值出现的次数。



1464
1465
1466
# File 'lib/v20170320/models.rb', line 1464

def Key
  @Key
end

Instance Method Details

#deserialize(params) ⇒ Object



1471
1472
1473
1474
# File 'lib/v20170320/models.rb', line 1471

def deserialize(params)
  @Key = params['Key']
  @Count = params['Count']
end