diff --git a/LICENSE b/LICENSE
old mode 100755
new mode 100644
diff --git a/Makefile b/Makefile
index 8b7be83c..fe25a258 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,11 @@ build:
.PHONY: fmt
fmt:
- java -jar ./cache/google-java-format-1.7-all-deps.jar --aosp -r ${JAVA_FILES}
+ google-java-format --aosp -r ${JAVA_FILES}
+
+.PHONY: lint
+lint:
+ echo "skipped"
.PHONY: test-cov
test-cov:
diff --git a/README.md b/README.md
old mode 100755
new mode 100644
diff --git a/pom.xml b/pom.xml
old mode 100755
new mode 100644
index 31faed00..499b04a6
--- a/pom.xml
+++ b/pom.xml
@@ -11,58 +11,68 @@
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.cube.client; + +import cn.ucloud.common.client.DefaultClient; +import cn.ucloud.common.config.Config; +import cn.ucloud.common.credential.Credential; +import cn.ucloud.common.exception.UCloudException; +import cn.ucloud.cube.models.CreateCubeDeploymentRequest; +import cn.ucloud.cube.models.CreateCubeDeploymentResponse; +import cn.ucloud.cube.models.CreateCubePodRequest; +import cn.ucloud.cube.models.CreateCubePodResponse; +import cn.ucloud.cube.models.DeleteCubeDeploymentRequest; +import cn.ucloud.cube.models.DeleteCubeDeploymentResponse; +import cn.ucloud.cube.models.DeleteCubePodRequest; +import cn.ucloud.cube.models.DeleteCubePodResponse; +import cn.ucloud.cube.models.GetCubeDeploymentRequest; +import cn.ucloud.cube.models.GetCubeDeploymentResponse; +import cn.ucloud.cube.models.GetCubeExecTokenRequest; +import cn.ucloud.cube.models.GetCubeExecTokenResponse; +import cn.ucloud.cube.models.GetCubeExtendInfoRequest; +import cn.ucloud.cube.models.GetCubeExtendInfoResponse; +import cn.ucloud.cube.models.GetCubeMetricsRequest; +import cn.ucloud.cube.models.GetCubeMetricsResponse; +import cn.ucloud.cube.models.GetCubePodRequest; +import cn.ucloud.cube.models.GetCubePodResponse; +import cn.ucloud.cube.models.GetCubePriceRequest; +import cn.ucloud.cube.models.GetCubePriceResponse; +import cn.ucloud.cube.models.GetCubeTokenRequest; +import cn.ucloud.cube.models.GetCubeTokenResponse; +import cn.ucloud.cube.models.ListCubeDeploymentRequest; +import cn.ucloud.cube.models.ListCubeDeploymentResponse; +import cn.ucloud.cube.models.ListCubePodRequest; +import cn.ucloud.cube.models.ListCubePodResponse; +import cn.ucloud.cube.models.ModifyCubeExtendInfoRequest; +import cn.ucloud.cube.models.ModifyCubeExtendInfoResponse; +import cn.ucloud.cube.models.ModifyCubeTagRequest; +import cn.ucloud.cube.models.ModifyCubeTagResponse; +import cn.ucloud.cube.models.RebootCubePodRequest; +import cn.ucloud.cube.models.RebootCubePodResponse; +import cn.ucloud.cube.models.RenewCubePodRequest; +import cn.ucloud.cube.models.RenewCubePodResponse; +import cn.ucloud.cube.models.UpdateCubeDeploymentRequest; +import cn.ucloud.cube.models.UpdateCubeDeploymentResponse; + +/** This client is used to call actions of **Cube** service */ +public class CubeClient extends DefaultClient implements CubeClientInterface { + public CubeClient(Config config, Credential credential) { + super(config, credential); + } + + /** + * CreateCubeDeployment - 创建Cube的Deployment + * + * @param request Request object + * @throws UCloudException Exception + */ + public CreateCubeDeploymentResponse createCubeDeployment(CreateCubeDeploymentRequest request) + throws UCloudException { + request.setAction("CreateCubeDeployment"); + return (CreateCubeDeploymentResponse) + this.invoke(request, CreateCubeDeploymentResponse.class); + } + + /** + * CreateCubePod - 创建Pod + * + * @param request Request object + * @throws UCloudException Exception + */ + public CreateCubePodResponse createCubePod(CreateCubePodRequest request) + throws UCloudException { + request.setAction("CreateCubePod"); + return (CreateCubePodResponse) this.invoke(request, CreateCubePodResponse.class); + } + + /** + * DeleteCubeDeployment - 删除Cube的Deployment + * + * @param request Request object + * @throws UCloudException Exception + */ + public DeleteCubeDeploymentResponse deleteCubeDeployment(DeleteCubeDeploymentRequest request) + throws UCloudException { + request.setAction("DeleteCubeDeployment"); + return (DeleteCubeDeploymentResponse) + this.invoke(request, DeleteCubeDeploymentResponse.class); + } + + /** + * DeleteCubePod - 删除Pod + * + * @param request Request object + * @throws UCloudException Exception + */ + public DeleteCubePodResponse deleteCubePod(DeleteCubePodRequest request) + throws UCloudException { + request.setAction("DeleteCubePod"); + return (DeleteCubePodResponse) this.invoke(request, DeleteCubePodResponse.class); + } + + /** + * GetCubeDeployment - 获取Deployment的详细信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCubeDeploymentResponse getCubeDeployment(GetCubeDeploymentRequest request) + throws UCloudException { + request.setAction("GetCubeDeployment"); + return (GetCubeDeploymentResponse) this.invoke(request, GetCubeDeploymentResponse.class); + } + + /** + * GetCubeExecToken - 获取登录容器的token + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCubeExecTokenResponse getCubeExecToken(GetCubeExecTokenRequest request) + throws UCloudException { + request.setAction("GetCubeExecToken"); + return (GetCubeExecTokenResponse) this.invoke(request, GetCubeExecTokenResponse.class); + } + + /** + * GetCubeExtendInfo - 获取Cube的额外信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCubeExtendInfoResponse getCubeExtendInfo(GetCubeExtendInfoRequest request) + throws UCloudException { + request.setAction("GetCubeExtendInfo"); + return (GetCubeExtendInfoResponse) this.invoke(request, GetCubeExtendInfoResponse.class); + } + + /** + * GetCubeMetrics - 获取Cube实例监控数据 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCubeMetricsResponse getCubeMetrics(GetCubeMetricsRequest request) + throws UCloudException { + request.setAction("GetCubeMetrics"); + return (GetCubeMetricsResponse) this.invoke(request, GetCubeMetricsResponse.class); + } + + /** + * GetCubePod - 获取Pod的详细信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCubePodResponse getCubePod(GetCubePodRequest request) throws UCloudException { + request.setAction("GetCubePod"); + return (GetCubePodResponse) this.invoke(request, GetCubePodResponse.class); + } + + /** + * GetCubePrice - 获取cube的价格 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCubePriceResponse getCubePrice(GetCubePriceRequest request) throws UCloudException { + request.setAction("GetCubePrice"); + return (GetCubePriceResponse) this.invoke(request, GetCubePriceResponse.class); + } + + /** + * GetCubeToken - 获取Cube的token + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCubeTokenResponse getCubeToken(GetCubeTokenRequest request) throws UCloudException { + request.setAction("GetCubeToken"); + return (GetCubeTokenResponse) this.invoke(request, GetCubeTokenResponse.class); + } + + /** + * ListCubeDeployment - 获取Cube的Deployment列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListCubeDeploymentResponse listCubeDeployment(ListCubeDeploymentRequest request) + throws UCloudException { + request.setAction("ListCubeDeployment"); + return (ListCubeDeploymentResponse) this.invoke(request, ListCubeDeploymentResponse.class); + } + + /** + * ListCubePod - 获取Pods列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListCubePodResponse listCubePod(ListCubePodRequest request) throws UCloudException { + request.setAction("ListCubePod"); + return (ListCubePodResponse) this.invoke(request, ListCubePodResponse.class); + } + + /** + * ModifyCubeExtendInfo - 修改Cube额外信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ModifyCubeExtendInfoResponse modifyCubeExtendInfo(ModifyCubeExtendInfoRequest request) + throws UCloudException { + request.setAction("ModifyCubeExtendInfo"); + return (ModifyCubeExtendInfoResponse) + this.invoke(request, ModifyCubeExtendInfoResponse.class); + } + + /** + * ModifyCubeTag - 修改业务组 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ModifyCubeTagResponse modifyCubeTag(ModifyCubeTagRequest request) + throws UCloudException { + request.setAction("ModifyCubeTag"); + return (ModifyCubeTagResponse) this.invoke(request, ModifyCubeTagResponse.class); + } + + /** + * RebootCubePod - 重启Cube Pod + * + * @param request Request object + * @throws UCloudException Exception + */ + public RebootCubePodResponse rebootCubePod(RebootCubePodRequest request) + throws UCloudException { + request.setAction("RebootCubePod"); + return (RebootCubePodResponse) this.invoke(request, RebootCubePodResponse.class); + } + + /** + * RenewCubePod - 更新Pod + * + * @param request Request object + * @throws UCloudException Exception + */ + public RenewCubePodResponse renewCubePod(RenewCubePodRequest request) throws UCloudException { + request.setAction("RenewCubePod"); + return (RenewCubePodResponse) this.invoke(request, RenewCubePodResponse.class); + } + + /** + * UpdateCubeDeployment - 更新Deployment + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpdateCubeDeploymentResponse updateCubeDeployment(UpdateCubeDeploymentRequest request) + throws UCloudException { + request.setAction("UpdateCubeDeployment"); + return (UpdateCubeDeploymentResponse) + this.invoke(request, UpdateCubeDeploymentResponse.class); + } +} diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/client/CubeClientInterface.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/client/CubeClientInterface.java new file mode 100644 index 00000000..45fa2647 --- /dev/null +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/client/CubeClientInterface.java @@ -0,0 +1,210 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.cube.client; + +import cn.ucloud.common.client.Client; +import cn.ucloud.common.exception.UCloudException; +import cn.ucloud.cube.models.CreateCubeDeploymentRequest; +import cn.ucloud.cube.models.CreateCubeDeploymentResponse; +import cn.ucloud.cube.models.CreateCubePodRequest; +import cn.ucloud.cube.models.CreateCubePodResponse; +import cn.ucloud.cube.models.DeleteCubeDeploymentRequest; +import cn.ucloud.cube.models.DeleteCubeDeploymentResponse; +import cn.ucloud.cube.models.DeleteCubePodRequest; +import cn.ucloud.cube.models.DeleteCubePodResponse; +import cn.ucloud.cube.models.GetCubeDeploymentRequest; +import cn.ucloud.cube.models.GetCubeDeploymentResponse; +import cn.ucloud.cube.models.GetCubeExecTokenRequest; +import cn.ucloud.cube.models.GetCubeExecTokenResponse; +import cn.ucloud.cube.models.GetCubeExtendInfoRequest; +import cn.ucloud.cube.models.GetCubeExtendInfoResponse; +import cn.ucloud.cube.models.GetCubeMetricsRequest; +import cn.ucloud.cube.models.GetCubeMetricsResponse; +import cn.ucloud.cube.models.GetCubePodRequest; +import cn.ucloud.cube.models.GetCubePodResponse; +import cn.ucloud.cube.models.GetCubePriceRequest; +import cn.ucloud.cube.models.GetCubePriceResponse; +import cn.ucloud.cube.models.GetCubeTokenRequest; +import cn.ucloud.cube.models.GetCubeTokenResponse; +import cn.ucloud.cube.models.ListCubeDeploymentRequest; +import cn.ucloud.cube.models.ListCubeDeploymentResponse; +import cn.ucloud.cube.models.ListCubePodRequest; +import cn.ucloud.cube.models.ListCubePodResponse; +import cn.ucloud.cube.models.ModifyCubeExtendInfoRequest; +import cn.ucloud.cube.models.ModifyCubeExtendInfoResponse; +import cn.ucloud.cube.models.ModifyCubeTagRequest; +import cn.ucloud.cube.models.ModifyCubeTagResponse; +import cn.ucloud.cube.models.RebootCubePodRequest; +import cn.ucloud.cube.models.RebootCubePodResponse; +import cn.ucloud.cube.models.RenewCubePodRequest; +import cn.ucloud.cube.models.RenewCubePodResponse; +import cn.ucloud.cube.models.UpdateCubeDeploymentRequest; +import cn.ucloud.cube.models.UpdateCubeDeploymentResponse; + +/** This client is used to call actions of **Cube** service */ +public interface CubeClientInterface extends Client { + + /** + * CreateCubeDeployment - 创建Cube的Deployment + * + * @param request Request object + * @throws UCloudException Exception + */ + public CreateCubeDeploymentResponse createCubeDeployment(CreateCubeDeploymentRequest request) + throws UCloudException; + + /** + * CreateCubePod - 创建Pod + * + * @param request Request object + * @throws UCloudException Exception + */ + public CreateCubePodResponse createCubePod(CreateCubePodRequest request) throws UCloudException; + + /** + * DeleteCubeDeployment - 删除Cube的Deployment + * + * @param request Request object + * @throws UCloudException Exception + */ + public DeleteCubeDeploymentResponse deleteCubeDeployment(DeleteCubeDeploymentRequest request) + throws UCloudException; + + /** + * DeleteCubePod - 删除Pod + * + * @param request Request object + * @throws UCloudException Exception + */ + public DeleteCubePodResponse deleteCubePod(DeleteCubePodRequest request) throws UCloudException; + + /** + * GetCubeDeployment - 获取Deployment的详细信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCubeDeploymentResponse getCubeDeployment(GetCubeDeploymentRequest request) + throws UCloudException; + + /** + * GetCubeExecToken - 获取登录容器的token + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCubeExecTokenResponse getCubeExecToken(GetCubeExecTokenRequest request) + throws UCloudException; + + /** + * GetCubeExtendInfo - 获取Cube的额外信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCubeExtendInfoResponse getCubeExtendInfo(GetCubeExtendInfoRequest request) + throws UCloudException; + + /** + * GetCubeMetrics - 获取Cube实例监控数据 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCubeMetricsResponse getCubeMetrics(GetCubeMetricsRequest request) + throws UCloudException; + + /** + * GetCubePod - 获取Pod的详细信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCubePodResponse getCubePod(GetCubePodRequest request) throws UCloudException; + + /** + * GetCubePrice - 获取cube的价格 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCubePriceResponse getCubePrice(GetCubePriceRequest request) throws UCloudException; + + /** + * GetCubeToken - 获取Cube的token + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCubeTokenResponse getCubeToken(GetCubeTokenRequest request) throws UCloudException; + + /** + * ListCubeDeployment - 获取Cube的Deployment列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListCubeDeploymentResponse listCubeDeployment(ListCubeDeploymentRequest request) + throws UCloudException; + + /** + * ListCubePod - 获取Pods列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListCubePodResponse listCubePod(ListCubePodRequest request) throws UCloudException; + + /** + * ModifyCubeExtendInfo - 修改Cube额外信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ModifyCubeExtendInfoResponse modifyCubeExtendInfo(ModifyCubeExtendInfoRequest request) + throws UCloudException; + + /** + * ModifyCubeTag - 修改业务组 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ModifyCubeTagResponse modifyCubeTag(ModifyCubeTagRequest request) throws UCloudException; + + /** + * RebootCubePod - 重启Cube Pod + * + * @param request Request object + * @throws UCloudException Exception + */ + public RebootCubePodResponse rebootCubePod(RebootCubePodRequest request) throws UCloudException; + + /** + * RenewCubePod - 更新Pod + * + * @param request Request object + * @throws UCloudException Exception + */ + public RenewCubePodResponse renewCubePod(RenewCubePodRequest request) throws UCloudException; + + /** + * UpdateCubeDeployment - 更新Deployment + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpdateCubeDeploymentResponse updateCubeDeployment(UpdateCubeDeploymentRequest request) + throws UCloudException; +} diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/CreateCubeDeploymentRequest.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/CreateCubeDeploymentRequest.java new file mode 100644 index 00000000..6936a2ab --- /dev/null +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/CreateCubeDeploymentRequest.java @@ -0,0 +1,173 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.cube.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class CreateCubeDeploymentRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** VPCId */ + @NotEmpty + @UCloudParam("VPCId") + private String vpcId; + + /** 子网Id */ + @NotEmpty + @UCloudParam("SubnetId") + private String subnetId; + + /** base64编码的Deployment的yaml。大小不超过16KB */ + @NotEmpty + @UCloudParam("Deployment") + private String deployment; + + /** Deployment名称 */ + @UCloudParam("Name") + private String name; + + /** 计费模式。枚举值为: \\ > Year,按年付费; \\ > Month,按月付费;\\ > Postpay, \\ 后付费;默认为后付费 */ + @UCloudParam("ChargeType") + private String chargeType; + + /** Cpu平台(V6:Intel、A2:AMD),默认V6。支持的地域(北京2B、北京2E、上海2A、广东、香港 、东京)目前北京2E仅有A2,其余地域仅有V6 */ + @UCloudParam("CpuPlatform") + private String cpuPlatform; + + /** base64编码的kubeconfig。大小不超过16KB */ + @UCloudParam("KubeConfig") + private String kubeConfig; + + /** 购买时长。默认:值 1。 月付时,此参数传0,代表购买至月末。 */ + @UCloudParam("Quantity") + private Integer quantity; + + /** 业务组。默认:Default(Default即为未分组) */ + @UCloudParam("Tag") + private String tag; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getVPCId() { + return vpcId; + } + + public void setVPCId(String vpcId) { + this.vpcId = vpcId; + } + + public String getSubnetId() { + return subnetId; + } + + public void setSubnetId(String subnetId) { + this.subnetId = subnetId; + } + + public String getDeployment() { + return deployment; + } + + public void setDeployment(String deployment) { + this.deployment = deployment; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getChargeType() { + return chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public String getCpuPlatform() { + return cpuPlatform; + } + + public void setCpuPlatform(String cpuPlatform) { + this.cpuPlatform = cpuPlatform; + } + + public String getKubeConfig() { + return kubeConfig; + } + + public void setKubeConfig(String kubeConfig) { + this.kubeConfig = kubeConfig; + } + + public Integer getQuantity() { + return quantity; + } + + public void setQuantity(Integer quantity) { + this.quantity = quantity; + } + + public String getTag() { + return tag; + } + + public void setTag(String tag) { + this.tag = tag; + } +} diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/CreateCubeDeploymentResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/CreateCubeDeploymentResponse.java new file mode 100644 index 00000000..57b7c701 --- /dev/null +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/CreateCubeDeploymentResponse.java @@ -0,0 +1,44 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.cube.models; + +import cn.ucloud.common.response.Response; +import com.google.gson.annotations.SerializedName; + +public class CreateCubeDeploymentResponse extends Response { + + /** 控制器ID */ + @SerializedName("DeploymentId") + private String deploymentId; + + /** 经过base64编码的Deployment的yaml */ + @SerializedName("Deployment") + private String deployment; + + public String getDeploymentId() { + return deploymentId; + } + + public void setDeploymentId(String deploymentId) { + this.deploymentId = deploymentId; + } + + public String getDeployment() { + return deployment; + } + + public void setDeployment(String deployment) { + this.deployment = deployment; + } +} diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/CreateCubePodRequest.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/CreateCubePodRequest.java new file mode 100644 index 00000000..d3df421c --- /dev/null +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/CreateCubePodRequest.java @@ -0,0 +1,197 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.cube.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class CreateCubePodRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** VPCId */ + @NotEmpty + @UCloudParam("VPCId") + private String vpcId; + + /** 子网Id */ + @NotEmpty + @UCloudParam("SubnetId") + private String subnetId; + + /** base64编码的Pod的yaml。大小不超过16KB */ + @NotEmpty + @UCloudParam("Pod") + private String pod; + + /** pod所在组 */ + @UCloudParam("Group") + private String group; + + /** pod的名字 */ + @UCloudParam("Name") + private String name; + + /** 业务组。默认:Default(Default即为未分组) */ + @UCloudParam("Tag") + private String tag; + + /** Cpu平台(V6:Intel、A2:AMD、Auto),默认Auto。支持的地域(北京2B、北京2E、上海2A、广东、香港 、东京)目前北京2E仅有A2,其余地域仅有V6 */ + @UCloudParam("CpuPlatform") + private String cpuPlatform; + + /** 计费模式。枚举值为: \\ > Year,按年付费; \\ > Month,按月付费;\\ > Postpay, \\ 后付费;默认为后付费 */ + @UCloudParam("ChargeType") + private String chargeType; + + /** 购买时长。默认:值 1。 月付时,此参数传0,代表购买至月末。 */ + @UCloudParam("Quantity") + private Integer quantity; + + /** base64编码的kubeconfig。大小不超过16KB */ + @UCloudParam("KubeConfig") + private String kubeConfig; + + /** 代金券ID。请通过DescribeCoupon接口查询,或登录用户中心查看 */ + @UCloudParam("CouponId") + private String couponId; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getVPCId() { + return vpcId; + } + + public void setVPCId(String vpcId) { + this.vpcId = vpcId; + } + + public String getSubnetId() { + return subnetId; + } + + public void setSubnetId(String subnetId) { + this.subnetId = subnetId; + } + + public String getPod() { + return pod; + } + + public void setPod(String pod) { + this.pod = pod; + } + + public String getGroup() { + return group; + } + + public void setGroup(String group) { + this.group = group; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getTag() { + return tag; + } + + public void setTag(String tag) { + this.tag = tag; + } + + public String getCpuPlatform() { + return cpuPlatform; + } + + public void setCpuPlatform(String cpuPlatform) { + this.cpuPlatform = cpuPlatform; + } + + public String getChargeType() { + return chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public Integer getQuantity() { + return quantity; + } + + public void setQuantity(Integer quantity) { + this.quantity = quantity; + } + + public String getKubeConfig() { + return kubeConfig; + } + + public void setKubeConfig(String kubeConfig) { + this.kubeConfig = kubeConfig; + } + + public String getCouponId() { + return couponId; + } + + public void setCouponId(String couponId) { + this.couponId = couponId; + } +} diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/CreateCubePodResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/CreateCubePodResponse.java new file mode 100644 index 00000000..03482def --- /dev/null +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/CreateCubePodResponse.java @@ -0,0 +1,44 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.cube.models; + +import cn.ucloud.common.response.Response; +import com.google.gson.annotations.SerializedName; + +public class CreateCubePodResponse extends Response { + + /** base64编码的yaml */ + @SerializedName("Pod") + private String pod; + + /** cube的资源Id */ + @SerializedName("CubeId") + private String cubeId; + + public String getPod() { + return pod; + } + + public void setPod(String pod) { + this.pod = pod; + } + + public String getCubeId() { + return cubeId; + } + + public void setCubeId(String cubeId) { + this.cubeId = cubeId; + } +} diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/DeleteCubeDeploymentRequest.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/DeleteCubeDeploymentRequest.java new file mode 100644 index 00000000..df339c19 --- /dev/null +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/DeleteCubeDeploymentRequest.java @@ -0,0 +1,74 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.cube.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class DeleteCubeDeploymentRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** 控制器Id */ + @NotEmpty + @UCloudParam("DeploymentId") + private String deploymentId; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getDeploymentId() { + return deploymentId; + } + + public void setDeploymentId(String deploymentId) { + this.deploymentId = deploymentId; + } +} diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/DeleteCubeDeploymentResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/DeleteCubeDeploymentResponse.java new file mode 100644 index 00000000..e3751a0f --- /dev/null +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/DeleteCubeDeploymentResponse.java @@ -0,0 +1,18 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.cube.models; + +import cn.ucloud.common.response.Response; + +public class DeleteCubeDeploymentResponse extends Response {} diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/DeleteCubePodRequest.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/DeleteCubePodRequest.java new file mode 100644 index 00000000..e9973ada --- /dev/null +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/DeleteCubePodRequest.java @@ -0,0 +1,95 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.cube.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class DeleteCubePodRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](../summary/regionlist.html) */ + @UCloudParam("Zone") + private String zone; + + /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */ + @NotEmpty + @UCloudParam("ProjectId") + private String projectId; + + /** cubeid和uid任意一个(必须) */ + @UCloudParam("Uid") + private String uid; + + /** cubeid和uid任意一个(必须) */ + @UCloudParam("CubeId") + private String cubeId; + + /** 删除cube时是否释放绑定的EIP。默认为false。 */ + @UCloudParam("ReleaseEIP") + private Boolean releaseEIP; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } + + public String getCubeId() { + return cubeId; + } + + public void setCubeId(String cubeId) { + this.cubeId = cubeId; + } + + public Boolean getReleaseEIP() { + return releaseEIP; + } + + public void setReleaseEIP(Boolean releaseEIP) { + this.releaseEIP = releaseEIP; + } +} diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/DeleteCubePodResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/DeleteCubePodResponse.java new file mode 100644 index 00000000..e71ac7d4 --- /dev/null +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/DeleteCubePodResponse.java @@ -0,0 +1,18 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.cube.models; + +import cn.ucloud.common.response.Response; + +public class DeleteCubePodResponse extends Response {} diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeDeploymentRequest.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeDeploymentRequest.java new file mode 100644 index 00000000..87021335 --- /dev/null +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeDeploymentRequest.java @@ -0,0 +1,74 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.cube.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class GetCubeDeploymentRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @UCloudParam("ProjectId") + private String projectId; + + /** Deployment的Id */ + @NotEmpty + @UCloudParam("DeploymentId") + private String deploymentId; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getDeploymentId() { + return deploymentId; + } + + public void setDeploymentId(String deploymentId) { + this.deploymentId = deploymentId; + } +} diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeDeploymentResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeDeploymentResponse.java new file mode 100644 index 00000000..22e54672 --- /dev/null +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeDeploymentResponse.java @@ -0,0 +1,32 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.cube.models; + +import cn.ucloud.common.response.Response; +import com.google.gson.annotations.SerializedName; + +public class GetCubeDeploymentResponse extends Response { + + /** 经过base64编码的Deployment的yaml */ + @SerializedName("Deployment") + private String deployment; + + public String getDeployment() { + return deployment; + } + + public void setDeployment(String deployment) { + this.deployment = deployment; + } +} diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeExecTokenRequest.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeExecTokenRequest.java new file mode 100644 index 00000000..40fb9de6 --- /dev/null +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeExecTokenRequest.java @@ -0,0 +1,102 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.cube.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class GetCubeExecTokenRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + @UCloudParam("Zone") + private String zone; + + /** + * 项目ID。不填写为默认项目,子帐号必须填写。 + * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + */ + @NotEmpty + @UCloudParam("ProjectId") + private String projectId; + + /** 容器名称 */ + @NotEmpty + @UCloudParam("ContainerName") + private String containerName; + + /** + * CubeId 和 Uid 中必须填写任意一个。 CubeId 是所有 Cube 资源的唯一 ID,如非在 UK8S 通过 Virtual Kubelet 插件创建的 Cube, 则必填 + * CubeId + */ + @UCloudParam("CubeId") + private String cubeId; + + /** CubeId 和 Uid 中必须填写任意一个。 Uid 是在 UK8S 中通过 Virtual Kubelet 插件创建出的 Cube 的唯一标识 */ + @UCloudParam("Uid") + private String uid; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getContainerName() { + return containerName; + } + + public void setContainerName(String containerName) { + this.containerName = containerName; + } + + public String getCubeId() { + return cubeId; + } + + public void setCubeId(String cubeId) { + this.cubeId = cubeId; + } + + public String getUid() { + return uid; + } + + public void setUid(String uid) { + this.uid = uid; + } +} diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeExecTokenResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeExecTokenResponse.java new file mode 100644 index 00000000..6a6cd3d4 --- /dev/null +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeExecTokenResponse.java @@ -0,0 +1,44 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.cube.models; + +import cn.ucloud.common.response.Response; +import com.google.gson.annotations.SerializedName; + +public class GetCubeExecTokenResponse extends Response { + + /** 有效时间5min */ + @SerializedName("Token") + private String token; + + /** terminal的登录连接地址,限单点登录,有效时间5min */ + @SerializedName("TerminalUrl") + private String terminalUrl; + + public String getToken() { + return token; + } + + public void setToken(String token) { + this.token = token; + } + + public String getTerminalUrl() { + return terminalUrl; + } + + public void setTerminalUrl(String terminalUrl) { + this.terminalUrl = terminalUrl; + } +} diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeExtendInfoRequest.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeExtendInfoRequest.java new file mode 100644 index 00000000..c711052f --- /dev/null +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeExtendInfoRequest.java @@ -0,0 +1,72 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.cube.models; + +import cn.ucloud.common.annotation.NotEmpty; +import cn.ucloud.common.annotation.UCloudParam; +import cn.ucloud.common.request.Request; + +public class GetCubeExtendInfoRequest extends Request { + + /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */ + @NotEmpty + @UCloudParam("Region") + private String region; + + /** 可用区。参见 [可用区列表](../summary/regionlist.html) */ + @UCloudParam("Zone") + private String zone; + + /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */ + @NotEmpty + @UCloudParam("ProjectId") + private String projectId; + + /** id列表以逗号(,)分割 */ + @NotEmpty + @UCloudParam("CubeIds") + private String cubeIds; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getZone() { + return zone; + } + + public void setZone(String zone) { + this.zone = zone; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getCubeIds() { + return cubeIds; + } + + public void setCubeIds(String cubeIds) { + this.cubeIds = cubeIds; + } +} diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeExtendInfoResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeExtendInfoResponse.java new file mode 100644 index 00000000..31319b9e --- /dev/null +++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeExtendInfoResponse.java @@ -0,0 +1,234 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+import java.util.List;
+
+public class GetCubeExtendInfoResponse extends Response {
+
+ /** CubeExtendInfo */
+ @SerializedName("ExtendInfo")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+import java.util.List;
+
+public class GetCubeMetricsRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** Cube实例资源ID */
+ @NotEmpty
+ @UCloudParam("ResourceId")
+ private String resourceId;
+
+ /** 监控指标名称 */
+ @NotEmpty
+ @UCloudParam("MetricName")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+import java.util.List;
+
+public class GetCubeMetricsResponse extends Response {
+
+ /** 时间序列集合 */
+ @SerializedName("DataSets")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetCubePodRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](../summary/regionlist.html) */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** CubeId和Uid任意一个 */
+ @UCloudParam("CubeId")
+ private String cubeId;
+
+ /** CubeId和Uid任意一个 */
+ @UCloudParam("Uid")
+ private String uid;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getCubeId() {
+ return cubeId;
+ }
+
+ public void setCubeId(String cubeId) {
+ this.cubeId = cubeId;
+ }
+
+ public String getUid() {
+ return uid;
+ }
+
+ public void setUid(String uid) {
+ this.uid = uid;
+ }
+}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubePodResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubePodResponse.java
new file mode 100644
index 00000000..59f36fa3
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubePodResponse.java
@@ -0,0 +1,32 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+
+public class GetCubePodResponse extends Response {
+
+ /** base64编码的pod的yaml */
+ @SerializedName("Pod")
+ private String pod;
+
+ public String getPod() {
+ return pod;
+ }
+
+ public void setPod(String pod) {
+ this.pod = pod;
+ }
+}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubePriceRequest.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubePriceRequest.java
new file mode 100644
index 00000000..b65bc820
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubePriceRequest.java
@@ -0,0 +1,127 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetCubePriceRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 购买数量 */
+ @NotEmpty
+ @UCloudParam("Count")
+ private String count;
+
+ /** CPU 配置,单位为毫核,例如如 1 核则须输入 1000 */
+ @NotEmpty
+ @UCloudParam("Cpu")
+ private String cpu;
+
+ /** 内存配置,单位为 Mi,例如 1Gi 须输入 1024 */
+ @NotEmpty
+ @UCloudParam("Mem")
+ private String mem;
+
+ /** 计费模式。枚举值为: \\ > Year,按年付费; \\ > Month,按月付费;\\ > Dynamic,按小时预付费 \\ > Postpay,按秒后付费,默认为月付 */
+ @NotEmpty
+ @UCloudParam("ChargeType")
+ private String chargeType;
+
+ /** 购买时长。默认:值 1。按小时购买(Dynamic/Postpay)时无需此参数。 月付时,此参数传0,代表购买至月末。 */
+ @NotEmpty
+ @UCloudParam("Quantity")
+ private Integer quantity;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getCount() {
+ return count;
+ }
+
+ public void setCount(String count) {
+ this.count = count;
+ }
+
+ public String getCpu() {
+ return cpu;
+ }
+
+ public void setCpu(String cpu) {
+ this.cpu = cpu;
+ }
+
+ public String getMem() {
+ return mem;
+ }
+
+ public void setMem(String mem) {
+ this.mem = mem;
+ }
+
+ public String getChargeType() {
+ return chargeType;
+ }
+
+ public void setChargeType(String chargeType) {
+ this.chargeType = chargeType;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubePriceResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubePriceResponse.java
new file mode 100644
index 00000000..60d9e666
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubePriceResponse.java
@@ -0,0 +1,44 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+
+public class GetCubePriceResponse extends Response {
+
+ /** 折扣后价格,单位为分 */
+ @SerializedName("Price")
+ private Integer price;
+
+ /** 列表价格,单位为分 */
+ @SerializedName("OriginalPrice")
+ private Integer originalPrice;
+
+ public Integer getPrice() {
+ return price;
+ }
+
+ public void setPrice(Integer price) {
+ this.price = price;
+ }
+
+ public Integer getOriginalPrice() {
+ return originalPrice;
+ }
+
+ public void setOriginalPrice(Integer originalPrice) {
+ this.originalPrice = originalPrice;
+ }
+}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeTokenRequest.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeTokenRequest.java
new file mode 100644
index 00000000..5742a376
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeTokenRequest.java
@@ -0,0 +1,102 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetCubeTokenRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 容器名称 */
+ @NotEmpty
+ @UCloudParam("ContainerName")
+ private String containerName;
+
+ /**
+ * CubeId 和 Uid 中必须填写任意一个。 CubeId 是所有 Cube 资源的唯一 ID,如非在 UK8S 通过 Virtual Kubelet 插件创建的 Cube, 则必填
+ * CubeId
+ */
+ @UCloudParam("CubeId")
+ private String cubeId;
+
+ /** CubeId 和 Uid 中必须填写任意一个。 Uid 是在 UK8S 中通过 Virtual Kubelet 插件创建出的 Cube 的唯一标识 */
+ @UCloudParam("Uid")
+ private String uid;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getContainerName() {
+ return containerName;
+ }
+
+ public void setContainerName(String containerName) {
+ this.containerName = containerName;
+ }
+
+ public String getCubeId() {
+ return cubeId;
+ }
+
+ public void setCubeId(String cubeId) {
+ this.cubeId = cubeId;
+ }
+
+ public String getUid() {
+ return uid;
+ }
+
+ public void setUid(String uid) {
+ this.uid = uid;
+ }
+}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeTokenResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeTokenResponse.java
new file mode 100644
index 00000000..d389621c
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeTokenResponse.java
@@ -0,0 +1,32 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+
+public class GetCubeTokenResponse extends Response {
+
+ /** 有效时间5min */
+ @SerializedName("Token")
+ private String token;
+
+ public String getToken() {
+ return token;
+ }
+
+ public void setToken(String token) {
+ this.token = token;
+ }
+}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ListCubeDeploymentRequest.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ListCubeDeploymentRequest.java
new file mode 100644
index 00000000..5806092b
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ListCubeDeploymentRequest.java
@@ -0,0 +1,87 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class ListCubeDeploymentRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 默认0 */
+ @NotEmpty
+ @UCloudParam("Offset")
+ private Integer offset;
+
+ /** 默认20 */
+ @NotEmpty
+ @UCloudParam("Limit")
+ private Integer limit;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public Integer getOffset() {
+ return offset;
+ }
+
+ public void setOffset(Integer offset) {
+ this.offset = offset;
+ }
+
+ public Integer getLimit() {
+ return limit;
+ }
+
+ public void setLimit(Integer limit) {
+ this.limit = limit;
+ }
+}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ListCubeDeploymentResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ListCubeDeploymentResponse.java
new file mode 100644
index 00000000..0602bd09
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ListCubeDeploymentResponse.java
@@ -0,0 +1,45 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+import java.util.List;
+
+public class ListCubeDeploymentResponse extends Response {
+
+ /** */
+ @SerializedName("TotalCount")
+ private Integer totalCount;
+
+ /** DeploymentInfo */
+ @SerializedName("Deployments")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class ListCubePodRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** VPC的Id */
+ @UCloudParam("VPCId")
+ private String vpcId;
+
+ /** 子网Id */
+ @UCloudParam("SubnetId")
+ private String subnetId;
+
+ /** 组名称 */
+ @UCloudParam("Group")
+ private String group;
+
+ /** 默认0 */
+ @UCloudParam("Offset")
+ private Integer offset;
+
+ /** 默认20 */
+ @UCloudParam("Limit")
+ private Integer limit;
+
+ /** Deployment的Id */
+ @UCloudParam("DeploymentId")
+ private String deploymentId;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getVPCId() {
+ return vpcId;
+ }
+
+ public void setVPCId(String vpcId) {
+ this.vpcId = vpcId;
+ }
+
+ public String getSubnetId() {
+ return subnetId;
+ }
+
+ public void setSubnetId(String subnetId) {
+ this.subnetId = subnetId;
+ }
+
+ public String getGroup() {
+ return group;
+ }
+
+ public void setGroup(String group) {
+ this.group = group;
+ }
+
+ public Integer getOffset() {
+ return offset;
+ }
+
+ public void setOffset(Integer offset) {
+ this.offset = offset;
+ }
+
+ public Integer getLimit() {
+ return limit;
+ }
+
+ public void setLimit(Integer limit) {
+ this.limit = limit;
+ }
+
+ public String getDeploymentId() {
+ return deploymentId;
+ }
+
+ public void setDeploymentId(String deploymentId) {
+ this.deploymentId = deploymentId;
+ }
+}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ListCubePodResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ListCubePodResponse.java
new file mode 100644
index 00000000..32513c14
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ListCubePodResponse.java
@@ -0,0 +1,45 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+import java.util.List;
+
+public class ListCubePodResponse extends Response {
+
+ /** Pod列表,每条数据都做了base64编码 */
+ @SerializedName("Pods")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class ModifyCubeExtendInfoRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](../summary/regionlist.html) */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** cube的id */
+ @NotEmpty
+ @UCloudParam("CubeId")
+ private String cubeId;
+
+ /** 修改的名字,规则(^[a-zA-Z0-9-_.\u4e00-\u9fa5]{1,32}) */
+ @UCloudParam("Name")
+ private String name;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getCubeId() {
+ return cubeId;
+ }
+
+ public void setCubeId(String cubeId) {
+ this.cubeId = cubeId;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ModifyCubeExtendInfoResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ModifyCubeExtendInfoResponse.java
new file mode 100644
index 00000000..ede6ba19
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ModifyCubeExtendInfoResponse.java
@@ -0,0 +1,18 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.response.Response;
+
+public class ModifyCubeExtendInfoResponse extends Response {}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ModifyCubeTagRequest.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ModifyCubeTagRequest.java
new file mode 100644
index 00000000..a712ecfa
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ModifyCubeTagRequest.java
@@ -0,0 +1,87 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class ModifyCubeTagRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** CubeId */
+ @NotEmpty
+ @UCloudParam("CubeId")
+ private String cubeId;
+
+ /** 业务组名称 */
+ @NotEmpty
+ @UCloudParam("Tag")
+ private String tag;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getCubeId() {
+ return cubeId;
+ }
+
+ public void setCubeId(String cubeId) {
+ this.cubeId = cubeId;
+ }
+
+ public String getTag() {
+ return tag;
+ }
+
+ public void setTag(String tag) {
+ this.tag = tag;
+ }
+}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ModifyCubeTagResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ModifyCubeTagResponse.java
new file mode 100644
index 00000000..78b62dc8
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ModifyCubeTagResponse.java
@@ -0,0 +1,32 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+
+public class ModifyCubeTagResponse extends Response {
+
+ /** CubeId */
+ @SerializedName("CubeId")
+ private String cubeId;
+
+ public String getCubeId() {
+ return cubeId;
+ }
+
+ public void setCubeId(String cubeId) {
+ this.cubeId = cubeId;
+ }
+}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/RebootCubePodRequest.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/RebootCubePodRequest.java
new file mode 100644
index 00000000..5a4ea201
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/RebootCubePodRequest.java
@@ -0,0 +1,74 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class RebootCubePodRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** cube资源id(cube-xxxxxx) */
+ @NotEmpty
+ @UCloudParam("CubeId")
+ private String cubeId;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getCubeId() {
+ return cubeId;
+ }
+
+ public void setCubeId(String cubeId) {
+ this.cubeId = cubeId;
+ }
+}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/RebootCubePodResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/RebootCubePodResponse.java
new file mode 100644
index 00000000..9f6b1a87
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/RebootCubePodResponse.java
@@ -0,0 +1,18 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.response.Response;
+
+public class RebootCubePodResponse extends Response {}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/RenewCubePodRequest.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/RenewCubePodRequest.java
new file mode 100644
index 00000000..74d58e63
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/RenewCubePodRequest.java
@@ -0,0 +1,85 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class RenewCubePodRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](../summary/regionlist.html) */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 容器Id */
+ @NotEmpty
+ @UCloudParam("CubeId")
+ private String cubeId;
+
+ /** base64编码的Pod的yaml */
+ @NotEmpty
+ @UCloudParam("Pod")
+ private String pod;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getCubeId() {
+ return cubeId;
+ }
+
+ public void setCubeId(String cubeId) {
+ this.cubeId = cubeId;
+ }
+
+ public String getPod() {
+ return pod;
+ }
+
+ public void setPod(String pod) {
+ this.pod = pod;
+ }
+}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/RenewCubePodResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/RenewCubePodResponse.java
new file mode 100644
index 00000000..eaf20483
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/RenewCubePodResponse.java
@@ -0,0 +1,32 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+
+public class RenewCubePodResponse extends Response {
+
+ /** base64编码过的yaml,需要解码获取信息 */
+ @SerializedName("Pod")
+ private String pod;
+
+ public String getPod() {
+ return pod;
+ }
+
+ public void setPod(String pod) {
+ this.pod = pod;
+ }
+}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/UpdateCubeDeploymentRequest.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/UpdateCubeDeploymentRequest.java
new file mode 100644
index 00000000..22ca10e1
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/UpdateCubeDeploymentRequest.java
@@ -0,0 +1,99 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class UpdateCubeDeploymentRequest extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** Deployment的Id */
+ @NotEmpty
+ @UCloudParam("DeploymentId")
+ private String deploymentId;
+
+ /** base64编码的Deployment的yaml。大小不超过16KB */
+ @NotEmpty
+ @UCloudParam("Deployment")
+ private String deployment;
+
+ /** Deployment的name */
+ @UCloudParam("Name")
+ private String name;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getDeploymentId() {
+ return deploymentId;
+ }
+
+ public void setDeploymentId(String deploymentId) {
+ this.deploymentId = deploymentId;
+ }
+
+ public String getDeployment() {
+ return deployment;
+ }
+
+ public void setDeployment(String deployment) {
+ this.deployment = deployment;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+}
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/UpdateCubeDeploymentResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/UpdateCubeDeploymentResponse.java
new file mode 100644
index 00000000..cb3ce522
--- /dev/null
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/UpdateCubeDeploymentResponse.java
@@ -0,0 +1,32 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.cube.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+
+public class UpdateCubeDeploymentResponse extends Response {
+
+ /** 经过base64编码的Deployment的yaml */
+ @SerializedName("Deployment")
+ private String deployment;
+
+ public String getDeployment() {
+ return deployment;
+ }
+
+ public void setDeployment(String deployment) {
+ this.deployment = deployment;
+ }
+}
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DescribeVPNTunnelResponse.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DescribeVPNTunnelResponse.java
index 7356e141..9ba24cd8 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DescribeVPNTunnelResponse.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DescribeVPNTunnelResponse.java
@@ -43,105 +43,6 @@ public void setDataSet(List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.client;
+
+import cn.ucloud.common.client.DefaultClient;
+import cn.ucloud.common.config.Config;
+import cn.ucloud.common.credential.Credential;
+import cn.ucloud.common.exception.UCloudException;
+import cn.ucloud.pathx.models.BindPathXSSLRequest;
+import cn.ucloud.pathx.models.BindPathXSSLResponse;
+import cn.ucloud.pathx.models.CreateGlobalSSHInstanceRequest;
+import cn.ucloud.pathx.models.CreateGlobalSSHInstanceResponse;
+import cn.ucloud.pathx.models.CreatePathXSSLRequest;
+import cn.ucloud.pathx.models.CreatePathXSSLResponse;
+import cn.ucloud.pathx.models.CreateUGA3InstanceRequest;
+import cn.ucloud.pathx.models.CreateUGA3InstanceResponse;
+import cn.ucloud.pathx.models.CreateUGA3PortRequest;
+import cn.ucloud.pathx.models.CreateUGA3PortResponse;
+import cn.ucloud.pathx.models.CreateUGAForwarderRequest;
+import cn.ucloud.pathx.models.CreateUGAForwarderResponse;
+import cn.ucloud.pathx.models.CreateUGAInstanceRequest;
+import cn.ucloud.pathx.models.CreateUGAInstanceResponse;
+import cn.ucloud.pathx.models.CreateUPathRequest;
+import cn.ucloud.pathx.models.CreateUPathResponse;
+import cn.ucloud.pathx.models.DeleteGlobalSSHInstanceRequest;
+import cn.ucloud.pathx.models.DeleteGlobalSSHInstanceResponse;
+import cn.ucloud.pathx.models.DeletePathXSSLRequest;
+import cn.ucloud.pathx.models.DeletePathXSSLResponse;
+import cn.ucloud.pathx.models.DeleteUGA3InstanceRequest;
+import cn.ucloud.pathx.models.DeleteUGA3InstanceResponse;
+import cn.ucloud.pathx.models.DeleteUGA3PortRequest;
+import cn.ucloud.pathx.models.DeleteUGA3PortResponse;
+import cn.ucloud.pathx.models.DeleteUGAForwarderRequest;
+import cn.ucloud.pathx.models.DeleteUGAForwarderResponse;
+import cn.ucloud.pathx.models.DeleteUGAInstanceRequest;
+import cn.ucloud.pathx.models.DeleteUGAInstanceResponse;
+import cn.ucloud.pathx.models.DeleteUPathRequest;
+import cn.ucloud.pathx.models.DeleteUPathResponse;
+import cn.ucloud.pathx.models.DescribeGlobalSSHInstanceRequest;
+import cn.ucloud.pathx.models.DescribeGlobalSSHInstanceResponse;
+import cn.ucloud.pathx.models.DescribePathXLineConfigRequest;
+import cn.ucloud.pathx.models.DescribePathXLineConfigResponse;
+import cn.ucloud.pathx.models.DescribePathXSSLRequest;
+import cn.ucloud.pathx.models.DescribePathXSSLResponse;
+import cn.ucloud.pathx.models.DescribeUGA3AreaRequest;
+import cn.ucloud.pathx.models.DescribeUGA3AreaResponse;
+import cn.ucloud.pathx.models.DescribeUGA3InstanceRequest;
+import cn.ucloud.pathx.models.DescribeUGA3InstanceResponse;
+import cn.ucloud.pathx.models.DescribeUGA3OptimizationRequest;
+import cn.ucloud.pathx.models.DescribeUGA3OptimizationResponse;
+import cn.ucloud.pathx.models.DescribeUGAInstanceRequest;
+import cn.ucloud.pathx.models.DescribeUGAInstanceResponse;
+import cn.ucloud.pathx.models.DescribeUPathRequest;
+import cn.ucloud.pathx.models.DescribeUPathResponse;
+import cn.ucloud.pathx.models.DescribeUPathTemplateRequest;
+import cn.ucloud.pathx.models.DescribeUPathTemplateResponse;
+import cn.ucloud.pathx.models.GetGlobalSSHPriceRequest;
+import cn.ucloud.pathx.models.GetGlobalSSHPriceResponse;
+import cn.ucloud.pathx.models.GetGlobalSSHUpdatePriceRequest;
+import cn.ucloud.pathx.models.GetGlobalSSHUpdatePriceResponse;
+import cn.ucloud.pathx.models.GetPathXMetricRequest;
+import cn.ucloud.pathx.models.GetPathXMetricResponse;
+import cn.ucloud.pathx.models.GetUGA3MetricRequest;
+import cn.ucloud.pathx.models.GetUGA3MetricResponse;
+import cn.ucloud.pathx.models.GetUGA3PriceRequest;
+import cn.ucloud.pathx.models.GetUGA3PriceResponse;
+import cn.ucloud.pathx.models.GetUGA3UpdatePriceRequest;
+import cn.ucloud.pathx.models.GetUGA3UpdatePriceResponse;
+import cn.ucloud.pathx.models.ModifyGlobalSSHPortRequest;
+import cn.ucloud.pathx.models.ModifyGlobalSSHPortResponse;
+import cn.ucloud.pathx.models.ModifyGlobalSSHRemarkRequest;
+import cn.ucloud.pathx.models.ModifyGlobalSSHRemarkResponse;
+import cn.ucloud.pathx.models.ModifyGlobalSSHTypeRequest;
+import cn.ucloud.pathx.models.ModifyGlobalSSHTypeResponse;
+import cn.ucloud.pathx.models.ModifyUGA3BandwidthRequest;
+import cn.ucloud.pathx.models.ModifyUGA3BandwidthResponse;
+import cn.ucloud.pathx.models.ModifyUGA3InstanceRequest;
+import cn.ucloud.pathx.models.ModifyUGA3InstanceResponse;
+import cn.ucloud.pathx.models.ModifyUGA3OriginInfoRequest;
+import cn.ucloud.pathx.models.ModifyUGA3OriginInfoResponse;
+import cn.ucloud.pathx.models.ModifyUGA3PortRequest;
+import cn.ucloud.pathx.models.ModifyUGA3PortResponse;
+import cn.ucloud.pathx.models.ModifyUPathBandwidthRequest;
+import cn.ucloud.pathx.models.ModifyUPathBandwidthResponse;
+import cn.ucloud.pathx.models.ModifyUPathTemplateRequest;
+import cn.ucloud.pathx.models.ModifyUPathTemplateResponse;
+import cn.ucloud.pathx.models.UGABindUPathRequest;
+import cn.ucloud.pathx.models.UGABindUPathResponse;
+import cn.ucloud.pathx.models.UGAUnBindUPathRequest;
+import cn.ucloud.pathx.models.UGAUnBindUPathResponse;
+import cn.ucloud.pathx.models.UnBindPathXSSLRequest;
+import cn.ucloud.pathx.models.UnBindPathXSSLResponse;
+import cn.ucloud.pathx.models.UpdatePathXWhitelistRequest;
+import cn.ucloud.pathx.models.UpdatePathXWhitelistResponse;
+
+/** This client is used to call actions of **PathX** service */
+public class PathXClient extends DefaultClient implements PathXClientInterface {
+ public PathXClient(Config config, Credential credential) {
+ super(config, credential);
+ }
+
+ /**
+ * BindPathXSSL - 绑定PathX SSL证书
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public BindPathXSSLResponse bindPathXSSL(BindPathXSSLRequest request) throws UCloudException {
+ request.setAction("BindPathXSSL");
+ return (BindPathXSSLResponse) this.invoke(request, BindPathXSSLResponse.class);
+ }
+
+ /**
+ * CreateGlobalSSHInstance - 创建GlobalSSH实例
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateGlobalSSHInstanceResponse createGlobalSSHInstance(
+ CreateGlobalSSHInstanceRequest request) throws UCloudException {
+ request.setAction("CreateGlobalSSHInstance");
+ return (CreateGlobalSSHInstanceResponse)
+ this.invoke(request, CreateGlobalSSHInstanceResponse.class);
+ }
+
+ /**
+ * CreatePathXSSL - 创建证书
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreatePathXSSLResponse createPathXSSL(CreatePathXSSLRequest request)
+ throws UCloudException {
+ request.setAction("CreatePathXSSL");
+ return (CreatePathXSSLResponse) this.invoke(request, CreatePathXSSLResponse.class);
+ }
+
+ /**
+ * CreateUGA3Instance - 创建全球统一接入加速配置项
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateUGA3InstanceResponse createUGA3Instance(CreateUGA3InstanceRequest request)
+ throws UCloudException {
+ request.setAction("CreateUGA3Instance");
+ return (CreateUGA3InstanceResponse) this.invoke(request, CreateUGA3InstanceResponse.class);
+ }
+
+ /**
+ * CreateUGA3Port - 创建统一接入加速实例端口
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateUGA3PortResponse createUGA3Port(CreateUGA3PortRequest request)
+ throws UCloudException {
+ request.setAction("CreateUGA3Port");
+ return (CreateUGA3PortResponse) this.invoke(request, CreateUGA3PortResponse.class);
+ }
+
+ /**
+ * CreateUGAForwarder - 创建加速实例转发器
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateUGAForwarderResponse createUGAForwarder(CreateUGAForwarderRequest request)
+ throws UCloudException {
+ request.setAction("CreateUGAForwarder");
+ return (CreateUGAForwarderResponse) this.invoke(request, CreateUGAForwarderResponse.class);
+ }
+
+ /**
+ * CreateUGAInstance - 创建全球加速配置项
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateUGAInstanceResponse createUGAInstance(CreateUGAInstanceRequest request)
+ throws UCloudException {
+ request.setAction("CreateUGAInstance");
+ return (CreateUGAInstanceResponse) this.invoke(request, CreateUGAInstanceResponse.class);
+ }
+
+ /**
+ * CreateUPath - 创建UPath
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateUPathResponse createUPath(CreateUPathRequest request) throws UCloudException {
+ request.setAction("CreateUPath");
+ return (CreateUPathResponse) this.invoke(request, CreateUPathResponse.class);
+ }
+
+ /**
+ * DeleteGlobalSSHInstance - 删除GlobalSSH实例
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteGlobalSSHInstanceResponse deleteGlobalSSHInstance(
+ DeleteGlobalSSHInstanceRequest request) throws UCloudException {
+ request.setAction("DeleteGlobalSSHInstance");
+ return (DeleteGlobalSSHInstanceResponse)
+ this.invoke(request, DeleteGlobalSSHInstanceResponse.class);
+ }
+
+ /**
+ * DeletePathXSSL - 删除PathX SSL证书
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeletePathXSSLResponse deletePathXSSL(DeletePathXSSLRequest request)
+ throws UCloudException {
+ request.setAction("DeletePathXSSL");
+ return (DeletePathXSSLResponse) this.invoke(request, DeletePathXSSLResponse.class);
+ }
+
+ /**
+ * DeleteUGA3Instance - 删除全球统一接入转发实例
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUGA3InstanceResponse deleteUGA3Instance(DeleteUGA3InstanceRequest request)
+ throws UCloudException {
+ request.setAction("DeleteUGA3Instance");
+ return (DeleteUGA3InstanceResponse) this.invoke(request, DeleteUGA3InstanceResponse.class);
+ }
+
+ /**
+ * DeleteUGA3Port - 删除统一接入加速实例转发器
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUGA3PortResponse deleteUGA3Port(DeleteUGA3PortRequest request)
+ throws UCloudException {
+ request.setAction("DeleteUGA3Port");
+ return (DeleteUGA3PortResponse) this.invoke(request, DeleteUGA3PortResponse.class);
+ }
+
+ /**
+ * DeleteUGAForwarder - 删除加速实例转发器
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUGAForwarderResponse deleteUGAForwarder(DeleteUGAForwarderRequest request)
+ throws UCloudException {
+ request.setAction("DeleteUGAForwarder");
+ return (DeleteUGAForwarderResponse) this.invoke(request, DeleteUGAForwarderResponse.class);
+ }
+
+ /**
+ * DeleteUGAInstance - 删除全球加速服务加速配置
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUGAInstanceResponse deleteUGAInstance(DeleteUGAInstanceRequest request)
+ throws UCloudException {
+ request.setAction("DeleteUGAInstance");
+ return (DeleteUGAInstanceResponse) this.invoke(request, DeleteUGAInstanceResponse.class);
+ }
+
+ /**
+ * DeleteUPath - 删除UPath
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUPathResponse deleteUPath(DeleteUPathRequest request) throws UCloudException {
+ request.setAction("DeleteUPath");
+ return (DeleteUPathResponse) this.invoke(request, DeleteUPathResponse.class);
+ }
+
+ /**
+ * DescribeGlobalSSHInstance - 获取GlobalSSH实例列表
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeGlobalSSHInstanceResponse describeGlobalSSHInstance(
+ DescribeGlobalSSHInstanceRequest request) throws UCloudException {
+ request.setAction("DescribeGlobalSSHInstance");
+ return (DescribeGlobalSSHInstanceResponse)
+ this.invoke(request, DescribeGlobalSSHInstanceResponse.class);
+ }
+
+ /**
+ * DescribePathXLineConfig - 获取全球加速线路信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribePathXLineConfigResponse describePathXLineConfig(
+ DescribePathXLineConfigRequest request) throws UCloudException {
+ request.setAction("DescribePathXLineConfig");
+ return (DescribePathXLineConfigResponse)
+ this.invoke(request, DescribePathXLineConfigResponse.class);
+ }
+
+ /**
+ * DescribePathXSSL - 获取SSL证书信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribePathXSSLResponse describePathXSSL(DescribePathXSSLRequest request)
+ throws UCloudException {
+ request.setAction("DescribePathXSSL");
+ return (DescribePathXSSLResponse) this.invoke(request, DescribePathXSSLResponse.class);
+ }
+
+ /**
+ * DescribeUGA3Area - 获取全球接入源站可选列表
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUGA3AreaResponse describeUGA3Area(DescribeUGA3AreaRequest request)
+ throws UCloudException {
+ request.setAction("DescribeUGA3Area");
+ return (DescribeUGA3AreaResponse) this.invoke(request, DescribeUGA3AreaResponse.class);
+ }
+
+ /**
+ * DescribeUGA3Instance - 获取全球统一接入加速服务加速配置信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUGA3InstanceResponse describeUGA3Instance(DescribeUGA3InstanceRequest request)
+ throws UCloudException {
+ request.setAction("DescribeUGA3Instance");
+ return (DescribeUGA3InstanceResponse)
+ this.invoke(request, DescribeUGA3InstanceResponse.class);
+ }
+
+ /**
+ * DescribeUGA3Optimization - 获取全球接入UGA3线路加速优化情况
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUGA3OptimizationResponse describeUGA3Optimization(
+ DescribeUGA3OptimizationRequest request) throws UCloudException {
+ request.setAction("DescribeUGA3Optimization");
+ return (DescribeUGA3OptimizationResponse)
+ this.invoke(request, DescribeUGA3OptimizationResponse.class);
+ }
+
+ /**
+ * DescribeUGAInstance - 获取全球加速服务加速配置信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUGAInstanceResponse describeUGAInstance(DescribeUGAInstanceRequest request)
+ throws UCloudException {
+ request.setAction("DescribeUGAInstance");
+ return (DescribeUGAInstanceResponse)
+ this.invoke(request, DescribeUGAInstanceResponse.class);
+ }
+
+ /**
+ * DescribeUPath - 获取加速线路信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUPathResponse describeUPath(DescribeUPathRequest request)
+ throws UCloudException {
+ request.setAction("DescribeUPath");
+ return (DescribeUPathResponse) this.invoke(request, DescribeUPathResponse.class);
+ }
+
+ /**
+ * DescribeUPathTemplate - 查询UPath的监控模板
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUPathTemplateResponse describeUPathTemplate(DescribeUPathTemplateRequest request)
+ throws UCloudException {
+ request.setAction("DescribeUPathTemplate");
+ return (DescribeUPathTemplateResponse)
+ this.invoke(request, DescribeUPathTemplateResponse.class);
+ }
+
+ /**
+ * GetGlobalSSHPrice - 获取GlobalSSH价格
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetGlobalSSHPriceResponse getGlobalSSHPrice(GetGlobalSSHPriceRequest request)
+ throws UCloudException {
+ request.setAction("GetGlobalSSHPrice");
+ return (GetGlobalSSHPriceResponse) this.invoke(request, GetGlobalSSHPriceResponse.class);
+ }
+
+ /**
+ * GetGlobalSSHUpdatePrice - 获取GlobalSSH升级价格
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetGlobalSSHUpdatePriceResponse getGlobalSSHUpdatePrice(
+ GetGlobalSSHUpdatePriceRequest request) throws UCloudException {
+ request.setAction("GetGlobalSSHUpdatePrice");
+ return (GetGlobalSSHUpdatePriceResponse)
+ this.invoke(request, GetGlobalSSHUpdatePriceResponse.class);
+ }
+
+ /**
+ * GetPathXMetric - 获取全球加速监控信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetPathXMetricResponse getPathXMetric(GetPathXMetricRequest request)
+ throws UCloudException {
+ request.setAction("GetPathXMetric");
+ return (GetPathXMetricResponse) this.invoke(request, GetPathXMetricResponse.class);
+ }
+
+ /**
+ * GetUGA3Metric - 获取全地域加速监控信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUGA3MetricResponse getUGA3Metric(GetUGA3MetricRequest request)
+ throws UCloudException {
+ request.setAction("GetUGA3Metric");
+ return (GetUGA3MetricResponse) this.invoke(request, GetUGA3MetricResponse.class);
+ }
+
+ /**
+ * GetUGA3Price - 获取全球统一接入转发实例价格
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUGA3PriceResponse getUGA3Price(GetUGA3PriceRequest request) throws UCloudException {
+ request.setAction("GetUGA3Price");
+ return (GetUGA3PriceResponse) this.invoke(request, GetUGA3PriceResponse.class);
+ }
+
+ /**
+ * GetUGA3UpdatePrice - 全球统一接入获取实例更新价格(增加、删退)
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUGA3UpdatePriceResponse getUGA3UpdatePrice(GetUGA3UpdatePriceRequest request)
+ throws UCloudException {
+ request.setAction("GetUGA3UpdatePrice");
+ return (GetUGA3UpdatePriceResponse) this.invoke(request, GetUGA3UpdatePriceResponse.class);
+ }
+
+ /**
+ * ModifyGlobalSSHPort - 修改GlobalSSH端口
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyGlobalSSHPortResponse modifyGlobalSSHPort(ModifyGlobalSSHPortRequest request)
+ throws UCloudException {
+ request.setAction("ModifyGlobalSSHPort");
+ return (ModifyGlobalSSHPortResponse)
+ this.invoke(request, ModifyGlobalSSHPortResponse.class);
+ }
+
+ /**
+ * ModifyGlobalSSHRemark - 修改GlobalSSH备注
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyGlobalSSHRemarkResponse modifyGlobalSSHRemark(ModifyGlobalSSHRemarkRequest request)
+ throws UCloudException {
+ request.setAction("ModifyGlobalSSHRemark");
+ return (ModifyGlobalSSHRemarkResponse)
+ this.invoke(request, ModifyGlobalSSHRemarkResponse.class);
+ }
+
+ /**
+ * ModifyGlobalSSHType - 修改GlobalSSH实例类型
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyGlobalSSHTypeResponse modifyGlobalSSHType(ModifyGlobalSSHTypeRequest request)
+ throws UCloudException {
+ request.setAction("ModifyGlobalSSHType");
+ return (ModifyGlobalSSHTypeResponse)
+ this.invoke(request, ModifyGlobalSSHTypeResponse.class);
+ }
+
+ /**
+ * ModifyUGA3Bandwidth - 修改统一接入加速配置带宽
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUGA3BandwidthResponse modifyUGA3Bandwidth(ModifyUGA3BandwidthRequest request)
+ throws UCloudException {
+ request.setAction("ModifyUGA3Bandwidth");
+ return (ModifyUGA3BandwidthResponse)
+ this.invoke(request, ModifyUGA3BandwidthResponse.class);
+ }
+
+ /**
+ * ModifyUGA3Instance - 修改统一接入加速配置属性
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUGA3InstanceResponse modifyUGA3Instance(ModifyUGA3InstanceRequest request)
+ throws UCloudException {
+ request.setAction("ModifyUGA3Instance");
+ return (ModifyUGA3InstanceResponse) this.invoke(request, ModifyUGA3InstanceResponse.class);
+ }
+
+ /**
+ * ModifyUGA3OriginInfo - 修改统一接入加速配置源站信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUGA3OriginInfoResponse modifyUGA3OriginInfo(ModifyUGA3OriginInfoRequest request)
+ throws UCloudException {
+ request.setAction("ModifyUGA3OriginInfo");
+ return (ModifyUGA3OriginInfoResponse)
+ this.invoke(request, ModifyUGA3OriginInfoResponse.class);
+ }
+
+ /**
+ * ModifyUGA3Port - 修改统一接入加速实例端口
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUGA3PortResponse modifyUGA3Port(ModifyUGA3PortRequest request)
+ throws UCloudException {
+ request.setAction("ModifyUGA3Port");
+ return (ModifyUGA3PortResponse) this.invoke(request, ModifyUGA3PortResponse.class);
+ }
+
+ /**
+ * ModifyUPathBandwidth - 修改加速线路带宽
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUPathBandwidthResponse modifyUPathBandwidth(ModifyUPathBandwidthRequest request)
+ throws UCloudException {
+ request.setAction("ModifyUPathBandwidth");
+ return (ModifyUPathBandwidthResponse)
+ this.invoke(request, ModifyUPathBandwidthResponse.class);
+ }
+
+ /**
+ * ModifyUPathTemplate - 修改UPath监控告警项
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUPathTemplateResponse modifyUPathTemplate(ModifyUPathTemplateRequest request)
+ throws UCloudException {
+ request.setAction("ModifyUPathTemplate");
+ return (ModifyUPathTemplateResponse)
+ this.invoke(request, ModifyUPathTemplateResponse.class);
+ }
+
+ /**
+ * UGABindUPath - UGA绑定UPath
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UGABindUPathResponse ugaBindUPath(UGABindUPathRequest request) throws UCloudException {
+ request.setAction("UGABindUPath");
+ return (UGABindUPathResponse) this.invoke(request, UGABindUPathResponse.class);
+ }
+
+ /**
+ * UGAUnBindUPath - UGA与UPath解绑
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UGAUnBindUPathResponse ugaUnBindUPath(UGAUnBindUPathRequest request)
+ throws UCloudException {
+ request.setAction("UGAUnBindUPath");
+ return (UGAUnBindUPathResponse) this.invoke(request, UGAUnBindUPathResponse.class);
+ }
+
+ /**
+ * UnBindPathXSSL - 解绑PathX SSL 证书
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UnBindPathXSSLResponse unBindPathXSSL(UnBindPathXSSLRequest request)
+ throws UCloudException {
+ request.setAction("UnBindPathXSSL");
+ return (UnBindPathXSSLResponse) this.invoke(request, UnBindPathXSSLResponse.class);
+ }
+
+ /**
+ * UpdatePathXWhitelist - 更新入口白名单
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UpdatePathXWhitelistResponse updatePathXWhitelist(UpdatePathXWhitelistRequest request)
+ throws UCloudException {
+ request.setAction("UpdatePathXWhitelist");
+ return (UpdatePathXWhitelistResponse)
+ this.invoke(request, UpdatePathXWhitelistResponse.class);
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/client/PathXClientInterface.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/client/PathXClientInterface.java
new file mode 100644
index 00000000..b9653b5f
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/client/PathXClientInterface.java
@@ -0,0 +1,487 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.client;
+
+import cn.ucloud.common.client.Client;
+import cn.ucloud.common.exception.UCloudException;
+import cn.ucloud.pathx.models.BindPathXSSLRequest;
+import cn.ucloud.pathx.models.BindPathXSSLResponse;
+import cn.ucloud.pathx.models.CreateGlobalSSHInstanceRequest;
+import cn.ucloud.pathx.models.CreateGlobalSSHInstanceResponse;
+import cn.ucloud.pathx.models.CreatePathXSSLRequest;
+import cn.ucloud.pathx.models.CreatePathXSSLResponse;
+import cn.ucloud.pathx.models.CreateUGA3InstanceRequest;
+import cn.ucloud.pathx.models.CreateUGA3InstanceResponse;
+import cn.ucloud.pathx.models.CreateUGA3PortRequest;
+import cn.ucloud.pathx.models.CreateUGA3PortResponse;
+import cn.ucloud.pathx.models.CreateUGAForwarderRequest;
+import cn.ucloud.pathx.models.CreateUGAForwarderResponse;
+import cn.ucloud.pathx.models.CreateUGAInstanceRequest;
+import cn.ucloud.pathx.models.CreateUGAInstanceResponse;
+import cn.ucloud.pathx.models.CreateUPathRequest;
+import cn.ucloud.pathx.models.CreateUPathResponse;
+import cn.ucloud.pathx.models.DeleteGlobalSSHInstanceRequest;
+import cn.ucloud.pathx.models.DeleteGlobalSSHInstanceResponse;
+import cn.ucloud.pathx.models.DeletePathXSSLRequest;
+import cn.ucloud.pathx.models.DeletePathXSSLResponse;
+import cn.ucloud.pathx.models.DeleteUGA3InstanceRequest;
+import cn.ucloud.pathx.models.DeleteUGA3InstanceResponse;
+import cn.ucloud.pathx.models.DeleteUGA3PortRequest;
+import cn.ucloud.pathx.models.DeleteUGA3PortResponse;
+import cn.ucloud.pathx.models.DeleteUGAForwarderRequest;
+import cn.ucloud.pathx.models.DeleteUGAForwarderResponse;
+import cn.ucloud.pathx.models.DeleteUGAInstanceRequest;
+import cn.ucloud.pathx.models.DeleteUGAInstanceResponse;
+import cn.ucloud.pathx.models.DeleteUPathRequest;
+import cn.ucloud.pathx.models.DeleteUPathResponse;
+import cn.ucloud.pathx.models.DescribeGlobalSSHInstanceRequest;
+import cn.ucloud.pathx.models.DescribeGlobalSSHInstanceResponse;
+import cn.ucloud.pathx.models.DescribePathXLineConfigRequest;
+import cn.ucloud.pathx.models.DescribePathXLineConfigResponse;
+import cn.ucloud.pathx.models.DescribePathXSSLRequest;
+import cn.ucloud.pathx.models.DescribePathXSSLResponse;
+import cn.ucloud.pathx.models.DescribeUGA3AreaRequest;
+import cn.ucloud.pathx.models.DescribeUGA3AreaResponse;
+import cn.ucloud.pathx.models.DescribeUGA3InstanceRequest;
+import cn.ucloud.pathx.models.DescribeUGA3InstanceResponse;
+import cn.ucloud.pathx.models.DescribeUGA3OptimizationRequest;
+import cn.ucloud.pathx.models.DescribeUGA3OptimizationResponse;
+import cn.ucloud.pathx.models.DescribeUGAInstanceRequest;
+import cn.ucloud.pathx.models.DescribeUGAInstanceResponse;
+import cn.ucloud.pathx.models.DescribeUPathRequest;
+import cn.ucloud.pathx.models.DescribeUPathResponse;
+import cn.ucloud.pathx.models.DescribeUPathTemplateRequest;
+import cn.ucloud.pathx.models.DescribeUPathTemplateResponse;
+import cn.ucloud.pathx.models.GetGlobalSSHPriceRequest;
+import cn.ucloud.pathx.models.GetGlobalSSHPriceResponse;
+import cn.ucloud.pathx.models.GetGlobalSSHUpdatePriceRequest;
+import cn.ucloud.pathx.models.GetGlobalSSHUpdatePriceResponse;
+import cn.ucloud.pathx.models.GetPathXMetricRequest;
+import cn.ucloud.pathx.models.GetPathXMetricResponse;
+import cn.ucloud.pathx.models.GetUGA3MetricRequest;
+import cn.ucloud.pathx.models.GetUGA3MetricResponse;
+import cn.ucloud.pathx.models.GetUGA3PriceRequest;
+import cn.ucloud.pathx.models.GetUGA3PriceResponse;
+import cn.ucloud.pathx.models.GetUGA3UpdatePriceRequest;
+import cn.ucloud.pathx.models.GetUGA3UpdatePriceResponse;
+import cn.ucloud.pathx.models.ModifyGlobalSSHPortRequest;
+import cn.ucloud.pathx.models.ModifyGlobalSSHPortResponse;
+import cn.ucloud.pathx.models.ModifyGlobalSSHRemarkRequest;
+import cn.ucloud.pathx.models.ModifyGlobalSSHRemarkResponse;
+import cn.ucloud.pathx.models.ModifyGlobalSSHTypeRequest;
+import cn.ucloud.pathx.models.ModifyGlobalSSHTypeResponse;
+import cn.ucloud.pathx.models.ModifyUGA3BandwidthRequest;
+import cn.ucloud.pathx.models.ModifyUGA3BandwidthResponse;
+import cn.ucloud.pathx.models.ModifyUGA3InstanceRequest;
+import cn.ucloud.pathx.models.ModifyUGA3InstanceResponse;
+import cn.ucloud.pathx.models.ModifyUGA3OriginInfoRequest;
+import cn.ucloud.pathx.models.ModifyUGA3OriginInfoResponse;
+import cn.ucloud.pathx.models.ModifyUGA3PortRequest;
+import cn.ucloud.pathx.models.ModifyUGA3PortResponse;
+import cn.ucloud.pathx.models.ModifyUPathBandwidthRequest;
+import cn.ucloud.pathx.models.ModifyUPathBandwidthResponse;
+import cn.ucloud.pathx.models.ModifyUPathTemplateRequest;
+import cn.ucloud.pathx.models.ModifyUPathTemplateResponse;
+import cn.ucloud.pathx.models.UGABindUPathRequest;
+import cn.ucloud.pathx.models.UGABindUPathResponse;
+import cn.ucloud.pathx.models.UGAUnBindUPathRequest;
+import cn.ucloud.pathx.models.UGAUnBindUPathResponse;
+import cn.ucloud.pathx.models.UnBindPathXSSLRequest;
+import cn.ucloud.pathx.models.UnBindPathXSSLResponse;
+import cn.ucloud.pathx.models.UpdatePathXWhitelistRequest;
+import cn.ucloud.pathx.models.UpdatePathXWhitelistResponse;
+
+/** This client is used to call actions of **PathX** service */
+public interface PathXClientInterface extends Client {
+
+ /**
+ * BindPathXSSL - 绑定PathX SSL证书
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public BindPathXSSLResponse bindPathXSSL(BindPathXSSLRequest request) throws UCloudException;
+
+ /**
+ * CreateGlobalSSHInstance - 创建GlobalSSH实例
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateGlobalSSHInstanceResponse createGlobalSSHInstance(
+ CreateGlobalSSHInstanceRequest request) throws UCloudException;
+
+ /**
+ * CreatePathXSSL - 创建证书
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreatePathXSSLResponse createPathXSSL(CreatePathXSSLRequest request)
+ throws UCloudException;
+
+ /**
+ * CreateUGA3Instance - 创建全球统一接入加速配置项
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateUGA3InstanceResponse createUGA3Instance(CreateUGA3InstanceRequest request)
+ throws UCloudException;
+
+ /**
+ * CreateUGA3Port - 创建统一接入加速实例端口
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateUGA3PortResponse createUGA3Port(CreateUGA3PortRequest request)
+ throws UCloudException;
+
+ /**
+ * CreateUGAForwarder - 创建加速实例转发器
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateUGAForwarderResponse createUGAForwarder(CreateUGAForwarderRequest request)
+ throws UCloudException;
+
+ /**
+ * CreateUGAInstance - 创建全球加速配置项
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateUGAInstanceResponse createUGAInstance(CreateUGAInstanceRequest request)
+ throws UCloudException;
+
+ /**
+ * CreateUPath - 创建UPath
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateUPathResponse createUPath(CreateUPathRequest request) throws UCloudException;
+
+ /**
+ * DeleteGlobalSSHInstance - 删除GlobalSSH实例
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteGlobalSSHInstanceResponse deleteGlobalSSHInstance(
+ DeleteGlobalSSHInstanceRequest request) throws UCloudException;
+
+ /**
+ * DeletePathXSSL - 删除PathX SSL证书
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeletePathXSSLResponse deletePathXSSL(DeletePathXSSLRequest request)
+ throws UCloudException;
+
+ /**
+ * DeleteUGA3Instance - 删除全球统一接入转发实例
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUGA3InstanceResponse deleteUGA3Instance(DeleteUGA3InstanceRequest request)
+ throws UCloudException;
+
+ /**
+ * DeleteUGA3Port - 删除统一接入加速实例转发器
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUGA3PortResponse deleteUGA3Port(DeleteUGA3PortRequest request)
+ throws UCloudException;
+
+ /**
+ * DeleteUGAForwarder - 删除加速实例转发器
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUGAForwarderResponse deleteUGAForwarder(DeleteUGAForwarderRequest request)
+ throws UCloudException;
+
+ /**
+ * DeleteUGAInstance - 删除全球加速服务加速配置
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUGAInstanceResponse deleteUGAInstance(DeleteUGAInstanceRequest request)
+ throws UCloudException;
+
+ /**
+ * DeleteUPath - 删除UPath
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteUPathResponse deleteUPath(DeleteUPathRequest request) throws UCloudException;
+
+ /**
+ * DescribeGlobalSSHInstance - 获取GlobalSSH实例列表
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeGlobalSSHInstanceResponse describeGlobalSSHInstance(
+ DescribeGlobalSSHInstanceRequest request) throws UCloudException;
+
+ /**
+ * DescribePathXLineConfig - 获取全球加速线路信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribePathXLineConfigResponse describePathXLineConfig(
+ DescribePathXLineConfigRequest request) throws UCloudException;
+
+ /**
+ * DescribePathXSSL - 获取SSL证书信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribePathXSSLResponse describePathXSSL(DescribePathXSSLRequest request)
+ throws UCloudException;
+
+ /**
+ * DescribeUGA3Area - 获取全球接入源站可选列表
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUGA3AreaResponse describeUGA3Area(DescribeUGA3AreaRequest request)
+ throws UCloudException;
+
+ /**
+ * DescribeUGA3Instance - 获取全球统一接入加速服务加速配置信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUGA3InstanceResponse describeUGA3Instance(DescribeUGA3InstanceRequest request)
+ throws UCloudException;
+
+ /**
+ * DescribeUGA3Optimization - 获取全球接入UGA3线路加速优化情况
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUGA3OptimizationResponse describeUGA3Optimization(
+ DescribeUGA3OptimizationRequest request) throws UCloudException;
+
+ /**
+ * DescribeUGAInstance - 获取全球加速服务加速配置信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUGAInstanceResponse describeUGAInstance(DescribeUGAInstanceRequest request)
+ throws UCloudException;
+
+ /**
+ * DescribeUPath - 获取加速线路信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUPathResponse describeUPath(DescribeUPathRequest request) throws UCloudException;
+
+ /**
+ * DescribeUPathTemplate - 查询UPath的监控模板
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeUPathTemplateResponse describeUPathTemplate(DescribeUPathTemplateRequest request)
+ throws UCloudException;
+
+ /**
+ * GetGlobalSSHPrice - 获取GlobalSSH价格
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetGlobalSSHPriceResponse getGlobalSSHPrice(GetGlobalSSHPriceRequest request)
+ throws UCloudException;
+
+ /**
+ * GetGlobalSSHUpdatePrice - 获取GlobalSSH升级价格
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetGlobalSSHUpdatePriceResponse getGlobalSSHUpdatePrice(
+ GetGlobalSSHUpdatePriceRequest request) throws UCloudException;
+
+ /**
+ * GetPathXMetric - 获取全球加速监控信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetPathXMetricResponse getPathXMetric(GetPathXMetricRequest request)
+ throws UCloudException;
+
+ /**
+ * GetUGA3Metric - 获取全地域加速监控信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUGA3MetricResponse getUGA3Metric(GetUGA3MetricRequest request) throws UCloudException;
+
+ /**
+ * GetUGA3Price - 获取全球统一接入转发实例价格
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUGA3PriceResponse getUGA3Price(GetUGA3PriceRequest request) throws UCloudException;
+
+ /**
+ * GetUGA3UpdatePrice - 全球统一接入获取实例更新价格(增加、删退)
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetUGA3UpdatePriceResponse getUGA3UpdatePrice(GetUGA3UpdatePriceRequest request)
+ throws UCloudException;
+
+ /**
+ * ModifyGlobalSSHPort - 修改GlobalSSH端口
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyGlobalSSHPortResponse modifyGlobalSSHPort(ModifyGlobalSSHPortRequest request)
+ throws UCloudException;
+
+ /**
+ * ModifyGlobalSSHRemark - 修改GlobalSSH备注
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyGlobalSSHRemarkResponse modifyGlobalSSHRemark(ModifyGlobalSSHRemarkRequest request)
+ throws UCloudException;
+
+ /**
+ * ModifyGlobalSSHType - 修改GlobalSSH实例类型
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyGlobalSSHTypeResponse modifyGlobalSSHType(ModifyGlobalSSHTypeRequest request)
+ throws UCloudException;
+
+ /**
+ * ModifyUGA3Bandwidth - 修改统一接入加速配置带宽
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUGA3BandwidthResponse modifyUGA3Bandwidth(ModifyUGA3BandwidthRequest request)
+ throws UCloudException;
+
+ /**
+ * ModifyUGA3Instance - 修改统一接入加速配置属性
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUGA3InstanceResponse modifyUGA3Instance(ModifyUGA3InstanceRequest request)
+ throws UCloudException;
+
+ /**
+ * ModifyUGA3OriginInfo - 修改统一接入加速配置源站信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUGA3OriginInfoResponse modifyUGA3OriginInfo(ModifyUGA3OriginInfoRequest request)
+ throws UCloudException;
+
+ /**
+ * ModifyUGA3Port - 修改统一接入加速实例端口
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUGA3PortResponse modifyUGA3Port(ModifyUGA3PortRequest request)
+ throws UCloudException;
+
+ /**
+ * ModifyUPathBandwidth - 修改加速线路带宽
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUPathBandwidthResponse modifyUPathBandwidth(ModifyUPathBandwidthRequest request)
+ throws UCloudException;
+
+ /**
+ * ModifyUPathTemplate - 修改UPath监控告警项
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public ModifyUPathTemplateResponse modifyUPathTemplate(ModifyUPathTemplateRequest request)
+ throws UCloudException;
+
+ /**
+ * UGABindUPath - UGA绑定UPath
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UGABindUPathResponse ugaBindUPath(UGABindUPathRequest request) throws UCloudException;
+
+ /**
+ * UGAUnBindUPath - UGA与UPath解绑
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UGAUnBindUPathResponse ugaUnBindUPath(UGAUnBindUPathRequest request)
+ throws UCloudException;
+
+ /**
+ * UnBindPathXSSL - 解绑PathX SSL 证书
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UnBindPathXSSLResponse unBindPathXSSL(UnBindPathXSSLRequest request)
+ throws UCloudException;
+
+ /**
+ * UpdatePathXWhitelist - 更新入口白名单
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UpdatePathXWhitelistResponse updatePathXWhitelist(UpdatePathXWhitelistRequest request)
+ throws UCloudException;
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/BindPathXSSLRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/BindPathXSSLRequest.java
new file mode 100644
index 00000000..7154517d
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/BindPathXSSLRequest.java
@@ -0,0 +1,74 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+import java.util.List;
+
+public class BindPathXSSLRequest extends Request {
+
+ /** 项目ID。 请参考[GetProjectList接口](../summary/get_project_list.html) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 证书ID,如果没有指定证书ID也没有申请免费证书,HTTPS接入无法正常工作 */
+ @NotEmpty
+ @UCloudParam("SSLId")
+ private String sslId;
+
+ /** UGA实例ID */
+ @NotEmpty
+ @UCloudParam("UGAId")
+ private String ugaId;
+
+ /** 绑定SSL证书的HTTPS端口。Port.0 Port.1对应多个Port。如果Port不存在则不会绑定 */
+ @NotEmpty
+ @UCloudParam("Port")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+
+public class BindPathXSSLResponse extends Response {}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateGlobalSSHInstanceRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateGlobalSSHInstanceRequest.java
new file mode 100644
index 00000000..bc239887
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateGlobalSSHInstanceRequest.java
@@ -0,0 +1,173 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class CreateGlobalSSHInstanceRequest extends Request {
+
+ /** 项目ID,如org-xxxx。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 填写支持SSH访问IP的地区名称,如“洛杉矶”,“新加坡”,“香港”,“东京”,“华盛顿”,“法兰克福”,“首尔”。Area和AreaCode两者必填一个 */
+ @NotEmpty
+ @UCloudParam("Area")
+ private String area;
+
+ /** 被SSH访问的源站IP,仅支持IPv4地址。 */
+ @NotEmpty
+ @UCloudParam("TargetIP")
+ private String targetIP;
+
+ /**
+ * 源站服务器监听的SSH端口,可取范围[1-65535],不能使用80,443,
+ * 65123端口。如果InstanceType=Free,取值范围缩小为[22,3389],linux系统选择22,windows系统自动选3389。
+ */
+ @NotEmpty
+ @UCloudParam("Port")
+ private Integer port;
+
+ /** AreaCode, 区域航空港国际通用代码。Area和AreaCode两者必填一个 */
+ @NotEmpty
+ @UCloudParam("AreaCode")
+ private String areaCode;
+
+ /** 备注信息 */
+ @UCloudParam("Remark")
+ private String remark;
+
+ /** 支付方式,如按月:Month、 按年:Year、按时:Dynamic */
+ @UCloudParam("ChargeType")
+ private String chargeType;
+
+ /** 购买数量 按月购买至月底请传0 */
+ @UCloudParam("Quantity")
+ private Integer quantity;
+
+ /** 枚举值:["Ultimate","Enterprise","Basic","Primary"], 分别代表旗舰版,企业版,基础版,入门版 */
+ @UCloudParam("InstanceType")
+ private String instanceType;
+
+ /** Ultimate版本带宽包大小,枚举值:[0,20,40]。单位MB */
+ @UCloudParam("BandwidthPackage")
+ private Integer bandwidthPackage;
+
+ /** InstanceType等于Basic时可以在["cn-bj2","cn-sh2","cn-gd"]中选择1个作为转发机房,其他付费版默认配置三个转发机房 */
+ @UCloudParam("ForwardRegion")
+ private String forwardRegion;
+
+ /** 使用代金券可冲抵部分费用 */
+ @UCloudParam("CouponId")
+ private String couponId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getArea() {
+ return area;
+ }
+
+ public void setArea(String area) {
+ this.area = area;
+ }
+
+ public String getTargetIP() {
+ return targetIP;
+ }
+
+ public void setTargetIP(String targetIP) {
+ this.targetIP = targetIP;
+ }
+
+ public Integer getPort() {
+ return port;
+ }
+
+ public void setPort(Integer port) {
+ this.port = port;
+ }
+
+ public String getAreaCode() {
+ return areaCode;
+ }
+
+ public void setAreaCode(String areaCode) {
+ this.areaCode = areaCode;
+ }
+
+ public String getRemark() {
+ return remark;
+ }
+
+ public void setRemark(String remark) {
+ this.remark = remark;
+ }
+
+ public String getChargeType() {
+ return chargeType;
+ }
+
+ public void setChargeType(String chargeType) {
+ this.chargeType = chargeType;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+
+ public String getInstanceType() {
+ return instanceType;
+ }
+
+ public void setInstanceType(String instanceType) {
+ this.instanceType = instanceType;
+ }
+
+ public Integer getBandwidthPackage() {
+ return bandwidthPackage;
+ }
+
+ public void setBandwidthPackage(Integer bandwidthPackage) {
+ this.bandwidthPackage = bandwidthPackage;
+ }
+
+ public String getForwardRegion() {
+ return forwardRegion;
+ }
+
+ public void setForwardRegion(String forwardRegion) {
+ this.forwardRegion = forwardRegion;
+ }
+
+ public String getCouponId() {
+ return couponId;
+ }
+
+ public void setCouponId(String couponId) {
+ this.couponId = couponId;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateGlobalSSHInstanceResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateGlobalSSHInstanceResponse.java
new file mode 100644
index 00000000..83a3c1cb
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateGlobalSSHInstanceResponse.java
@@ -0,0 +1,44 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+
+public class CreateGlobalSSHInstanceResponse extends Response {
+
+ /** 实例ID,资源唯一标识 */
+ @SerializedName("InstanceId")
+ private String instanceId;
+
+ /** 加速域名,访问该域名可就近接入 */
+ @SerializedName("AcceleratingDomain")
+ private String acceleratingDomain;
+
+ public String getInstanceId() {
+ return instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ }
+
+ public String getAcceleratingDomain() {
+ return acceleratingDomain;
+ }
+
+ public void setAcceleratingDomain(String acceleratingDomain) {
+ this.acceleratingDomain = acceleratingDomain;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreatePathXSSLRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreatePathXSSLRequest.java
new file mode 100644
index 00000000..7bd12978
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreatePathXSSLRequest.java
@@ -0,0 +1,107 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class CreatePathXSSLRequest extends Request {
+
+ /** 项目ID org-xxx格式。 请参考[GetProjectList接口](../summary/get_project_list.html) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** SSL证书的名字 */
+ @NotEmpty
+ @UCloudParam("SSLName")
+ private String sslName;
+
+ /** 所添加的SSL证书类型,目前只支持Pem格式 */
+ @UCloudParam("SSLType")
+ private String sslType;
+
+ /** SSL证书的完整内容,私钥不可使用密码,包括加密证书的私钥、用户证书或CA证书等 */
+ @UCloudParam("SSLContent")
+ private String sslContent;
+
+ /** 用户自签证书内容 */
+ @UCloudParam("UserCert")
+ private String userCert;
+
+ /** 加密证书的私钥,不可使用密码保护,开启密码保护后,重启服务需要输入密码 */
+ @UCloudParam("PrivateKey")
+ private String privateKey;
+
+ /** CA颁发证书内容 */
+ @UCloudParam("CACert")
+ private String caCert;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getSSLName() {
+ return sslName;
+ }
+
+ public void setSSLName(String sslName) {
+ this.sslName = sslName;
+ }
+
+ public String getSSLType() {
+ return sslType;
+ }
+
+ public void setSSLType(String sslType) {
+ this.sslType = sslType;
+ }
+
+ public String getSSLContent() {
+ return sslContent;
+ }
+
+ public void setSSLContent(String sslContent) {
+ this.sslContent = sslContent;
+ }
+
+ public String getUserCert() {
+ return userCert;
+ }
+
+ public void setUserCert(String userCert) {
+ this.userCert = userCert;
+ }
+
+ public String getPrivateKey() {
+ return privateKey;
+ }
+
+ public void setPrivateKey(String privateKey) {
+ this.privateKey = privateKey;
+ }
+
+ public String getCACert() {
+ return caCert;
+ }
+
+ public void setCACert(String caCert) {
+ this.caCert = caCert;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreatePathXSSLResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreatePathXSSLResponse.java
new file mode 100644
index 00000000..2269b6b7
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreatePathXSSLResponse.java
@@ -0,0 +1,32 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+
+public class CreatePathXSSLResponse extends Response {
+
+ /** SSL证书的Id */
+ @SerializedName("SSLId")
+ private String sslId;
+
+ public String getSSLId() {
+ return sslId;
+ }
+
+ public void setSSLId(String sslId) {
+ this.sslId = sslId;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUGA3InstanceRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUGA3InstanceRequest.java
new file mode 100644
index 00000000..694f98cc
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUGA3InstanceRequest.java
@@ -0,0 +1,162 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class CreateUGA3InstanceRequest extends Request {
+
+ /** 项目ID,如org-xxxx。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 实例的共享带宽大小,单位Mbps */
+ @NotEmpty
+ @UCloudParam("Bandwidth")
+ private Integer bandwidth;
+
+ /** 加速配置实例名称,默认PathX */
+ @UCloudParam("Name")
+ private String name;
+
+ /**
+ * 非必填,如果不填,会根据Domain 和IPList 去选一个最近的源站区域 BKK表示AreaCode;曼谷表示Area
+ * ["BKK":"曼谷","DXB":"迪拜","FRA":"法兰克福","SGN":"胡志明市","HKG":"香港",CGK":"雅加达","LOS":"拉各斯","LHR":"伦敦","LAX":"洛杉矶","MNL":"马尼拉","DME":"莫斯科","BOM":"孟买","MSP":"圣保罗","ICN":"首尔","PVG":"上海","SIN":"新加坡","NRT":"东京","IAD":"华盛顿","TPE":
+ * "台北"]
+ */
+ @UCloudParam("AreaCode")
+ private String areaCode;
+
+ /** 备注项 */
+ @UCloudParam("Remark")
+ private String remark;
+
+ /** 支付方式,如按月、按年、按时 [Year,Month,Dynamic] */
+ @UCloudParam("ChargeType")
+ private String chargeType;
+
+ /** 购买周期 */
+ @UCloudParam("Quantity")
+ private Integer quantity;
+
+ /**
+ * 加速大区,默认Global,[ "Global":"全球", "AP":"亚太", "EU":"欧洲", "ME":"中东", "OA":"大洋洲", "AF":"非洲",
+ * "NA":"北美洲", "SA":"南美洲" ]
+ */
+ @UCloudParam("AccelerationArea")
+ private String accelerationArea;
+
+ /** 加速源IP,多个IP用英文半角逗号(,)隔开;IPList和Domain二选一必填 */
+ @UCloudParam("OriginIPList")
+ private String originIPList;
+
+ /** 加速源域名,IPList和Domain二选一必填 */
+ @UCloudParam("OriginDomain")
+ private String originDomain;
+
+ /** 使用代金券可冲抵部分费用,仅全地域可用的代金券 */
+ @UCloudParam("CouponId")
+ private String couponId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public Integer getBandwidth() {
+ return bandwidth;
+ }
+
+ public void setBandwidth(Integer bandwidth) {
+ this.bandwidth = bandwidth;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getAreaCode() {
+ return areaCode;
+ }
+
+ public void setAreaCode(String areaCode) {
+ this.areaCode = areaCode;
+ }
+
+ public String getRemark() {
+ return remark;
+ }
+
+ public void setRemark(String remark) {
+ this.remark = remark;
+ }
+
+ public String getChargeType() {
+ return chargeType;
+ }
+
+ public void setChargeType(String chargeType) {
+ this.chargeType = chargeType;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+
+ public String getAccelerationArea() {
+ return accelerationArea;
+ }
+
+ public void setAccelerationArea(String accelerationArea) {
+ this.accelerationArea = accelerationArea;
+ }
+
+ public String getOriginIPList() {
+ return originIPList;
+ }
+
+ public void setOriginIPList(String originIPList) {
+ this.originIPList = originIPList;
+ }
+
+ public String getOriginDomain() {
+ return originDomain;
+ }
+
+ public void setOriginDomain(String originDomain) {
+ this.originDomain = originDomain;
+ }
+
+ public String getCouponId() {
+ return couponId;
+ }
+
+ public void setCouponId(String couponId) {
+ this.couponId = couponId;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUGA3InstanceResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUGA3InstanceResponse.java
new file mode 100644
index 00000000..06046ce7
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUGA3InstanceResponse.java
@@ -0,0 +1,44 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+
+public class CreateUGA3InstanceResponse extends Response {
+
+ /** 加速配置ID */
+ @SerializedName("InstanceId")
+ private String instanceId;
+
+ /** 加速域名 用户可把业务域名CName到此域名上 */
+ @SerializedName("CName")
+ private String cName;
+
+ public String getInstanceId() {
+ return instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ }
+
+ public String getCName() {
+ return cName;
+ }
+
+ public void setCName(String cName) {
+ this.cName = cName;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUGA3PortRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUGA3PortRequest.java
new file mode 100644
index 00000000..0d81eed1
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUGA3PortRequest.java
@@ -0,0 +1,72 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+import java.util.List;
+
+public class CreateUGA3PortRequest extends Request {
+
+ /** 项目ID。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 加速配置实例ID */
+ @NotEmpty
+ @UCloudParam("InstanceId")
+ private String instanceId;
+
+ /** TCP接入端口,禁用65123端口 */
+ @UCloudParam("TCP")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+
+public class CreateUGA3PortResponse extends Response {}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUGAForwarderRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUGAForwarderRequest.java
new file mode 100644
index 00000000..90e3e577
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUGAForwarderRequest.java
@@ -0,0 +1,240 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+import java.util.List;
+
+public class CreateUGAForwarderRequest extends Request {
+
+ /** 项目ID。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 加速配置实例ID */
+ @NotEmpty
+ @UCloudParam("UGAId")
+ private String ugaId;
+
+ /** HTTP接入HTTP回源转发,接入端口。禁用65123端口 */
+ @UCloudParam("HTTPHTTP")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+
+public class CreateUGAForwarderResponse extends Response {}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUGAInstanceRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUGAInstanceRequest.java
new file mode 100644
index 00000000..cb7bc22a
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUGAInstanceRequest.java
@@ -0,0 +1,96 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+import java.util.List;
+
+public class CreateUGAInstanceRequest extends Request {
+
+ /** 项目ID,如org-xxxx。请参考[GetProjectList接口](../summary/get_project_list.html) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 加速配置实例名称 */
+ @NotEmpty
+ @UCloudParam("Name")
+ private String name;
+
+ /** 加速源IP,多个IP用英文半角逗号(,)隔开;IPList和Domain二选一必填 */
+ @UCloudParam("IPList")
+ private String ipList;
+
+ /** 加速源域名,IPList和Domain二选一必填 */
+ @UCloudParam("Domain")
+ private String domain;
+
+ /** TCP端口号,已废弃。请使用 CreateUGAForwarder API 创建端口 */
+ @UCloudParam("TCP")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+
+public class CreateUGAInstanceResponse extends Response {
+
+ /** 加速配置ID */
+ @SerializedName("UGAId")
+ private String ugaId;
+
+ /** 加速域名 用户可把业务域名CName到此域名上。注意:未绑定线路情况时 加速域名解析不出IP。 */
+ @SerializedName("CName")
+ private String cName;
+
+ public String getUGAId() {
+ return ugaId;
+ }
+
+ public void setUGAId(String ugaId) {
+ this.ugaId = ugaId;
+ }
+
+ public String getCName() {
+ return cName;
+ }
+
+ public void setCName(String cName) {
+ this.cName = cName;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUPathRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUPathRequest.java
new file mode 100644
index 00000000..703a6ed6
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUPathRequest.java
@@ -0,0 +1,136 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class CreateUPathRequest extends Request {
+
+ /** 项目ID,如org-xxxx。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 名字,便于记忆区分 */
+ @NotEmpty
+ @UCloudParam("Name")
+ private String name;
+
+ /** 选择的线路,由DescribePathXLineConfig接口提供 */
+ @NotEmpty
+ @UCloudParam("LineId")
+ private String lineId;
+
+ /**
+ * 当PostPaid为false时,该值为预付费固定带宽;当PostPaid为true时,该值为后付费保底带宽,保底带宽越大可用的上限带宽越大。最小1Mbps,最大带宽由
+ * DescribePathXLineConfig 接口获得。可联系产品团队咨询最大带宽。
+ */
+ @NotEmpty
+ @UCloudParam("Bandwidth")
+ private Integer bandwidth;
+
+ /** 计费模式,默认为Month 按月收费,可选范围['Month','Year','Dynamic'] */
+ @UCloudParam("ChargeType")
+ private String chargeType;
+
+ /** 购买周期,ChargeType为Month时,Quantity默认为0代表购买到月底,按时和按年付费该参数必须大于0 */
+ @UCloudParam("Quantity")
+ private Integer quantity;
+
+ /** 是否开启后付费, 默认为false ,不开启后付费。当ChargeType为Dynamic时不能开启后付费。 */
+ @UCloudParam("PostPaid")
+ private Boolean postPaid;
+
+ /** private:专线线路;public:海外SD-WAN。默认为private。 */
+ @UCloudParam("PathType")
+ private String pathType;
+
+ /** 代金券Id */
+ @UCloudParam("CouponId")
+ private String couponId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getLineId() {
+ return lineId;
+ }
+
+ public void setLineId(String lineId) {
+ this.lineId = lineId;
+ }
+
+ public Integer getBandwidth() {
+ return bandwidth;
+ }
+
+ public void setBandwidth(Integer bandwidth) {
+ this.bandwidth = bandwidth;
+ }
+
+ public String getChargeType() {
+ return chargeType;
+ }
+
+ public void setChargeType(String chargeType) {
+ this.chargeType = chargeType;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+
+ public Boolean getPostPaid() {
+ return postPaid;
+ }
+
+ public void setPostPaid(Boolean postPaid) {
+ this.postPaid = postPaid;
+ }
+
+ public String getPathType() {
+ return pathType;
+ }
+
+ public void setPathType(String pathType) {
+ this.pathType = pathType;
+ }
+
+ public String getCouponId() {
+ return couponId;
+ }
+
+ public void setCouponId(String couponId) {
+ this.couponId = couponId;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUPathResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUPathResponse.java
new file mode 100644
index 00000000..e35cb7cf
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/CreateUPathResponse.java
@@ -0,0 +1,32 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+
+public class CreateUPathResponse extends Response {
+
+ /** 加速线路实例Id */
+ @SerializedName("PathId")
+ private String pathId;
+
+ public String getPathId() {
+ return pathId;
+ }
+
+ public void setPathId(String pathId) {
+ this.pathId = pathId;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteGlobalSSHInstanceRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteGlobalSSHInstanceRequest.java
new file mode 100644
index 00000000..bbe301fc
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteGlobalSSHInstanceRequest.java
@@ -0,0 +1,47 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DeleteGlobalSSHInstanceRequest extends Request {
+
+ /** 项目ID,如org-xxxx。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 实例Id,资源的唯一标识 */
+ @NotEmpty
+ @UCloudParam("InstanceId")
+ private String instanceId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getInstanceId() {
+ return instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteGlobalSSHInstanceResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteGlobalSSHInstanceResponse.java
new file mode 100644
index 00000000..a2d7bfe2
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteGlobalSSHInstanceResponse.java
@@ -0,0 +1,18 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+
+public class DeleteGlobalSSHInstanceResponse extends Response {}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeletePathXSSLRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeletePathXSSLRequest.java
new file mode 100644
index 00000000..81311415
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeletePathXSSLRequest.java
@@ -0,0 +1,47 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DeletePathXSSLRequest extends Request {
+
+ /** 项目ID。请参考[GetProjectList接口](../summary/get_project_list.html) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** SSL证书的ID */
+ @NotEmpty
+ @UCloudParam("SSLId")
+ private String sslId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getSSLId() {
+ return sslId;
+ }
+
+ public void setSSLId(String sslId) {
+ this.sslId = sslId;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeletePathXSSLResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeletePathXSSLResponse.java
new file mode 100644
index 00000000..20ba3c2a
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeletePathXSSLResponse.java
@@ -0,0 +1,18 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+
+public class DeletePathXSSLResponse extends Response {}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGA3InstanceRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGA3InstanceRequest.java
new file mode 100644
index 00000000..cb1d8df3
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGA3InstanceRequest.java
@@ -0,0 +1,47 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DeleteUGA3InstanceRequest extends Request {
+
+ /** 项目ID,如org-xxxx。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 实例Id,资源的唯一标识 */
+ @NotEmpty
+ @UCloudParam("InstanceId")
+ private String instanceId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getInstanceId() {
+ return instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGA3InstanceResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGA3InstanceResponse.java
new file mode 100644
index 00000000..08a4bda7
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGA3InstanceResponse.java
@@ -0,0 +1,18 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+
+public class DeleteUGA3InstanceResponse extends Response {}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGA3PortRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGA3PortRequest.java
new file mode 100644
index 00000000..144be7f6
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGA3PortRequest.java
@@ -0,0 +1,60 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+import java.util.List;
+
+public class DeleteUGA3PortRequest extends Request {
+
+ /** 项目ID。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 加速配置实例ID */
+ @NotEmpty
+ @UCloudParam("InstanceId")
+ private String instanceId;
+
+ /** TCP接入端口 */
+ @UCloudParam("TCP")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+
+public class DeleteUGA3PortResponse extends Response {}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGAForwarderRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGAForwarderRequest.java
new file mode 100644
index 00000000..fea89555
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGAForwarderRequest.java
@@ -0,0 +1,144 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+import java.util.List;
+
+public class DeleteUGAForwarderRequest extends Request {
+
+ /** 项目ID。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 加速配置实例ID */
+ @NotEmpty
+ @UCloudParam("UGAId")
+ private String ugaId;
+
+ /** HTTP接入HTTP回源,接入端口。禁用65123端口 */
+ @UCloudParam("HTTPHTTP")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+
+public class DeleteUGAForwarderResponse extends Response {}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGAInstanceRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGAInstanceRequest.java
new file mode 100644
index 00000000..5c9f9ed8
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGAInstanceRequest.java
@@ -0,0 +1,47 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DeleteUGAInstanceRequest extends Request {
+
+ /** 项目ID,如org-xxxx。请参考[GetProjectList接口](../summary/get_project_list.html) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 加速配置实例ID */
+ @NotEmpty
+ @UCloudParam("UGAId")
+ private String ugaId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getUGAId() {
+ return ugaId;
+ }
+
+ public void setUGAId(String ugaId) {
+ this.ugaId = ugaId;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGAInstanceResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGAInstanceResponse.java
new file mode 100644
index 00000000..2cf9faac
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUGAInstanceResponse.java
@@ -0,0 +1,18 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+
+public class DeleteUGAInstanceResponse extends Response {}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUPathRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUPathRequest.java
new file mode 100644
index 00000000..9e7d23c6
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUPathRequest.java
@@ -0,0 +1,47 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DeleteUPathRequest extends Request {
+
+ /** 项目ID。请参考[GetProjectList接口](../summary/get_project_list.html) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 加速线路实例ID */
+ @NotEmpty
+ @UCloudParam("UPathId")
+ private String uPathId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getUPathId() {
+ return uPathId;
+ }
+
+ public void setUPathId(String uPathId) {
+ this.uPathId = uPathId;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUPathResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUPathResponse.java
new file mode 100644
index 00000000..96b857b2
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DeleteUPathResponse.java
@@ -0,0 +1,18 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+
+public class DeleteUPathResponse extends Response {}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeGlobalSSHInstanceRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeGlobalSSHInstanceRequest.java
new file mode 100644
index 00000000..ab0004bf
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeGlobalSSHInstanceRequest.java
@@ -0,0 +1,46 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DescribeGlobalSSHInstanceRequest extends Request {
+
+ /** 项目ID,如org-xxxx。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 实例ID,资源唯一标识 */
+ @UCloudParam("InstanceId")
+ private String instanceId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getInstanceId() {
+ return instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeGlobalSSHInstanceResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeGlobalSSHInstanceResponse.java
new file mode 100644
index 00000000..a5928bd5
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeGlobalSSHInstanceResponse.java
@@ -0,0 +1,204 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+import java.util.List;
+
+public class DescribeGlobalSSHInstanceResponse extends Response {
+
+ /** GlobalSSH实例列表,实例的属性参考GlobalSSHInfo模型 */
+ @SerializedName("InstanceSet")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DescribePathXLineConfigRequest extends Request {
+
+ /** 项目ID,如org-xxxx。请参考[GetProjectList接口](../summary/get_project_list.html) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribePathXLineConfigResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribePathXLineConfigResponse.java
new file mode 100644
index 00000000..f15bad4a
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribePathXLineConfigResponse.java
@@ -0,0 +1,183 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+import java.util.List;
+
+public class DescribePathXLineConfigResponse extends Response {
+
+ /** UGAA线路列表,参考UGAALine字段定义 */
+ @SerializedName("LineSet")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DescribePathXSSLRequest extends Request {
+
+ /** 项目ID。请参考[GetProjectList接口](../summary/get_project_list.html) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** SSL证书的Id,不传分页获取证书列表 */
+ @UCloudParam("SSLId")
+ private String sslId;
+
+ /** 不为空则按证书名称、证书域名模糊搜索 分页返回结果 */
+ @UCloudParam("SearchValue")
+ private String searchValue;
+
+ /** 最大返回条数,默认100,最大400 */
+ @UCloudParam("Limit")
+ private Integer limit;
+
+ /** 偏移值 默认为0 */
+ @UCloudParam("Offset")
+ private Integer offset;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getSSLId() {
+ return sslId;
+ }
+
+ public void setSSLId(String sslId) {
+ this.sslId = sslId;
+ }
+
+ public String getSearchValue() {
+ return searchValue;
+ }
+
+ public void setSearchValue(String searchValue) {
+ this.searchValue = searchValue;
+ }
+
+ public Integer getLimit() {
+ return limit;
+ }
+
+ public void setLimit(Integer limit) {
+ this.limit = limit;
+ }
+
+ public Integer getOffset() {
+ return offset;
+ }
+
+ public void setOffset(Integer offset) {
+ this.offset = offset;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribePathXSSLResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribePathXSSLResponse.java
new file mode 100644
index 00000000..59ecb6d7
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribePathXSSLResponse.java
@@ -0,0 +1,183 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+import java.util.List;
+
+public class DescribePathXSSLResponse extends Response {
+
+ /** SSL证书详细信息,具体结构见 PathXSSLSet */
+ @SerializedName("DataSet")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DescribeUGA3AreaRequest extends Request {
+
+ /** 项目ID,如org-xxxx。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** IP集合,非必填。如果填IP或者域名,会推荐一个地域在返回列表的第一个,源站IP集合,以逗号分隔[127.0.0.1,127.0.0.2] */
+ @UCloudParam("IPList")
+ private String ipList;
+
+ /** 域名,非必填。如果填IP或者域名,会推荐一个地域在返回列表的第一个 */
+ @UCloudParam("Domain")
+ private String domain;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getIPList() {
+ return ipList;
+ }
+
+ public void setIPList(String ipList) {
+ this.ipList = ipList;
+ }
+
+ public String getDomain() {
+ return domain;
+ }
+
+ public void setDomain(String domain) {
+ this.domain = domain;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3AreaResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3AreaResponse.java
new file mode 100644
index 00000000..3f0999e6
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3AreaResponse.java
@@ -0,0 +1,113 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+import java.util.List;
+
+public class DescribeUGA3AreaResponse extends Response {
+
+ /**
+ * 支持源站的地区,比如: AreaSet[{ "Area": "首尔", "AreaCode": "ICN", "CountryCode": "CN", "ContinentCode":
+ * "CN" }]
+ *
+ * ContinentCode:["CN","NA","OT"];"CN":表示国内,"NA":表示美洲,“OT":表示欧洲等其他地区
+ */
+ @SerializedName("AreaSet")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DescribeUGA3InstanceRequest extends Request {
+
+ /** 项目ID。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 加速配置实例ID,如果传了实例ID 则返回匹配实例ID的记录;如果没传则返回 ProjectId 下全部实例且符合分页要求 */
+ @UCloudParam("InstanceId")
+ private String instanceId;
+
+ /** 返回的最大条数,默认为100,最大值400 */
+ @UCloudParam("Limit")
+ private Integer limit;
+
+ /** 偏移量,默认为0 */
+ @UCloudParam("Offset")
+ private Integer offset;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getInstanceId() {
+ return instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ }
+
+ public Integer getLimit() {
+ return limit;
+ }
+
+ public void setLimit(Integer limit) {
+ this.limit = limit;
+ }
+
+ public Integer getOffset() {
+ return offset;
+ }
+
+ public void setOffset(Integer offset) {
+ this.offset = offset;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3InstanceResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3InstanceResponse.java
new file mode 100644
index 00000000..82404e95
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3InstanceResponse.java
@@ -0,0 +1,398 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+import java.util.List;
+
+public class DescribeUGA3InstanceResponse extends Response {
+
+ /** 全球加速实例信息列表 */
+ @SerializedName("ForwardInstanceInfos")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DescribeUGA3OptimizationRequest extends Request {
+
+ /** 项目ID,如org-xxxx。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 源站AreaCode */
+ @NotEmpty
+ @UCloudParam("AreaCode")
+ private String areaCode;
+
+ /** 默认一天 ,枚举类型["Hour","Day","Week"] */
+ @UCloudParam("TimeRange")
+ private String timeRange;
+
+ /**
+ * 加速大区,默认Global,[ "Global":"全球", "AP":"亚太", "EU":"欧洲", "ME":"中东", "OA":"大洋洲", "AF":"非洲",
+ * "NA":"北美洲", "SA":"南美洲" ]
+ */
+ @UCloudParam("AccelerationArea")
+ private String accelerationArea;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getAreaCode() {
+ return areaCode;
+ }
+
+ public void setAreaCode(String areaCode) {
+ this.areaCode = areaCode;
+ }
+
+ public String getTimeRange() {
+ return timeRange;
+ }
+
+ public void setTimeRange(String timeRange) {
+ this.timeRange = timeRange;
+ }
+
+ public String getAccelerationArea() {
+ return accelerationArea;
+ }
+
+ public void setAccelerationArea(String accelerationArea) {
+ this.accelerationArea = accelerationArea;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3OptimizationResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3OptimizationResponse.java
new file mode 100644
index 00000000..b22d2790
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGA3OptimizationResponse.java
@@ -0,0 +1,207 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+import java.util.List;
+
+public class DescribeUGA3OptimizationResponse extends Response {
+
+ /** 加速详情 */
+ @SerializedName("AccelerationInfos")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DescribeUGAInstanceRequest extends Request {
+
+ /** 项目ID。请参考[GetProjectList接口](../summary/get_project_list.html) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 加速配置实例ID,如果传了实例ID 则返回匹配实例ID的记录;如果没传则返回 ProjectId 下全部实例且符合分页要求 */
+ @UCloudParam("UGAId")
+ private String ugaId;
+
+ /** 返回的最大条数,默认为100,最大值400 */
+ @UCloudParam("Limit")
+ private Integer limit;
+
+ /** 偏移量,默认为0 */
+ @UCloudParam("Offset")
+ private Integer offset;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getUGAId() {
+ return ugaId;
+ }
+
+ public void setUGAId(String ugaId) {
+ this.ugaId = ugaId;
+ }
+
+ public Integer getLimit() {
+ return limit;
+ }
+
+ public void setLimit(Integer limit) {
+ this.limit = limit;
+ }
+
+ public Integer getOffset() {
+ return offset;
+ }
+
+ public void setOffset(Integer offset) {
+ this.offset = offset;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGAInstanceResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGAInstanceResponse.java
new file mode 100644
index 00000000..87a7815c
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUGAInstanceResponse.java
@@ -0,0 +1,435 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+import java.util.List;
+
+public class DescribeUGAInstanceResponse extends Response {
+
+ /** 全球加速实例信息列表 */
+ @SerializedName("UGAList")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DescribeUPathRequest extends Request {
+
+ /** 项目ID。请参考[GetProjectList接口](../summary/get_project_list.html) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 如果不填参数 返回 ProjectId 下所有的线路资源,填此参数则返回upath实例ID匹配的线路 */
+ @UCloudParam("UPathId")
+ private String uPathId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getUPathId() {
+ return uPathId;
+ }
+
+ public void setUPathId(String uPathId) {
+ this.uPathId = uPathId;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUPathResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUPathResponse.java
new file mode 100644
index 00000000..5d8ae6ef
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUPathResponse.java
@@ -0,0 +1,246 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+import java.util.List;
+
+public class DescribeUPathResponse extends Response {
+
+ /** 线路信息数组 */
+ @SerializedName("UPathSet")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DescribeUPathTemplateRequest extends Request {
+
+ /** 项目ID。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 加速线路实例ID,格式 upath-xxxx */
+ @NotEmpty
+ @UCloudParam("UPathId")
+ private String uPathId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getUPathId() {
+ return uPathId;
+ }
+
+ public void setUPathId(String uPathId) {
+ this.uPathId = uPathId;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUPathTemplateResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUPathTemplateResponse.java
new file mode 100644
index 00000000..204fcfe3
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeUPathTemplateResponse.java
@@ -0,0 +1,147 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+import java.util.List;
+
+public class DescribeUPathTemplateResponse extends Response {
+
+ /** 监控模板详情 */
+ @SerializedName("DataSet")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetGlobalSSHPriceRequest extends Request {
+
+ /** 项目ID,如org-xxxx。请参考[GetProjectList接口](../summary/get_project_list.html) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 购买周期,如果ChargeType为Month,Quantity默认为0;其他情况必须为大于0的整数 */
+ @UCloudParam("Quantity")
+ private Integer quantity;
+
+ /** 计费类型:Dynamic,Month,Year */
+ @UCloudParam("ChargeType")
+ private String chargeType;
+
+ /** 版本类型。枚举值,Enterprise:企业版;Basic:基础版。可不填,默认为Basic。 */
+ @UCloudParam("InstanceType")
+ private String instanceType;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+
+ public String getChargeType() {
+ return chargeType;
+ }
+
+ public void setChargeType(String chargeType) {
+ this.chargeType = chargeType;
+ }
+
+ public String getInstanceType() {
+ return instanceType;
+ }
+
+ public void setInstanceType(String instanceType) {
+ this.instanceType = instanceType;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetGlobalSSHPriceResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetGlobalSSHPriceResponse.java
new file mode 100644
index 00000000..bb3cc38f
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetGlobalSSHPriceResponse.java
@@ -0,0 +1,32 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+
+public class GetGlobalSSHPriceResponse extends Response {
+
+ /** 价格,返回单位为元 */
+ @SerializedName("Price")
+ private Double price;
+
+ public Double getPrice() {
+ return price;
+ }
+
+ public void setPrice(Double price) {
+ this.price = price;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetGlobalSSHUpdatePriceRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetGlobalSSHUpdatePriceRequest.java
new file mode 100644
index 00000000..3cd025da
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetGlobalSSHUpdatePriceRequest.java
@@ -0,0 +1,83 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class GetGlobalSSHUpdatePriceRequest extends Request {
+
+ /** 项目ID,如org-xxxx。请参考[GetProjectList接口](../summary/get_project_list.html) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 升级后的实例类型。枚举值,Enterprise:企业版;Basic:基础版。 */
+ @NotEmpty
+ @UCloudParam("InstanceType")
+ private String instanceType;
+
+ /** 实例ID,唯一资源标识。从免费版升级到付费版可不填,其他情况必填。 */
+ @UCloudParam("InstanceId")
+ private String instanceId;
+
+ /** 购买周期,如果ChargeType为Month,Quantity可以不填默认为0;其他情况必须为正整数。 */
+ @UCloudParam("Quantity")
+ private Integer quantity;
+
+ /** 计费类型:Dynamic,Month,Year。从免费版升级到付费版必须传,其他情况不需要传 */
+ @UCloudParam("ChargeType")
+ private String chargeType;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getInstanceType() {
+ return instanceType;
+ }
+
+ public void setInstanceType(String instanceType) {
+ this.instanceType = instanceType;
+ }
+
+ public String getInstanceId() {
+ return instanceId;
+ }
+
+ public void setInstanceId(String instanceId) {
+ this.instanceId = instanceId;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+
+ public String getChargeType() {
+ return chargeType;
+ }
+
+ public void setChargeType(String chargeType) {
+ this.chargeType = chargeType;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetGlobalSSHUpdatePriceResponse.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetGlobalSSHUpdatePriceResponse.java
new file mode 100644
index 00000000..b4d4e1e9
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetGlobalSSHUpdatePriceResponse.java
@@ -0,0 +1,32 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+
+public class GetGlobalSSHUpdatePriceResponse extends Response {
+
+ /** 价格,返回单位为元。正数表示付费升级,负数表示降级退费。 */
+ @SerializedName("Price")
+ private Double price;
+
+ public Double getPrice() {
+ return price;
+ }
+
+ public void setPrice(Double price) {
+ this.price = price;
+ }
+}
diff --git a/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetPathXMetricRequest.java b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetPathXMetricRequest.java
new file mode 100644
index 00000000..dd6b57f3
--- /dev/null
+++ b/ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/GetPathXMetricRequest.java
@@ -0,0 +1,115 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+import java.util.List;
+
+public class GetPathXMetricRequest extends Request {
+
+ /** 项目ID。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** ResourceId,如upath ID 和 uga ID */
+ @NotEmpty
+ @UCloudParam("ResourceId")
+ private String resourceId;
+
+ /** 查询起始时间,10位长度时间戳 */
+ @NotEmpty
+ @UCloudParam("BeginTime")
+ private Integer beginTime;
+
+ /** 查询结束时间,10位长度时间戳 */
+ @NotEmpty
+ @UCloudParam("EndTime")
+ private Integer endTime;
+
+ /**
+ * 查询监控的指标项。目前仅允许以下四项:NetworkOut:出向带宽,NetworkIn:入向带宽,NetworkOutUsage:出向带宽使用率,NetworkInUsage:入向带宽使用率
+ */
+ @NotEmpty
+ @UCloudParam("MetricName")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+import java.util.List;
+
+public class GetPathXMetricResponse extends Response {
+
+ /** 监控数据结果集 */
+ @SerializedName("DataSet")
+ private MetricPeriod dataSet;
+
+ public MetricPeriod getDataSet() {
+ return dataSet;
+ }
+
+ public void setDataSet(MetricPeriod dataSet) {
+ this.dataSet = dataSet;
+ }
+
+ public static class MetricPeriod extends Response {
+
+ /** 出向带宽 */
+ @SerializedName("NetworkOut")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+import java.util.List;
+
+public class GetUGA3MetricRequest extends Request {
+
+ /** 项目ID。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 资源ID */
+ @NotEmpty
+ @UCloudParam("InstanceId")
+ private String instanceId;
+
+ /** 查询起始时间,10位长度时间戳 */
+ @NotEmpty
+ @UCloudParam("BeginTime")
+ private Integer beginTime;
+
+ /** 查询结束时间,10位长度时间戳 */
+ @NotEmpty
+ @UCloudParam("EndTime")
+ private Integer endTime;
+
+ /**
+ * 查询监控的指标项。可不传 NetworkOut:出口总带宽 NetworkIn:入口总带宽 NetworkOutUsage:出口带宽使用率 NetworkInUsage:入口总带宽使用率
+ * NetworkOutSubline :子线路出口带宽 NetworkInSubline:子线路入口带宽 Delay:线路平均延迟 DelaySubline:子线路延迟
+ * ConnectCount:当前连接数 ConnectCountSubline:子线路当前连接数 DelayPromote:延迟提升 DelayPromoteSubline:子线路延迟提升
+ */
+ @UCloudParam("MetricName")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.pathx.models;
+
+import cn.ucloud.common.response.Response;
+import com.google.gson.annotations.SerializedName;
+import java.util.List;
+
+public class GetUGA3MetricResponse extends Response {
+
+ /** 监控数据结果集 */
+ @SerializedName("DataSet")
+ private UGA3Metric dataSet;
+
+ public UGA3Metric getDataSet() {
+ return dataSet;
+ }
+
+ public void setDataSet(UGA3Metric dataSet) {
+ this.dataSet = dataSet;
+ }
+
+ public static class MatricPoint extends Response {
+
+ /** 时间戳 */
+ @SerializedName("Timestamp")
+ private Integer timestamp;
+
+ /** 监控点数值 */
+ @SerializedName("Value")
+ private Integer value;
+
+ public Integer getTimestamp() {
+ return timestamp;
+ }
+
+ public void setTimestamp(Integer timestamp) {
+ this.timestamp = timestamp;
+ }
+
+ public Integer getValue() {
+ return value;
+ }
+
+ public void setValue(Integer value) {
+ this.value = value;
+ }
+ }
+
+ public static class UGA3Metric extends Response {
+
+ /** 出向带宽 */
+ @SerializedName("NetworkOut")
+ private List