
com.aliyun.dingtalkservice_group_1_0.models.AddKnowledgeRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkservice_group_1_0.models;
import com.aliyun.tea.*;
public class AddKnowledgeRequest extends TeaModel {
@NameInMap("attachmentList")
public java.util.List attachmentList;
/**
* example:
* 测试内容
*/
@NameInMap("content")
public String content;
@NameInMap("effectTimeend")
public Long effectTimeend;
@NameInMap("effectTimestart")
public Long effectTimestart;
@NameInMap("extTitle")
public String extTitle;
@NameInMap("keyword")
public String keyword;
/**
* example:
* xuvw1245
*/
@NameInMap("libraryKey")
public String libraryKey;
/**
* example:
*
*/
@NameInMap("linkUrl")
public String linkUrl;
/**
* example:
* Jxi12wo3qxoa
*/
@NameInMap("openTeamId")
public String openTeamId;
@NameInMap("questionIds")
public java.util.List questionIds;
/**
* example:
* CCM
*/
@NameInMap("source")
public String source;
/**
* example:
* CCM-123
*/
@NameInMap("sourcePrimaryKey")
public String sourcePrimaryKey;
/**
* example:
* 测试
*/
@NameInMap("title")
public String title;
/**
* example:
* CONDITION
*/
@NameInMap("type")
public String type;
/**
* example:
* V0193859102
*/
@NameInMap("version")
public String version;
public static AddKnowledgeRequest build(java.util.Map map) throws Exception {
AddKnowledgeRequest self = new AddKnowledgeRequest();
return TeaModel.build(map, self);
}
public AddKnowledgeRequest setAttachmentList(java.util.List attachmentList) {
this.attachmentList = attachmentList;
return this;
}
public java.util.List getAttachmentList() {
return this.attachmentList;
}
public AddKnowledgeRequest setContent(String content) {
this.content = content;
return this;
}
public String getContent() {
return this.content;
}
public AddKnowledgeRequest setEffectTimeend(Long effectTimeend) {
this.effectTimeend = effectTimeend;
return this;
}
public Long getEffectTimeend() {
return this.effectTimeend;
}
public AddKnowledgeRequest setEffectTimestart(Long effectTimestart) {
this.effectTimestart = effectTimestart;
return this;
}
public Long getEffectTimestart() {
return this.effectTimestart;
}
public AddKnowledgeRequest setExtTitle(String extTitle) {
this.extTitle = extTitle;
return this;
}
public String getExtTitle() {
return this.extTitle;
}
public AddKnowledgeRequest setKeyword(String keyword) {
this.keyword = keyword;
return this;
}
public String getKeyword() {
return this.keyword;
}
public AddKnowledgeRequest setLibraryKey(String libraryKey) {
this.libraryKey = libraryKey;
return this;
}
public String getLibraryKey() {
return this.libraryKey;
}
public AddKnowledgeRequest setLinkUrl(String linkUrl) {
this.linkUrl = linkUrl;
return this;
}
public String getLinkUrl() {
return this.linkUrl;
}
public AddKnowledgeRequest setOpenTeamId(String openTeamId) {
this.openTeamId = openTeamId;
return this;
}
public String getOpenTeamId() {
return this.openTeamId;
}
public AddKnowledgeRequest setQuestionIds(java.util.List questionIds) {
this.questionIds = questionIds;
return this;
}
public java.util.List getQuestionIds() {
return this.questionIds;
}
public AddKnowledgeRequest setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
public AddKnowledgeRequest setSourcePrimaryKey(String sourcePrimaryKey) {
this.sourcePrimaryKey = sourcePrimaryKey;
return this;
}
public String getSourcePrimaryKey() {
return this.sourcePrimaryKey;
}
public AddKnowledgeRequest setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public AddKnowledgeRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
public AddKnowledgeRequest setVersion(String version) {
this.version = version;
return this;
}
public String getVersion() {
return this.version;
}
public static class AddKnowledgeRequestAttachmentList extends TeaModel {
/**
* example:
* doc
*/
@NameInMap("mime_type")
public String mimeType;
@NameInMap("path")
public String path;
/**
* example:
* 655
*/
@NameInMap("size")
public Long size;
/**
* example:
* pdf
*/
@NameInMap("suffix")
public String suffix;
/**
* example:
* 测试附件
*/
@NameInMap("title")
public String title;
public static AddKnowledgeRequestAttachmentList build(java.util.Map map) throws Exception {
AddKnowledgeRequestAttachmentList self = new AddKnowledgeRequestAttachmentList();
return TeaModel.build(map, self);
}
public AddKnowledgeRequestAttachmentList setMimeType(String mimeType) {
this.mimeType = mimeType;
return this;
}
public String getMimeType() {
return this.mimeType;
}
public AddKnowledgeRequestAttachmentList setPath(String path) {
this.path = path;
return this;
}
public String getPath() {
return this.path;
}
public AddKnowledgeRequestAttachmentList setSize(Long size) {
this.size = size;
return this;
}
public Long getSize() {
return this.size;
}
public AddKnowledgeRequestAttachmentList setSuffix(String suffix) {
this.suffix = suffix;
return this;
}
public String getSuffix() {
return this.suffix;
}
public AddKnowledgeRequestAttachmentList setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy