class TencentCloud::Cdb::V20170320::DescribeAccountPrivilegesResponse
DescribeAccountPrivileges返回参数结构体
def deserialize(params)
def deserialize(params) @GlobalPrivileges = params['GlobalPrivileges'] unless params['DatabasePrivileges'].nil? @DatabasePrivileges = [] params['DatabasePrivileges'].each do |i| databaseprivilege_tmp = DatabasePrivilege.new databaseprivilege_tmp.deserialize(i) @DatabasePrivileges << databaseprivilege_tmp end end unless params['TablePrivileges'].nil? @TablePrivileges = [] params['TablePrivileges'].each do |i| tableprivilege_tmp = TablePrivilege.new tableprivilege_tmp.deserialize(i) @TablePrivileges << tableprivilege_tmp end end unless params['ColumnPrivileges'].nil? @ColumnPrivileges = [] params['ColumnPrivileges'].each do |i| columnprivilege_tmp = ColumnPrivilege.new columnprivilege_tmp.deserialize(i) @ColumnPrivileges << columnprivilege_tmp end end @RequestId = params['RequestId'] end
def initialize(globalprivileges=nil, databaseprivileges=nil, tableprivileges=nil, columnprivileges=nil, requestid=nil)
def initialize(globalprivileges=nil, databaseprivileges=nil, tableprivileges=nil, columnprivileges=nil, requestid=nil) @GlobalPrivileges = globalprivileges @DatabasePrivileges = databaseprivileges @TablePrivileges = tableprivileges @ColumnPrivileges = columnprivileges @RequestId = requestid end