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']
end

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

def initialize(username=nil, dbprivileges=nil, isadmin=nil)
  @UserName = username
  @DBPrivileges = dbprivileges
  @IsAdmin = isadmin
end