class TencentCloud::Sqlserver::V20180328::AccountPrivilegeModifyInfo

数据库账号权限变更信息

def deserialize(params)

def deserialize(params)
  @UserName = params['UserName']
  unless params['DBPrivileges'].nil?
    @DBPrivileges = []
    params['DBPrivileges'].each do |i|
      dbprivilegemodifyinfo_tmp = DBPrivilegeModifyInfo.new
      dbprivilegemodifyinfo_tmp.deserialize(i)
      @DBPrivileges << dbprivilegemodifyinfo_tmp
    end
  end
  @IsAdmin = params['IsAdmin']
  @AccountType = params['AccountType']
  unless params['AccAllDB'].nil?
    @AccAllDB = SelectAllDB.new
    @AccAllDB.deserialize(params['AccAllDB'])
  end
end

def initialize(username=nil, dbprivileges=nil, isadmin=nil, accounttype=nil, accalldb=nil)

def initialize(username=nil, dbprivileges=nil, isadmin=nil, accounttype=nil, accalldb=nil)
  @UserName = username
  @DBPrivileges = dbprivileges
  @IsAdmin = isadmin
  @AccountType = accounttype
  @AccAllDB = accalldb
end