Class: TencentCloud::Ckafka::V20190819::DtsConnectParam
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::DtsConnectParam
- Defined in:
- lib/v20190819/models.rb
Overview
Dts连接源参数
Instance Attribute Summary collapse
- #GroupId ⇒ Object
- #IsUpdate ⇒ Object
- #Password ⇒ Object
- #Port ⇒ Object
- #Resource ⇒ Object
- #Topic ⇒ Object
- #UserName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(port = nil, groupid = nil, username = nil, password = nil, resource = nil, topic = nil, isupdate = nil) ⇒ DtsConnectParam
constructor
A new instance of DtsConnectParam.
Constructor Details
#initialize(port = nil, groupid = nil, username = nil, password = nil, resource = nil, topic = nil, isupdate = nil) ⇒ DtsConnectParam
Returns a new instance of DtsConnectParam.
6414 6415 6416 6417 6418 6419 6420 6421 6422 |
# File 'lib/v20190819/models.rb', line 6414 def initialize(port=nil, groupid=nil, username=nil, password=nil, resource=nil, topic=nil, isupdate=nil) @Port = port @GroupId = groupid @UserName = username @Password = password @Resource = resource @Topic = topic @IsUpdate = isupdate end |
Instance Attribute Details
#GroupId ⇒ Object
6412 6413 6414 |
# File 'lib/v20190819/models.rb', line 6412 def GroupId @GroupId end |
#IsUpdate ⇒ Object
6412 6413 6414 |
# File 'lib/v20190819/models.rb', line 6412 def IsUpdate @IsUpdate end |
#Password ⇒ Object
6412 6413 6414 |
# File 'lib/v20190819/models.rb', line 6412 def Password @Password end |
#Port ⇒ Object
6412 6413 6414 |
# File 'lib/v20190819/models.rb', line 6412 def Port @Port end |
#Resource ⇒ Object
6412 6413 6414 |
# File 'lib/v20190819/models.rb', line 6412 def Resource @Resource end |
#Topic ⇒ Object
6412 6413 6414 |
# File 'lib/v20190819/models.rb', line 6412 def Topic @Topic end |
#UserName ⇒ Object
6412 6413 6414 |
# File 'lib/v20190819/models.rb', line 6412 def UserName @UserName end |
Instance Method Details
#deserialize(params) ⇒ Object
6424 6425 6426 6427 6428 6429 6430 6431 6432 |
# File 'lib/v20190819/models.rb', line 6424 def deserialize(params) @Port = params['Port'] @GroupId = params['GroupId'] @UserName = params['UserName'] @Password = params['Password'] @Resource = params['Resource'] @Topic = params['Topic'] @IsUpdate = params['IsUpdate'] end |