Class MediaContentReviewPoliticalSegmentItem


  • public class MediaContentReviewPoliticalSegmentItem
    extends AbstractModel
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Long[] getAreaCoordSet()
      Get 涉敏人物、违规图标出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
      Float getConfidence()
      Get 嫌疑片段涉敏分数。
      Float getEndTimeOffset()
      Get 嫌疑片段结束的偏移时间,单位:秒。
      String getLabel()
      Get 嫌疑片段涉敏结果标签。内容审核模板[画面涉敏任务控制参数](https://cloud.tencent.com/document/api/862/37615#PoliticalImgReviewTemplateInfo)里 LabelSet 参数与此参数取值范围的对应关系: violation_photo: violation_photo:违规图标。 politician: nation_politician:国家领导人; province_politician: 省部级领导人; bureau_politician:厅局级领导人; county_politician:县处级领导人; rural_politician:乡科级领导人; sensitive_politician:涉敏人物; foreign_politician:国外领导人。 entertainment: sensitive_entertainment:敏感娱乐人物。 sport: sensitive_sport:敏感体育人物。 entrepreneur: sensitive_entrepreneur:敏感商业人物。 scholar: sensitive_scholar:敏感教育学者。 celebrity: sensitive_celebrity:敏感知名人物; historical_celebrity:历史知名人物。 military: sensitive_military:敏感军事人物。
      String getName()
      Get 涉敏人物、违规图标名字。
      String getPicUrlExpireTime()
      Get 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
      Float getStartTimeOffset()
      Get 嫌疑片段起始的偏移时间,单位:秒。
      String getSuggestion()
      Get 嫌疑片段涉敏结果建议,取值范围: pass。 review。 block。
      String getUrl()
      Get 嫌疑图片 URL (图片不会永久存储,到达 PicUrlExpireTime 时间点后图片将被删除)。
      void setAreaCoordSet​(Long[] AreaCoordSet)
      Set 涉敏人物、违规图标出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
      void setConfidence​(Float Confidence)
      Set 嫌疑片段涉敏分数。
      void setEndTimeOffset​(Float EndTimeOffset)
      Set 嫌疑片段结束的偏移时间,单位:秒。
      void setLabel​(String Label)
      Set 嫌疑片段涉敏结果标签。内容审核模板[画面涉敏任务控制参数](https://cloud.tencent.com/document/api/862/37615#PoliticalImgReviewTemplateInfo)里 LabelSet 参数与此参数取值范围的对应关系: violation_photo: violation_photo:违规图标。 politician: nation_politician:国家领导人; province_politician: 省部级领导人; bureau_politician:厅局级领导人; county_politician:县处级领导人; rural_politician:乡科级领导人; sensitive_politician:涉敏人物; foreign_politician:国外领导人。 entertainment: sensitive_entertainment:敏感娱乐人物。 sport: sensitive_sport:敏感体育人物。 entrepreneur: sensitive_entrepreneur:敏感商业人物。 scholar: sensitive_scholar:敏感教育学者。 celebrity: sensitive_celebrity:敏感知名人物; historical_celebrity:历史知名人物。 military: sensitive_military:敏感军事人物。
      void setName​(String Name)
      Set 涉敏人物、违规图标名字。
      void setPicUrlExpireTime​(String PicUrlExpireTime)
      Set 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
      void setStartTimeOffset​(Float StartTimeOffset)
      Set 嫌疑片段起始的偏移时间,单位:秒。
      void setSuggestion​(String Suggestion)
      Set 嫌疑片段涉敏结果建议,取值范围: pass。 review。 block。
      void setUrl​(String Url)
      Set 嫌疑图片 URL (图片不会永久存储,到达 PicUrlExpireTime 时间点后图片将被删除)。
      void toMap​(HashMap<String,​String> map, String prefix)
      Internal implementation, normal users should not use it.
    • Constructor Detail

      • MediaContentReviewPoliticalSegmentItem

        public MediaContentReviewPoliticalSegmentItem()
      • MediaContentReviewPoliticalSegmentItem

        public MediaContentReviewPoliticalSegmentItem​(MediaContentReviewPoliticalSegmentItem source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getStartTimeOffset

        public Float getStartTimeOffset()
        Get 嫌疑片段起始的偏移时间,单位:秒。
        Returns:
        StartTimeOffset 嫌疑片段起始的偏移时间,单位:秒。
      • setStartTimeOffset

        public void setStartTimeOffset​(Float StartTimeOffset)
        Set 嫌疑片段起始的偏移时间,单位:秒。
        Parameters:
        StartTimeOffset - 嫌疑片段起始的偏移时间,单位:秒。
      • getEndTimeOffset

        public Float getEndTimeOffset()
        Get 嫌疑片段结束的偏移时间,单位:秒。
        Returns:
        EndTimeOffset 嫌疑片段结束的偏移时间,单位:秒。
      • setEndTimeOffset

        public void setEndTimeOffset​(Float EndTimeOffset)
        Set 嫌疑片段结束的偏移时间,单位:秒。
        Parameters:
        EndTimeOffset - 嫌疑片段结束的偏移时间,单位:秒。
      • getConfidence

        public Float getConfidence()
        Get 嫌疑片段涉敏分数。
        Returns:
        Confidence 嫌疑片段涉敏分数。
      • setConfidence

        public void setConfidence​(Float Confidence)
        Set 嫌疑片段涉敏分数。
        Parameters:
        Confidence - 嫌疑片段涉敏分数。
      • getSuggestion

        public String getSuggestion()
        Get 嫌疑片段涉敏结果建议,取值范围:
      • pass。
      • review。
      • block。
Returns:
Suggestion 嫌疑片段涉敏结果建议,取值范围:
  • pass。
  • review。
  • block。
  • Parameters:
    Suggestion - 嫌疑片段涉敏结果建议,取值范围:
  • pass。
  • review。
  • block。