| Package | Description |
|---|---|
| com.huaweicloud.sdk.roma.v2 | |
| com.huaweicloud.sdk.roma.v2.model |
| Modifier and Type | Field and Description |
|---|---|
static HttpRequestDef<ChangeApiVersionV2Request,ChangeApiVersionV2Response> |
RomaMeta.changeApiVersionV2 |
| Modifier and Type | Method and Description |
|---|---|
ChangeApiVersionV2Response |
RomaClient.changeApiVersionV2(ChangeApiVersionV2Request request)
切换API版本
API每次发布时,会基于当前的API定义生成一个版本。版本记录了API发布时的各种定义及状态。
多个版本之间可以进行随意切换。但一个API在一个环境上,只能有一个版本生效。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<ChangeApiVersionV2Response> |
RomaAsyncClient.changeApiVersionV2Async(ChangeApiVersionV2Request request)
切换API版本
API每次发布时,会基于当前的API定义生成一个版本。版本记录了API发布时的各种定义及状态。
多个版本之间可以进行随意切换。但一个API在一个环境上,只能有一个版本生效。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<ChangeApiVersionV2Request,ChangeApiVersionV2Response> |
RomaAsyncClient.changeApiVersionV2AsyncInvoker(ChangeApiVersionV2Request request)
切换API版本
API每次发布时,会基于当前的API定义生成一个版本。版本记录了API发布时的各种定义及状态。
多个版本之间可以进行随意切换。但一个API在一个环境上,只能有一个版本生效。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
SyncInvoker<ChangeApiVersionV2Request,ChangeApiVersionV2Response> |
RomaClient.changeApiVersionV2Invoker(ChangeApiVersionV2Request request)
切换API版本
API每次发布时,会基于当前的API定义生成一个版本。版本记录了API发布时的各种定义及状态。
多个版本之间可以进行随意切换。但一个API在一个环境上,只能有一个版本生效。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
ChangeApiVersionV2Response |
ChangeApiVersionV2Response.withApiId(String apiId) |
ChangeApiVersionV2Response |
ChangeApiVersionV2Response.withApiName(String apiName) |
ChangeApiVersionV2Response |
ChangeApiVersionV2Response.withEnvId(String envId) |
ChangeApiVersionV2Response |
ChangeApiVersionV2Response.withPublishId(String publishId) |
ChangeApiVersionV2Response |
ChangeApiVersionV2Response.withPublishTime(java.time.OffsetDateTime publishTime) |
ChangeApiVersionV2Response |
ChangeApiVersionV2Response.withRemark(String remark) |
ChangeApiVersionV2Response |
ChangeApiVersionV2Response.withVersionId(String versionId) |
Copyright © 2022. All rights reserved.