Class: TencentCloud::Sqlserver::V20180328::AccountPrivilege
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::AccountPrivilege
- Defined in:
- lib/v20180328/models.rb
Overview
数据库账号权限信息。创建数据库时设置
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(username = nil, privilege = nil, accounttype = nil) ⇒ AccountPrivilege
constructor
A new instance of AccountPrivilege.
Constructor Details
#initialize(username = nil, privilege = nil, accounttype = nil) ⇒ AccountPrivilege
Returns a new instance of AccountPrivilege.
181 182 183 184 185 |
# File 'lib/v20180328/models.rb', line 181 def initialize(username=nil, privilege=nil, accounttype=nil) @UserName = username @Privilege = privilege @AccountType = accounttype end |
Instance Attribute Details
#AccountType ⇒ Object
179 180 181 |
# File 'lib/v20180328/models.rb', line 179 def AccountType @AccountType end |
#Privilege ⇒ Object
179 180 181 |
# File 'lib/v20180328/models.rb', line 179 def Privilege @Privilege end |
#UserName ⇒ Object
179 180 181 |
# File 'lib/v20180328/models.rb', line 179 def UserName @UserName end |
Instance Method Details
#deserialize(params) ⇒ Object
187 188 189 190 191 |
# File 'lib/v20180328/models.rb', line 187 def deserialize(params) @UserName = params['UserName'] @Privilege = params['Privilege'] @AccountType = params['AccountType'] end |