com.aliyun.dingtalkcard_1_0.models.CreateTemplateRequest 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.dingtalkcard_1_0.models;
import com.aliyun.tea.*;
public class CreateTemplateRequest extends TeaModel {
@NameInMap("appId")
public String appId;
@NameInMap("creatorId")
public String creatorId;
/**
* This parameter is required.
*/
@NameInMap("extendType")
public String extendType;
/**
* This parameter is required.
*/
@NameInMap("name")
public String name;
/**
* This parameter is required.
*/
@NameInMap("type")
public String type;
public static CreateTemplateRequest build(java.util.Map map) throws Exception {
CreateTemplateRequest self = new CreateTemplateRequest();
return TeaModel.build(map, self);
}
public CreateTemplateRequest setAppId(String appId) {
this.appId = appId;
return this;
}
public String getAppId() {
return this.appId;
}
public CreateTemplateRequest setCreatorId(String creatorId) {
this.creatorId = creatorId;
return this;
}
public String getCreatorId() {
return this.creatorId;
}
public CreateTemplateRequest setExtendType(String extendType) {
this.extendType = extendType;
return this;
}
public String getExtendType() {
return this.extendType;
}
public CreateTemplateRequest setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public CreateTemplateRequest setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}