Class: TencentCloud::Ckafka::V20190819::BrokerTopicFlowData

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

Overview

broker维度topic 流量排行指标

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topicname = nil, topicid = nil, topictraffic = nil) ⇒ BrokerTopicFlowData

Returns a new instance of BrokerTopicFlowData.



627
628
629
630
631
# File 'lib/v20190819/models.rb', line 627

def initialize(topicname=nil, topicid=nil, topictraffic=nil)
  @TopicName = topicname
  @TopicId = topicid
  @TopicTraffic = topictraffic
end

Instance Attribute Details

#TopicIdObject

Parameters:

  • TopicName:

    主题名

  • TopicId:

    主题Id

  • TopicTraffic:

    Topic 流量(MB)



625
626
627
# File 'lib/v20190819/models.rb', line 625

def TopicId
  @TopicId
end

#TopicNameObject

Parameters:

  • TopicName:

    主题名

  • TopicId:

    主题Id

  • TopicTraffic:

    Topic 流量(MB)



625
626
627
# File 'lib/v20190819/models.rb', line 625

def TopicName
  @TopicName
end

#TopicTrafficObject

Parameters:

  • TopicName:

    主题名

  • TopicId:

    主题Id

  • TopicTraffic:

    Topic 流量(MB)



625
626
627
# File 'lib/v20190819/models.rb', line 625

def TopicTraffic
  @TopicTraffic
end

Instance Method Details

#deserialize(params) ⇒ Object



633
634
635
636
637
# File 'lib/v20190819/models.rb', line 633

def deserialize(params)
  @TopicName = params['TopicName']
  @TopicId = params['TopicId']
  @TopicTraffic = params['TopicTraffic']
end