public class MediaContentReviewPoliticalSegmentItem extends AbstractModel
header, skipSign
Constructor and Description |
---|
MediaContentReviewPoliticalSegmentItem() |
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.
|
Modifier and Type | Method and Description |
---|---|
Long[] |
getAreaCoordSet()
Get The pixel coordinates of the detected sensitive people or banned icons.
|
Float |
getConfidence()
Get The confidence score for the detected sensitive segments.
|
Float |
getEndTimeOffset()
Get End time offset of a suspected segment in seconds.
|
String |
getLabel()
Get The labels for the detected sensitive segments.
|
String |
getName()
Get The name of a sensitive person or banned icon.
|
String |
getPicUrlExpireTime()
Get Expiration time of a suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
|
Float |
getStartTimeOffset()
Get Start time offset of a suspected segment in seconds.
|
String |
getSuggestion()
Get The suggestion for handling the sensitive segments.
|
String |
getUrl()
Get URL of a suspected image (which will not be permanently stored
and will be deleted after `PicUrlExpireTime`).
|
void |
setAreaCoordSet(Long[] AreaCoordSet)
Set The pixel coordinates of the detected sensitive people or banned icons.
|
void |
setConfidence(Float Confidence)
Set The confidence score for the detected sensitive segments.
|
void |
setEndTimeOffset(Float EndTimeOffset)
Set End time offset of a suspected segment in seconds.
|
void |
setLabel(String Label)
Set The labels for the detected sensitive segments.
|
void |
setName(String Name)
Set The name of a sensitive person or banned icon.
|
void |
setPicUrlExpireTime(String PicUrlExpireTime)
Set Expiration time of a suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
|
void |
setStartTimeOffset(Float StartTimeOffset)
Set Start time offset of a suspected segment in seconds.
|
void |
setSuggestion(String Suggestion)
Set The suggestion for handling the sensitive segments.
|
void |
setUrl(String Url)
Set URL of a suspected image (which will not be permanently stored
and will be deleted after `PicUrlExpireTime`).
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public MediaContentReviewPoliticalSegmentItem()
public MediaContentReviewPoliticalSegmentItem(MediaContentReviewPoliticalSegmentItem source)
public Float getStartTimeOffset()
public void setStartTimeOffset(Float StartTimeOffset)
StartTimeOffset
- Start time offset of a suspected segment in seconds.public Float getEndTimeOffset()
public void setEndTimeOffset(Float EndTimeOffset)
EndTimeOffset
- End time offset of a suspected segment in seconds.public Float getConfidence()
public void setConfidence(Float Confidence)
Confidence
- The confidence score for the detected sensitive segments.public String getSuggestion()
public void setSuggestion(String Suggestion)
Suggestion
- The suggestion for handling the sensitive segments. Valid values:
public String getName()
public void setName(String Name)
Name
- The name of a sensitive person or banned icon.public String getLabel()
public void setLabel(String Label)
Label
- The labels for the detected sensitive segments. The relationship between the values of this parameter and those of the `LabelSet` parameter in [PoliticalImgReviewTemplateInfo](https://intl.cloud.tencent.com/document/api/862/37615?from_cn_redirect=1#PoliticalImgReviewTemplateInfo) is as follows:
violation_photo:
public String getUrl()
public void setUrl(String Url)
Url
- URL of a suspected image (which will not be permanently stored
and will be deleted after `PicUrlExpireTime`).public Long[] getAreaCoordSet()
public void setAreaCoordSet(Long[] AreaCoordSet)
AreaCoordSet
- The pixel coordinates of the detected sensitive people or banned icons. The format is [x1, y1, x2, y2], which indicates the coordinates of the top-left and bottom-right corners.public String getPicUrlExpireTime()
public void setPicUrlExpireTime(String PicUrlExpireTime)
PicUrlExpireTime
- Expiration time of a suspected image URL in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).Copyright © 2024. All rights reserved.