com.aliyun.dingtalkproject_1_0.models.CreatePlanTimeRequest 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 CreatePlanTimeRequest extends TeaModel {
/**
* 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:
* 3600000
*/
@NameInMap("planTime")
public Long planTime;
/**
* 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.
*
* example:
* organization
*/
@NameInMap("tenantType")
public String tenantType;
public static CreatePlanTimeRequest build(java.util.Map map) throws Exception {
CreatePlanTimeRequest self = new CreatePlanTimeRequest();
return TeaModel.build(map, self);
}
public CreatePlanTimeRequest setEndDate(String endDate) {
this.endDate = endDate;
return this;
}
public String getEndDate() {
return this.endDate;
}
public CreatePlanTimeRequest setExecutorId(String executorId) {
this.executorId = executorId;
return this;
}
public String getExecutorId() {
return this.executorId;
}
public CreatePlanTimeRequest setIncludesHolidays(Boolean includesHolidays) {
this.includesHolidays = includesHolidays;
return this;
}
public Boolean getIncludesHolidays() {
return this.includesHolidays;
}
public CreatePlanTimeRequest setIsDuration(Boolean isDuration) {
this.isDuration = isDuration;
return this;
}
public Boolean getIsDuration() {
return this.isDuration;
}
public CreatePlanTimeRequest setObjectId(String objectId) {
this.objectId = objectId;
return this;
}
public String getObjectId() {
return this.objectId;
}
public CreatePlanTimeRequest setObjectType(String objectType) {
this.objectType = objectType;
return this;
}
public String getObjectType() {
return this.objectType;
}
public CreatePlanTimeRequest setPlanTime(Long planTime) {
this.planTime = planTime;
return this;
}
public Long getPlanTime() {
return this.planTime;
}
public CreatePlanTimeRequest setStartDate(String startDate) {
this.startDate = startDate;
return this;
}
public String getStartDate() {
return this.startDate;
}
public CreatePlanTimeRequest setSubmitterId(String submitterId) {
this.submitterId = submitterId;
return this;
}
public String getSubmitterId() {
return this.submitterId;
}
public CreatePlanTimeRequest setTenantType(String tenantType) {
this.tenantType = tenantType;
return this;
}
public String getTenantType() {
return this.tenantType;
}
}