public class TaskResult extends AbstractModel
| Constructor and Description | 
|---|
| TaskResult() | 
| TaskResult(TaskResult 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 | getCode()Get This field is used to return the task creation status. | 
| String | getDataId()Get This field is used to return the `DataId` passed in within the `TaskInput` structure when an audio moderation task is created. | 
| String | getMessage()Get **This field will take effect only when the returned value of `Code` is an error code**. | 
| String | getTaskId()Get This field is used to return the ID of an audio moderation task for identification, query, and management of moderation tasks. | 
| void | setCode(String Code)Set This field is used to return the task creation status. | 
| void | setDataId(String DataId)Set This field is used to return the `DataId` passed in within the `TaskInput` structure when an audio moderation task is created. | 
| void | setMessage(String Message)Set **This field will take effect only when the returned value of `Code` is an error code**. | 
| 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 | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic TaskResult()
public TaskResult(TaskResult source)
public String getDataId()
public void setDataId(String DataId)
DataId - This field is used to return the `DataId` passed in within the `TaskInput` structure when an audio moderation task is created. It is used to identify the specific moderation task.
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.
Note: this field may return null, indicating that no valid values can be obtained.public String getCode()
public void setCode(String Code)
Code - This field is used to return the task creation status. If `OK` is returned, the task has been created successfully; if another value is returned, refer to the common error codes.
Note: this field may return null, indicating that no valid values can be obtained.public String getMessage()
public void setMessage(String Message)
Message - **This field will take effect only when the returned value of `Code` is an error code**. It is used to return the error message.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.