com.aliyun.dingtalkalgo_1_0.models.OkrOpenRecommendRequest 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.dingtalkalgo_1_0.models;
import com.aliyun.tea.*;
public class OkrOpenRecommendRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("candidateOkrItems")
public java.util.List candidateOkrItems;
/**
* This parameter is required.
*/
@NameInMap("corpId")
public String corpId;
/**
* This parameter is required.
*/
@NameInMap("deptIds")
public java.util.List deptIds;
/**
* This parameter is required.
*/
@NameInMap("isvAppId")
public String isvAppId;
/**
* This parameter is required.
*/
@NameInMap("userId")
public String userId;
@NameInMap("words")
public java.util.List words;
public static OkrOpenRecommendRequest build(java.util.Map map) throws Exception {
OkrOpenRecommendRequest self = new OkrOpenRecommendRequest();
return TeaModel.build(map, self);
}
public OkrOpenRecommendRequest setCandidateOkrItems(java.util.List candidateOkrItems) {
this.candidateOkrItems = candidateOkrItems;
return this;
}
public java.util.List getCandidateOkrItems() {
return this.candidateOkrItems;
}
public OkrOpenRecommendRequest setCorpId(String corpId) {
this.corpId = corpId;
return this;
}
public String getCorpId() {
return this.corpId;
}
public OkrOpenRecommendRequest setDeptIds(java.util.List deptIds) {
this.deptIds = deptIds;
return this;
}
public java.util.List getDeptIds() {
return this.deptIds;
}
public OkrOpenRecommendRequest setIsvAppId(String isvAppId) {
this.isvAppId = isvAppId;
return this;
}
public String getIsvAppId() {
return this.isvAppId;
}
public OkrOpenRecommendRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public OkrOpenRecommendRequest setWords(java.util.List words) {
this.words = words;
return this;
}
public java.util.List getWords() {
return this.words;
}
public static class OkrOpenRecommendRequestCandidateOkrItemsOkrInfosKeyResultInfos extends TeaModel {
@NameInMap("kr")
public String kr;
@NameInMap("krId")
public String krId;
@NameInMap("words")
public java.util.List words;
public static OkrOpenRecommendRequestCandidateOkrItemsOkrInfosKeyResultInfos build(java.util.Map map) throws Exception {
OkrOpenRecommendRequestCandidateOkrItemsOkrInfosKeyResultInfos self = new OkrOpenRecommendRequestCandidateOkrItemsOkrInfosKeyResultInfos();
return TeaModel.build(map, self);
}
public OkrOpenRecommendRequestCandidateOkrItemsOkrInfosKeyResultInfos setKr(String kr) {
this.kr = kr;
return this;
}
public String getKr() {
return this.kr;
}
public OkrOpenRecommendRequestCandidateOkrItemsOkrInfosKeyResultInfos setKrId(String krId) {
this.krId = krId;
return this;
}
public String getKrId() {
return this.krId;
}
public OkrOpenRecommendRequestCandidateOkrItemsOkrInfosKeyResultInfos setWords(java.util.List words) {
this.words = words;
return this;
}
public java.util.List getWords() {
return this.words;
}
}
public static class OkrOpenRecommendRequestCandidateOkrItemsOkrInfos extends TeaModel {
@NameInMap("keyResultInfos")
public java.util.List keyResultInfos;
@NameInMap("objective")
public String objective;
@NameInMap("objectiveId")
public String objectiveId;
@NameInMap("words")
public java.util.List words;
public static OkrOpenRecommendRequestCandidateOkrItemsOkrInfos build(java.util.Map map) throws Exception {
OkrOpenRecommendRequestCandidateOkrItemsOkrInfos self = new OkrOpenRecommendRequestCandidateOkrItemsOkrInfos();
return TeaModel.build(map, self);
}
public OkrOpenRecommendRequestCandidateOkrItemsOkrInfos setKeyResultInfos(java.util.List keyResultInfos) {
this.keyResultInfos = keyResultInfos;
return this;
}
public java.util.List getKeyResultInfos() {
return this.keyResultInfos;
}
public OkrOpenRecommendRequestCandidateOkrItemsOkrInfos setObjective(String objective) {
this.objective = objective;
return this;
}
public String getObjective() {
return this.objective;
}
public OkrOpenRecommendRequestCandidateOkrItemsOkrInfos setObjectiveId(String objectiveId) {
this.objectiveId = objectiveId;
return this;
}
public String getObjectiveId() {
return this.objectiveId;
}
public OkrOpenRecommendRequestCandidateOkrItemsOkrInfos setWords(java.util.List words) {
this.words = words;
return this;
}
public java.util.List getWords() {
return this.words;
}
}
public static class OkrOpenRecommendRequestCandidateOkrItems extends TeaModel {
@NameInMap("okrInfos")
public java.util.List okrInfos;
/**
* This parameter is required.
*/
@NameInMap("relation")
public String relation;
/**
* This parameter is required.
*/
@NameInMap("userId")
public String userId;
public static OkrOpenRecommendRequestCandidateOkrItems build(java.util.Map map) throws Exception {
OkrOpenRecommendRequestCandidateOkrItems self = new OkrOpenRecommendRequestCandidateOkrItems();
return TeaModel.build(map, self);
}
public OkrOpenRecommendRequestCandidateOkrItems setOkrInfos(java.util.List okrInfos) {
this.okrInfos = okrInfos;
return this;
}
public java.util.List getOkrInfos() {
return this.okrInfos;
}
public OkrOpenRecommendRequestCandidateOkrItems setRelation(String relation) {
this.relation = relation;
return this;
}
public String getRelation() {
return this.relation;
}
public OkrOpenRecommendRequestCandidateOkrItems setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}