Class: TencentCloud::Ckafka::V20190819::MongoDBConnectParam
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::MongoDBConnectParam
- Defined in:
- lib/v20190819/models.rb
Overview
MongoDB连接源参数
Instance Attribute Summary collapse
- #IsUpdate ⇒ Object
- #Password ⇒ Object
- #Port ⇒ Object
- #Resource ⇒ Object
- #SelfBuilt ⇒ Object
- #ServiceVip ⇒ Object
- #UniqVpcId ⇒ Object
- #UserName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(port = nil, username = nil, password = nil, resource = nil, selfbuilt = nil, servicevip = nil, uniqvpcid = nil, isupdate = nil) ⇒ MongoDBConnectParam
constructor
A new instance of MongoDBConnectParam.
Constructor Details
#initialize(port = nil, username = nil, password = nil, resource = nil, selfbuilt = nil, servicevip = nil, uniqvpcid = nil, isupdate = nil) ⇒ MongoDBConnectParam
Returns a new instance of MongoDBConnectParam.
9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 |
# File 'lib/v20190819/models.rb', line 9751 def initialize(port=nil, username=nil, password=nil, resource=nil, selfbuilt=nil, servicevip=nil, uniqvpcid=nil, isupdate=nil) @Port = port @UserName = username @Password = password @Resource = resource @SelfBuilt = selfbuilt @ServiceVip = servicevip @UniqVpcId = uniqvpcid @IsUpdate = isupdate end |
Instance Attribute Details
#IsUpdate ⇒ Object
9749 9750 9751 |
# File 'lib/v20190819/models.rb', line 9749 def IsUpdate @IsUpdate end |
#Password ⇒ Object
9749 9750 9751 |
# File 'lib/v20190819/models.rb', line 9749 def Password @Password end |
#Port ⇒ Object
9749 9750 9751 |
# File 'lib/v20190819/models.rb', line 9749 def Port @Port end |
#Resource ⇒ Object
9749 9750 9751 |
# File 'lib/v20190819/models.rb', line 9749 def Resource @Resource end |
#SelfBuilt ⇒ Object
9749 9750 9751 |
# File 'lib/v20190819/models.rb', line 9749 def SelfBuilt @SelfBuilt end |
#ServiceVip ⇒ Object
9749 9750 9751 |
# File 'lib/v20190819/models.rb', line 9749 def ServiceVip @ServiceVip end |
#UniqVpcId ⇒ Object
9749 9750 9751 |
# File 'lib/v20190819/models.rb', line 9749 def UniqVpcId @UniqVpcId end |
#UserName ⇒ Object
9749 9750 9751 |
# File 'lib/v20190819/models.rb', line 9749 def UserName @UserName end |
Instance Method Details
#deserialize(params) ⇒ Object
9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 |
# File 'lib/v20190819/models.rb', line 9762 def deserialize(params) @Port = params['Port'] @UserName = params['UserName'] @Password = params['Password'] @Resource = params['Resource'] @SelfBuilt = params['SelfBuilt'] @ServiceVip = params['ServiceVip'] @UniqVpcId = params['UniqVpcId'] @IsUpdate = params['IsUpdate'] end |