public class Job extends AbstractModel
Constructor and Description |
---|
Job() |
Job(Job 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 |
---|---|
Long |
getCreatedDate()
Get Task creation time
|
ErrorDetails[] |
getErrorDetails()
Get Failure details
Note: This field may return null, indicating that no valid values can be obtained.
|
FailedUsers[] |
getFailedUsers()
Get Failed user
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getFormat()
Get Data type of the task
**NDJSON** New-line Delimited JSON
**CSV** Comma-Separated Values
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getId()
Get Task ID
|
String |
getLocation()
Get Task result download address
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getStatus()
Get Task status
**PENDING** Pending
**PROCESSING** Executing
**COMPLETED** Completed
**FAILED** Failed
|
String |
getType()
Get Task type
**IMPORT_USER** User import
**EXPORT_USER** User export
|
void |
setCreatedDate(Long CreatedDate)
Set Task creation time
|
void |
setErrorDetails(ErrorDetails[] ErrorDetails)
Set Failure details
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setFailedUsers(FailedUsers[] FailedUsers)
Set Failed user
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setFormat(String Format)
Set Data type of the task
**NDJSON** New-line Delimited JSON
**CSV** Comma-Separated Values
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setId(String Id)
Set Task ID
|
void |
setLocation(String Location)
Set Task result download address
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStatus(String Status)
Set Task status
**PENDING** Pending
**PROCESSING** Executing
**COMPLETED** Completed
**FAILED** Failed
|
void |
setType(String Type)
Set Task type
**IMPORT_USER** User import
**EXPORT_USER** User export
|
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 Job()
public Job(Job source)
public String getId()
public void setId(String Id)
Id
- Task IDpublic String getStatus()
public void setStatus(String Status)
Status
- Task status
public String getType()
public void setType(String Type)
Type
- Task type
public Long getCreatedDate()
public void setCreatedDate(Long CreatedDate)
CreatedDate
- Task creation timepublic String getFormat()
public void setFormat(String Format)
Format
- Data type of the task
public String getLocation()
public void setLocation(String Location)
Location
- Task result download address
Note: This field may return null, indicating that no valid values can be obtained.public ErrorDetails[] getErrorDetails()
public void setErrorDetails(ErrorDetails[] ErrorDetails)
ErrorDetails
- Failure details
Note: This field may return null, indicating that no valid values can be obtained.public FailedUsers[] getFailedUsers()
public void setFailedUsers(FailedUsers[] FailedUsers)
FailedUsers
- Failed user
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.