com.aliyun.dingtalkproject_1_0.models.CreateWorkTimeRequest 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 CreateWorkTimeRequest extends TeaModel {
@NameInMap("description")
public String description;
/**
* This parameter is required.
*
* example:
* 2022-09-05
*/
@NameInMap("endDate")
public String endDate;
/**
* This parameter is required.
*
* example:
* 123456
*/
@NameInMap("executorId")
public String executorId;
/**
* This parameter is required.
*/
@NameInMap("includesHolidays")
public Boolean includesHolidays;
/**
* This parameter is required.
*/
@NameInMap("isDuration")
public Boolean isDuration;
/**
* This parameter is required.
*
* example:
* 63186e54e07f18003fea6b90
*/
@NameInMap("objectId")
public String objectId;
/**
* This parameter is required.
*
* example:
* task
*/
@NameInMap("objectType")
public String objectType;
/**
* This parameter is required.
*
* example:
* 2022-09-05
*/
@NameInMap("startDate")
public String startDate;
/**
* This parameter is required.
*
* example:
* 123456
*/
@NameInMap("submitterId")
public String submitterId;
/**
* This parameter is required.
*/
@NameInMap("workTime")
public Long workTime;
/**
* This parameter is required.
*
* example:
* organization
*/
@NameInMap("tenantType")
public String tenantType;
public static CreateWorkTimeRequest build(java.util.Map map) throws Exception {
CreateWorkTimeRequest self = new CreateWorkTimeRequest();
return TeaModel.build(map, self);
}
public CreateWorkTimeRequest setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public CreateWorkTimeRequest setEndDate(String endDate) {
this.endDate = endDate;
return this;
}
public String getEndDate() {
return this.endDate;
}
public CreateWorkTimeRequest setExecutorId(String executorId) {
this.executorId = executorId;
return this;
}
public String getExecutorId() {
return this.executorId;
}
public CreateWorkTimeRequest setIncludesHolidays(Boolean includesHolidays) {
this.includesHolidays = includesHolidays;
return this;
}
public Boolean getIncludesHolidays() {
return this.includesHolidays;
}
public CreateWorkTimeRequest setIsDuration(Boolean isDuration) {
this.isDuration = isDuration;
return this;
}
public Boolean getIsDuration() {
return this.isDuration;
}
public CreateWorkTimeRequest setObjectId(String objectId) {
this.objectId = objectId;
return this;
}
public String getObjectId() {
return this.objectId;
}
public CreateWorkTimeRequest setObjectType(String objectType) {
this.objectType = objectType;
return this;
}
public String getObjectType() {
return this.objectType;
}
public CreateWorkTimeRequest setStartDate(String startDate) {
this.startDate = startDate;
return this;
}
public String getStartDate() {
return this.startDate;
}
public CreateWorkTimeRequest setSubmitterId(String submitterId) {
this.submitterId = submitterId;
return this;
}
public String getSubmitterId() {
return this.submitterId;
}
public CreateWorkTimeRequest setWorkTime(Long workTime) {
this.workTime = workTime;
return this;
}
public Long getWorkTime() {
return this.workTime;
}
public CreateWorkTimeRequest setTenantType(String tenantType) {
this.tenantType = tenantType;
return this;
}
public String getTenantType() {
return this.tenantType;
}
}