com.aliyun.dingtalkproject_1_0.models.CreateWorkTimeApproveResponseBody 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.dingtalkproject_1_0.models;
import com.aliyun.tea.*;
public class CreateWorkTimeApproveResponseBody extends TeaModel {
/**
* example:
* 执行成功
*/
@NameInMap("message")
public String message;
/**
* example:
* 1234
*/
@NameInMap("requestId")
public String requestId;
@NameInMap("result")
public CreateWorkTimeApproveResponseBodyResult result;
public static CreateWorkTimeApproveResponseBody build(java.util.Map map) throws Exception {
CreateWorkTimeApproveResponseBody self = new CreateWorkTimeApproveResponseBody();
return TeaModel.build(map, self);
}
public CreateWorkTimeApproveResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreateWorkTimeApproveResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreateWorkTimeApproveResponseBody setResult(CreateWorkTimeApproveResponseBodyResult result) {
this.result = result;
return this;
}
public CreateWorkTimeApproveResponseBodyResult getResult() {
return this.result;
}
public static class CreateWorkTimeApproveResponseBodyResult extends TeaModel {
/**
* example:
* 636c9634b183ac0040ee85b4
*/
@NameInMap("approveOpenId")
public String approveOpenId;
/**
* example:
* 2022-07-04T03:29:34.770Z
*/
@NameInMap("createdAt")
public String createdAt;
/**
* example:
* 6446626a9fb5a70c05fc3fc3
*/
@NameInMap("creatorId")
public String creatorId;
/**
* example:
* ding123xxx
*/
@NameInMap("organizationId")
public String organizationId;
/**
* example:
* NEW
*/
@NameInMap("status")
public String status;
/**
* example:
* 636c9634b183ac0040ee85b4
*/
@NameInMap("taskId")
public String taskId;
/**
* example:
* 100000
*/
@NameInMap("time")
public Integer time;
/**
* example:
* 2022-07-04T03:29:34.770Z
*/
@NameInMap("updatedAt")
public String updatedAt;
/**
* example:
* 6446626a9fb5a70c05fc3fc3
*/
@NameInMap("userId")
public String userId;
@NameInMap("workTimeIds")
public java.util.List workTimeIds;
public static CreateWorkTimeApproveResponseBodyResult build(java.util.Map map) throws Exception {
CreateWorkTimeApproveResponseBodyResult self = new CreateWorkTimeApproveResponseBodyResult();
return TeaModel.build(map, self);
}
public CreateWorkTimeApproveResponseBodyResult setApproveOpenId(String approveOpenId) {
this.approveOpenId = approveOpenId;
return this;
}
public String getApproveOpenId() {
return this.approveOpenId;
}
public CreateWorkTimeApproveResponseBodyResult setCreatedAt(String createdAt) {
this.createdAt = createdAt;
return this;
}
public String getCreatedAt() {
return this.createdAt;
}
public CreateWorkTimeApproveResponseBodyResult setCreatorId(String creatorId) {
this.creatorId = creatorId;
return this;
}
public String getCreatorId() {
return this.creatorId;
}
public CreateWorkTimeApproveResponseBodyResult setOrganizationId(String organizationId) {
this.organizationId = organizationId;
return this;
}
public String getOrganizationId() {
return this.organizationId;
}
public CreateWorkTimeApproveResponseBodyResult setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public CreateWorkTimeApproveResponseBodyResult setTaskId(String taskId) {
this.taskId = taskId;
return this;
}
public String getTaskId() {
return this.taskId;
}
public CreateWorkTimeApproveResponseBodyResult setTime(Integer time) {
this.time = time;
return this;
}
public Integer getTime() {
return this.time;
}
public CreateWorkTimeApproveResponseBodyResult setUpdatedAt(String updatedAt) {
this.updatedAt = updatedAt;
return this;
}
public String getUpdatedAt() {
return this.updatedAt;
}
public CreateWorkTimeApproveResponseBodyResult setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public CreateWorkTimeApproveResponseBodyResult setWorkTimeIds(java.util.List workTimeIds) {
this.workTimeIds = workTimeIds;
return this;
}
public java.util.List getWorkTimeIds() {
return this.workTimeIds;
}
}
}