com.aliyun.dingtalkagoal_1_0.models.OpenAgoalObjectiveDTO 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 OpenAgoalObjectiveDTO extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("executor")
public OpenAgoalUserDTO executor;
/**
* This parameter is required.
*/
@NameInMap("keyActions")
public java.util.List keyActions;
/**
* This parameter is required.
*/
@NameInMap("keyResults")
public java.util.List keyResults;
/**
* This parameter is required.
*/
@NameInMap("latestProgress")
public OpenAgoalLatestProgressDTO latestProgress;
/**
* This parameter is required.
*
* example:
* 6444f5e9a4261c6e699dxxxx
*/
@NameInMap("objectiveId")
public String objectiveId;
/**
* This parameter is required.
*/
@NameInMap("objectiveRule")
public OpenOrgObjectiveRuleDTO objectiveRule;
/**
* This parameter is required.
*/
@NameInMap("period")
public OpenObjectiveRulePeriodDTO period;
/**
* This parameter is required.
*
* example:
* 0
*/
@NameInMap("progress")
public Integer progress;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("status")
public Integer status;
/**
* This parameter is required.
*/
@NameInMap("teams")
public java.util.List teams;
/**
* This parameter is required.
*
* example:
* 测试目标
*/
@NameInMap("title")
public String title;
/**
* This parameter is required.
*
* example:
* 30
*/
@NameInMap("weight")
public Double weight;
public static OpenAgoalObjectiveDTO build(java.util.Map map) throws Exception {
OpenAgoalObjectiveDTO self = new OpenAgoalObjectiveDTO();
return TeaModel.build(map, self);
}
public OpenAgoalObjectiveDTO setExecutor(OpenAgoalUserDTO executor) {
this.executor = executor;
return this;
}
public OpenAgoalUserDTO getExecutor() {
return this.executor;
}
public OpenAgoalObjectiveDTO setKeyActions(java.util.List keyActions) {
this.keyActions = keyActions;
return this;
}
public java.util.List getKeyActions() {
return this.keyActions;
}
public OpenAgoalObjectiveDTO setKeyResults(java.util.List keyResults) {
this.keyResults = keyResults;
return this;
}
public java.util.List getKeyResults() {
return this.keyResults;
}
public OpenAgoalObjectiveDTO setLatestProgress(OpenAgoalLatestProgressDTO latestProgress) {
this.latestProgress = latestProgress;
return this;
}
public OpenAgoalLatestProgressDTO getLatestProgress() {
return this.latestProgress;
}
public OpenAgoalObjectiveDTO setObjectiveId(String objectiveId) {
this.objectiveId = objectiveId;
return this;
}
public String getObjectiveId() {
return this.objectiveId;
}
public OpenAgoalObjectiveDTO setObjectiveRule(OpenOrgObjectiveRuleDTO objectiveRule) {
this.objectiveRule = objectiveRule;
return this;
}
public OpenOrgObjectiveRuleDTO getObjectiveRule() {
return this.objectiveRule;
}
public OpenAgoalObjectiveDTO setPeriod(OpenObjectiveRulePeriodDTO period) {
this.period = period;
return this;
}
public OpenObjectiveRulePeriodDTO getPeriod() {
return this.period;
}
public OpenAgoalObjectiveDTO setProgress(Integer progress) {
this.progress = progress;
return this;
}
public Integer getProgress() {
return this.progress;
}
public OpenAgoalObjectiveDTO setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
public OpenAgoalObjectiveDTO setTeams(java.util.List teams) {
this.teams = teams;
return this;
}
public java.util.List getTeams() {
return this.teams;
}
public OpenAgoalObjectiveDTO setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public OpenAgoalObjectiveDTO setWeight(Double weight) {
this.weight = weight;
return this;
}
public Double getWeight() {
return this.weight;
}
}