Class: TencentCloud::Cwp::V20180228::DescribeScanTaskDetailsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeScanTaskDetailsResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeScanTaskDetails返回参数结构体
Instance Attribute Summary collapse
- #PatchInfo ⇒ Object
- #RequestId ⇒ Object
- #RiskEventCount ⇒ Object
- #RiskMachineCount ⇒ Object
- #ScanBeginTime ⇒ Object
- #ScanContent ⇒ Object
- #ScanEndTime ⇒ Object
- #ScanLeftTime ⇒ Object
- #ScanMachineCount ⇒ Object
- #ScanProgress ⇒ Object
- #ScanTaskDetailList ⇒ Object
- #ScanTime ⇒ Object
- #StoppingAll ⇒ Object
- #TotalCount ⇒ Object
- #Type ⇒ Object
- #VulCount ⇒ Object
- #VulInfo ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(scantaskdetaillist = nil, totalcount = nil, scanmachinecount = nil, riskmachinecount = nil, scanbegintime = nil, scanendtime = nil, scantime = nil, scanprogress = nil, scanlefttime = nil, scancontent = nil, vulinfo = nil, riskeventcount = nil, type = nil, stoppingall = nil, vulcount = nil, patchinfo = nil, requestid = nil) ⇒ DescribeScanTaskDetailsResponse
constructor
A new instance of DescribeScanTaskDetailsResponse.
Constructor Details
#initialize(scantaskdetaillist = nil, totalcount = nil, scanmachinecount = nil, riskmachinecount = nil, scanbegintime = nil, scanendtime = nil, scantime = nil, scanprogress = nil, scanlefttime = nil, scancontent = nil, vulinfo = nil, riskeventcount = nil, type = nil, stoppingall = nil, vulcount = nil, patchinfo = nil, requestid = nil) ⇒ DescribeScanTaskDetailsResponse
Returns a new instance of DescribeScanTaskDetailsResponse.
20801 20802 20803 20804 20805 20806 20807 20808 20809 20810 20811 20812 20813 20814 20815 20816 20817 20818 20819 |
# File 'lib/v20180228/models.rb', line 20801 def initialize(scantaskdetaillist=nil, totalcount=nil, scanmachinecount=nil, riskmachinecount=nil, scanbegintime=nil, scanendtime=nil, scantime=nil, scanprogress=nil, scanlefttime=nil, scancontent=nil, vulinfo=nil, riskeventcount=nil, type=nil, stoppingall=nil, vulcount=nil, patchinfo=nil, requestid=nil) @ScanTaskDetailList = scantaskdetaillist @TotalCount = totalcount @ScanMachineCount = scanmachinecount @RiskMachineCount = riskmachinecount @ScanBeginTime = scanbegintime @ScanEndTime = scanendtime @ScanTime = scantime @ScanProgress = scanprogress @ScanLeftTime = scanlefttime @ScanContent = scancontent @VulInfo = vulinfo @RiskEventCount = riskeventcount @Type = type @StoppingAll = stoppingall @VulCount = vulcount @PatchInfo = patchinfo @RequestId = requestid end |
Instance Attribute Details
#PatchInfo ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def PatchInfo @PatchInfo end |
#RequestId ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def RequestId @RequestId end |
#RiskEventCount ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def RiskEventCount @RiskEventCount end |
#RiskMachineCount ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def RiskMachineCount @RiskMachineCount end |
#ScanBeginTime ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def ScanBeginTime @ScanBeginTime end |
#ScanContent ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def ScanContent @ScanContent end |
#ScanEndTime ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def ScanEndTime @ScanEndTime end |
#ScanLeftTime ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def ScanLeftTime @ScanLeftTime end |
#ScanMachineCount ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def ScanMachineCount @ScanMachineCount end |
#ScanProgress ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def ScanProgress @ScanProgress end |
#ScanTaskDetailList ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def ScanTaskDetailList @ScanTaskDetailList end |
#ScanTime ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def ScanTime @ScanTime end |
#StoppingAll ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def StoppingAll @StoppingAll end |
#TotalCount ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def TotalCount @TotalCount end |
#Type ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def Type @Type end |
#VulCount ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def VulCount @VulCount end |
#VulInfo ⇒ Object
20799 20800 20801 |
# File 'lib/v20180228/models.rb', line 20799 def VulInfo @VulInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
20821 20822 20823 20824 20825 20826 20827 20828 20829 20830 20831 20832 20833 20834 20835 20836 20837 20838 20839 20840 20841 20842 20843 20844 20845 20846 20847 20848 20849 20850 20851 20852 20853 20854 20855 20856 20857 20858 20859 20860 |
# File 'lib/v20180228/models.rb', line 20821 def deserialize(params) unless params['ScanTaskDetailList'].nil? @ScanTaskDetailList = [] params['ScanTaskDetailList'].each do |i| scantaskdetails_tmp = ScanTaskDetails.new scantaskdetails_tmp.deserialize(i) @ScanTaskDetailList << scantaskdetails_tmp end end @TotalCount = params['TotalCount'] @ScanMachineCount = params['ScanMachineCount'] @RiskMachineCount = params['RiskMachineCount'] @ScanBeginTime = params['ScanBeginTime'] @ScanEndTime = params['ScanEndTime'] @ScanTime = params['ScanTime'] @ScanProgress = params['ScanProgress'] @ScanLeftTime = params['ScanLeftTime'] @ScanContent = params['ScanContent'] unless params['VulInfo'].nil? @VulInfo = [] params['VulInfo'].each do |i| vuldetailinfo_tmp = VulDetailInfo.new vuldetailinfo_tmp.deserialize(i) @VulInfo << vuldetailinfo_tmp end end @RiskEventCount = params['RiskEventCount'] @Type = params['Type'] @StoppingAll = params['StoppingAll'] @VulCount = params['VulCount'] unless params['PatchInfo'].nil? @PatchInfo = [] params['PatchInfo'].each do |i| patchinfodetail_tmp = PatchInfoDetail.new patchinfodetail_tmp.deserialize(i) @PatchInfo << patchinfodetail_tmp end end @RequestId = params['RequestId'] end |