class TencentCloud::Cynosdb::V20190107::GrantAccountPrivilegesRequest
GrantAccountPrivileges请求参数结构体
def deserialize(params)
def deserialize(params) @ClusterId = params['ClusterId'] unless params['Account'].nil? @Account = InputAccount.new @Account.deserialize(params['Account']) end @DbTablePrivileges = params['DbTablePrivileges'] unless params['DbTables'].nil? @DbTables = [] params['DbTables'].each do |i| dbtable_tmp = DbTable.new dbtable_tmp.deserialize(i) @DbTables << dbtable_tmp end end end
def initialize(clusterid=nil, account=nil, dbtableprivileges=nil, dbtables=nil)
def initialize(clusterid=nil, account=nil, dbtableprivileges=nil, dbtables=nil) @ClusterId = clusterid @Account = account @DbTablePrivileges = dbtableprivileges @DbTables = dbtables end