com.antgroup.antchain.openapi.demo.models.UploadCjtestSourceFileRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-demo Show documentation
Show all versions of openapi-demo Show documentation
Ant Chain DEMO SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.demo.models;
import com.aliyun.tea.*;
public class UploadCjtestSourceFileRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// file
/**
* 待上传文件
*/
@NameInMap("fileObject")
public java.io.InputStream fileObject;
/**
* 待上传文件名
*/
@NameInMap("fileObjectName")
public String fileObjectName;
@NameInMap("file_id")
@Validation(required = true)
public String fileId;
public static UploadCjtestSourceFileRequest build(java.util.Map map) throws Exception {
UploadCjtestSourceFileRequest self = new UploadCjtestSourceFileRequest();
return TeaModel.build(map, self);
}
public UploadCjtestSourceFileRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public UploadCjtestSourceFileRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public UploadCjtestSourceFileRequest setFileObject(java.io.InputStream fileObject) {
this.fileObject = fileObject;
return this;
}
public java.io.InputStream getFileObject() {
return this.fileObject;
}
public UploadCjtestSourceFileRequest setFileObjectName(String fileObjectName) {
this.fileObjectName = fileObjectName;
return this;
}
public String getFileObjectName() {
return this.fileObjectName;
}
public UploadCjtestSourceFileRequest setFileId(String fileId) {
this.fileId = fileId;
return this;
}
public String getFileId() {
return this.fileId;
}
}