Class: TencentCloud::Tdcpg::V20211118::Account
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdcpg::V20211118::Account
- Defined in:
- lib/v20211118/models.rb
Overview
数据库账户信息
Instance Attribute Summary collapse
- #AccountDescription ⇒ Object
- #AccountName ⇒ Object
- #ClusterId ⇒ Object
- #CreateTime ⇒ Object
- #UpdateTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(accountname = nil, clusterid = nil, accountdescription = nil, createtime = nil, updatetime = nil) ⇒ Account
constructor
A new instance of Account.
Constructor Details
#initialize(accountname = nil, clusterid = nil, accountdescription = nil, createtime = nil, updatetime = nil) ⇒ Account
Returns a new instance of Account.
35 36 37 38 39 40 41 |
# File 'lib/v20211118/models.rb', line 35 def initialize(accountname=nil, clusterid=nil, accountdescription=nil, createtime=nil, updatetime=nil) @AccountName = accountname @ClusterId = clusterid @AccountDescription = accountdescription @CreateTime = createtime @UpdateTime = updatetime end |
Instance Attribute Details
#AccountDescription ⇒ Object
33 34 35 |
# File 'lib/v20211118/models.rb', line 33 def AccountDescription @AccountDescription end |
#AccountName ⇒ Object
33 34 35 |
# File 'lib/v20211118/models.rb', line 33 def AccountName @AccountName end |
#ClusterId ⇒ Object
33 34 35 |
# File 'lib/v20211118/models.rb', line 33 def ClusterId @ClusterId end |
#CreateTime ⇒ Object
33 34 35 |
# File 'lib/v20211118/models.rb', line 33 def CreateTime @CreateTime end |
#UpdateTime ⇒ Object
33 34 35 |
# File 'lib/v20211118/models.rb', line 33 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
43 44 45 46 47 48 49 |
# File 'lib/v20211118/models.rb', line 43 def deserialize(params) @AccountName = params['AccountName'] @ClusterId = params['ClusterId'] @AccountDescription = params['AccountDescription'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] end |