cn.com.antcloud.api.ato.v1_0.request.SaveInnerTemplateRequest Maven / Gradle / Ivy
//
// Copyright (c) 2020-present antgroup.com, https://www.antgroup.com
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
//
package cn.com.antcloud.api.ato.v1_0.request;
import cn.com.antcloud.api.ato.v1_0.response.SaveInnerTemplateResponse;
import cn.com.antcloud.api.product.AntCloudProdRequest;
import java.lang.Boolean;
import java.lang.String;
import javax.validation.constraints.NotNull;
/**
* 内部接口,保存魔法库模板 */
public class SaveInnerTemplateRequest extends AntCloudProdRequest {
@NotNull
private String tenantId;
@NotNull
private String templateCode;
@NotNull
private String templateVersion;
@NotNull
private String previewAddress;
private String templateElementList;
@NotNull
private String fileKey;
@NotNull
private Boolean confirm;
public SaveInnerTemplateRequest(String productInstanceId) {
super("antchain.ato.inner.template.save", "1.0", "Java-SDK-20240808", productInstanceId);
}
public SaveInnerTemplateRequest() {
super("antchain.ato.inner.template.save", "1.0", null);
this.setSdkVersion("Java-SDK-20240808");
}
/**
* 商户对应租户ID */
public String getTenantId() {
return this.tenantId;
}
/**
* 商户对应租户ID */
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
/**
* 魔法库模板code */
public String getTemplateCode() {
return this.templateCode;
}
/**
* 魔法库模板code */
public void setTemplateCode(String templateCode) {
this.templateCode = templateCode;
}
/**
* 魔法库模板版本 */
public String getTemplateVersion() {
return this.templateVersion;
}
/**
* 魔法库模板版本 */
public void setTemplateVersion(String templateVersion) {
this.templateVersion = templateVersion;
}
/**
* 文件预览地址 */
public String getPreviewAddress() {
return this.previewAddress;
}
/**
* 文件预览地址 */
public void setPreviewAddress(String previewAddress) {
this.previewAddress = previewAddress;
}
/**
* 创建模板的元素列表 */
public String getTemplateElementList() {
return this.templateElementList;
}
/**
* 创建模板的元素列表 */
public void setTemplateElementList(String templateElementList) {
this.templateElementList = templateElementList;
}
/**
* 文件oss存储的key */
public String getFileKey() {
return this.fileKey;
}
/**
* 文件oss存储的key */
public void setFileKey(String fileKey) {
this.fileKey = fileKey;
}
/**
* 是否确认保存。点击”保存“按钮传false、点击”下一步“按钮传true */
public Boolean getConfirm() {
return this.confirm;
}
/**
* 是否确认保存。点击”保存“按钮传false、点击”下一步“按钮传true */
public void setConfirm(Boolean confirm) {
this.confirm = confirm;
}
}