Class: TencentCloud::Cws::V20180312::DescribeVulsNumberTimelineResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cws::V20180312::DescribeVulsNumberTimelineResponse
- Defined in:
- lib/v20180312/models.rb
Overview
DescribeVulsNumberTimeline返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, vulstimeline = nil, requestid = nil) ⇒ DescribeVulsNumberTimelineResponse
constructor
A new instance of DescribeVulsNumberTimelineResponse.
Constructor Details
#initialize(totalcount = nil, vulstimeline = nil, requestid = nil) ⇒ DescribeVulsNumberTimelineResponse
Returns a new instance of DescribeVulsNumberTimelineResponse.
667 668 669 670 671 |
# File 'lib/v20180312/models.rb', line 667 def initialize(totalcount=nil, vulstimeline=nil, requestid=nil) @TotalCount = totalcount @VulsTimeline = vulstimeline @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
665 666 667 |
# File 'lib/v20180312/models.rb', line 665 def RequestId @RequestId end |
#TotalCount ⇒ Object
665 666 667 |
# File 'lib/v20180312/models.rb', line 665 def TotalCount @TotalCount end |
#VulsTimeline ⇒ Object
665 666 667 |
# File 'lib/v20180312/models.rb', line 665 def VulsTimeline @VulsTimeline end |
Instance Method Details
#deserialize(params) ⇒ Object
673 674 675 676 677 678 679 680 681 682 683 684 |
# File 'lib/v20180312/models.rb', line 673 def deserialize(params) @TotalCount = params['TotalCount'] unless params['VulsTimeline'].nil? @VulsTimeline = [] params['VulsTimeline'].each do |i| vulstimeline_tmp = VulsTimeline.new vulstimeline_tmp.deserialize(i) @VulsTimeline << vulstimeline_tmp end end @RequestId = params['RequestId'] end |