Class: TencentCloud::Ams::V20200608::DescribeAudioStatResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ams::V20200608::DescribeAudioStatResponse
- Defined in:
- lib/v20200608/models.rb
Overview
DescribeAudioStat返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(overview = nil, trendcount = nil, evilcount = nil, requestid = nil) ⇒ DescribeAudioStatResponse
constructor
A new instance of DescribeAudioStatResponse.
Constructor Details
#initialize(overview = nil, trendcount = nil, evilcount = nil, requestid = nil) ⇒ DescribeAudioStatResponse
Returns a new instance of DescribeAudioStatResponse.
603 604 605 606 607 608 |
# File 'lib/v20200608/models.rb', line 603 def initialize(overview=nil, trendcount=nil, evilcount=nil, requestid=nil) @Overview = overview @TrendCount = trendcount @EvilCount = evilcount @RequestId = requestid end |
Instance Attribute Details
#EvilCount ⇒ Object
601 602 603 |
# File 'lib/v20200608/models.rb', line 601 def EvilCount @EvilCount end |
#Overview ⇒ Object
601 602 603 |
# File 'lib/v20200608/models.rb', line 601 def Overview @Overview end |
#RequestId ⇒ Object
601 602 603 |
# File 'lib/v20200608/models.rb', line 601 def RequestId @RequestId end |
#TrendCount ⇒ Object
601 602 603 |
# File 'lib/v20200608/models.rb', line 601 def TrendCount @TrendCount end |
Instance Method Details
#deserialize(params) ⇒ Object
610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 |
# File 'lib/v20200608/models.rb', line 610 def deserialize(params) unless params['Overview'].nil? @Overview = Overview.new @Overview.deserialize(params['Overview']) end unless params['TrendCount'].nil? @TrendCount = [] params['TrendCount'].each do |i| trendcount_tmp = TrendCount.new trendcount_tmp.deserialize(i) @TrendCount << trendcount_tmp end end unless params['EvilCount'].nil? @EvilCount = [] params['EvilCount'].each do |i| evilcount_tmp = EvilCount.new evilcount_tmp.deserialize(i) @EvilCount << evilcount_tmp end end @RequestId = params['RequestId'] end |