
com.aliyun.ice20201109.models.GetWorkflowTaskResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class GetWorkflowTaskResponseBody extends TeaModel {
/**
* Id of the request
*
* example:
* 0C-7870-15FE-B96F-8880BB
*/
@NameInMap("RequestId")
public String requestId;
@NameInMap("WorkflowTask")
public GetWorkflowTaskResponseBodyWorkflowTask workflowTask;
public static GetWorkflowTaskResponseBody build(java.util.Map map) throws Exception {
GetWorkflowTaskResponseBody self = new GetWorkflowTaskResponseBody();
return TeaModel.build(map, self);
}
public GetWorkflowTaskResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetWorkflowTaskResponseBody setWorkflowTask(GetWorkflowTaskResponseBodyWorkflowTask workflowTask) {
this.workflowTask = workflowTask;
return this;
}
public GetWorkflowTaskResponseBodyWorkflowTask getWorkflowTask() {
return this.workflowTask;
}
public static class GetWorkflowTaskResponseBodyWorkflowTaskWorkflow extends TeaModel {
/**
* example:
* 2022-11-27T10:02:12Z
*/
@NameInMap("CreateTime")
public String createTime;
/**
* example:
* 2022-11-29T02:06:19Z
*/
@NameInMap("ModifiedTime")
public String modifiedTime;
@NameInMap("Name")
public String name;
/**
* example:
* Active
*/
@NameInMap("Status")
public String status;
/**
* example:
* Common
*/
@NameInMap("Type")
public String type;
/**
* example:
* 63dca94c609de02ac0d1
*/
@NameInMap("WorkflowId")
public String workflowId;
public static GetWorkflowTaskResponseBodyWorkflowTaskWorkflow build(java.util.Map map) throws Exception {
GetWorkflowTaskResponseBodyWorkflowTaskWorkflow self = new GetWorkflowTaskResponseBodyWorkflowTaskWorkflow();
return TeaModel.build(map, self);
}
public GetWorkflowTaskResponseBodyWorkflowTaskWorkflow setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public GetWorkflowTaskResponseBodyWorkflowTaskWorkflow setModifiedTime(String modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
public String getModifiedTime() {
return this.modifiedTime;
}
public GetWorkflowTaskResponseBodyWorkflowTaskWorkflow setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public GetWorkflowTaskResponseBodyWorkflowTaskWorkflow setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public GetWorkflowTaskResponseBodyWorkflowTaskWorkflow setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public GetWorkflowTaskResponseBodyWorkflowTaskWorkflow setWorkflowId(String workflowId) {
this.workflowId = workflowId;
return this;
}
public String getWorkflowId() {
return this.workflowId;
}
}
public static class GetWorkflowTaskResponseBodyWorkflowTask extends TeaModel {
@NameInMap("ActivityResults")
public String activityResults;
/**
* example:
* 2023-01-04T02:05:17Z
*/
@NameInMap("CreateTime")
public String createTime;
/**
* example:
* 2023-01-04T02:06:19Z
*/
@NameInMap("FinishTime")
public String finishTime;
/**
* example:
* Succeed
*/
@NameInMap("Status")
public String status;
/**
* example:
* 4215e042b3966ca5441e
*/
@NameInMap("TaskId")
public String taskId;
/**
* example:
* {
* "Type": "Media",
* "Media": "30706071edbfe290b488"
* }
*/
@NameInMap("TaskInput")
public String taskInput;
/**
* example:
* {"NotifyAddress":"http://xx.xx.xxx"}
*/
@NameInMap("UserData")
public String userData;
@NameInMap("Workflow")
public GetWorkflowTaskResponseBodyWorkflowTaskWorkflow workflow;
public static GetWorkflowTaskResponseBodyWorkflowTask build(java.util.Map map) throws Exception {
GetWorkflowTaskResponseBodyWorkflowTask self = new GetWorkflowTaskResponseBodyWorkflowTask();
return TeaModel.build(map, self);
}
public GetWorkflowTaskResponseBodyWorkflowTask setActivityResults(String activityResults) {
this.activityResults = activityResults;
return this;
}
public String getActivityResults() {
return this.activityResults;
}
public GetWorkflowTaskResponseBodyWorkflowTask setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public GetWorkflowTaskResponseBodyWorkflowTask setFinishTime(String finishTime) {
this.finishTime = finishTime;
return this;
}
public String getFinishTime() {
return this.finishTime;
}
public GetWorkflowTaskResponseBodyWorkflowTask setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public GetWorkflowTaskResponseBodyWorkflowTask setTaskId(String taskId) {
this.taskId = taskId;
return this;
}
public String getTaskId() {
return this.taskId;
}
public GetWorkflowTaskResponseBodyWorkflowTask setTaskInput(String taskInput) {
this.taskInput = taskInput;
return this;
}
public String getTaskInput() {
return this.taskInput;
}
public GetWorkflowTaskResponseBodyWorkflowTask setUserData(String userData) {
this.userData = userData;
return this;
}
public String getUserData() {
return this.userData;
}
public GetWorkflowTaskResponseBodyWorkflowTask setWorkflow(GetWorkflowTaskResponseBodyWorkflowTaskWorkflow workflow) {
this.workflow = workflow;
return this;
}
public GetWorkflowTaskResponseBodyWorkflowTaskWorkflow getWorkflow() {
return this.workflow;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy