Class: TencentCloud::Trp::V20210515::DescribeScanLogsResponse

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20210515/models.rb

Overview

DescribeScanLogs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(products = nil, totalcount = nil, scanlogs = nil, requestid = nil) ⇒ DescribeScanLogsResponse

Returns a new instance of DescribeScanLogsResponse.



2657
2658
2659
2660
2661
2662
# File 'lib/v20210515/models.rb', line 2657

def initialize(products=nil, totalcount=nil, scanlogs=nil, requestid=nil)
  @Products = products
  @TotalCount = totalcount
  @ScanLogs = scanlogs
  @RequestId = requestid
end

Instance Attribute Details

#ProductsObject

Parameters:

  • Products:

    【弃用】

  • TotalCount:

    条数

  • ScanLogs:

    扫描记录

  • RequestId:

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



2652
2653
2654
# File 'lib/v20210515/models.rb', line 2652

def Products
  @Products
end

#RequestIdObject

Parameters:

  • Products:

    【弃用】

  • TotalCount:

    条数

  • ScanLogs:

    扫描记录

  • RequestId:

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



2652
2653
2654
# File 'lib/v20210515/models.rb', line 2652

def RequestId
  @RequestId
end

#ScanLogsObject

Parameters:

  • Products:

    【弃用】

  • TotalCount:

    条数

  • ScanLogs:

    扫描记录

  • RequestId:

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



2652
2653
2654
# File 'lib/v20210515/models.rb', line 2652

def ScanLogs
  @ScanLogs
end

#TotalCountObject

Parameters:

  • Products:

    【弃用】

  • TotalCount:

    条数

  • ScanLogs:

    扫描记录

  • RequestId:

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



2652
2653
2654
# File 'lib/v20210515/models.rb', line 2652

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
# File 'lib/v20210515/models.rb', line 2664

def deserialize(params)
  unless params['Products'].nil?
    @Products = []
    params['Products'].each do |i|
      scanlog_tmp = ScanLog.new
      scanlog_tmp.deserialize(i)
      @Products << scanlog_tmp
    end
  end
  @TotalCount = params['TotalCount']
  unless params['ScanLogs'].nil?
    @ScanLogs = []
    params['ScanLogs'].each do |i|
      scanlog_tmp = ScanLog.new
      scanlog_tmp.deserialize(i)
      @ScanLogs << scanlog_tmp
    end
  end
  @RequestId = params['RequestId']
end