![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.dingtalkattendance_1_0.models.ProcessApproveCreateRequest 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.dingtalkattendance_1_0.models;
import com.aliyun.tea.*;
public class ProcessApproveCreateRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 25c4c49f-cf3a-4ba1-b321-7defd93b7f89
*/
@NameInMap("approveId")
public String approveId;
/**
* This parameter is required.
*
* example:
* user02
*/
@NameInMap("opUserId")
public String opUserId;
/**
* This parameter is required.
*/
@NameInMap("punchParam")
public ProcessApproveCreateRequestPunchParam punchParam;
/**
* This parameter is required.
*
* example:
* shiftGroup
*/
@NameInMap("subType")
public String subType;
/**
* This parameter is required.
*
* example:
* 请假
*/
@NameInMap("tagName")
public String tagName;
/**
* This parameter is required.
*
* example:
* user01
*/
@NameInMap("userId")
public String userId;
public static ProcessApproveCreateRequest build(java.util.Map map) throws Exception {
ProcessApproveCreateRequest self = new ProcessApproveCreateRequest();
return TeaModel.build(map, self);
}
public ProcessApproveCreateRequest setApproveId(String approveId) {
this.approveId = approveId;
return this;
}
public String getApproveId() {
return this.approveId;
}
public ProcessApproveCreateRequest setOpUserId(String opUserId) {
this.opUserId = opUserId;
return this;
}
public String getOpUserId() {
return this.opUserId;
}
public ProcessApproveCreateRequest setPunchParam(ProcessApproveCreateRequestPunchParam punchParam) {
this.punchParam = punchParam;
return this;
}
public ProcessApproveCreateRequestPunchParam getPunchParam() {
return this.punchParam;
}
public ProcessApproveCreateRequest setSubType(String subType) {
this.subType = subType;
return this;
}
public String getSubType() {
return this.subType;
}
public ProcessApproveCreateRequest setTagName(String tagName) {
this.tagName = tagName;
return this;
}
public String getTagName() {
return this.tagName;
}
public ProcessApproveCreateRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public static class ProcessApproveCreateRequestPunchParam extends TeaModel {
/**
* example:
* longitude_latitude
*/
@NameInMap("positionId")
public String positionId;
/**
* example:
* 未来park
*/
@NameInMap("positionName")
public String positionName;
/**
* example:
* gps
*/
@NameInMap("positionType")
public String positionType;
/**
* This parameter is required.
*
* example:
* 1650511474978
*/
@NameInMap("punchTime")
public Long punchTime;
public static ProcessApproveCreateRequestPunchParam build(java.util.Map map) throws Exception {
ProcessApproveCreateRequestPunchParam self = new ProcessApproveCreateRequestPunchParam();
return TeaModel.build(map, self);
}
public ProcessApproveCreateRequestPunchParam setPositionId(String positionId) {
this.positionId = positionId;
return this;
}
public String getPositionId() {
return this.positionId;
}
public ProcessApproveCreateRequestPunchParam setPositionName(String positionName) {
this.positionName = positionName;
return this;
}
public String getPositionName() {
return this.positionName;
}
public ProcessApproveCreateRequestPunchParam setPositionType(String positionType) {
this.positionType = positionType;
return this;
}
public String getPositionType() {
return this.positionType;
}
public ProcessApproveCreateRequestPunchParam setPunchTime(Long punchTime) {
this.punchTime = punchTime;
return this;
}
public Long getPunchTime() {
return this.punchTime;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy