Class: TencentCloud::Vm::V20200709::DescribeVideoStatResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20200709::DescribeVideoStatResponse
- Defined in:
- lib/v20200709/models.rb
Overview
DescribeVideoStat返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(overview = nil, trendcount = nil, evilcount = nil, requestid = nil) ⇒ DescribeVideoStatResponse
constructor
A new instance of DescribeVideoStatResponse.
Constructor Details
#initialize(overview = nil, trendcount = nil, evilcount = nil, requestid = nil) ⇒ DescribeVideoStatResponse
Returns a new instance of DescribeVideoStatResponse.
640 641 642 643 644 645 |
# File 'lib/v20200709/models.rb', line 640 def initialize(overview=nil, trendcount=nil, evilcount=nil, requestid=nil) @Overview = overview @TrendCount = trendcount @EvilCount = evilcount @RequestId = requestid end |
Instance Attribute Details
#EvilCount ⇒ Object
638 639 640 |
# File 'lib/v20200709/models.rb', line 638 def EvilCount @EvilCount end |
#Overview ⇒ Object
638 639 640 |
# File 'lib/v20200709/models.rb', line 638 def Overview @Overview end |
#RequestId ⇒ Object
638 639 640 |
# File 'lib/v20200709/models.rb', line 638 def RequestId @RequestId end |
#TrendCount ⇒ Object
638 639 640 |
# File 'lib/v20200709/models.rb', line 638 def TrendCount @TrendCount end |
Instance Method Details
#deserialize(params) ⇒ Object
647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 |
# File 'lib/v20200709/models.rb', line 647 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 |