Class: TencentCloud::Eb::V20210416::CkafkaDeliveryParams

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

Overview

用来描述需要投递到kafka topic的参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(topicname = nil, resourcedescription = nil) ⇒ CkafkaDeliveryParams

Returns a new instance of CkafkaDeliveryParams.



132
133
134
135
# File 'lib/v20210416/models.rb', line 132

def initialize(topicname=nil, resourcedescription=nil)
  @TopicName = topicname
  @ResourceDescription = resourcedescription
end

Instance Attribute Details

#ResourceDescriptionObject

Parameters:

  • TopicName:

    ckafka topic name

  • ResourceDescription:

    ckafka资源qcs六段式



130
131
132
# File 'lib/v20210416/models.rb', line 130

def ResourceDescription
  @ResourceDescription
end

#TopicNameObject

Parameters:

  • TopicName:

    ckafka topic name

  • ResourceDescription:

    ckafka资源qcs六段式



130
131
132
# File 'lib/v20210416/models.rb', line 130

def TopicName
  @TopicName
end

Instance Method Details

#deserialize(params) ⇒ Object



137
138
139
140
# File 'lib/v20210416/models.rb', line 137

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