com.antgroup.antchain.openapi.baasdt.models.UploadConsumecardFileRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-baasdt Show documentation
Show all versions of openapi-baasdt Show documentation
Ant Chain BAASDT SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.baasdt.models;
import com.aliyun.tea.*;
public class UploadConsumecardFileRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 链ID
@NameInMap("chain_id")
@Validation(required = true)
public String chainId;
// 场景码(入驻时申请)
@NameInMap("product_code")
@Validation(required = true)
public String productCode;
// file_id
// 待上传文件
@NameInMap("fileObject")
public java.io.InputStream fileObject;
// 待上传文件名
@NameInMap("fileObjectName")
public String fileObjectName;
@NameInMap("file_id")
@Validation(required = true)
public String fileId;
public static UploadConsumecardFileRequest build(java.util.Map map) throws Exception {
UploadConsumecardFileRequest self = new UploadConsumecardFileRequest();
return TeaModel.build(map, self);
}
public UploadConsumecardFileRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public UploadConsumecardFileRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public UploadConsumecardFileRequest setChainId(String chainId) {
this.chainId = chainId;
return this;
}
public String getChainId() {
return this.chainId;
}
public UploadConsumecardFileRequest setProductCode(String productCode) {
this.productCode = productCode;
return this;
}
public String getProductCode() {
return this.productCode;
}
public UploadConsumecardFileRequest setFileObject(java.io.InputStream fileObject) {
this.fileObject = fileObject;
return this;
}
public java.io.InputStream getFileObject() {
return this.fileObject;
}
public UploadConsumecardFileRequest setFileObjectName(String fileObjectName) {
this.fileObjectName = fileObjectName;
return this;
}
public String getFileObjectName() {
return this.fileObjectName;
}
public UploadConsumecardFileRequest setFileId(String fileId) {
this.fileId = fileId;
return this;
}
public String getFileId() {
return this.fileId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy