Class MediaContentReviewOcrTextSegmentItem
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.MediaContentReviewOcrTextSegmentItem
-
public class MediaContentReviewOcrTextSegmentItem extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description MediaContentReviewOcrTextSegmentItem()MediaContentReviewOcrTextSegmentItem(MediaContentReviewOcrTextSegmentItem 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long[]getAreaCoordSet()Get 嫌疑文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。FloatgetConfidence()Get 嫌疑片段置信度。FloatgetEndTimeOffset()Get 嫌疑片段结束的偏移时间,单位:秒。String[]getKeywordSet()Get 嫌疑关键词列表。StringgetPicUrlExpireTime()Get 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。FloatgetStartTimeOffset()Get 嫌疑片段起始的偏移时间,单位:秒。StringgetSuggestion()Get 嫌疑片段审核结果建议,取值范围: pass。 review。 block。StringgetUrl()Get 嫌疑图片 URL (图片不会永久存储,到达 PicUrlExpireTime 时间点后图片将被删除)。voidsetAreaCoordSet(Long[] AreaCoordSet)Set 嫌疑文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。voidsetConfidence(Float Confidence)Set 嫌疑片段置信度。voidsetEndTimeOffset(Float EndTimeOffset)Set 嫌疑片段结束的偏移时间,单位:秒。voidsetKeywordSet(String[] KeywordSet)Set 嫌疑关键词列表。voidsetPicUrlExpireTime(String PicUrlExpireTime)Set 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。voidsetStartTimeOffset(Float StartTimeOffset)Set 嫌疑片段起始的偏移时间,单位:秒。voidsetSuggestion(String Suggestion)Set 嫌疑片段审核结果建议,取值范围: pass。 review。 block。voidsetUrl(String Url)Set 嫌疑图片 URL (图片不会永久存储,到达 PicUrlExpireTime 时间点后图片将被删除)。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
MediaContentReviewOcrTextSegmentItem
public MediaContentReviewOcrTextSegmentItem()
-
MediaContentReviewOcrTextSegmentItem
public MediaContentReviewOcrTextSegmentItem(MediaContentReviewOcrTextSegmentItem 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。
-
setSuggestion
public void setSuggestion(String Suggestion)
Set 嫌疑片段审核结果建议,取值范围:- pass。
- review。
- block。
- Parameters:
Suggestion- 嫌疑片段审核结果建议,取值范围:- pass。
- review。
- block。
-
getKeywordSet
public String[] getKeywordSet()
Get 嫌疑关键词列表。- Returns:
- KeywordSet 嫌疑关键词列表。
-
setKeywordSet
public void setKeywordSet(String[] KeywordSet)
Set 嫌疑关键词列表。- Parameters:
KeywordSet- 嫌疑关键词列表。
-
getAreaCoordSet
public Long[] getAreaCoordSet()
Get 嫌疑文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。- Returns:
- AreaCoordSet 嫌疑文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
-
setAreaCoordSet
public void setAreaCoordSet(Long[] AreaCoordSet)
Set 嫌疑文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。- Parameters:
AreaCoordSet- 嫌疑文字出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
-
getUrl
public String getUrl()
Get 嫌疑图片 URL (图片不会永久存储,到达 PicUrlExpireTime 时间点后图片将被删除)。- Returns:
- Url 嫌疑图片 URL (图片不会永久存储,到达 PicUrlExpireTime 时间点后图片将被删除)。
-
setUrl
public void setUrl(String Url)
Set 嫌疑图片 URL (图片不会永久存储,到达 PicUrlExpireTime 时间点后图片将被删除)。- Parameters:
Url- 嫌疑图片 URL (图片不会永久存储,到达 PicUrlExpireTime 时间点后图片将被删除)。
-
getPicUrlExpireTime
public String getPicUrlExpireTime()
Get 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。- Returns:
- PicUrlExpireTime 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
-
setPicUrlExpireTime
public void setPicUrlExpireTime(String PicUrlExpireTime)
Set 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。- Parameters:
PicUrlExpireTime- 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
-
-