com.aliyun.dingtalkproject_1_0.models.CreateProjectByTemplateRequest 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.dingtalkproject_1_0.models;
import com.aliyun.tea.*;
public class CreateProjectByTemplateRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* 项目1
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*
* example:
* 578cae9dbf83e5xxxx
*/
@NameInMap("templateId")
public String templateId;
public static CreateProjectByTemplateRequest build(java.util.Map map) throws Exception {
CreateProjectByTemplateRequest self = new CreateProjectByTemplateRequest();
return TeaModel.build(map, self);
}
public CreateProjectByTemplateRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public CreateProjectByTemplateRequest setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
}