Class: TencentCloud::Cwp::V20180228::DescribeScreenDefenseTrendsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeScreenDefenseTrendsResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeScreenDefenseTrends返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(trendschart = nil, requestid = nil) ⇒ DescribeScreenDefenseTrendsResponse
constructor
A new instance of DescribeScreenDefenseTrendsResponse.
Constructor Details
#initialize(trendschart = nil, requestid = nil) ⇒ DescribeScreenDefenseTrendsResponse
Returns a new instance of DescribeScreenDefenseTrendsResponse.
21467 21468 21469 21470 |
# File 'lib/v20180228/models.rb', line 21467 def initialize(trendschart=nil, requestid=nil) @TrendsChart = trendschart @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
21465 21466 21467 |
# File 'lib/v20180228/models.rb', line 21465 def RequestId @RequestId end |
#TrendsChart ⇒ Object
21465 21466 21467 |
# File 'lib/v20180228/models.rb', line 21465 def TrendsChart @TrendsChart end |
Instance Method Details
#deserialize(params) ⇒ Object
21472 21473 21474 21475 21476 21477 21478 21479 21480 21481 21482 |
# File 'lib/v20180228/models.rb', line 21472 def deserialize(params) unless params['TrendsChart'].nil? @TrendsChart = [] params['TrendsChart'].each do |i| screentrendschart_tmp = ScreenTrendsChart.new screentrendschart_tmp.deserialize(i) @TrendsChart << screentrendschart_tmp end end @RequestId = params['RequestId'] end |