Class: TencentCloud::Mps::V20190612::AiReviewPoliticalTaskOutput

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

Overview

涉敏信息

Instance Attribute Summary collapse

  • #Label ⇒ Object
  • pass。
  • review。
  • block。
  • violation_photo:
  • violation_photo:违规图标。
  • 其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):
  • politician:涉敏人物。
  • .
  • #SegmentSet ⇒ Object
  • pass。
  • review。
  • block。
  • violation_photo:
  • violation_photo:违规图标。
  • 其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):
  • politician:涉敏人物。
  • .
  • #Suggestion ⇒ Object
  • pass。
  • review。
  • block。
  • violation_photo:
  • violation_photo:违规图标。
  • 其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):
  • politician:涉敏人物。
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(confidence = nil, suggestion = nil, label = nil, segmentset = nil) ⇒ AiReviewPoliticalTaskOutput

    Returns a new instance of AiReviewPoliticalTaskOutput.

    
    
    3905
    3906
    3907
    3908
    3909
    3910
    # File 'lib/v20190612/models.rb', line 3905
    
    def initialize(confidence=nil, suggestion=nil, label=nil, segmentset=nil)
      @Confidence = confidence
      @Suggestion = suggestion
      @Label = label
      @SegmentSet = segmentset
    end

    Instance Attribute Details

    #ConfidenceObject

  • pass。
  • review。
  • block。
  • violation_photo:
  • violation_photo:违规图标。
  • 其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):
  • politician:涉敏人物。
  • Parameters:

    • Confidence:

      视频涉敏评分,分值为0到100。

    • Suggestion:

      涉敏结果建议,取值范围:

    • Label:

      视频涉敏结果标签。内容审核模板画面涉敏任务控制参数里 LabelSet 参数与此参数取值范围的对应关系:

    • SegmentSet:

      有涉敏嫌疑的视频片段列表。

    
    
    3903
    3904
    3905
    # File 'lib/v20190612/models.rb', line 3903
    
    def Confidence
      @Confidence
    end

    #LabelObject

  • pass。
  • review。
  • block。
  • violation_photo:
  • violation_photo:违规图标。
  • 其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):
  • politician:涉敏人物。
  • Parameters:

    • Confidence:

      视频涉敏评分,分值为0到100。

    • Suggestion:

      涉敏结果建议,取值范围:

    • Label:

      视频涉敏结果标签。内容审核模板画面涉敏任务控制参数里 LabelSet 参数与此参数取值范围的对应关系:

    • SegmentSet:

      有涉敏嫌疑的视频片段列表。

    
    
    3903
    3904
    3905
    # File 'lib/v20190612/models.rb', line 3903
    
    def Label
      @Label
    end

    #SegmentSetObject

  • pass。
  • review。
  • block。
  • violation_photo:
  • violation_photo:违规图标。
  • 其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):
  • politician:涉敏人物。
  • Parameters:

    • Confidence:

      视频涉敏评分,分值为0到100。

    • Suggestion:

      涉敏结果建议,取值范围:

    • Label:

      视频涉敏结果标签。内容审核模板画面涉敏任务控制参数里 LabelSet 参数与此参数取值范围的对应关系:

    • SegmentSet:

      有涉敏嫌疑的视频片段列表。

    
    
    3903
    3904
    3905
    # File 'lib/v20190612/models.rb', line 3903
    
    def SegmentSet
      @SegmentSet
    end

    #SuggestionObject

  • pass。
  • review。
  • block。
  • violation_photo:
  • violation_photo:违规图标。
  • 其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):
  • politician:涉敏人物。
  • Parameters:

    • Confidence:

      视频涉敏评分,分值为0到100。

    • Suggestion:

      涉敏结果建议,取值范围:

    • Label:

      视频涉敏结果标签。内容审核模板画面涉敏任务控制参数里 LabelSet 参数与此参数取值范围的对应关系:

    • SegmentSet:

      有涉敏嫌疑的视频片段列表。

    
    
    3903
    3904
    3905
    # File 'lib/v20190612/models.rb', line 3903
    
    def Suggestion
      @Suggestion
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    3912
    3913
    3914
    3915
    3916
    3917
    3918
    3919
    3920
    3921
    3922
    3923
    3924
    # File 'lib/v20190612/models.rb', line 3912
    
    def deserialize(params)
      @Confidence = params['Confidence']
      @Suggestion = params['Suggestion']
      @Label = params['Label']
      unless params['SegmentSet'].nil?
        @SegmentSet = []
        params['SegmentSet'].each do |i|
          mediacontentreviewpoliticalsegmentitem_tmp = MediaContentReviewPoliticalSegmentItem.new
          mediacontentreviewpoliticalsegmentitem_tmp.deserialize(i)
          @SegmentSet << mediacontentreviewpoliticalsegmentitem_tmp
        end
      end
    end