com.aliyun.dingtalkexclusive_1_0.models.ApproveProcessCallbackRequest 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.dingtalkexclusive_1_0.models;
import com.aliyun.tea.*;
public class ApproveProcessCallbackRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* sampleKeyId1234
*/
@NameInMap("accessKeyId")
public String accessKeyId;
/**
* This parameter is required.
*
* example:
* sampleSecretId1234
*/
@NameInMap("accessKeySecret")
public String accessKeySecret;
/**
* This parameter is required.
*/
@NameInMap("request")
public ApproveProcessCallbackRequestRequest request;
/**
* example:
* dingxxxxxxxxxxxx
*/
@NameInMap("targetCorpId")
public String targetCorpId;
public static ApproveProcessCallbackRequest build(java.util.Map map) throws Exception {
ApproveProcessCallbackRequest self = new ApproveProcessCallbackRequest();
return TeaModel.build(map, self);
}
public ApproveProcessCallbackRequest setAccessKeyId(String accessKeyId) {
this.accessKeyId = accessKeyId;
return this;
}
public String getAccessKeyId() {
return this.accessKeyId;
}
public ApproveProcessCallbackRequest setAccessKeySecret(String accessKeySecret) {
this.accessKeySecret = accessKeySecret;
return this;
}
public String getAccessKeySecret() {
return this.accessKeySecret;
}
public ApproveProcessCallbackRequest setRequest(ApproveProcessCallbackRequestRequest request) {
this.request = request;
return this;
}
public ApproveProcessCallbackRequestRequest getRequest() {
return this.request;
}
public ApproveProcessCallbackRequest setTargetCorpId(String targetCorpId) {
this.targetCorpId = targetCorpId;
return this;
}
public String getTargetCorpId() {
return this.targetCorpId;
}
public static class ApproveProcessCallbackRequestRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* agree
*/
@NameInMap("approveResult")
public String approveResult;
/**
* This parameter is required.
*/
@NameInMap("approveType")
public String approveType;
@NameInMap("approvers")
public java.util.List approvers;
/**
* This parameter is required.
*
* example:
* 1495592259000
*/
@NameInMap("createTime")
public Long createTime;
/**
* This parameter is required.
*
* example:
* approve_open_group_expansion
*/
@NameInMap("eventType")
public String eventType;
/**
* This parameter is required.
*
* example:
* 1495592259000
*/
@NameInMap("finishTime")
public Long finishTime;
@NameInMap("params")
public String params;
/**
* This parameter is required.
*/
@NameInMap("processInstanceId")
public String processInstanceId;
@NameInMap("title")
public String title;
public static ApproveProcessCallbackRequestRequest build(java.util.Map map) throws Exception {
ApproveProcessCallbackRequestRequest self = new ApproveProcessCallbackRequestRequest();
return TeaModel.build(map, self);
}
public ApproveProcessCallbackRequestRequest setApproveResult(String approveResult) {
this.approveResult = approveResult;
return this;
}
public String getApproveResult() {
return this.approveResult;
}
public ApproveProcessCallbackRequestRequest setApproveType(String approveType) {
this.approveType = approveType;
return this;
}
public String getApproveType() {
return this.approveType;
}
public ApproveProcessCallbackRequestRequest setApprovers(java.util.List approvers) {
this.approvers = approvers;
return this;
}
public java.util.List getApprovers() {
return this.approvers;
}
public ApproveProcessCallbackRequestRequest setCreateTime(Long createTime) {
this.createTime = createTime;
return this;
}
public Long getCreateTime() {
return this.createTime;
}
public ApproveProcessCallbackRequestRequest setEventType(String eventType) {
this.eventType = eventType;
return this;
}
public String getEventType() {
return this.eventType;
}
public ApproveProcessCallbackRequestRequest setFinishTime(Long finishTime) {
this.finishTime = finishTime;
return this;
}
public Long getFinishTime() {
return this.finishTime;
}
public ApproveProcessCallbackRequestRequest setParams(String params) {
this.params = params;
return this;
}
public String getParams() {
return this.params;
}
public ApproveProcessCallbackRequestRequest setProcessInstanceId(String processInstanceId) {
this.processInstanceId = processInstanceId;
return this;
}
public String getProcessInstanceId() {
return this.processInstanceId;
}
public ApproveProcessCallbackRequestRequest setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
}
}