Class: TencentCloud::Waf::V20180125::PostCKafkaFlowInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::PostCKafkaFlowInfo
- Defined in:
- lib/v20180125/models.rb
Overview
CKafka投递流
Instance Attribute Summary collapse
- #Brokers ⇒ Object
- #CKafkaID ⇒ Object
- #CKafkaRegion ⇒ Object
- #Compression ⇒ Object
- #Content ⇒ Object
- #FlowId ⇒ Object
- #LogType ⇒ Object
- #SASLEnable ⇒ Object
- #SASLPassword ⇒ Object
- #SASLUser ⇒ Object
- #Status ⇒ Object
- #Topic ⇒ Object
- #Version ⇒ Object
- #VipType ⇒ Object
- #WriteConfig ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(flowid = nil, logtype = nil, status = nil, ckafkaregion = nil, ckafkaid = nil, brokers = nil, version = nil, topic = nil, compression = nil, saslenable = nil, sasluser = nil, saslpassword = nil, content = nil, viptype = nil, writeconfig = nil) ⇒ PostCKafkaFlowInfo
constructor
A new instance of PostCKafkaFlowInfo.
Constructor Details
#initialize(flowid = nil, logtype = nil, status = nil, ckafkaregion = nil, ckafkaid = nil, brokers = nil, version = nil, topic = nil, compression = nil, saslenable = nil, sasluser = nil, saslpassword = nil, content = nil, viptype = nil, writeconfig = nil) ⇒ PostCKafkaFlowInfo
Returns a new instance of PostCKafkaFlowInfo.
17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 |
# File 'lib/v20180125/models.rb', line 17365 def initialize(flowid=nil, logtype=nil, status=nil, ckafkaregion=nil, ckafkaid=nil, brokers=nil, version=nil, topic=nil, compression=nil, saslenable=nil, sasluser=nil, saslpassword=nil, content=nil, viptype=nil, writeconfig=nil) @FlowId = flowid @LogType = logtype @Status = status @CKafkaRegion = ckafkaregion @CKafkaID = ckafkaid @Brokers = brokers @Version = version @Topic = topic @Compression = compression @SASLEnable = saslenable @SASLUser = sasluser @SASLPassword = saslpassword @Content = content @VipType = viptype @WriteConfig = writeconfig end |
Instance Attribute Details
#Brokers ⇒ Object
17363 17364 17365 |
# File 'lib/v20180125/models.rb', line 17363 def Brokers @Brokers end |
#CKafkaID ⇒ Object
17363 17364 17365 |
# File 'lib/v20180125/models.rb', line 17363 def CKafkaID @CKafkaID end |
#CKafkaRegion ⇒ Object
17363 17364 17365 |
# File 'lib/v20180125/models.rb', line 17363 def CKafkaRegion @CKafkaRegion end |
#Compression ⇒ Object
17363 17364 17365 |
# File 'lib/v20180125/models.rb', line 17363 def Compression @Compression end |
#Content ⇒ Object
17363 17364 17365 |
# File 'lib/v20180125/models.rb', line 17363 def Content @Content end |
#FlowId ⇒ Object
17363 17364 17365 |
# File 'lib/v20180125/models.rb', line 17363 def FlowId @FlowId end |
#LogType ⇒ Object
17363 17364 17365 |
# File 'lib/v20180125/models.rb', line 17363 def LogType @LogType end |
#SASLEnable ⇒ Object
17363 17364 17365 |
# File 'lib/v20180125/models.rb', line 17363 def SASLEnable @SASLEnable end |
#SASLPassword ⇒ Object
17363 17364 17365 |
# File 'lib/v20180125/models.rb', line 17363 def SASLPassword @SASLPassword end |
#SASLUser ⇒ Object
17363 17364 17365 |
# File 'lib/v20180125/models.rb', line 17363 def SASLUser @SASLUser end |
#Status ⇒ Object
17363 17364 17365 |
# File 'lib/v20180125/models.rb', line 17363 def Status @Status end |
#Topic ⇒ Object
17363 17364 17365 |
# File 'lib/v20180125/models.rb', line 17363 def Topic @Topic end |
#Version ⇒ Object
17363 17364 17365 |
# File 'lib/v20180125/models.rb', line 17363 def Version @Version end |
#VipType ⇒ Object
17363 17364 17365 |
# File 'lib/v20180125/models.rb', line 17363 def VipType @VipType end |
#WriteConfig ⇒ Object
17363 17364 17365 |
# File 'lib/v20180125/models.rb', line 17363 def WriteConfig @WriteConfig end |
Instance Method Details
#deserialize(params) ⇒ Object
17383 17384 17385 17386 17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 |
# File 'lib/v20180125/models.rb', line 17383 def deserialize(params) @FlowId = params['FlowId'] @LogType = params['LogType'] @Status = params['Status'] @CKafkaRegion = params['CKafkaRegion'] @CKafkaID = params['CKafkaID'] @Brokers = params['Brokers'] @Version = params['Version'] @Topic = params['Topic'] @Compression = params['Compression'] @SASLEnable = params['SASLEnable'] @SASLUser = params['SASLUser'] @SASLPassword = params['SASLPassword'] @Content = params['Content'] @VipType = params['VipType'] unless params['WriteConfig'].nil? @WriteConfig = FieldWriteConfig.new @WriteConfig.deserialize(params['WriteConfig']) end end |