com.aliyun.dingtalkalgo_1_0.models.OkrOpenRecommendResponseBody 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 OkrOpenRecommendResponseBody extends TeaModel {
@NameInMap("okrRecommendItems")
public java.util.List okrRecommendItems;
/**
* This parameter is required.
*/
@NameInMap("requestId")
public String requestId;
public static OkrOpenRecommendResponseBody build(java.util.Map map) throws Exception {
OkrOpenRecommendResponseBody self = new OkrOpenRecommendResponseBody();
return TeaModel.build(map, self);
}
public OkrOpenRecommendResponseBody setOkrRecommendItems(java.util.List okrRecommendItems) {
this.okrRecommendItems = okrRecommendItems;
return this;
}
public java.util.List getOkrRecommendItems() {
return this.okrRecommendItems;
}
public OkrOpenRecommendResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class OkrOpenRecommendResponseBodyOkrRecommendItemsKrResultRelatedResults extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("krId")
public String krId;
/**
* This parameter is required.
*
* example:
* 3
*/
@NameInMap("semanticLevel")
public Long semanticLevel;
/**
* This parameter is required.
*/
@NameInMap("words")
public java.util.List words;
public static OkrOpenRecommendResponseBodyOkrRecommendItemsKrResultRelatedResults build(java.util.Map map) throws Exception {
OkrOpenRecommendResponseBodyOkrRecommendItemsKrResultRelatedResults self = new OkrOpenRecommendResponseBodyOkrRecommendItemsKrResultRelatedResults();
return TeaModel.build(map, self);
}
public OkrOpenRecommendResponseBodyOkrRecommendItemsKrResultRelatedResults setKrId(String krId) {
this.krId = krId;
return this;
}
public String getKrId() {
return this.krId;
}
public OkrOpenRecommendResponseBodyOkrRecommendItemsKrResultRelatedResults setSemanticLevel(Long semanticLevel) {
this.semanticLevel = semanticLevel;
return this;
}
public Long getSemanticLevel() {
return this.semanticLevel;
}
public OkrOpenRecommendResponseBodyOkrRecommendItemsKrResultRelatedResults setWords(java.util.List words) {
this.words = words;
return this;
}
public java.util.List getWords() {
return this.words;
}
}
public static class OkrOpenRecommendResponseBodyOkrRecommendItemsObjectiveRelatedResults extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("objectiveId")
public String objectiveId;
/**
* This parameter is required.
*
* example:
* 3
*/
@NameInMap("semanticLevel")
public Long semanticLevel;
/**
* This parameter is required.
*/
@NameInMap("words")
public java.util.List words;
public static OkrOpenRecommendResponseBodyOkrRecommendItemsObjectiveRelatedResults build(java.util.Map map) throws Exception {
OkrOpenRecommendResponseBodyOkrRecommendItemsObjectiveRelatedResults self = new OkrOpenRecommendResponseBodyOkrRecommendItemsObjectiveRelatedResults();
return TeaModel.build(map, self);
}
public OkrOpenRecommendResponseBodyOkrRecommendItemsObjectiveRelatedResults setObjectiveId(String objectiveId) {
this.objectiveId = objectiveId;
return this;
}
public String getObjectiveId() {
return this.objectiveId;
}
public OkrOpenRecommendResponseBodyOkrRecommendItemsObjectiveRelatedResults setSemanticLevel(Long semanticLevel) {
this.semanticLevel = semanticLevel;
return this;
}
public Long getSemanticLevel() {
return this.semanticLevel;
}
public OkrOpenRecommendResponseBodyOkrRecommendItemsObjectiveRelatedResults setWords(java.util.List words) {
this.words = words;
return this;
}
public java.util.List getWords() {
return this.words;
}
}
public static class OkrOpenRecommendResponseBodyOkrRecommendItems extends TeaModel {
@NameInMap("krResultRelatedResults")
public java.util.List krResultRelatedResults;
@NameInMap("objectiveRelatedResults")
public java.util.List objectiveRelatedResults;
/**
* This parameter is required.
*/
@NameInMap("relatedLevel")
public Long relatedLevel;
/**
* This parameter is required.
*
* example:
* 3
*/
@NameInMap("semanticLevel")
public Long semanticLevel;
/**
* This parameter is required.
*
* example:
* 111
*/
@NameInMap("userId")
public String userId;
public static OkrOpenRecommendResponseBodyOkrRecommendItems build(java.util.Map map) throws Exception {
OkrOpenRecommendResponseBodyOkrRecommendItems self = new OkrOpenRecommendResponseBodyOkrRecommendItems();
return TeaModel.build(map, self);
}
public OkrOpenRecommendResponseBodyOkrRecommendItems setKrResultRelatedResults(java.util.List krResultRelatedResults) {
this.krResultRelatedResults = krResultRelatedResults;
return this;
}
public java.util.List getKrResultRelatedResults() {
return this.krResultRelatedResults;
}
public OkrOpenRecommendResponseBodyOkrRecommendItems setObjectiveRelatedResults(java.util.List objectiveRelatedResults) {
this.objectiveRelatedResults = objectiveRelatedResults;
return this;
}
public java.util.List getObjectiveRelatedResults() {
return this.objectiveRelatedResults;
}
public OkrOpenRecommendResponseBodyOkrRecommendItems setRelatedLevel(Long relatedLevel) {
this.relatedLevel = relatedLevel;
return this;
}
public Long getRelatedLevel() {
return this.relatedLevel;
}
public OkrOpenRecommendResponseBodyOkrRecommendItems setSemanticLevel(Long semanticLevel) {
this.semanticLevel = semanticLevel;
return this;
}
public Long getSemanticLevel() {
return this.semanticLevel;
}
public OkrOpenRecommendResponseBodyOkrRecommendItems setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
}