public class DescribeTaskDetailResponse extends AbstractModel
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 an audio segment, mainly including the start time and audio moderation result.
For the specific output content, see the detailed description of the `AudioSegments` and `AudioResult` data structures. |
String |
getAudioText()
Get This field is used to return the recognized text content of an audio file.
|
String |
getBizType()
Get This field is used to return the `BizType` parameter passed in when the audio 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 within the `Tasks` parameter when the audio 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 If the task status is `Error`, this field will return the error type; otherwise, null will be returned by default.
|
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 Label of the malicious content detected.
|
String |
getName()
Get This field is used to return the task name in the `TaskInput` parameter passed in when the audio 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 an audio moderation task is created.
|
String |
getType()
Get This field is used to return the audio moderation type passed in when the audio moderation API is called.
|
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 an audio segment, mainly including the start time and audio moderation result.
For the specific output content, see the detailed description of the `AudioSegments` and `AudioResult` data structures. |
void |
setAudioText(String AudioText)
Set This field is used to return the recognized text content of an audio file.
|
void |
setBizType(String BizType)
Set This field is used to return the `BizType` parameter passed in when the audio 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 within the `Tasks` parameter when the audio 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 If the task status is `Error`, this field will return the error type; otherwise, null will be returned by default.
|
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 Label of the malicious content detected.
|
void |
setName(String Name)
Set This field is used to return the task name in the `TaskInput` parameter passed in when the audio 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 an audio moderation task is created.
|
void |
setType(String Type)
Set This field is used to return the audio moderation type passed in when the audio moderation API is called.
|
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, getMultipartRequestParams, getSkipSign, set, 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 an audio 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 within the `Tasks` parameter when the audio 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 audio 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 audio 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 audio moderation type passed in when the audio moderation API is called. Valid values: **AUDIO** (audio on demand), **LIVE_AUDIO** (audio live streaming). Default value: AUDIO.
Note: this field may return null, indicating that no valid values 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
- Label of the malicious content detected. 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 getAudioText()
public void setAudioText(String AudioText)
AudioText
- This field is used to return the recognized text content of an audio file. **Up to the first 1,000 characters** can be recognized.
Note: this field may return null, indicating that no valid values can be obtained.public AudioSegments[] getAudioSegments()
public void setAudioSegments(AudioSegments[] AudioSegments)
AudioSegments
- This field is used to return the moderation result of an audio segment, mainly including the start time and audio moderation result.public String getErrorType()
public void setErrorType(String ErrorType)
ErrorType
- If the task status is `Error`, this field will return the error type; otherwise, 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 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 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 © 2023. All rights reserved.