![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.dingtalkattendance_1_0.models.CalculateDurationRequest 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 CalculateDurationRequest extends TeaModel {
/**
* example:
* 3
*/
@NameInMap("bizType")
public Long bizType;
/**
* example:
* 1
*/
@NameInMap("calculateModel")
public Long calculateModel;
/**
* example:
* day
*/
@NameInMap("durationUnit")
public String durationUnit;
/**
* example:
* 2019-08-15
*/
@NameInMap("fromTime")
public String fromTime;
/**
* example:
* e2dsad-34dfa-2vas23da
*/
@NameInMap("leaveCode")
public String leaveCode;
/**
* example:
* 2019-08-15
*/
@NameInMap("toTime")
public String toTime;
/**
* example:
* manager123
*/
@NameInMap("userId")
public String userId;
public static CalculateDurationRequest build(java.util.Map map) throws Exception {
CalculateDurationRequest self = new CalculateDurationRequest();
return TeaModel.build(map, self);
}
public CalculateDurationRequest setBizType(Long bizType) {
this.bizType = bizType;
return this;
}
public Long getBizType() {
return this.bizType;
}
public CalculateDurationRequest setCalculateModel(Long calculateModel) {
this.calculateModel = calculateModel;
return this;
}
public Long getCalculateModel() {
return this.calculateModel;
}
public CalculateDurationRequest setDurationUnit(String durationUnit) {
this.durationUnit = durationUnit;
return this;
}
public String getDurationUnit() {
return this.durationUnit;
}
public CalculateDurationRequest setFromTime(String fromTime) {
this.fromTime = fromTime;
return this;
}
public String getFromTime() {
return this.fromTime;
}
public CalculateDurationRequest setLeaveCode(String leaveCode) {
this.leaveCode = leaveCode;
return this;
}
public String getLeaveCode() {
return this.leaveCode;
}
public CalculateDurationRequest setToTime(String toTime) {
this.toTime = toTime;
return this;
}
public String getToTime() {
return this.toTime;
}
public CalculateDurationRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy