Class: TencentCloud::Sqlserver::V20180328::AccountDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::AccountDetail
- Defined in:
- lib/v20180328/models.rb
Overview
账号信息详情
Instance Attribute Summary collapse
- #AccountType ⇒ Object
- #Authentication ⇒ Object
- #CreateTime ⇒ Object
- #Dbs ⇒ Object
- #Host ⇒ Object
- #InternalStatus ⇒ Object
- #IsAdmin ⇒ Object
- #IsCam ⇒ Object
- #Name ⇒ Object
- #PassTime ⇒ Object
- #Remark ⇒ Object
- #Status ⇒ Object
- #UpdateTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, remark = nil, createtime = nil, status = nil, updatetime = nil, passtime = nil, internalstatus = nil, dbs = nil, isadmin = nil, iscam = nil, authentication = nil, host = nil, accounttype = nil) ⇒ AccountDetail
constructor
A new instance of AccountDetail.
Constructor Details
#initialize(name = nil, remark = nil, createtime = nil, status = nil, updatetime = nil, passtime = nil, internalstatus = nil, dbs = nil, isadmin = nil, iscam = nil, authentication = nil, host = nil, accounttype = nil) ⇒ AccountDetail
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
# File 'lib/v20180328/models.rb', line 106 def initialize(name=nil, remark=nil, createtime=nil, status=nil, updatetime=nil, passtime=nil, internalstatus=nil, dbs=nil, isadmin=nil, iscam=nil, authentication=nil, host=nil, accounttype=nil) @Name = name @Remark = remark @CreateTime = createtime @Status = status @UpdateTime = updatetime @PassTime = passtime @InternalStatus = internalstatus @Dbs = dbs @IsAdmin = isadmin @IsCam = iscam @Authentication = authentication @Host = host @AccountType = accounttype end |
Instance Attribute Details
#AccountType ⇒ Object
104 105 106 |
# File 'lib/v20180328/models.rb', line 104 def AccountType @AccountType end |
#Authentication ⇒ Object
104 105 106 |
# File 'lib/v20180328/models.rb', line 104 def Authentication @Authentication end |
#CreateTime ⇒ Object
104 105 106 |
# File 'lib/v20180328/models.rb', line 104 def CreateTime @CreateTime end |
#Dbs ⇒ Object
104 105 106 |
# File 'lib/v20180328/models.rb', line 104 def Dbs @Dbs end |
#Host ⇒ Object
104 105 106 |
# File 'lib/v20180328/models.rb', line 104 def Host @Host end |
#InternalStatus ⇒ Object
104 105 106 |
# File 'lib/v20180328/models.rb', line 104 def InternalStatus @InternalStatus end |
#IsAdmin ⇒ Object
104 105 106 |
# File 'lib/v20180328/models.rb', line 104 def IsAdmin @IsAdmin end |
#IsCam ⇒ Object
104 105 106 |
# File 'lib/v20180328/models.rb', line 104 def IsCam @IsCam end |
#Name ⇒ Object
104 105 106 |
# File 'lib/v20180328/models.rb', line 104 def Name @Name end |
#PassTime ⇒ Object
104 105 106 |
# File 'lib/v20180328/models.rb', line 104 def PassTime @PassTime end |
#Remark ⇒ Object
104 105 106 |
# File 'lib/v20180328/models.rb', line 104 def Remark @Remark end |
#Status ⇒ Object
104 105 106 |
# File 'lib/v20180328/models.rb', line 104 def Status @Status end |
#UpdateTime ⇒ Object
104 105 106 |
# File 'lib/v20180328/models.rb', line 104 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 |
# File 'lib/v20180328/models.rb', line 122 def deserialize(params) @Name = params['Name'] @Remark = params['Remark'] @CreateTime = params['CreateTime'] @Status = params['Status'] @UpdateTime = params['UpdateTime'] @PassTime = params['PassTime'] @InternalStatus = params['InternalStatus'] unless params['Dbs'].nil? @Dbs = [] params['Dbs'].each do |i| dbprivilege_tmp = DBPrivilege.new dbprivilege_tmp.deserialize(i) @Dbs << dbprivilege_tmp end end @IsAdmin = params['IsAdmin'] @IsCam = params['IsCam'] @Authentication = params['Authentication'] @Host = params['Host'] @AccountType = params['AccountType'] end |