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