Class: TencentCloud::Cls::V20201016::CreateKafkaRechargeRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::CreateKafkaRechargeRequest
- Defined in:
- lib/v20201016/models.rb
Overview
CreateKafkaRecharge请求参数结构体
Instance Attribute Summary collapse
- #ConsumerGroupName ⇒ Object
- #IsEncryptionAddr ⇒ Object
- #KafkaInstance ⇒ Object
- #KafkaType ⇒ Object
- #LogRechargeRule ⇒ Object
- #Name ⇒ Object
- #Offset ⇒ Object
- #Protocol ⇒ Object
- #ServerAddr ⇒ Object
- #TopicId ⇒ Object
- #UserKafkaMeta ⇒ Object
- #UserKafkaTopics ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(topicid = nil, name = nil, kafkatype = nil, userkafkatopics = nil, offset = nil, logrechargerule = nil, kafkainstance = nil, serveraddr = nil, isencryptionaddr = nil, protocol = nil, consumergroupname = nil, userkafkameta = nil) ⇒ CreateKafkaRechargeRequest
constructor
A new instance of CreateKafkaRechargeRequest.
Constructor Details
#initialize(topicid = nil, name = nil, kafkatype = nil, userkafkatopics = nil, offset = nil, logrechargerule = nil, kafkainstance = nil, serveraddr = nil, isencryptionaddr = nil, protocol = nil, consumergroupname = nil, userkafkameta = nil) ⇒ CreateKafkaRechargeRequest
Returns a new instance of CreateKafkaRechargeRequest.
3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 |
# File 'lib/v20201016/models.rb', line 3980 def initialize(topicid=nil, name=nil, kafkatype=nil, userkafkatopics=nil, offset=nil, logrechargerule=nil, kafkainstance=nil, serveraddr=nil, isencryptionaddr=nil, protocol=nil, consumergroupname=nil, =nil) @TopicId = topicid @Name = name @KafkaType = kafkatype @UserKafkaTopics = userkafkatopics @Offset = offset @LogRechargeRule = logrechargerule @KafkaInstance = kafkainstance @ServerAddr = serveraddr @IsEncryptionAddr = isencryptionaddr @Protocol = protocol @ConsumerGroupName = consumergroupname @UserKafkaMeta = end |
Instance Attribute Details
#ConsumerGroupName ⇒ Object
3978 3979 3980 |
# File 'lib/v20201016/models.rb', line 3978 def ConsumerGroupName @ConsumerGroupName end |
#IsEncryptionAddr ⇒ Object
3978 3979 3980 |
# File 'lib/v20201016/models.rb', line 3978 def IsEncryptionAddr @IsEncryptionAddr end |
#KafkaInstance ⇒ Object
3978 3979 3980 |
# File 'lib/v20201016/models.rb', line 3978 def KafkaInstance @KafkaInstance end |
#KafkaType ⇒ Object
3978 3979 3980 |
# File 'lib/v20201016/models.rb', line 3978 def KafkaType @KafkaType end |
#LogRechargeRule ⇒ Object
3978 3979 3980 |
# File 'lib/v20201016/models.rb', line 3978 def LogRechargeRule @LogRechargeRule end |
#Name ⇒ Object
3978 3979 3980 |
# File 'lib/v20201016/models.rb', line 3978 def Name @Name end |
#Offset ⇒ Object
3978 3979 3980 |
# File 'lib/v20201016/models.rb', line 3978 def Offset @Offset end |
#Protocol ⇒ Object
3978 3979 3980 |
# File 'lib/v20201016/models.rb', line 3978 def Protocol @Protocol end |
#ServerAddr ⇒ Object
3978 3979 3980 |
# File 'lib/v20201016/models.rb', line 3978 def ServerAddr @ServerAddr end |
#TopicId ⇒ Object
3978 3979 3980 |
# File 'lib/v20201016/models.rb', line 3978 def TopicId @TopicId end |
#UserKafkaMeta ⇒ Object
3978 3979 3980 |
# File 'lib/v20201016/models.rb', line 3978 def UserKafkaMeta @UserKafkaMeta end |
#UserKafkaTopics ⇒ Object
3978 3979 3980 |
# File 'lib/v20201016/models.rb', line 3978 def UserKafkaTopics @UserKafkaTopics end |
Instance Method Details
#deserialize(params) ⇒ Object
3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 |
# File 'lib/v20201016/models.rb', line 3995 def deserialize(params) @TopicId = params['TopicId'] @Name = params['Name'] @KafkaType = params['KafkaType'] @UserKafkaTopics = params['UserKafkaTopics'] @Offset = params['Offset'] unless params['LogRechargeRule'].nil? @LogRechargeRule = LogRechargeRuleInfo.new @LogRechargeRule.deserialize(params['LogRechargeRule']) end @KafkaInstance = params['KafkaInstance'] @ServerAddr = params['ServerAddr'] @IsEncryptionAddr = params['IsEncryptionAddr'] unless params['Protocol'].nil? @Protocol = KafkaProtocolInfo.new @Protocol.deserialize(params['Protocol']) end @ConsumerGroupName = params['ConsumerGroupName'] unless params['UserKafkaMeta'].nil? @UserKafkaMeta = UserKafkaMeta.new @UserKafkaMeta.deserialize(params['UserKafkaMeta']) end end |