Class: TencentCloud::Sqlserver::V20180328::AccountDetail

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

Overview

账号信息详情

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AccountTypeObject



104
105
106
# File 'lib/v20180328/models.rb', line 104

def AccountType
  @AccountType
end

#AuthenticationObject



104
105
106
# File 'lib/v20180328/models.rb', line 104

def Authentication
  @Authentication
end

#CreateTimeObject



104
105
106
# File 'lib/v20180328/models.rb', line 104

def CreateTime
  @CreateTime
end

#DbsObject



104
105
106
# File 'lib/v20180328/models.rb', line 104

def Dbs
  @Dbs
end

#HostObject



104
105
106
# File 'lib/v20180328/models.rb', line 104

def Host
  @Host
end

#InternalStatusObject



104
105
106
# File 'lib/v20180328/models.rb', line 104

def InternalStatus
  @InternalStatus
end

#IsAdminObject



104
105
106
# File 'lib/v20180328/models.rb', line 104

def IsAdmin
  @IsAdmin
end

#IsCamObject



104
105
106
# File 'lib/v20180328/models.rb', line 104

def IsCam
  @IsCam
end

#NameObject



104
105
106
# File 'lib/v20180328/models.rb', line 104

def Name
  @Name
end

#PassTimeObject



104
105
106
# File 'lib/v20180328/models.rb', line 104

def PassTime
  @PassTime
end

#RemarkObject



104
105
106
# File 'lib/v20180328/models.rb', line 104

def Remark
  @Remark
end

#StatusObject



104
105
106
# File 'lib/v20180328/models.rb', line 104

def Status
  @Status
end

#UpdateTimeObject



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