com.aliyun.sdk.service.dataphin_public20230630.models.GetAdHocFileResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-dataphin_public20230630 Show documentation
Show all versions of alibabacloud-dataphin_public20230630 Show documentation
Alibaba Cloud dataphin-public (20230630) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.dataphin_public20230630.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetAdHocFileResponseBody} extends {@link TeaModel}
*
* GetAdHocFileResponseBody
*/
public class GetAdHocFileResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private String code;
@com.aliyun.core.annotation.NameInMap("FileInfo")
private FileInfo fileInfo;
@com.aliyun.core.annotation.NameInMap("HttpStatusCode")
private Integer httpStatusCode;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private GetAdHocFileResponseBody(Builder builder) {
this.code = builder.code;
this.fileInfo = builder.fileInfo;
this.httpStatusCode = builder.httpStatusCode;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetAdHocFileResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return fileInfo
*/
public FileInfo getFileInfo() {
return this.fileInfo;
}
/**
* @return httpStatusCode
*/
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private String code;
private FileInfo fileInfo;
private Integer httpStatusCode;
private String message;
private String requestId;
private Boolean success;
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* FileInfo.
*/
public Builder fileInfo(FileInfo fileInfo) {
this.fileInfo = fileInfo;
return this;
}
/**
* HttpStatusCode.
*/
public Builder httpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetAdHocFileResponseBody build() {
return new GetAdHocFileResponseBody(this);
}
}
/**
*
* {@link GetAdHocFileResponseBody} extends {@link TeaModel}
*
* GetAdHocFileResponseBody
*/
public static class FileInfo extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Content")
private String content;
@com.aliyun.core.annotation.NameInMap("Creator")
private String creator;
@com.aliyun.core.annotation.NameInMap("Directory")
private String directory;
@com.aliyun.core.annotation.NameInMap("Id")
private Long id;
@com.aliyun.core.annotation.NameInMap("LastModifier")
private String lastModifier;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("ProjectId")
private Long projectId;
private FileInfo(Builder builder) {
this.content = builder.content;
this.creator = builder.creator;
this.directory = builder.directory;
this.id = builder.id;
this.lastModifier = builder.lastModifier;
this.name = builder.name;
this.projectId = builder.projectId;
}
public static Builder builder() {
return new Builder();
}
public static FileInfo create() {
return builder().build();
}
/**
* @return content
*/
public String getContent() {
return this.content;
}
/**
* @return creator
*/
public String getCreator() {
return this.creator;
}
/**
* @return directory
*/
public String getDirectory() {
return this.directory;
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return lastModifier
*/
public String getLastModifier() {
return this.lastModifier;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return projectId
*/
public Long getProjectId() {
return this.projectId;
}
public static final class Builder {
private String content;
private String creator;
private String directory;
private Long id;
private String lastModifier;
private String name;
private Long projectId;
/**
* Content.
*/
public Builder content(String content) {
this.content = content;
return this;
}
/**
* Creator.
*/
public Builder creator(String creator) {
this.creator = creator;
return this;
}
/**
* Directory.
*/
public Builder directory(String directory) {
this.directory = directory;
return this;
}
/**
* Id.
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* LastModifier.
*/
public Builder lastModifier(String lastModifier) {
this.lastModifier = lastModifier;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* ProjectId.
*/
public Builder projectId(Long projectId) {
this.projectId = projectId;
return this;
}
public FileInfo build() {
return new FileInfo(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy