Class: TencentCloud::Ckafka::V20190819::CreateConsumerRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::CreateConsumerRequest
- Defined in:
- lib/v20190819/models.rb
Overview
CreateConsumer请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, groupname = nil, topicname = nil, topicnamelist = nil) ⇒ CreateConsumerRequest
constructor
A new instance of CreateConsumerRequest.
Constructor Details
#initialize(instanceid = nil, groupname = nil, topicname = nil, topicnamelist = nil) ⇒ CreateConsumerRequest
Returns a new instance of CreateConsumerRequest.
1699 1700 1701 1702 1703 1704 |
# File 'lib/v20190819/models.rb', line 1699 def initialize(instanceid=nil, groupname=nil, topicname=nil, topicnamelist=nil) @InstanceId = instanceid @GroupName = groupname @TopicName = topicname @TopicNameList = topicnamelist end |
Instance Attribute Details
#GroupName ⇒ Object
1697 1698 1699 |
# File 'lib/v20190819/models.rb', line 1697 def GroupName @GroupName end |
#InstanceId ⇒ Object
1697 1698 1699 |
# File 'lib/v20190819/models.rb', line 1697 def InstanceId @InstanceId end |
#TopicName ⇒ Object
1697 1698 1699 |
# File 'lib/v20190819/models.rb', line 1697 def TopicName @TopicName end |
#TopicNameList ⇒ Object
1697 1698 1699 |
# File 'lib/v20190819/models.rb', line 1697 def TopicNameList @TopicNameList end |
Instance Method Details
#deserialize(params) ⇒ Object
1706 1707 1708 1709 1710 1711 |
# File 'lib/v20190819/models.rb', line 1706 def deserialize(params) @InstanceId = params['InstanceId'] @GroupName = params['GroupName'] @TopicName = params['TopicName'] @TopicNameList = params['TopicNameList'] end |