com.aliyun.dingtalkokr_1_0.models.OpenObjectiveDTO 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.dingtalkokr_1_0.models;
import com.aliyun.tea.*;
public class OpenObjectiveDTO extends TeaModel {
@NameInMap("executor")
public OpenUserDTO executor;
@NameInMap("keyResults")
public java.util.List keyResults;
/**
* example:
* 65222640d0e8b868f9f9ae3c
*/
@NameInMap("objectiveId")
public String objectiveId;
@NameInMap("period")
public OpenPeriodDTO period;
/**
* example:
* 80
*/
@NameInMap("progress")
public Long progress;
/**
* example:
* 1
*/
@NameInMap("status")
public Long status;
@NameInMap("teams")
public java.util.List teams;
/**
* example:
* 这是一个O的标题
*/
@NameInMap("title")
public String title;
/**
* example:
* 10.00
*/
@NameInMap("weight")
public Double weight;
public static OpenObjectiveDTO build(java.util.Map map) throws Exception {
OpenObjectiveDTO self = new OpenObjectiveDTO();
return TeaModel.build(map, self);
}
public OpenObjectiveDTO setExecutor(OpenUserDTO executor) {
this.executor = executor;
return this;
}
public OpenUserDTO getExecutor() {
return this.executor;
}
public OpenObjectiveDTO setKeyResults(java.util.List keyResults) {
this.keyResults = keyResults;
return this;
}
public java.util.List getKeyResults() {
return this.keyResults;
}
public OpenObjectiveDTO setObjectiveId(String objectiveId) {
this.objectiveId = objectiveId;
return this;
}
public String getObjectiveId() {
return this.objectiveId;
}
public OpenObjectiveDTO setPeriod(OpenPeriodDTO period) {
this.period = period;
return this;
}
public OpenPeriodDTO getPeriod() {
return this.period;
}
public OpenObjectiveDTO setProgress(Long progress) {
this.progress = progress;
return this;
}
public Long getProgress() {
return this.progress;
}
public OpenObjectiveDTO setStatus(Long status) {
this.status = status;
return this;
}
public Long getStatus() {
return this.status;
}
public OpenObjectiveDTO setTeams(java.util.List teams) {
this.teams = teams;
return this;
}
public java.util.List getTeams() {
return this.teams;
}
public OpenObjectiveDTO setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public OpenObjectiveDTO setWeight(Double weight) {
this.weight = weight;
return this;
}
public Double getWeight() {
return this.weight;
}
}