Class: TencentCloud::Ckafka::V20190819::BrokerTopicData

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

Overview

主题占用Broker磁盘大小

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topicname = nil, topicid = nil, datasize = nil) ⇒ BrokerTopicData

Returns a new instance of BrokerTopicData.



603
604
605
606
607
# File 'lib/v20190819/models.rb', line 603

def initialize(topicname=nil, topicid=nil, datasize=nil)
  @TopicName = topicname
  @TopicId = topicid
  @DataSize = datasize
end

Instance Attribute Details

#DataSizeObject

Parameters:

  • TopicName:

    主题名称

  • TopicId:

    主题Id

  • DataSize:

    主题占用Broker 容量大小,单位为Bytes。



601
602
603
# File 'lib/v20190819/models.rb', line 601

def DataSize
  @DataSize
end

#TopicIdObject

Parameters:

  • TopicName:

    主题名称

  • TopicId:

    主题Id

  • DataSize:

    主题占用Broker 容量大小,单位为Bytes。



601
602
603
# File 'lib/v20190819/models.rb', line 601

def TopicId
  @TopicId
end

#TopicNameObject

Parameters:

  • TopicName:

    主题名称

  • TopicId:

    主题Id

  • DataSize:

    主题占用Broker 容量大小,单位为Bytes。



601
602
603
# File 'lib/v20190819/models.rb', line 601

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



609
610
611
612
613
# File 'lib/v20190819/models.rb', line 609

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