Class: TencentCloud::Vm::V20200709::DescribeVideoStatResponse

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

Overview

DescribeVideoStat返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#EvilCountObject

Parameters:

  • Overview:

    识别结果统计

  • TrendCount:

    识别量统计

  • EvilCount:

    违规数据分布

  • RequestId:

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



638
639
640
# File 'lib/v20200709/models.rb', line 638

def EvilCount
  @EvilCount
end

#OverviewObject

Parameters:

  • Overview:

    识别结果统计

  • TrendCount:

    识别量统计

  • EvilCount:

    违规数据分布

  • RequestId:

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



638
639
640
# File 'lib/v20200709/models.rb', line 638

def Overview
  @Overview
end

#RequestIdObject

Parameters:

  • Overview:

    识别结果统计

  • TrendCount:

    识别量统计

  • EvilCount:

    违规数据分布

  • RequestId:

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



638
639
640
# File 'lib/v20200709/models.rb', line 638

def RequestId
  @RequestId
end

#TrendCountObject

Parameters:

  • Overview:

    识别结果统计

  • TrendCount:

    识别量统计

  • EvilCount:

    违规数据分布

  • RequestId:

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



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