com.aliyun.dingtalkpedia_1_0.models.PediaWordsUpdateRequest 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.dingtalkpedia_1_0.models;
import com.aliyun.tea.*;
public class PediaWordsUpdateRequest extends TeaModel {
@NameInMap("appLink")
public java.util.List appLink;
@NameInMap("contactList")
public java.util.List contactList;
@NameInMap("highLightWordAlias")
public java.util.List highLightWordAlias;
@NameInMap("picList")
public java.util.List picList;
@NameInMap("relatedDoc")
public java.util.List relatedDoc;
@NameInMap("relatedLink")
public java.util.List relatedLink;
/**
* example:
* 312123213
*/
@NameInMap("userId")
public String userId;
/**
* This parameter is required.
*
* example:
* 2131321
*/
@NameInMap("uuid")
public Long uuid;
@NameInMap("wordAlias")
public java.util.List wordAlias;
/**
* This parameter is required.
*
* example:
* 词条名称
*/
@NameInMap("wordName")
public String wordName;
/**
* This parameter is required.
*
* example:
* 释义
*/
@NameInMap("wordParaphrase")
public String wordParaphrase;
public static PediaWordsUpdateRequest build(java.util.Map map) throws Exception {
PediaWordsUpdateRequest self = new PediaWordsUpdateRequest();
return TeaModel.build(map, self);
}
public PediaWordsUpdateRequest setAppLink(java.util.List appLink) {
this.appLink = appLink;
return this;
}
public java.util.List getAppLink() {
return this.appLink;
}
public PediaWordsUpdateRequest setContactList(java.util.List contactList) {
this.contactList = contactList;
return this;
}
public java.util.List getContactList() {
return this.contactList;
}
public PediaWordsUpdateRequest setHighLightWordAlias(java.util.List highLightWordAlias) {
this.highLightWordAlias = highLightWordAlias;
return this;
}
public java.util.List getHighLightWordAlias() {
return this.highLightWordAlias;
}
public PediaWordsUpdateRequest setPicList(java.util.List picList) {
this.picList = picList;
return this;
}
public java.util.List getPicList() {
return this.picList;
}
public PediaWordsUpdateRequest setRelatedDoc(java.util.List relatedDoc) {
this.relatedDoc = relatedDoc;
return this;
}
public java.util.List getRelatedDoc() {
return this.relatedDoc;
}
public PediaWordsUpdateRequest setRelatedLink(java.util.List relatedLink) {
this.relatedLink = relatedLink;
return this;
}
public java.util.List getRelatedLink() {
return this.relatedLink;
}
public PediaWordsUpdateRequest setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
public PediaWordsUpdateRequest setUuid(Long uuid) {
this.uuid = uuid;
return this;
}
public Long getUuid() {
return this.uuid;
}
public PediaWordsUpdateRequest setWordAlias(java.util.List wordAlias) {
this.wordAlias = wordAlias;
return this;
}
public java.util.List getWordAlias() {
return this.wordAlias;
}
public PediaWordsUpdateRequest setWordName(String wordName) {
this.wordName = wordName;
return this;
}
public String getWordName() {
return this.wordName;
}
public PediaWordsUpdateRequest setWordParaphrase(String wordParaphrase) {
this.wordParaphrase = wordParaphrase;
return this;
}
public String getWordParaphrase() {
return this.wordParaphrase;
}
public static class PediaWordsUpdateRequestAppLink extends TeaModel {
/**
* example:
* 应用名称
*/
@NameInMap("appName")
public String appName;
/**
* example:
*
*/
@NameInMap("iconLink")
public String iconLink;
/**
* example:
*
*/
@NameInMap("pcLink")
public String pcLink;
/**
* example:
* htttps://12345.com
*/
@NameInMap("phoneLink")
public String phoneLink;
public static PediaWordsUpdateRequestAppLink build(java.util.Map map) throws Exception {
PediaWordsUpdateRequestAppLink self = new PediaWordsUpdateRequestAppLink();
return TeaModel.build(map, self);
}
public PediaWordsUpdateRequestAppLink setAppName(String appName) {
this.appName = appName;
return this;
}
public String getAppName() {
return this.appName;
}
public PediaWordsUpdateRequestAppLink setIconLink(String iconLink) {
this.iconLink = iconLink;
return this;
}
public String getIconLink() {
return this.iconLink;
}
public PediaWordsUpdateRequestAppLink setPcLink(String pcLink) {
this.pcLink = pcLink;
return this;
}
public String getPcLink() {
return this.pcLink;
}
public PediaWordsUpdateRequestAppLink setPhoneLink(String phoneLink) {
this.phoneLink = phoneLink;
return this;
}
public String getPhoneLink() {
return this.phoneLink;
}
}
public static class PediaWordsUpdateRequestContactList extends TeaModel {
/**
* example:
* @12312312
*/
@NameInMap("avatarMediaId")
public String avatarMediaId;
/**
* example:
* 名称
*/
@NameInMap("nickName")
public String nickName;
/**
* example:
* 12131312
*/
@NameInMap("userId")
public String userId;
public static PediaWordsUpdateRequestContactList build(java.util.Map map) throws Exception {
PediaWordsUpdateRequestContactList self = new PediaWordsUpdateRequestContactList();
return TeaModel.build(map, self);
}
public PediaWordsUpdateRequestContactList setAvatarMediaId(String avatarMediaId) {
this.avatarMediaId = avatarMediaId;
return this;
}
public String getAvatarMediaId() {
return this.avatarMediaId;
}
public PediaWordsUpdateRequestContactList setNickName(String nickName) {
this.nickName = nickName;
return this;
}
public String getNickName() {
return this.nickName;
}
public PediaWordsUpdateRequestContactList setUserId(String userId) {
this.userId = userId;
return this;
}
public String getUserId() {
return this.userId;
}
}
public static class PediaWordsUpdateRequestPicList extends TeaModel {
/**
* example:
*
*/
@NameInMap("mediaIdUrl")
public String mediaIdUrl;
public static PediaWordsUpdateRequestPicList build(java.util.Map map) throws Exception {
PediaWordsUpdateRequestPicList self = new PediaWordsUpdateRequestPicList();
return TeaModel.build(map, self);
}
public PediaWordsUpdateRequestPicList setMediaIdUrl(String mediaIdUrl) {
this.mediaIdUrl = mediaIdUrl;
return this;
}
public String getMediaIdUrl() {
return this.mediaIdUrl;
}
}
public static class PediaWordsUpdateRequestRelatedDoc extends TeaModel {
/**
* example:
*
*/
@NameInMap("link")
public String link;
/**
* example:
* 相关文档
*/
@NameInMap("name")
public String name;
/**
* example:
* adoc
*/
@NameInMap("type")
public String type;
public static PediaWordsUpdateRequestRelatedDoc build(java.util.Map map) throws Exception {
PediaWordsUpdateRequestRelatedDoc self = new PediaWordsUpdateRequestRelatedDoc();
return TeaModel.build(map, self);
}
public PediaWordsUpdateRequestRelatedDoc setLink(String link) {
this.link = link;
return this;
}
public String getLink() {
return this.link;
}
public PediaWordsUpdateRequestRelatedDoc setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public PediaWordsUpdateRequestRelatedDoc setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
public static class PediaWordsUpdateRequestRelatedLink extends TeaModel {
/**
* example:
*
*/
@NameInMap("link")
public String link;
/**
* example:
* 相关链接
*/
@NameInMap("name")
public String name;
public static PediaWordsUpdateRequestRelatedLink build(java.util.Map map) throws Exception {
PediaWordsUpdateRequestRelatedLink self = new PediaWordsUpdateRequestRelatedLink();
return TeaModel.build(map, self);
}
public PediaWordsUpdateRequestRelatedLink setLink(String link) {
this.link = link;
return this;
}
public String getLink() {
return this.link;
}
public PediaWordsUpdateRequestRelatedLink setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
}
}