All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkservice_group_1_0.models.AddOpenKnowledgeRequest 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 AddOpenKnowledgeRequest extends TeaModel {
    /**
     * example:
     * 

1

*/ @NameInMap("attachments") public java.util.List attachments; /** *

This parameter is required.

* * example: *

44555

*/ @NameInMap("categoryId") public Long categoryId; /** *

This parameter is required.

* * example: *

这是服务群的介绍

*/ @NameInMap("content") public String content; /** * example: *

2100-01-01 23:59:59

*/ @NameInMap("effectTimeend") public String effectTimeend; /** * example: *

1980-01-01 00:00:00

*/ @NameInMap("effectTimestart") public String effectTimestart; /** *

This parameter is required.

* * example: *

这是问法1,这是问法2

*/ @NameInMap("extTitle") public String extTitle; /** * example: *

服务群,智能场景群

*/ @NameInMap("keyword") public String keyword; /** *

This parameter is required.

* * example: *

1

*/ @NameInMap("libraryId") public Long libraryId; /** *

This parameter is required.

* * example: *

Jxi12wo3qxoa

*/ @NameInMap("openTeamId") public String openTeamId; /** *

This parameter is required.

* * example: *

XMD

*/ @NameInMap("source") public String source; /** * example: *

服务群,智能场景群

*/ @NameInMap("tags") public String tags; /** *

This parameter is required.

* * example: *

服务群是什么

*/ @NameInMap("title") public String title; /** *

This parameter is required.

* * example: *

EXTERNAL

*/ @NameInMap("type") public String type; /** *

This parameter is required.

* * example: *

0159003451667222

*/ @NameInMap("userId") public String userId; /** *

This parameter is required.

* * example: *

钉三多

*/ @NameInMap("userName") public String userName; public static AddOpenKnowledgeRequest build(java.util.Map map) throws Exception { AddOpenKnowledgeRequest self = new AddOpenKnowledgeRequest(); return TeaModel.build(map, self); } public AddOpenKnowledgeRequest setAttachments(java.util.List attachments) { this.attachments = attachments; return this; } public java.util.List getAttachments() { return this.attachments; } public AddOpenKnowledgeRequest setCategoryId(Long categoryId) { this.categoryId = categoryId; return this; } public Long getCategoryId() { return this.categoryId; } public AddOpenKnowledgeRequest setContent(String content) { this.content = content; return this; } public String getContent() { return this.content; } public AddOpenKnowledgeRequest setEffectTimeend(String effectTimeend) { this.effectTimeend = effectTimeend; return this; } public String getEffectTimeend() { return this.effectTimeend; } public AddOpenKnowledgeRequest setEffectTimestart(String effectTimestart) { this.effectTimestart = effectTimestart; return this; } public String getEffectTimestart() { return this.effectTimestart; } public AddOpenKnowledgeRequest setExtTitle(String extTitle) { this.extTitle = extTitle; return this; } public String getExtTitle() { return this.extTitle; } public AddOpenKnowledgeRequest setKeyword(String keyword) { this.keyword = keyword; return this; } public String getKeyword() { return this.keyword; } public AddOpenKnowledgeRequest setLibraryId(Long libraryId) { this.libraryId = libraryId; return this; } public Long getLibraryId() { return this.libraryId; } public AddOpenKnowledgeRequest setOpenTeamId(String openTeamId) { this.openTeamId = openTeamId; return this; } public String getOpenTeamId() { return this.openTeamId; } public AddOpenKnowledgeRequest setSource(String source) { this.source = source; return this; } public String getSource() { return this.source; } public AddOpenKnowledgeRequest setTags(String tags) { this.tags = tags; return this; } public String getTags() { return this.tags; } public AddOpenKnowledgeRequest setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } public AddOpenKnowledgeRequest setType(String type) { this.type = type; return this; } public String getType() { return this.type; } public AddOpenKnowledgeRequest setUserId(String userId) { this.userId = userId; return this; } public String getUserId() { return this.userId; } public AddOpenKnowledgeRequest setUserName(String userName) { this.userName = userName; return this; } public String getUserName() { return this.userName; } public static class AddOpenKnowledgeRequestAttachments extends TeaModel { /** * example: *

PDF

*/ @NameInMap("mimeType") public String mimeType; /** * example: *

https://dtapp-pub.dingtalk.com/dingtalkdesktop/test.pdf

*/ @NameInMap("path") public String path; /** * example: *

444556

*/ @NameInMap("size") public Double size; /** * example: *

pdf

*/ @NameInMap("suffix") public String suffix; /** * example: *

这是一个附件文档

*/ @NameInMap("title") public String title; public static AddOpenKnowledgeRequestAttachments build(java.util.Map map) throws Exception { AddOpenKnowledgeRequestAttachments self = new AddOpenKnowledgeRequestAttachments(); return TeaModel.build(map, self); } public AddOpenKnowledgeRequestAttachments setMimeType(String mimeType) { this.mimeType = mimeType; return this; } public String getMimeType() { return this.mimeType; } public AddOpenKnowledgeRequestAttachments setPath(String path) { this.path = path; return this; } public String getPath() { return this.path; } public AddOpenKnowledgeRequestAttachments setSize(Double size) { this.size = size; return this; } public Double getSize() { return this.size; } public AddOpenKnowledgeRequestAttachments setSuffix(String suffix) { this.suffix = suffix; return this; } public String getSuffix() { return this.suffix; } public AddOpenKnowledgeRequestAttachments setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy