class TencentCloud::Cynosdb::V20190107::AuditLog
审计日志详细信息
def deserialize(params)
def deserialize(params) @AffectRows = params['AffectRows'] @ErrCode = params['ErrCode'] @SqlType = params['SqlType'] @TableName = params['TableName'] @InstanceName = params['InstanceName'] @PolicyName = params['PolicyName'] @DBName = params['DBName'] @Sql = params['Sql'] @Host = params['Host'] @User = params['User'] @ExecTime = params['ExecTime'] @Timestamp = params['Timestamp'] @SentRows = params['SentRows'] @ThreadId = params['ThreadId'] @CheckRows = params['CheckRows'] @CpuTime = params['CpuTime'] @IoWaitTime = params['IoWaitTime'] @LockWaitTime = params['LockWaitTime'] @TrxLivingTime = params['TrxLivingTime'] @NsTime = params['NsTime'] unless params['TemplateInfo'].nil? @TemplateInfo = [] params['TemplateInfo'].each do |i| logruletemplateinfo_tmp = LogRuleTemplateInfo.new logruletemplateinfo_tmp.deserialize(i) @TemplateInfo << logruletemplateinfo_tmp end end @TrxId = params['TrxId'] end
def initialize(affectrows=nil, errcode=nil, sqltype=nil, tablename=nil, instancename=nil, policyname=nil, dbname=nil, sql=nil, host=nil, user=nil, exectime=nil, timestamp=nil, sentrows=nil, threadid=nil, checkrows=nil, cputime=nil, iowaittime=nil, lockwaittime=nil, trxlivingtime=nil, nstime=nil, templateinfo=nil, trxid=nil)
def initialize(affectrows=nil, errcode=nil, sqltype=nil, tablename=nil, instancename=nil, policyname=nil, dbname=nil, sql=nil, host=nil, user=nil, exectime=nil, timestamp=nil, sentrows=nil, threadid=nil, checkrows=nil, cputime=nil, iowaittime=nil, lockwaittime=nil, trxlivingtime=nil, nstime=nil, templateinfo=nil, trxid=nil) @AffectRows = affectrows @ErrCode = errcode @SqlType = sqltype @TableName = tablename @InstanceName = instancename @PolicyName = policyname @DBName = dbname @Sql = sql @Host = host @User = user @ExecTime = exectime @Timestamp = timestamp @SentRows = sentrows @ThreadId = threadid @CheckRows = checkrows @CpuTime = cputime @IoWaitTime = iowaittime @LockWaitTime = lockwaittime @TrxLivingTime = trxlivingtime @NsTime = nstime @TemplateInfo = templateinfo @TrxId = trxid end