Class: TencentCloud::Cws::V20180312::DescribeVulsNumberTimelineResponse

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180312/models.rb

Overview

DescribeVulsNumberTimeline返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RequestIdObject

Parameters:

  • TotalCount:

    统计数据记录数量。

  • VulsTimeline:

    用户漏洞数随时间变化统计数据。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



665
666
667
# File 'lib/v20180312/models.rb', line 665

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    统计数据记录数量。

  • VulsTimeline:

    用户漏洞数随时间变化统计数据。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



665
666
667
# File 'lib/v20180312/models.rb', line 665

def TotalCount
  @TotalCount
end

#VulsTimelineObject

Parameters:

  • TotalCount:

    统计数据记录数量。

  • VulsTimeline:

    用户漏洞数随时间变化统计数据。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



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