Class: TencentCloud::Cls::V20201016::KafkaRechargeInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::KafkaRechargeInfo
- Defined in:
- lib/v20201016/models.rb
Overview
Kafka导入配置信息
Instance Attribute Summary collapse
- #ConsumerGroupName ⇒ Object
- #CreateTime ⇒ Object
- #Id ⇒ Object
- #IsEncryptionAddr ⇒ Object
- #KafkaInstance ⇒ Object
- #KafkaType ⇒ Object
- #LogRechargeRule ⇒ Object
- #Name ⇒ Object
- #Offset ⇒ Object
- #Protocol ⇒ Object
- #ServerAddr ⇒ Object
- #Status ⇒ Object
- #TopicId ⇒ Object
- #UpdateTime ⇒ Object
- #UserKafkaMeta ⇒ Object
- #UserKafkaTopics ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, topicid = nil, name = nil, kafkatype = nil, kafkainstance = nil, serveraddr = nil, isencryptionaddr = nil, protocol = nil, userkafkatopics = nil, consumergroupname = nil, status = nil, offset = nil, createtime = nil, updatetime = nil, logrechargerule = nil, userkafkameta = nil) ⇒ KafkaRechargeInfo
constructor
A new instance of KafkaRechargeInfo.
Constructor Details
#initialize(id = nil, topicid = nil, name = nil, kafkatype = nil, kafkainstance = nil, serveraddr = nil, isencryptionaddr = nil, protocol = nil, userkafkatopics = nil, consumergroupname = nil, status = nil, offset = nil, createtime = nil, updatetime = nil, logrechargerule = nil, userkafkameta = nil) ⇒ KafkaRechargeInfo
Returns a new instance of KafkaRechargeInfo.
11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 |
# File 'lib/v20201016/models.rb', line 11946 def initialize(id=nil, topicid=nil, name=nil, kafkatype=nil, kafkainstance=nil, serveraddr=nil, isencryptionaddr=nil, protocol=nil, userkafkatopics=nil, consumergroupname=nil, status=nil, offset=nil, createtime=nil, updatetime=nil, logrechargerule=nil, =nil) @Id = id @TopicId = topicid @Name = name @KafkaType = kafkatype @KafkaInstance = kafkainstance @ServerAddr = serveraddr @IsEncryptionAddr = isencryptionaddr @Protocol = protocol @UserKafkaTopics = userkafkatopics @ConsumerGroupName = consumergroupname @Status = status @Offset = offset @CreateTime = createtime @UpdateTime = updatetime @LogRechargeRule = logrechargerule @UserKafkaMeta = end |
Instance Attribute Details
#ConsumerGroupName ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def ConsumerGroupName @ConsumerGroupName end |
#CreateTime ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def CreateTime @CreateTime end |
#Id ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def Id @Id end |
#IsEncryptionAddr ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def IsEncryptionAddr @IsEncryptionAddr end |
#KafkaInstance ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def KafkaInstance @KafkaInstance end |
#KafkaType ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def KafkaType @KafkaType end |
#LogRechargeRule ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def LogRechargeRule @LogRechargeRule end |
#Name ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def Name @Name end |
#Offset ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def Offset @Offset end |
#Protocol ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def Protocol @Protocol end |
#ServerAddr ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def ServerAddr @ServerAddr end |
#Status ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def Status @Status end |
#TopicId ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def TopicId @TopicId end |
#UpdateTime ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def UpdateTime @UpdateTime end |
#UserKafkaMeta ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def UserKafkaMeta @UserKafkaMeta end |
#UserKafkaTopics ⇒ Object
11944 11945 11946 |
# File 'lib/v20201016/models.rb', line 11944 def UserKafkaTopics @UserKafkaTopics end |
Instance Method Details
#deserialize(params) ⇒ Object
11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 |
# File 'lib/v20201016/models.rb', line 11965 def deserialize(params) @Id = params['Id'] @TopicId = params['TopicId'] @Name = params['Name'] @KafkaType = params['KafkaType'] @KafkaInstance = params['KafkaInstance'] @ServerAddr = params['ServerAddr'] @IsEncryptionAddr = params['IsEncryptionAddr'] unless params['Protocol'].nil? @Protocol = KafkaProtocolInfo.new @Protocol.deserialize(params['Protocol']) end @UserKafkaTopics = params['UserKafkaTopics'] @ConsumerGroupName = params['ConsumerGroupName'] @Status = params['Status'] @Offset = params['Offset'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] unless params['LogRechargeRule'].nil? @LogRechargeRule = LogRechargeRuleInfo.new @LogRechargeRule.deserialize(params['LogRechargeRule']) end unless params['UserKafkaMeta'].nil? @UserKafkaMeta = UserKafkaMeta.new @UserKafkaMeta.deserialize(params['UserKafkaMeta']) end end |