com.aliyun.dingtalksearch_1_0.models.CreateSearchTabRequest 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 CreateSearchTabRequest extends TeaModel {
@NameInMap("darkIcon")
public String darkIcon;
/**
* if can be null:
* false
*/
@NameInMap("icon")
public String icon;
/**
* This parameter is required.
*
* example:
* 书籍
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("priority")
public Integer priority;
@NameInMap("source")
public String source;
/**
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("status")
public Integer status;
public static CreateSearchTabRequest build(java.util.Map map) throws Exception {
CreateSearchTabRequest self = new CreateSearchTabRequest();
return TeaModel.build(map, self);
}
public CreateSearchTabRequest setDarkIcon(String darkIcon) {
this.darkIcon = darkIcon;
return this;
}
public String getDarkIcon() {
return this.darkIcon;
}
public CreateSearchTabRequest setIcon(String icon) {
this.icon = icon;
return this;
}
public String getIcon() {
return this.icon;
}
public CreateSearchTabRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public CreateSearchTabRequest setPriority(Integer priority) {
this.priority = priority;
return this;
}
public Integer getPriority() {
return this.priority;
}
public CreateSearchTabRequest setSource(String source) {
this.source = source;
return this;
}
public String getSource() {
return this.source;
}
public CreateSearchTabRequest setStatus(Integer status) {
this.status = status;
return this;
}
public Integer getStatus() {
return this.status;
}
}