com.aliyun.dingtalksearch_1_0.models.InsertSearchItemRequest 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.dingtalksearch_1_0.models;
import com.aliyun.tea.*;
public class InsertSearchItemRequest extends TeaModel {
/**
* example:
* 四大名著
*/
@NameInMap("footer")
public String footer;
@NameInMap("icon")
public String icon;
/**
* This parameter is required.
*
* example:
* 1111
*/
@NameInMap("itemId")
public String itemId;
/**
* example:
*
*/
@NameInMap("mobileUrl")
public String mobileUrl;
/**
* example:
*
*/
@NameInMap("pcUrl")
public String pcUrl;
/**
* example:
* 中国古代章回体长篇小说
*/
@NameInMap("summary")
public String summary;
/**
* This parameter is required.
*
* example:
* 红楼梦
*/
@NameInMap("title")
public String title;
/**
* example:
*
*/
@NameInMap("url")
public String url;
public static InsertSearchItemRequest build(java.util.Map map) throws Exception {
InsertSearchItemRequest self = new InsertSearchItemRequest();
return TeaModel.build(map, self);
}
public InsertSearchItemRequest setFooter(String footer) {
this.footer = footer;
return this;
}
public String getFooter() {
return this.footer;
}
public InsertSearchItemRequest setIcon(String icon) {
this.icon = icon;
return this;
}
public String getIcon() {
return this.icon;
}
public InsertSearchItemRequest setItemId(String itemId) {
this.itemId = itemId;
return this;
}
public String getItemId() {
return this.itemId;
}
public InsertSearchItemRequest setMobileUrl(String mobileUrl) {
this.mobileUrl = mobileUrl;
return this;
}
public String getMobileUrl() {
return this.mobileUrl;
}
public InsertSearchItemRequest setPcUrl(String pcUrl) {
this.pcUrl = pcUrl;
return this;
}
public String getPcUrl() {
return this.pcUrl;
}
public InsertSearchItemRequest setSummary(String summary) {
this.summary = summary;
return this;
}
public String getSummary() {
return this.summary;
}
public InsertSearchItemRequest setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public InsertSearchItemRequest setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
}