com.aliyun.dingtalkservice_group_1_0.models.BoundTemplateToTeamRequest 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.dingtalkservice_group_1_0.models;
import com.aliyun.tea.*;
public class BoundTemplateToTeamRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* btkoYsadwyQiE
*/
@NameInMap("openTeamId")
public String openTeamId;
/**
* This parameter is required.
*
* example:
* [{"robotCode":"123ITJovyMHtmi216233798228941001","robotName":"服务小钉"}]
*/
@NameInMap("robotConfig")
public String robotConfig;
@NameInMap("templateDesc")
public String templateDesc;
/**
* This parameter is required.
*/
@NameInMap("templateId")
public String templateId;
/**
* This parameter is required.
*/
@NameInMap("templateName")
public String templateName;
/**
* This parameter is required.
*
* example:
* 0普通群模板,1内部群模板
*/
@NameInMap("templateType")
public String templateType;
public static BoundTemplateToTeamRequest build(java.util.Map map) throws Exception {
BoundTemplateToTeamRequest self = new BoundTemplateToTeamRequest();
return TeaModel.build(map, self);
}
public BoundTemplateToTeamRequest setOpenTeamId(String openTeamId) {
this.openTeamId = openTeamId;
return this;
}
public String getOpenTeamId() {
return this.openTeamId;
}
public BoundTemplateToTeamRequest setRobotConfig(String robotConfig) {
this.robotConfig = robotConfig;
return this;
}
public String getRobotConfig() {
return this.robotConfig;
}
public BoundTemplateToTeamRequest setTemplateDesc(String templateDesc) {
this.templateDesc = templateDesc;
return this;
}
public String getTemplateDesc() {
return this.templateDesc;
}
public BoundTemplateToTeamRequest setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
public BoundTemplateToTeamRequest setTemplateName(String templateName) {
this.templateName = templateName;
return this;
}
public String getTemplateName() {
return this.templateName;
}
public BoundTemplateToTeamRequest setTemplateType(String templateType) {
this.templateType = templateType;
return this;
}
public String getTemplateType() {
return this.templateType;
}
}