Class: TencentCloud::Ckafka::V20190819::MariaDBConnectParam
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::MariaDBConnectParam
- Defined in:
- lib/v20190819/models.rb
Overview
MariaDB连接源参数
Instance Attribute Summary collapse
- #IsUpdate ⇒ Object
- #Password ⇒ Object
- #Port ⇒ Object
- #Resource ⇒ Object
- #ServiceVip ⇒ Object
- #UniqVpcId ⇒ Object
- #UserName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(port = nil, username = nil, password = nil, resource = nil, servicevip = nil, uniqvpcid = nil, isupdate = nil) ⇒ MariaDBConnectParam
constructor
A new instance of MariaDBConnectParam.
Constructor Details
#initialize(port = nil, username = nil, password = nil, resource = nil, servicevip = nil, uniqvpcid = nil, isupdate = nil) ⇒ MariaDBConnectParam
Returns a new instance of MariaDBConnectParam.
8849 8850 8851 8852 8853 8854 8855 8856 8857 |
# File 'lib/v20190819/models.rb', line 8849 def initialize(port=nil, username=nil, password=nil, resource=nil, servicevip=nil, uniqvpcid=nil, isupdate=nil) @Port = port @UserName = username @Password = password @Resource = resource @ServiceVip = servicevip @UniqVpcId = uniqvpcid @IsUpdate = isupdate end |
Instance Attribute Details
#IsUpdate ⇒ Object
8847 8848 8849 |
# File 'lib/v20190819/models.rb', line 8847 def IsUpdate @IsUpdate end |
#Password ⇒ Object
8847 8848 8849 |
# File 'lib/v20190819/models.rb', line 8847 def Password @Password end |
#Port ⇒ Object
8847 8848 8849 |
# File 'lib/v20190819/models.rb', line 8847 def Port @Port end |
#Resource ⇒ Object
8847 8848 8849 |
# File 'lib/v20190819/models.rb', line 8847 def Resource @Resource end |
#ServiceVip ⇒ Object
8847 8848 8849 |
# File 'lib/v20190819/models.rb', line 8847 def ServiceVip @ServiceVip end |
#UniqVpcId ⇒ Object
8847 8848 8849 |
# File 'lib/v20190819/models.rb', line 8847 def UniqVpcId @UniqVpcId end |
#UserName ⇒ Object
8847 8848 8849 |
# File 'lib/v20190819/models.rb', line 8847 def UserName @UserName end |
Instance Method Details
#deserialize(params) ⇒ Object
8859 8860 8861 8862 8863 8864 8865 8866 8867 |
# File 'lib/v20190819/models.rb', line 8859 def deserialize(params) @Port = params['Port'] @UserName = params['UserName'] @Password = params['Password'] @Resource = params['Resource'] @ServiceVip = params['ServiceVip'] @UniqVpcId = params['UniqVpcId'] @IsUpdate = params['IsUpdate'] end |