public class DescribeTaskDetailResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeTaskDetailResponse() |
DescribeTaskDetailResponse(DescribeTaskDetailResponse 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 |
---|---|
AudioSegments[] |
getAudioSegments()
Get This field is used to return the moderation result of the audio in the video.
|
String |
getBizType()
Get This field is used to return the `BizType` parameter passed in when the video moderation API is called for easier data identification and management.
|
String |
getCreatedAt()
Get This field is used to return the creation time of the queried task in ISO 8601 format.
|
String |
getDataId()
Get This field is used to return the data ID parameter passed in when the video moderation API is called for easier data identification and management.
|
String |
getErrorDescription()
Get If the task status is `Error`, this field will return the error message; otherwise, null will be returned by default.
|
String |
getErrorType()
Get When the task status is `Error`, the type of the error will be returned.
|
ImageSegments[] |
getImageSegments()
Get This field is used to return the moderation result of the frames captured from the video.
|
InputInfo |
getInputInfo()
Get This field is used to return the media content information of the moderation service, mainly including the input file type and access URL.
|
String |
getLabel()
Get If the recognition result is normal, this parameter is returned with the value `Normal`.
|
TaskLabel[] |
getLabels()
Get This field is used to return the maliciousness tag in the detection result.
Values: `Normal`: normal; `Porn`: pornographic; `Abuse`: abusive; `Ad`: advertising; `Custom`: custom type of non-compliant content and other offensive, unsafe, or inappropriate types of content. |
MediaInfo |
getMediaInfo()
Get This field is used to return the details of the input media file, including encoding/decoding formats and segment length.
|
String |
getName()
Get This field is used to return the task name in the `TaskInput` parameter passed in when the video moderation API is called for easier task identification and management.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
String |
getStatus()
Get This field is used to return the task status of the queried content.
|
String |
getSuggestion()
Get This field is used to return the operation suggestion for the maliciousness tag.
|
String |
getTaskId()
Get This field is used to return the task ID (in the `Results` parameter) after a video moderation task is created.
|
String |
getType()
Get This field is used to return the type of video for moderation.
|
String |
getUpdatedAt()
Get This field is used to return the last update time of the queried task in ISO 8601 format.
|
void |
setAudioSegments(AudioSegments[] AudioSegments)
Set This field is used to return the moderation result of the audio in the video.
|
void |
setBizType(String BizType)
Set This field is used to return the `BizType` parameter passed in when the video moderation API is called for easier data identification and management.
|
void |
setCreatedAt(String CreatedAt)
Set This field is used to return the creation time of the queried task in ISO 8601 format.
|
void |
setDataId(String DataId)
Set This field is used to return the data ID parameter passed in when the video moderation API is called for easier data identification and management.
|
void |
setErrorDescription(String ErrorDescription)
Set If the task status is `Error`, this field will return the error message; otherwise, null will be returned by default.
|
void |
setErrorType(String ErrorType)
Set When the task status is `Error`, the type of the error will be returned.
|
void |
setImageSegments(ImageSegments[] ImageSegments)
Set This field is used to return the moderation result of the frames captured from the video.
|
void |
setInputInfo(InputInfo InputInfo)
Set This field is used to return the media content information of the moderation service, mainly including the input file type and access URL.
|
void |
setLabel(String Label)
Set If the recognition result is normal, this parameter is returned with the value `Normal`.
|
void |
setLabels(TaskLabel[] Labels)
Set This field is used to return the maliciousness tag in the detection result.
Values: `Normal`: normal; `Porn`: pornographic; `Abuse`: abusive; `Ad`: advertising; `Custom`: custom type of non-compliant content and other offensive, unsafe, or inappropriate types of content. |
void |
setMediaInfo(MediaInfo MediaInfo)
Set This field is used to return the details of the input media file, including encoding/decoding formats and segment length.
|
void |
setName(String Name)
Set This field is used to return the task name in the `TaskInput` parameter passed in when the video moderation API is called for easier task identification and management.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setStatus(String Status)
Set This field is used to return the task status of the queried content.
|
void |
setSuggestion(String Suggestion)
Set This field is used to return the operation suggestion for the maliciousness tag.
|
void |
setTaskId(String TaskId)
Set This field is used to return the task ID (in the `Results` parameter) after a video moderation task is created.
|
void |
setType(String Type)
Set This field is used to return the type of video for moderation.
|
void |
setUpdatedAt(String UpdatedAt)
Set This field is used to return the last update time of the queried task in ISO 8601 format.
|
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 DescribeTaskDetailResponse()
public DescribeTaskDetailResponse(DescribeTaskDetailResponse source)
public String getTaskId()
public void setTaskId(String TaskId)
TaskId
- This field is used to return the task ID (in the `Results` parameter) after a video moderation task is created. It is used to identify the moderation task for which to query the details.
Note: this field may return null, indicating that no valid values can be obtained.public String getDataId()
public void setDataId(String DataId)
DataId
- This field is used to return the data ID parameter passed in when the video moderation API is called for easier data identification and management.
Note: this field may return null, indicating that no valid values can be obtained.public String getBizType()
public void setBizType(String BizType)
BizType
- This field is used to return the `BizType` parameter passed in when the video moderation API is called for easier data identification and management.
Note: this field may return null, indicating that no valid values can be obtained.public String getName()
public void setName(String Name)
Name
- This field is used to return the task name in the `TaskInput` parameter passed in when the video moderation API is called for easier task identification and management.
Note: this field may return null, indicating that no valid values can be obtained.public String getStatus()
public void setStatus(String Status)
Status
- This field is used to return the task status of the queried content.
public String getType()
public void setType(String Type)
Type
- This field is used to return the type of video for moderation. Valid values: `VIDEO` (video on demand), `LIVE_VIDEO` (video live streaming). Default value: `VIDEO`.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getSuggestion()
public void setSuggestion(String Suggestion)
Suggestion
- This field is used to return the operation suggestion for the maliciousness tag. When you get the determination result, the returned value indicates the operation suggested by the system. We recommend you handle different types of violations and suggestions according to your business needs. public TaskLabel[] getLabels()
public void setLabels(TaskLabel[] Labels)
Labels
- This field is used to return the maliciousness tag in the detection result.public MediaInfo getMediaInfo()
public void setMediaInfo(MediaInfo MediaInfo)
MediaInfo
- This field is used to return the details of the input media file, including encoding/decoding formats and segment length. For details, see the description of the `MediaInfo` data structure.
Note: this field may return null, indicating that no valid values can be obtained.public InputInfo getInputInfo()
public void setInputInfo(InputInfo InputInfo)
InputInfo
- This field is used to return the media content information of the moderation service, mainly including the input file type and access URL.
Note: this field may return null, indicating that no valid values can be obtained.public String getCreatedAt()
public void setCreatedAt(String CreatedAt)
CreatedAt
- This field is used to return the creation time of the queried task in ISO 8601 format.
Note: this field may return null, indicating that no valid values can be obtained.public String getUpdatedAt()
public void setUpdatedAt(String UpdatedAt)
UpdatedAt
- This field is used to return the last update time of the queried task in ISO 8601 format.
Note: this field may return null, indicating that no valid values can be obtained.public ImageSegments[] getImageSegments()
public void setImageSegments(ImageSegments[] ImageSegments)
ImageSegments
- This field is used to return the moderation result of the frames captured from the video. For the detailed returned content, see the description of the `ImageSegments` data structure.public AudioSegments[] getAudioSegments()
public void setAudioSegments(AudioSegments[] AudioSegments)
AudioSegments
- This field is used to return the moderation result of the audio in the video. For the detailed returned content, see the description of the `AudioSegments` data structure.public String getErrorType()
public void setErrorType(String ErrorType)
ErrorType
- When the task status is `Error`, the type of the error will be returned. Valid values: **DECODE_ERROR**: decoding failed (the input resource may contain video that cannot be decoded).
URL_ERROR**: download address verification failed.
TIMEOUT_ERROR**: processing timed out. When the task status is not `Error`, null will be returned by default.
Note: this field may return null, indicating that no valid values can be obtained.public String getErrorDescription()
public void setErrorDescription(String ErrorDescription)
ErrorDescription
- If the task status is `Error`, this field will return the error message; otherwise, null will be returned by default.
Note: this field may return null, indicating that no valid values can be obtained.public String getLabel()
public void setLabel(String Label)
Label
- If the recognition result is normal, this parameter is returned with the value `Normal`. If malicious content is recognized, the tag with the highest priority in the result of `Labels` is returned.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2024. All rights reserved.