Class: TencentCloud::Dcdb::V20180411::Account

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180411/models.rb

Overview

数据库账号信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(user = nil, host = nil) ⇒ Account

Returns a new instance of Account.



29
30
31
32
# File 'lib/v20180411/models.rb', line 29

def initialize(user=nil, host=nil)
  @User = user
  @Host = host
end

Instance Attribute Details

#HostObject

Parameters:

  • User:

    账户的名称

  • Host:

    账户的域名



27
28
29
# File 'lib/v20180411/models.rb', line 27

def Host
  @Host
end

#UserObject

Parameters:

  • User:

    账户的名称

  • Host:

    账户的域名



27
28
29
# File 'lib/v20180411/models.rb', line 27

def User
  @User
end

Instance Method Details

#deserialize(params) ⇒ Object



34
35
36
37
# File 'lib/v20180411/models.rb', line 34

def deserialize(params)
  @User = params['User']
  @Host = params['Host']
end