com.aliyun.dingtalksearch_1_0.models.BatchInsertSearchItemRequest 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 BatchInsertSearchItemRequest extends TeaModel {
/**
* This parameter is required.
*/
@NameInMap("searchItemModels")
public java.util.List searchItemModels;
public static BatchInsertSearchItemRequest build(java.util.Map map) throws Exception {
BatchInsertSearchItemRequest self = new BatchInsertSearchItemRequest();
return TeaModel.build(map, self);
}
public BatchInsertSearchItemRequest setSearchItemModels(java.util.List searchItemModels) {
this.searchItemModels = searchItemModels;
return this;
}
public java.util.List getSearchItemModels() {
return this.searchItemModels;
}
public static class BatchInsertSearchItemRequestSearchItemModels 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 BatchInsertSearchItemRequestSearchItemModels build(java.util.Map map) throws Exception {
BatchInsertSearchItemRequestSearchItemModels self = new BatchInsertSearchItemRequestSearchItemModels();
return TeaModel.build(map, self);
}
public BatchInsertSearchItemRequestSearchItemModels setFooter(String footer) {
this.footer = footer;
return this;
}
public String getFooter() {
return this.footer;
}
public BatchInsertSearchItemRequestSearchItemModels setIcon(String icon) {
this.icon = icon;
return this;
}
public String getIcon() {
return this.icon;
}
public BatchInsertSearchItemRequestSearchItemModels setItemId(String itemId) {
this.itemId = itemId;
return this;
}
public String getItemId() {
return this.itemId;
}
public BatchInsertSearchItemRequestSearchItemModels setMobileUrl(String mobileUrl) {
this.mobileUrl = mobileUrl;
return this;
}
public String getMobileUrl() {
return this.mobileUrl;
}
public BatchInsertSearchItemRequestSearchItemModels setPcUrl(String pcUrl) {
this.pcUrl = pcUrl;
return this;
}
public String getPcUrl() {
return this.pcUrl;
}
public BatchInsertSearchItemRequestSearchItemModels setSummary(String summary) {
this.summary = summary;
return this;
}
public String getSummary() {
return this.summary;
}
public BatchInsertSearchItemRequestSearchItemModels setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
public BatchInsertSearchItemRequestSearchItemModels setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
}
}