Class: TencentCloud::Cws::V20180312::MonitorsDetail
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cws::V20180312::MonitorsDetail
- Defined in:
- lib/v20180312/models.rb
Overview
监控任务详细数据
Instance Attribute Summary collapse
- #Basic ⇒ Object
- #ContentNumber ⇒ Object
- #ImpactSiteNumber ⇒ Object
- #ImpactSites ⇒ Object
- #PageCount ⇒ Object
- #Progress ⇒ Object
- #SiteNumber ⇒ Object
- #Sites ⇒ Object
- #VulsHighNumber ⇒ Object
- #VulsLowNumber ⇒ Object
- #VulsMiddleNumber ⇒ Object
- #VulsNoticeNumber ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(basic = nil, sites = nil, sitenumber = nil, impactsites = nil, impactsitenumber = nil, vulshighnumber = nil, vulsmiddlenumber = nil, vulslownumber = nil, vulsnoticenumber = nil, progress = nil, pagecount = nil, contentnumber = nil) ⇒ MonitorsDetail
constructor
A new instance of MonitorsDetail.
Constructor Details
#initialize(basic = nil, sites = nil, sitenumber = nil, impactsites = nil, impactsitenumber = nil, vulshighnumber = nil, vulsmiddlenumber = nil, vulslownumber = nil, vulsnoticenumber = nil, progress = nil, pagecount = nil, contentnumber = nil) ⇒ MonitorsDetail
Returns a new instance of MonitorsDetail.
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 |
# File 'lib/v20180312/models.rb', line 1069 def initialize(basic=nil, sites=nil, sitenumber=nil, impactsites=nil, impactsitenumber=nil, vulshighnumber=nil, vulsmiddlenumber=nil, vulslownumber=nil, vulsnoticenumber=nil, progress=nil, pagecount=nil, contentnumber=nil) @Basic = basic @Sites = sites @SiteNumber = sitenumber @ImpactSites = impactsites @ImpactSiteNumber = impactsitenumber @VulsHighNumber = vulshighnumber @VulsMiddleNumber = vulsmiddlenumber @VulsLowNumber = vulslownumber @VulsNoticeNumber = vulsnoticenumber @Progress = progress @PageCount = pagecount @ContentNumber = contentnumber end |
Instance Attribute Details
#Basic ⇒ Object
1067 1068 1069 |
# File 'lib/v20180312/models.rb', line 1067 def Basic @Basic end |
#ContentNumber ⇒ Object
1067 1068 1069 |
# File 'lib/v20180312/models.rb', line 1067 def ContentNumber @ContentNumber end |
#ImpactSiteNumber ⇒ Object
1067 1068 1069 |
# File 'lib/v20180312/models.rb', line 1067 def ImpactSiteNumber @ImpactSiteNumber end |
#ImpactSites ⇒ Object
1067 1068 1069 |
# File 'lib/v20180312/models.rb', line 1067 def ImpactSites @ImpactSites end |
#PageCount ⇒ Object
1067 1068 1069 |
# File 'lib/v20180312/models.rb', line 1067 def PageCount @PageCount end |
#Progress ⇒ Object
1067 1068 1069 |
# File 'lib/v20180312/models.rb', line 1067 def Progress @Progress end |
#SiteNumber ⇒ Object
1067 1068 1069 |
# File 'lib/v20180312/models.rb', line 1067 def SiteNumber @SiteNumber end |
#Sites ⇒ Object
1067 1068 1069 |
# File 'lib/v20180312/models.rb', line 1067 def Sites @Sites end |
#VulsHighNumber ⇒ Object
1067 1068 1069 |
# File 'lib/v20180312/models.rb', line 1067 def VulsHighNumber @VulsHighNumber end |
#VulsLowNumber ⇒ Object
1067 1068 1069 |
# File 'lib/v20180312/models.rb', line 1067 def VulsLowNumber @VulsLowNumber end |
#VulsMiddleNumber ⇒ Object
1067 1068 1069 |
# File 'lib/v20180312/models.rb', line 1067 def VulsMiddleNumber @VulsMiddleNumber end |
#VulsNoticeNumber ⇒ Object
1067 1068 1069 |
# File 'lib/v20180312/models.rb', line 1067 def VulsNoticeNumber @VulsNoticeNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 |
# File 'lib/v20180312/models.rb', line 1084 def deserialize(params) unless params['Basic'].nil? @Basic = Monitor.new @Basic.deserialize(params['Basic']) end unless params['Sites'].nil? @Sites = [] params['Sites'].each do |i| monitorminisite_tmp = MonitorMiniSite.new monitorminisite_tmp.deserialize(i) @Sites << monitorminisite_tmp end end @SiteNumber = params['SiteNumber'] unless params['ImpactSites'].nil? @ImpactSites = [] params['ImpactSites'].each do |i| monitorminisite_tmp = MonitorMiniSite.new monitorminisite_tmp.deserialize(i) @ImpactSites << monitorminisite_tmp end end @ImpactSiteNumber = params['ImpactSiteNumber'] @VulsHighNumber = params['VulsHighNumber'] @VulsMiddleNumber = params['VulsMiddleNumber'] @VulsLowNumber = params['VulsLowNumber'] @VulsNoticeNumber = params['VulsNoticeNumber'] @Progress = params['Progress'] @PageCount = params['PageCount'] @ContentNumber = params['ContentNumber'] end |