com.aliyun.dingtalkagoal_1_0.models.OpenObjectiveRulePeriodDTO 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.dingtalkagoal_1_0.models;
import com.aliyun.tea.*;
public class OpenObjectiveRulePeriodDTO extends TeaModel {
/**
* This parameter is required.
*
* example:
* 1743436799000
*/
@NameInMap("endDate")
public Long endDate;
/**
* This parameter is required.
*
* example:
* 2024年度
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* 6444f5e9a4261c6e699dxxxx
*/
@NameInMap("periodId")
public String periodId;
/**
* This parameter is required.
*
* example:
* season
*/
@NameInMap("periodType")
public String periodType;
/**
* This parameter is required.
*
* example:
* 1711900800000
*/
@NameInMap("startDate")
public Long startDate;
public static OpenObjectiveRulePeriodDTO build(java.util.Map map) throws Exception {
OpenObjectiveRulePeriodDTO self = new OpenObjectiveRulePeriodDTO();
return TeaModel.build(map, self);
}
public OpenObjectiveRulePeriodDTO setEndDate(Long endDate) {
this.endDate = endDate;
return this;
}
public Long getEndDate() {
return this.endDate;
}
public OpenObjectiveRulePeriodDTO setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public OpenObjectiveRulePeriodDTO setPeriodId(String periodId) {
this.periodId = periodId;
return this;
}
public String getPeriodId() {
return this.periodId;
}
public OpenObjectiveRulePeriodDTO setPeriodType(String periodType) {
this.periodType = periodType;
return this;
}
public String getPeriodType() {
return this.periodType;
}
public OpenObjectiveRulePeriodDTO setStartDate(Long startDate) {
this.startDate = startDate;
return this;
}
public Long getStartDate() {
return this.startDate;
}
}