com.aliyun.dingtalkdoc_1_0.models.AddCommentRequest 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.dingtalkdoc_1_0.models;
import com.aliyun.tea.*;
public class AddCommentRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("commentContent")
public String commentContent;
/**
* This parameter is required.
*/
@NameInMap("commentType")
public String commentType;
@NameInMap("option")
public AddCommentRequestOption option;
/**
* This parameter is required.
*
* example:
* union_id
*/
@NameInMap("operatorId")
public String operatorId;
public static AddCommentRequest build(java.util.Map map) throws Exception {
AddCommentRequest self = new AddCommentRequest();
return TeaModel.build(map, self);
}
public AddCommentRequest setCommentContent(String commentContent) {
this.commentContent = commentContent;
return this;
}
public String getCommentContent() {
return this.commentContent;
}
public AddCommentRequest setCommentType(String commentType) {
this.commentType = commentType;
return this;
}
public String getCommentType() {
return this.commentType;
}
public AddCommentRequest setOption(AddCommentRequestOption option) {
this.option = option;
return this;
}
public AddCommentRequestOption getOption() {
return this.option;
}
public AddCommentRequest setOperatorId(String operatorId) {
this.operatorId = operatorId;
return this;
}
public String getOperatorId() {
return this.operatorId;
}
public static class AddCommentRequestOption extends TeaModel {
/**
* example:
* create_time
*/
@NameInMap("createTime")
public String createTime;
@NameInMap("extra")
public java.util.Map extra;
public static AddCommentRequestOption build(java.util.Map map) throws Exception {
AddCommentRequestOption self = new AddCommentRequestOption();
return TeaModel.build(map, self);
}
public AddCommentRequestOption setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public AddCommentRequestOption setExtra(java.util.Map extra) {
this.extra = extra;
return this;
}
public java.util.Map getExtra() {
return this.extra;
}
}
}