com.aliyun.dingtalkh3yun_1_0.models.QueryProcessesWorkItemsResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dingtalk Show documentation
Show all versions of dingtalk Show documentation
Alibaba Cloud dingtalk SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkh3yun_1_0.models;
import com.aliyun.tea.*;
public class QueryProcessesWorkItemsResponseBody extends TeaModel {
/**
* This parameter is required.
*
* example:
* success
*/
@NameInMap("code")
public String code;
@NameInMap("data")
public java.util.List data;
/**
* This parameter is required.
*
* example:
* OK
*/
@NameInMap("message")
public String message;
public static QueryProcessesWorkItemsResponseBody build(java.util.Map map) throws Exception {
QueryProcessesWorkItemsResponseBody self = new QueryProcessesWorkItemsResponseBody();
return TeaModel.build(map, self);
}
public QueryProcessesWorkItemsResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public QueryProcessesWorkItemsResponseBody setData(java.util.List data) {
this.data = data;
return this;
}
public java.util.List getData() {
return this.data;
}
public QueryProcessesWorkItemsResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public static class QueryProcessesWorkItemsResponseBodyDataFinisher extends TeaModel {
/**
* example:
* 18f923a7-5a5e-426d-94ae-a55ad1a4b240
*/
@NameInMap("departmentId")
public String departmentId;
/**
* example:
* 研发中心
*/
@NameInMap("departmentName")
public String departmentName;
/**
* example:
* 张三
*/
@NameInMap("name")
public String name;
/**
* example:
* aea4d7a7-d162-4c77-9c44-7bd9cb8316a5
*/
@NameInMap("userId")
public String userId;
public static QueryProcessesWorkItemsResponseBodyDataFinisher build(java.util.Map map) throws Exception {
QueryProcessesWorkItemsResponseBodyDataFinisher self = new QueryProcessesWorkItemsResponseBodyDataFinisher();
return TeaModel.build(map, self);
}
public QueryProcessesWorkItemsResponseBodyDataFinisher setDepartmentId(String departmentId) {
this.departmentId = departmentId;
return this;
}
public String getDepartmentId() {
return this.departmentId;
}
public QueryProcessesWorkItemsResponseBodyDataFinisher setDepartmentName(String departmentName) {
this.departmentName = departmentName;
return this;
}
public String getDepartmentName() {
return this.departmentName;
}
public QueryProcessesWorkItemsResponseBodyDataFinisher setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public QueryProcessesWorkItemsResponseBodyDataFinisher setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class QueryProcessesWorkItemsResponseBodyDataParticipant extends TeaModel {
/**
* example:
* 18f923a7-5a5e-426d-94ae-a55ad1a4b240
*/
@NameInMap("departmentId")
public String departmentId;
/**
* example:
* 研发中心
*/
@NameInMap("departmentName")
public String departmentName;
/**
* example:
* 张三
*/
@NameInMap("name")
public String name;
/**
* example:
* aea4d7a7-d162-4c77-9c44-7bd9cb8316a5
*/
@NameInMap("userId")
public String userId;
public static QueryProcessesWorkItemsResponseBodyDataParticipant build(java.util.Map map) throws Exception {
QueryProcessesWorkItemsResponseBodyDataParticipant self = new QueryProcessesWorkItemsResponseBodyDataParticipant();
return TeaModel.build(map, self);
}
public QueryProcessesWorkItemsResponseBodyDataParticipant setDepartmentId(String departmentId) {
this.departmentId = departmentId;
return this;
}
public String getDepartmentId() {
return this.departmentId;
}
public QueryProcessesWorkItemsResponseBodyDataParticipant setDepartmentName(String departmentName) {
this.departmentName = departmentName;
return this;
}
public String getDepartmentName() {
return this.departmentName;
}
public QueryProcessesWorkItemsResponseBodyDataParticipant setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public QueryProcessesWorkItemsResponseBodyDataParticipant setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class QueryProcessesWorkItemsResponseBodyDataReceiptor extends TeaModel {
/**
* example:
* null
*/
@NameInMap("departmentId")
public String departmentId;
/**
* example:
* null
*/
@NameInMap("departmentName")
public String departmentName;
/**
* example:
* null
*/
@NameInMap("name")
public String name;
/**
* example:
* null
*/
@NameInMap("userId")
public String userId;
public static QueryProcessesWorkItemsResponseBodyDataReceiptor build(java.util.Map map) throws Exception {
QueryProcessesWorkItemsResponseBodyDataReceiptor self = new QueryProcessesWorkItemsResponseBodyDataReceiptor();
return TeaModel.build(map, self);
}
public QueryProcessesWorkItemsResponseBodyDataReceiptor setDepartmentId(String departmentId) {
this.departmentId = departmentId;
return this;
}
public String getDepartmentId() {
return this.departmentId;
}
public QueryProcessesWorkItemsResponseBodyDataReceiptor setDepartmentName(String departmentName) {
this.departmentName = departmentName;
return this;
}
public String getDepartmentName() {
return this.departmentName;
}
public QueryProcessesWorkItemsResponseBodyDataReceiptor setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public QueryProcessesWorkItemsResponseBodyDataReceiptor setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class QueryProcessesWorkItemsResponseBodyData extends TeaModel {
/**
* example:
* Activity1
*/
@NameInMap("activityCode")
public String activityCode;
/**
* example:
* 发起流程
*/
@NameInMap("activityName")
public String activityName;
/**
* example:
* D000001
*/
@NameInMap("appCode")
public String appCode;
/**
* example:
* 106f870b-4d1c-4cd0-85b3-2e866798e947
*/
@NameInMap("bizObjectId")
public String bizObjectId;
/**
* example:
* 同意
*/
@NameInMap("comment")
public String comment;
/**
* example:
* 发起流程
*/
@NameInMap("displayName")
public String displayName;
/**
* example:
* null
*/
@NameInMap("finishTimeGMT")
public String finishTimeGMT;
@NameInMap("finisher")
public QueryProcessesWorkItemsResponseBodyDataFinisher finisher;
/**
* example:
* true
*/
@NameInMap("isApproval")
public Boolean isApproval;
/**
* example:
* false
*/
@NameInMap("isFinish")
public Boolean isFinish;
@NameInMap("participant")
public QueryProcessesWorkItemsResponseBodyDataParticipant participant;
/**
* example:
* 006f870b-4d1c-4cd0-85b3-2e866798e947
*/
@NameInMap("processInstanceId")
public String processInstanceId;
/**
* example:
* 3
*/
@NameInMap("processVersion")
public String processVersion;
@NameInMap("receiptor")
public QueryProcessesWorkItemsResponseBodyDataReceiptor receiptor;
/**
* example:
* 2021-11-19 19:36:54
*/
@NameInMap("receiveTimeGMT")
public String receiveTimeGMT;
/**
* example:
* D0001833abb0fb61524487eb01848207bc89b47
*/
@NameInMap("schemaCode")
public String schemaCode;
/**
* example:
* 2021-11-19 19:36:54
*/
@NameInMap("startTimeGMT")
public String startTimeGMT;
/**
* example:
* Waiting
*/
@NameInMap("state")
public String state;
/**
* example:
* 3d0ad4a4-d7d5-4196-9f2c-3ed246f2b713
*/
@NameInMap("workItemId")
public String workItemId;
/**
* example:
* Fill
*/
@NameInMap("workItemType")
public String workItemType;
public static QueryProcessesWorkItemsResponseBodyData build(java.util.Map map) throws Exception {
QueryProcessesWorkItemsResponseBodyData self = new QueryProcessesWorkItemsResponseBodyData();
return TeaModel.build(map, self);
}
public QueryProcessesWorkItemsResponseBodyData setActivityCode(String activityCode) {
this.activityCode = activityCode;
return this;
}
public String getActivityCode() {
return this.activityCode;
}
public QueryProcessesWorkItemsResponseBodyData setActivityName(String activityName) {
this.activityName = activityName;
return this;
}
public String getActivityName() {
return this.activityName;
}
public QueryProcessesWorkItemsResponseBodyData setAppCode(String appCode) {
this.appCode = appCode;
return this;
}
public String getAppCode() {
return this.appCode;
}
public QueryProcessesWorkItemsResponseBodyData setBizObjectId(String bizObjectId) {
this.bizObjectId = bizObjectId;
return this;
}
public String getBizObjectId() {
return this.bizObjectId;
}
public QueryProcessesWorkItemsResponseBodyData setComment(String comment) {
this.comment = comment;
return this;
}
public String getComment() {
return this.comment;
}
public QueryProcessesWorkItemsResponseBodyData setDisplayName(String displayName) {
this.displayName = displayName;
return this;
}
public String getDisplayName() {
return this.displayName;
}
public QueryProcessesWorkItemsResponseBodyData setFinishTimeGMT(String finishTimeGMT) {
this.finishTimeGMT = finishTimeGMT;
return this;
}
public String getFinishTimeGMT() {
return this.finishTimeGMT;
}
public QueryProcessesWorkItemsResponseBodyData setFinisher(QueryProcessesWorkItemsResponseBodyDataFinisher finisher) {
this.finisher = finisher;
return this;
}
public QueryProcessesWorkItemsResponseBodyDataFinisher getFinisher() {
return this.finisher;
}
public QueryProcessesWorkItemsResponseBodyData setIsApproval(Boolean isApproval) {
this.isApproval = isApproval;
return this;
}
public Boolean getIsApproval() {
return this.isApproval;
}
public QueryProcessesWorkItemsResponseBodyData setIsFinish(Boolean isFinish) {
this.isFinish = isFinish;
return this;
}
public Boolean getIsFinish() {
return this.isFinish;
}
public QueryProcessesWorkItemsResponseBodyData setParticipant(QueryProcessesWorkItemsResponseBodyDataParticipant participant) {
this.participant = participant;
return this;
}
public QueryProcessesWorkItemsResponseBodyDataParticipant getParticipant() {
return this.participant;
}
public QueryProcessesWorkItemsResponseBodyData setProcessInstanceId(String processInstanceId) {
this.processInstanceId = processInstanceId;
return this;
}
public String getProcessInstanceId() {
return this.processInstanceId;
}
public QueryProcessesWorkItemsResponseBodyData setProcessVersion(String processVersion) {
this.processVersion = processVersion;
return this;
}
public String getProcessVersion() {
return this.processVersion;
}
public QueryProcessesWorkItemsResponseBodyData setReceiptor(QueryProcessesWorkItemsResponseBodyDataReceiptor receiptor) {
this.receiptor = receiptor;
return this;
}
public QueryProcessesWorkItemsResponseBodyDataReceiptor getReceiptor() {
return this.receiptor;
}
public QueryProcessesWorkItemsResponseBodyData setReceiveTimeGMT(String receiveTimeGMT) {
this.receiveTimeGMT = receiveTimeGMT;
return this;
}
public String getReceiveTimeGMT() {
return this.receiveTimeGMT;
}
public QueryProcessesWorkItemsResponseBodyData setSchemaCode(String schemaCode) {
this.schemaCode = schemaCode;
return this;
}
public String getSchemaCode() {
return this.schemaCode;
}
public QueryProcessesWorkItemsResponseBodyData setStartTimeGMT(String startTimeGMT) {
this.startTimeGMT = startTimeGMT;
return this;
}
public String getStartTimeGMT() {
return this.startTimeGMT;
}
public QueryProcessesWorkItemsResponseBodyData setState(String state) {
this.state = state;
return this;
}
public String getState() {
return this.state;
}
public QueryProcessesWorkItemsResponseBodyData setWorkItemId(String workItemId) {
this.workItemId = workItemId;
return this;
}
public String getWorkItemId() {
return this.workItemId;
}
public QueryProcessesWorkItemsResponseBodyData setWorkItemType(String workItemType) {
this.workItemType = workItemType;
return this;
}
public String getWorkItemType() {
return this.workItemType;
}
}
}