com.aliyun.dingtalkokr_1_0.models.CreateKeyResultRequest 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 CreateKeyResultRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 我的内容
*/
@NameInMap("content")
public String content;
/**
* This parameter is required.
*
* example:
* 58Y4
*/
@NameInMap("objectiveId")
public String objectiveId;
/**
* This parameter is required.
*
* example:
* 1006
*/
@NameInMap("periodId")
public String periodId;
/**
* example:
* 234631
*/
@NameInMap("prevPosition")
public Long prevPosition;
/**
* example:
* 100
*/
@NameInMap("weight")
public Long weight;
/**
* This parameter is required.
*
* example:
* 06186238011033616
*/
@NameInMap("userId")
public String userId;
public static CreateKeyResultRequest build(java.util.Map map) throws Exception {
CreateKeyResultRequest self = new CreateKeyResultRequest();
return TeaModel.build(map, self);
}
public CreateKeyResultRequest setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public CreateKeyResultRequest setObjectiveId(String objectiveId) {
this.objectiveId = objectiveId;
return this;
}
public String getObjectiveId() {
return this.objectiveId;
}
public CreateKeyResultRequest setPeriodId(String periodId) {
this.periodId = periodId;
return this;
}
public String getPeriodId() {
return this.periodId;
}
public CreateKeyResultRequest setPrevPosition(Long prevPosition) {
this.prevPosition = prevPosition;
return this;
}
public Long getPrevPosition() {
return this.prevPosition;
}
public CreateKeyResultRequest setWeight(Long weight) {
this.weight = weight;
return this;
}
public Long getWeight() {
return this.weight;
}
public CreateKeyResultRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}