class TencentCloud::Cdb::V20170320::AnalyzeAuditLogsRequest
AnalyzeAuditLogs请求参数结构体
def deserialize(params)
def deserialize(params) @InstanceId = params['InstanceId'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] unless params['AggregationConditions'].nil? @AggregationConditions = [] params['AggregationConditions'].each do |i| aggregationcondition_tmp = AggregationCondition.new aggregationcondition_tmp.deserialize(i) @AggregationConditions << aggregationcondition_tmp end end unless params['AuditLogFilter'].nil? @AuditLogFilter = AuditLogFilter.new @AuditLogFilter.deserialize(params['AuditLogFilter']) end unless params['LogFilter'].nil? @LogFilter = [] params['LogFilter'].each do |i| instanceauditlogfilters_tmp = InstanceAuditLogFilters.new instanceauditlogfilters_tmp.deserialize(i) @LogFilter << instanceauditlogfilters_tmp end end end
def initialize(instanceid=nil, starttime=nil, endtime=nil, aggregationconditions=nil, auditlogfilter=nil, logfilter=nil)
def initialize(instanceid=nil, starttime=nil, endtime=nil, aggregationconditions=nil, auditlogfilter=nil, logfilter=nil) @InstanceId = instanceid @StartTime = starttime @EndTime = endtime @AggregationConditions = aggregationconditions @AuditLogFilter = auditlogfilter @LogFilter = logfilter end