Class: TencentCloud::Vod::V20180717::AiReviewTerrorismTaskOutput

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

Overview

暴恐信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(confidence = nil, suggestion = nil, label = nil, segmentset = nil, segmentsetfileurl = nil, segmentsetfileurlexpiretime = nil) ⇒ AiReviewTerrorismTaskOutput

Returns a new instance of AiReviewTerrorismTaskOutput.



3774
3775
3776
3777
3778
3779
3780
3781
# File 'lib/v20180717/models.rb', line 3774

def initialize(confidence=nil, suggestion=nil, label=nil, segmentset=nil, segmentsetfileurl=nil, segmentsetfileurlexpiretime=nil)
  @Confidence = confidence
  @Suggestion = suggestion
  @Label = label
  @SegmentSet = segmentset
  @SegmentSetFileUrl = segmentsetfileurl
  @SegmentSetFileUrlExpireTime = segmentsetfileurlexpiretime
end

Instance Attribute Details

#ConfidenceObject

<li>pass。</li> <li>review。</li> <li>block。</li> <li>guns:武器枪支。</li> <li>crowd:人群聚集。</li> <li>police:警察部队。</li> <li>bloody:血腥画面。</li> <li>banners:暴恐旗帜。</li> <li>militant:武装分子。</li> <li>explosion:爆炸火灾。</li> <li>terrorists:暴恐人物。</li> <li>scenario:暴恐画面。</li> <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。

Parameters:

  • Confidence:

    视频暴恐评分,分值为0到100。

  • Suggestion:

    暴恐结果建议,取值范围:

  • Label:

    视频暴恐结果标签,取值范围:

  • SegmentSet:

    有暴恐嫌疑的视频片段列表。

  • SegmentSetFileUrl:

    暴恐嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。

  • SegmentSetFileUrlExpireTime:

    暴恐嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



3772
3773
3774
# File 'lib/v20180717/models.rb', line 3772

def Confidence
  @Confidence
end

#LabelObject

<li>pass。</li> <li>review。</li> <li>block。</li> <li>guns:武器枪支。</li> <li>crowd:人群聚集。</li> <li>police:警察部队。</li> <li>bloody:血腥画面。</li> <li>banners:暴恐旗帜。</li> <li>militant:武装分子。</li> <li>explosion:爆炸火灾。</li> <li>terrorists:暴恐人物。</li> <li>scenario:暴恐画面。</li> <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。

Parameters:

  • Confidence:

    视频暴恐评分,分值为0到100。

  • Suggestion:

    暴恐结果建议,取值范围:

  • Label:

    视频暴恐结果标签,取值范围:

  • SegmentSet:

    有暴恐嫌疑的视频片段列表。

  • SegmentSetFileUrl:

    暴恐嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。

  • SegmentSetFileUrlExpireTime:

    暴恐嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



3772
3773
3774
# File 'lib/v20180717/models.rb', line 3772

def Label
  @Label
end

#SegmentSetObject

<li>pass。</li> <li>review。</li> <li>block。</li> <li>guns:武器枪支。</li> <li>crowd:人群聚集。</li> <li>police:警察部队。</li> <li>bloody:血腥画面。</li> <li>banners:暴恐旗帜。</li> <li>militant:武装分子。</li> <li>explosion:爆炸火灾。</li> <li>terrorists:暴恐人物。</li> <li>scenario:暴恐画面。</li> <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。

Parameters:

  • Confidence:

    视频暴恐评分,分值为0到100。

  • Suggestion:

    暴恐结果建议,取值范围:

  • Label:

    视频暴恐结果标签,取值范围:

  • SegmentSet:

    有暴恐嫌疑的视频片段列表。

  • SegmentSetFileUrl:

    暴恐嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。

  • SegmentSetFileUrlExpireTime:

    暴恐嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



3772
3773
3774
# File 'lib/v20180717/models.rb', line 3772

def SegmentSet
  @SegmentSet
end

#SegmentSetFileUrlObject

<li>pass。</li> <li>review。</li> <li>block。</li> <li>guns:武器枪支。</li> <li>crowd:人群聚集。</li> <li>police:警察部队。</li> <li>bloody:血腥画面。</li> <li>banners:暴恐旗帜。</li> <li>militant:武装分子。</li> <li>explosion:爆炸火灾。</li> <li>terrorists:暴恐人物。</li> <li>scenario:暴恐画面。</li> <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。

Parameters:

  • Confidence:

    视频暴恐评分,分值为0到100。

  • Suggestion:

    暴恐结果建议,取值范围:

  • Label:

    视频暴恐结果标签,取值范围:

  • SegmentSet:

    有暴恐嫌疑的视频片段列表。

  • SegmentSetFileUrl:

    暴恐嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。

  • SegmentSetFileUrlExpireTime:

    暴恐嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



3772
3773
3774
# File 'lib/v20180717/models.rb', line 3772

def SegmentSetFileUrl
  @SegmentSetFileUrl
end

#SegmentSetFileUrlExpireTimeObject

<li>pass。</li> <li>review。</li> <li>block。</li> <li>guns:武器枪支。</li> <li>crowd:人群聚集。</li> <li>police:警察部队。</li> <li>bloody:血腥画面。</li> <li>banners:暴恐旗帜。</li> <li>militant:武装分子。</li> <li>explosion:爆炸火灾。</li> <li>terrorists:暴恐人物。</li> <li>scenario:暴恐画面。</li> <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。

Parameters:

  • Confidence:

    视频暴恐评分,分值为0到100。

  • Suggestion:

    暴恐结果建议,取值范围:

  • Label:

    视频暴恐结果标签,取值范围:

  • SegmentSet:

    有暴恐嫌疑的视频片段列表。

  • SegmentSetFileUrl:

    暴恐嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。

  • SegmentSetFileUrlExpireTime:

    暴恐嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



3772
3773
3774
# File 'lib/v20180717/models.rb', line 3772

def SegmentSetFileUrlExpireTime
  @SegmentSetFileUrlExpireTime
end

#SuggestionObject

<li>pass。</li> <li>review。</li> <li>block。</li> <li>guns:武器枪支。</li> <li>crowd:人群聚集。</li> <li>police:警察部队。</li> <li>bloody:血腥画面。</li> <li>banners:暴恐旗帜。</li> <li>militant:武装分子。</li> <li>explosion:爆炸火灾。</li> <li>terrorists:暴恐人物。</li> <li>scenario:暴恐画面。</li> <font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。

Parameters:

  • Confidence:

    视频暴恐评分,分值为0到100。

  • Suggestion:

    暴恐结果建议,取值范围:

  • Label:

    视频暴恐结果标签,取值范围:

  • SegmentSet:

    有暴恐嫌疑的视频片段列表。

  • SegmentSetFileUrl:

    暴恐嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。

  • SegmentSetFileUrlExpireTime:

    暴恐嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](cloud.tencent.com/document/product/266/11732#I)。



3772
3773
3774
# File 'lib/v20180717/models.rb', line 3772

def Suggestion
  @Suggestion
end

Instance Method Details

#deserialize(params) ⇒ Object



3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
# File 'lib/v20180717/models.rb', line 3783

def deserialize(params)
  @Confidence = params['Confidence']
  @Suggestion = params['Suggestion']
  @Label = params['Label']
  unless params['SegmentSet'].nil?
    @SegmentSet = []
    params['SegmentSet'].each do |i|
      mediacontentreviewsegmentitem_tmp = MediaContentReviewSegmentItem.new
      mediacontentreviewsegmentitem_tmp.deserialize(i)
      @SegmentSet << mediacontentreviewsegmentitem_tmp
    end
  end
  @SegmentSetFileUrl = params['SegmentSetFileUrl']
  @SegmentSetFileUrlExpireTime = params['SegmentSetFileUrlExpireTime']
end