Class: TencentCloud::Cws::V20180312::DescribeVulsNumberResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cws::V20180312::DescribeVulsNumberResponse
- Defined in:
- lib/v20180312/models.rb
Overview
DescribeVulsNumber返回参数结构体
Instance Attribute Summary collapse
- #ImpactSiteNumber ⇒ Object
- #ImpactSites ⇒ Object
- #PageCount ⇒ Object
- #RequestId ⇒ Object
- #SiteNumber ⇒ Object
- #Sites ⇒ Object
- #VulsHighNumber ⇒ Object
- #VulsLowNumber ⇒ Object
- #VulsMiddleNumber ⇒ Object
- #VulsNoticeNumber ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(impactsitenumber = nil, sitenumber = nil, vulshighnumber = nil, vulsmiddlenumber = nil, vulslownumber = nil, vulsnoticenumber = nil, pagecount = nil, sites = nil, impactsites = nil, requestid = nil) ⇒ DescribeVulsNumberResponse
constructor
A new instance of DescribeVulsNumberResponse.
Constructor Details
#initialize(impactsitenumber = nil, sitenumber = nil, vulshighnumber = nil, vulsmiddlenumber = nil, vulslownumber = nil, vulsnoticenumber = nil, pagecount = nil, sites = nil, impactsites = nil, requestid = nil) ⇒ DescribeVulsNumberResponse
Returns a new instance of DescribeVulsNumberResponse.
604 605 606 607 608 609 610 611 612 613 614 615 |
# File 'lib/v20180312/models.rb', line 604 def initialize(impactsitenumber=nil, sitenumber=nil, vulshighnumber=nil, vulsmiddlenumber=nil, vulslownumber=nil, vulsnoticenumber=nil, pagecount=nil, sites=nil, impactsites=nil, requestid=nil) @ImpactSiteNumber = impactsitenumber @SiteNumber = sitenumber @VulsHighNumber = vulshighnumber @VulsMiddleNumber = vulsmiddlenumber @VulsLowNumber = vulslownumber @VulsNoticeNumber = vulsnoticenumber @PageCount = pagecount @Sites = sites @ImpactSites = impactsites @RequestId = requestid end |
Instance Attribute Details
#ImpactSiteNumber ⇒ Object
602 603 604 |
# File 'lib/v20180312/models.rb', line 602 def ImpactSiteNumber @ImpactSiteNumber end |
#ImpactSites ⇒ Object
602 603 604 |
# File 'lib/v20180312/models.rb', line 602 def ImpactSites @ImpactSites end |
#PageCount ⇒ Object
602 603 604 |
# File 'lib/v20180312/models.rb', line 602 def PageCount @PageCount end |
#RequestId ⇒ Object
602 603 604 |
# File 'lib/v20180312/models.rb', line 602 def RequestId @RequestId end |
#SiteNumber ⇒ Object
602 603 604 |
# File 'lib/v20180312/models.rb', line 602 def SiteNumber @SiteNumber end |
#Sites ⇒ Object
602 603 604 |
# File 'lib/v20180312/models.rb', line 602 def Sites @Sites end |
#VulsHighNumber ⇒ Object
602 603 604 |
# File 'lib/v20180312/models.rb', line 602 def VulsHighNumber @VulsHighNumber end |
#VulsLowNumber ⇒ Object
602 603 604 |
# File 'lib/v20180312/models.rb', line 602 def VulsLowNumber @VulsLowNumber end |
#VulsMiddleNumber ⇒ Object
602 603 604 |
# File 'lib/v20180312/models.rb', line 602 def VulsMiddleNumber @VulsMiddleNumber end |
#VulsNoticeNumber ⇒ Object
602 603 604 |
# File 'lib/v20180312/models.rb', line 602 def VulsNoticeNumber @VulsNoticeNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 |
# File 'lib/v20180312/models.rb', line 617 def deserialize(params) @ImpactSiteNumber = params['ImpactSiteNumber'] @SiteNumber = params['SiteNumber'] @VulsHighNumber = params['VulsHighNumber'] @VulsMiddleNumber = params['VulsMiddleNumber'] @VulsLowNumber = params['VulsLowNumber'] @VulsNoticeNumber = params['VulsNoticeNumber'] @PageCount = params['PageCount'] unless params['Sites'].nil? @Sites = [] params['Sites'].each do |i| monitorminisite_tmp = MonitorMiniSite.new monitorminisite_tmp.deserialize(i) @Sites << monitorminisite_tmp end end unless params['ImpactSites'].nil? @ImpactSites = [] params['ImpactSites'].each do |i| monitorminisite_tmp = MonitorMiniSite.new monitorminisite_tmp.deserialize(i) @ImpactSites << monitorminisite_tmp end end @RequestId = params['RequestId'] end |