public class TaskData extends AbstractModel
Constructor and Description |
---|
TaskData() |
TaskData(TaskData 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 |
---|---|
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 ID of the audio moderation task data for subsequent query and management of moderation tasks.
|
TaskLabel[] |
getLabels()
Get This field is used to return the maliciousness tag in the detection result.
Returned 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 Input information
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getName()
Get This field is used to return the name of an audio moderation task for subsequent query and management of moderation tasks.
|
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 ID of an audio moderation task for identification, query, and management of moderation tasks.
|
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 |
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 ID of the audio moderation task data for subsequent query and management of moderation tasks.
|
void |
setLabels(TaskLabel[] Labels)
Set This field is used to return the maliciousness tag in the detection result.
Returned 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 Input information
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setName(String Name)
Set This field is used to return the name of an audio moderation task for subsequent query and management of moderation tasks.
|
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 ID of an audio moderation task for identification, query, and management of moderation tasks.
|
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, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public TaskData()
public TaskData(TaskData source)
public String getDataId()
public void setDataId(String DataId)
DataId
- This field is used to return the ID of the audio moderation task data for subsequent query and management of moderation tasks.
Note: this field may return null, indicating that no valid values can be obtained.public String getTaskId()
public void setTaskId(String TaskId)
TaskId
- This field is used to return the ID of an audio moderation task for identification, query, and management of moderation tasks.public String getStatus()
public void setStatus(String Status)
Status
- This field is used to return the task status of the queried content.
public String getName()
public void setName(String Name)
Name
- This field is used to return the name of an audio moderation task for subsequent query and management of moderation tasks.
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 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 MediaInfo getMediaInfo()
public void setMediaInfo(MediaInfo MediaInfo)
MediaInfo
- Input information
Note: this field may return null, indicating that no valid values can be obtained.public TaskLabel[] getLabels()
public void setLabels(TaskLabel[] Labels)
Labels
- This field is used to return the maliciousness tag in the detection result.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.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.Copyright © 2023. All rights reserved.