Class: TencentCloud::Cdb::V20170320::AnalyzeAuditLogsResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170320/models.rb

Overview

AnalyzeAuditLogs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(items = nil, totalcount = nil, requestid = nil) ⇒ AnalyzeAuditLogsResponse

Returns a new instance of AnalyzeAuditLogsResponse.



501
502
503
504
505
# File 'lib/v20170320/models.rb', line 501

def initialize(items=nil, totalcount=nil, requestid=nil)
  @Items = items
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#ItemsObject

Parameters:

  • Items:

    返回的聚合桶信息集

  • TotalCount:

    扫描的日志条数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



499
500
501
# File 'lib/v20170320/models.rb', line 499

def Items
  @Items
end

#RequestIdObject

Parameters:

  • Items:

    返回的聚合桶信息集

  • TotalCount:

    扫描的日志条数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



499
500
501
# File 'lib/v20170320/models.rb', line 499

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • Items:

    返回的聚合桶信息集

  • TotalCount:

    扫描的日志条数

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



499
500
501
# File 'lib/v20170320/models.rb', line 499

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



507
508
509
510
511
512
513
514
515
516
517
518
# File 'lib/v20170320/models.rb', line 507

def deserialize(params)
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      auditlogaggregationresult_tmp = AuditLogAggregationResult.new
      auditlogaggregationresult_tmp.deserialize(i)
      @Items << auditlogaggregationresult_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end