Class: TencentCloud::Waf::V20180125::CreatePostCKafkaFlowRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::CreatePostCKafkaFlowRequest
- Defined in:
- lib/v20180125/models.rb
Overview
CreatePostCKafkaFlow请求参数结构体
Instance Attribute Summary collapse
- #Brokers ⇒ Object
- #CKafkaID ⇒ Object
- #CKafkaRegion ⇒ Object
- #Compression ⇒ Object
- #KafkaVersion ⇒ Object
- #LogType ⇒ Object
- #SASLEnable ⇒ Object
- #SASLPassword ⇒ Object
- #SASLUser ⇒ Object
- #Topic ⇒ Object
- #VipType ⇒ Object
- #WriteConfig ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ckafkaregion = nil, ckafkaid = nil, brokers = nil, compression = nil, viptype = nil, logtype = nil, topic = nil, kafkaversion = nil, saslenable = nil, sasluser = nil, saslpassword = nil, writeconfig = nil) ⇒ CreatePostCKafkaFlowRequest
constructor
A new instance of CreatePostCKafkaFlowRequest.
Constructor Details
#initialize(ckafkaregion = nil, ckafkaid = nil, brokers = nil, compression = nil, viptype = nil, logtype = nil, topic = nil, kafkaversion = nil, saslenable = nil, sasluser = nil, saslpassword = nil, writeconfig = nil) ⇒ CreatePostCKafkaFlowRequest
4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 |
# File 'lib/v20180125/models.rb', line 4051 def initialize(ckafkaregion=nil, ckafkaid=nil, brokers=nil, compression=nil, viptype=nil, logtype=nil, topic=nil, kafkaversion=nil, saslenable=nil, sasluser=nil, saslpassword=nil, writeconfig=nil) @CKafkaRegion = ckafkaregion @CKafkaID = ckafkaid @Brokers = brokers @Compression = compression @VipType = viptype @LogType = logtype @Topic = topic @KafkaVersion = kafkaversion @SASLEnable = saslenable @SASLUser = sasluser @SASLPassword = saslpassword @WriteConfig = writeconfig end |
Instance Attribute Details
#Brokers ⇒ Object
4049 4050 4051 |
# File 'lib/v20180125/models.rb', line 4049 def Brokers @Brokers end |
#CKafkaID ⇒ Object
4049 4050 4051 |
# File 'lib/v20180125/models.rb', line 4049 def CKafkaID @CKafkaID end |
#CKafkaRegion ⇒ Object
4049 4050 4051 |
# File 'lib/v20180125/models.rb', line 4049 def CKafkaRegion @CKafkaRegion end |
#Compression ⇒ Object
4049 4050 4051 |
# File 'lib/v20180125/models.rb', line 4049 def Compression @Compression end |
#KafkaVersion ⇒ Object
4049 4050 4051 |
# File 'lib/v20180125/models.rb', line 4049 def KafkaVersion @KafkaVersion end |
#LogType ⇒ Object
4049 4050 4051 |
# File 'lib/v20180125/models.rb', line 4049 def LogType @LogType end |
#SASLEnable ⇒ Object
4049 4050 4051 |
# File 'lib/v20180125/models.rb', line 4049 def SASLEnable @SASLEnable end |
#SASLPassword ⇒ Object
4049 4050 4051 |
# File 'lib/v20180125/models.rb', line 4049 def SASLPassword @SASLPassword end |
#SASLUser ⇒ Object
4049 4050 4051 |
# File 'lib/v20180125/models.rb', line 4049 def SASLUser @SASLUser end |
#Topic ⇒ Object
4049 4050 4051 |
# File 'lib/v20180125/models.rb', line 4049 def Topic @Topic end |
#VipType ⇒ Object
4049 4050 4051 |
# File 'lib/v20180125/models.rb', line 4049 def VipType @VipType end |
#WriteConfig ⇒ Object
4049 4050 4051 |
# File 'lib/v20180125/models.rb', line 4049 def WriteConfig @WriteConfig end |
Instance Method Details
#deserialize(params) ⇒ Object
4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 |
# File 'lib/v20180125/models.rb', line 4066 def deserialize(params) @CKafkaRegion = params['CKafkaRegion'] @CKafkaID = params['CKafkaID'] @Brokers = params['Brokers'] @Compression = params['Compression'] @VipType = params['VipType'] @LogType = params['LogType'] @Topic = params['Topic'] @KafkaVersion = params['KafkaVersion'] @SASLEnable = params['SASLEnable'] @SASLUser = params['SASLUser'] @SASLPassword = params['SASLPassword'] unless params['WriteConfig'].nil? @WriteConfig = FieldWriteConfig.new @WriteConfig.deserialize(params['WriteConfig']) end end |