Class: TencentCloud::Ckafka::V20190819::TopicFlowRanking
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::TopicFlowRanking
- Defined in:
- lib/v20190819/models.rb
Overview
topic 流量排行
Instance Attribute Summary collapse
- #MessageHeap ⇒ Object
- #PartitionNum ⇒ Object
- #ReplicaNum ⇒ Object
- #TopicId ⇒ Object
- #TopicName ⇒ Object
- #TopicTraffic ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicid = nil, topicname = nil, partitionnum = nil, replicanum = nil, topictraffic = nil, messageheap = nil) ⇒ TopicFlowRanking
constructor
A new instance of TopicFlowRanking.
Constructor Details
#initialize(topicid = nil, topicname = nil, partitionnum = nil, replicanum = nil, topictraffic = nil, messageheap = nil) ⇒ TopicFlowRanking
Returns a new instance of TopicFlowRanking.
11834 11835 11836 11837 11838 11839 11840 11841 |
# File 'lib/v20190819/models.rb', line 11834 def initialize(topicid=nil, topicname=nil, partitionnum=nil, replicanum=nil, topictraffic=nil, =nil) @TopicId = topicid @TopicName = topicname @PartitionNum = partitionnum @ReplicaNum = replicanum @TopicTraffic = topictraffic @MessageHeap = end |
Instance Attribute Details
#MessageHeap ⇒ Object
11832 11833 11834 |
# File 'lib/v20190819/models.rb', line 11832 def MessageHeap @MessageHeap end |
#PartitionNum ⇒ Object
11832 11833 11834 |
# File 'lib/v20190819/models.rb', line 11832 def PartitionNum @PartitionNum end |
#ReplicaNum ⇒ Object
11832 11833 11834 |
# File 'lib/v20190819/models.rb', line 11832 def ReplicaNum @ReplicaNum end |
#TopicId ⇒ Object
11832 11833 11834 |
# File 'lib/v20190819/models.rb', line 11832 def TopicId @TopicId end |
#TopicName ⇒ Object
11832 11833 11834 |
# File 'lib/v20190819/models.rb', line 11832 def TopicName @TopicName end |
#TopicTraffic ⇒ Object
11832 11833 11834 |
# File 'lib/v20190819/models.rb', line 11832 def TopicTraffic @TopicTraffic end |
Instance Method Details
#deserialize(params) ⇒ Object
11843 11844 11845 11846 11847 11848 11849 11850 |
# File 'lib/v20190819/models.rb', line 11843 def deserialize(params) @TopicId = params['TopicId'] @TopicName = params['TopicName'] @PartitionNum = params['PartitionNum'] @ReplicaNum = params['ReplicaNum'] @TopicTraffic = params['TopicTraffic'] @MessageHeap = params['MessageHeap'] end |