class TencentCloud::Cynosdb::V20190107::DbInfo
数据库详细信息
def deserialize(params)
def deserialize(params) @DbName = params['DbName'] @CharacterSet = params['CharacterSet'] @Status = params['Status'] @CollateRule = params['CollateRule'] @Description = params['Description'] unless params['UserHostPrivileges'].nil? @UserHostPrivileges = [] params['UserHostPrivileges'].each do |i| userhostprivilege_tmp = UserHostPrivilege.new userhostprivilege_tmp.deserialize(i) @UserHostPrivileges << userhostprivilege_tmp end end @DbId = params['DbId'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @AppId = params['AppId'] @Uin = params['Uin'] @ClusterId = params['ClusterId'] end
def initialize(dbname=nil, characterset=nil, status=nil, collaterule=nil, description=nil, userhostprivileges=nil, dbid=nil, createtime=nil, updatetime=nil, appid=nil, uin=nil, clusterid=nil)
def initialize(dbname=nil, characterset=nil, status=nil, collaterule=nil, description=nil, userhostprivileges=nil, dbid=nil, createtime=nil, updatetime=nil, appid=nil, uin=nil, clusterid=nil) @DbName = dbname @CharacterSet = characterset @Status = status @CollateRule = collaterule @Description = description @UserHostPrivileges = userhostprivileges @DbId = dbid @CreateTime = createtime @UpdateTime = updatetime @AppId = appid @Uin = uin @ClusterId = clusterid end