com.aliyun.dingtalkagoal_1_0.models.AgoalCreateProgressRequest 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 AgoalCreateProgressRequest extends TeaModel {
/**
* example:
* 64bf87f8d7ace3616f0a1971
*/
@NameInMap("krId")
public String krId;
/**
* if can be null:
* false
*/
@NameInMap("mergeIntoLatestProgress")
public Boolean mergeIntoLatestProgress;
/**
* example:
* 662e006fe4b0f579bbcb10cf
*/
@NameInMap("objectiveId")
public String objectiveId;
/**
* example:
* 这是一条目标进展文本
*/
@NameInMap("plainText")
public String plainText;
/**
* example:
* 30
*/
@NameInMap("progress")
public Integer progress;
/**
* example:
* naturalWeek
*/
@NameInMap("progressMergePeriod")
public String progressMergePeriod;
public static AgoalCreateProgressRequest build(java.util.Map map) throws Exception {
AgoalCreateProgressRequest self = new AgoalCreateProgressRequest();
return TeaModel.build(map, self);
}
public AgoalCreateProgressRequest setKrId(String krId) {
this.krId = krId;
return this;
}
public String getKrId() {
return this.krId;
}
public AgoalCreateProgressRequest setMergeIntoLatestProgress(Boolean mergeIntoLatestProgress) {
this.mergeIntoLatestProgress = mergeIntoLatestProgress;
return this;
}
public Boolean getMergeIntoLatestProgress() {
return this.mergeIntoLatestProgress;
}
public AgoalCreateProgressRequest setObjectiveId(String objectiveId) {
this.objectiveId = objectiveId;
return this;
}
public String getObjectiveId() {
return this.objectiveId;
}
public AgoalCreateProgressRequest setPlainText(String plainText) {
this.plainText = plainText;
return this;
}
public String getPlainText() {
return this.plainText;
}
public AgoalCreateProgressRequest setProgress(Integer progress) {
this.progress = progress;
return this;
}
public Integer getProgress() {
return this.progress;
}
public AgoalCreateProgressRequest setProgressMergePeriod(String progressMergePeriod) {
this.progressMergePeriod = progressMergePeriod;
return this;
}
public String getProgressMergePeriod() {
return this.progressMergePeriod;
}
}