Class: TencentCloud::Trp::V20210515::DescribeScanLogsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trp::V20210515::DescribeScanLogsResponse
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20210515/models.rb
Overview
DescribeScanLogs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(products = nil, totalcount = nil, scanlogs = nil, requestid = nil) ⇒ DescribeScanLogsResponse
constructor
A new instance of DescribeScanLogsResponse.
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
#Products ⇒ Object
2652 2653 2654 |
# File 'lib/v20210515/models.rb', line 2652 def Products @Products end |
#RequestId ⇒ Object
2652 2653 2654 |
# File 'lib/v20210515/models.rb', line 2652 def RequestId @RequestId end |
#ScanLogs ⇒ Object
2652 2653 2654 |
# File 'lib/v20210515/models.rb', line 2652 def ScanLogs @ScanLogs end |
#TotalCount ⇒ Object
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 |