com.antgroup.antchain.openapi.twc.models.UploadBclFileRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-twc Show documentation
Show all versions of openapi-twc Show documentation
Ant Chain TWC SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.twc.models;
import com.aliyun.tea.*;
public class UploadBclFileRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 文件名称
@NameInMap("file_name")
@Validation(required = true)
public String fileName;
// 文件的Base64编码,需小于1M
@NameInMap("file_content")
@Validation(required = true)
public String fileContent;
// 文件类型
@NameInMap("file_type")
@Validation(required = true)
public String fileType;
public static UploadBclFileRequest build(java.util.Map map) throws Exception {
UploadBclFileRequest self = new UploadBclFileRequest();
return TeaModel.build(map, self);
}
public UploadBclFileRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public UploadBclFileRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public UploadBclFileRequest setFileName(String fileName) {
this.fileName = fileName;
return this;
}
public String getFileName() {
return this.fileName;
}
public UploadBclFileRequest setFileContent(String fileContent) {
this.fileContent = fileContent;
return this;
}
public String getFileContent() {
return this.fileContent;
}
public UploadBclFileRequest setFileType(String fileType) {
this.fileType = fileType;
return this;
}
public String getFileType() {
return this.fileType;
}
}