| Package | Description |
|---|---|
| com.huaweicloud.sdk.codehub.v3 | |
| com.huaweicloud.sdk.codehub.v3.model |
| Modifier and Type | Field and Description |
|---|---|
static HttpRequestDef<ShowFileRequest,ShowFileResponse> |
CodeHubMeta.showFile |
| Modifier and Type | Method and Description |
|---|---|
ShowFileResponse |
CodeHubClient.showFile(ShowFileRequest request)
查询某个仓库的文件信息
获取仓库中文件的信息,如名称、大小、内容。请注意,文件内容是Base64编码的。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<ShowFileResponse> |
CodeHubAsyncClient.showFileAsync(ShowFileRequest request)
查询某个仓库的文件信息
获取仓库中文件的信息,如名称、大小、内容。请注意,文件内容是Base64编码的。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<ShowFileRequest,ShowFileResponse> |
CodeHubAsyncClient.showFileAsyncInvoker(ShowFileRequest request)
查询某个仓库的文件信息
获取仓库中文件的信息,如名称、大小、内容。请注意,文件内容是Base64编码的。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
SyncInvoker<ShowFileRequest,ShowFileResponse> |
CodeHubClient.showFileInvoker(ShowFileRequest request)
查询某个仓库的文件信息
获取仓库中文件的信息,如名称、大小、内容。请注意,文件内容是Base64编码的。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
ShowFileResponse |
ShowFileResponse.addResultItem(FileContentInfo resultItem) |
ShowFileResponse |
ShowFileResponse.withError(java.util.function.Consumer<Error> errorSetter) |
ShowFileResponse |
ShowFileResponse.withError(Error error) |
ShowFileResponse |
ShowFileResponse.withResult(java.util.function.Consumer<List<FileContentInfo>> resultSetter) |
ShowFileResponse |
ShowFileResponse.withResult(List<FileContentInfo> result) |
ShowFileResponse |
ShowFileResponse.withStatus(String status) |
Copyright © 2022. All rights reserved.