public class TaskData extends AbstractModel
header, skipSign
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 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 ID of the video 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 This field is used to return the details of the input media file, including codec and segment length.
|
String |
getName()
Get This field is used to return the name of a video 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 a video 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 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 ID of the video 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 This field is used to return the details of the input media file, including codec and segment length.
|
void |
setName(String Name)
Set This field is used to return the name of a video 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 a video 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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, 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 video 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 a video 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 a video 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 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 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: **VIDEO** (video on demand), **LIVE_VIDEO** (video live streaming). Default value: VIDEO.
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 suggested operation.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 codec 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 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 © 2024. All rights reserved.