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 + * 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 + * 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 + * 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; @@ -17,163 +19,243 @@ 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.GetCubeTokenRequest; import cn.ucloud.cube.models.GetCubeTokenResponse; + + + import cn.ucloud.cube.models.ListCubePodRequest; import cn.ucloud.cube.models.ListCubePodResponse; + + + import cn.ucloud.cube.models.RenewCubePodRequest; import cn.ucloud.cube.models.RenewCubePodResponse; -/** This client is used to call actions of **Cube** service */ +/** + * 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 - 创建容器实例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 - 创建容器实例 - * - * @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 - 删除容器实例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 - 删除容器实例 - * - * @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 - 获取容器实例附加信息 - * - * @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 - 获取容器实例指标 - * - * @param request Request object - * @throws UCloudException Exception - */ - public GetCubeMetricsResponse getCubeMetrics(GetCubeMetricsRequest request) - throws UCloudException { - request.setAction("GetCubeMetrics"); - return (GetCubeMetricsResponse) this.invoke(request, GetCubeMetricsResponse.class); - } - - /** - * GetCubeToken - 获取容器实例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); - } - - /** - * ListCubePod - 获取容器实例详细列表 - * - * @param request Request object - * @throws UCloudException Exception - */ - public ListCubePodResponse listCubePod(ListCubePodRequest request) throws UCloudException { - request.setAction("ListCubePod"); - return (ListCubePodResponse) this.invoke(request, ListCubePodResponse.class); - } - - /** - * RenewCubePod - 更新容器实例 - * - * @param request Request object - * @throws UCloudException Exception - */ - public RenewCubePodResponse renewCubePod(RenewCubePodRequest request) throws UCloudException { - request.setAction("RenewCubePod"); - return (RenewCubePodResponse) this.invoke(request, RenewCubePodResponse.class); - } + + + + + + + /** + * CreateCubeDeployment - 创建容器实例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 - 创建容器实例 + * + * @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 - 删除容器实例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 - 删除容器实例 + * + * @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 - 获取容器实例附加信息 + * + * @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 - 获取容器实例指标 + * + * @param request Request object + * @throws UCloudException Exception + */ + public GetCubeMetricsResponse getCubeMetrics(GetCubeMetricsRequest request) throws UCloudException { + request.setAction("GetCubeMetrics"); + return (GetCubeMetricsResponse) this.invoke(request, GetCubeMetricsResponse.class); + } + + + + + + + /** + * GetCubeToken - 获取容器实例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); + } + + + + + + + /** + * ListCubePod - 获取容器实例详细列表 + * + * @param request Request object + * @throws UCloudException Exception + */ + public ListCubePodResponse listCubePod(ListCubePodRequest request) throws UCloudException { + request.setAction("ListCubePod"); + return (ListCubePodResponse) this.invoke(request, ListCubePodResponse.class); + } + + + + + + + /** + * RenewCubePod - 更新容器实例 + * + * @param request Request object + * @throws UCloudException Exception + */ + public RenewCubePodResponse renewCubePod(RenewCubePodRequest request) throws UCloudException { + request.setAction("RenewCubePod"); + return (RenewCubePodResponse) this.invoke(request, RenewCubePodResponse.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 index 6a826df8..ed4d0275 100644 --- 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 @@ -1,55 +1,101 @@ /** * 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 + * 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 + * 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 + * 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.GetCubeTokenRequest; import cn.ucloud.cube.models.GetCubeTokenResponse; + + + import cn.ucloud.cube.models.ListCubePodRequest; import cn.ucloud.cube.models.ListCubePodResponse; + + + import cn.ucloud.cube.models.RenewCubePodRequest; import cn.ucloud.cube.models.RenewCubePodResponse; -/** This client is used to call actions of **Cube** service */ +/** + * This client is used to call actions of **Cube** service + */ public interface CubeClientInterface extends Client { - + + + + + + /** * CreateCubeDeployment - 创建容器实例Deployment * * @param request Request object * @throws UCloudException Exception */ - public CreateCubeDeploymentResponse createCubeDeployment(CreateCubeDeploymentRequest request) - throws UCloudException; - + public CreateCubeDeploymentResponse createCubeDeployment(CreateCubeDeploymentRequest request) throws UCloudException; + + + + + + /** * CreateCubePod - 创建容器实例 * @@ -57,16 +103,25 @@ public CreateCubeDeploymentResponse createCubeDeployment(CreateCubeDeploymentReq * @throws UCloudException Exception */ public CreateCubePodResponse createCubePod(CreateCubePodRequest request) throws UCloudException; - + + + + + + /** * DeleteCubeDeployment - 删除容器实例Deployment * * @param request Request object * @throws UCloudException Exception */ - public DeleteCubeDeploymentResponse deleteCubeDeployment(DeleteCubeDeploymentRequest request) - throws UCloudException; - + public DeleteCubeDeploymentResponse deleteCubeDeployment(DeleteCubeDeploymentRequest request) throws UCloudException; + + + + + + /** * DeleteCubePod - 删除容器实例 * @@ -74,43 +129,64 @@ public DeleteCubeDeploymentResponse deleteCubeDeployment(DeleteCubeDeploymentReq * @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; - + public GetCubeDeploymentResponse getCubeDeployment(GetCubeDeploymentRequest request) throws UCloudException; + + + + + + /** * GetCubeExecToken - 获取容器实例执行token * * @param request Request object * @throws UCloudException Exception */ - public GetCubeExecTokenResponse getCubeExecToken(GetCubeExecTokenRequest request) - throws UCloudException; - + public GetCubeExecTokenResponse getCubeExecToken(GetCubeExecTokenRequest request) throws UCloudException; + + + + + + /** * GetCubeExtendInfo - 获取容器实例附加信息 * * @param request Request object * @throws UCloudException Exception */ - public GetCubeExtendInfoResponse getCubeExtendInfo(GetCubeExtendInfoRequest request) - throws UCloudException; - + public GetCubeExtendInfoResponse getCubeExtendInfo(GetCubeExtendInfoRequest request) throws UCloudException; + + + + + + /** * GetCubeMetrics - 获取容器实例指标 * * @param request Request object * @throws UCloudException Exception */ - public GetCubeMetricsResponse getCubeMetrics(GetCubeMetricsRequest request) - throws UCloudException; - + public GetCubeMetricsResponse getCubeMetrics(GetCubeMetricsRequest request) throws UCloudException; + + + + + + /** * GetCubeToken - 获取容器实例Token * @@ -118,7 +194,12 @@ public GetCubeMetricsResponse getCubeMetrics(GetCubeMetricsRequest request) * @throws UCloudException Exception */ public GetCubeTokenResponse getCubeToken(GetCubeTokenRequest request) throws UCloudException; - + + + + + + /** * ListCubePod - 获取容器实例详细列表 * @@ -126,7 +207,12 @@ public GetCubeMetricsResponse getCubeMetrics(GetCubeMetricsRequest request) * @throws UCloudException Exception */ public ListCubePodResponse listCubePod(ListCubePodRequest request) throws UCloudException; - + + + + + + /** * RenewCubePod - 更新容器实例 * 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 index 245f61d6..33a2f5c6 100644 --- 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 @@ -1,77 +1,124 @@ /** * 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 + * 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 + * 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 + * 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 java.util.List; + +import cn.ucloud.common.request.Request; 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) */ + + + /** + * 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + */ @NotEmpty @UCloudParam("Region") private String region; - - /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + + + + /** + * 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + */ @NotEmpty @UCloudParam("Zone") private String zone; - + + + /** - * 项目ID。不填写为默认项目,子帐号必须填写。 - * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */ @UCloudParam("ProjectId") private String projectId; - - /** Deployment所属VPC */ + + + + /** + * Deployment所属VPC + */ @NotEmpty @UCloudParam("VPCId") private String vpcId; - - /** Deployment所属子网 */ + + + + /** + * Deployment所属子网 + */ @NotEmpty @UCloudParam("SubnetId") private String subnetId; - - /** Deployment yaml,使用base64编码 */ + + + + /** + * Deployment yaml,使用base64编码 + */ @NotEmpty @UCloudParam("Deployment") private String deployment; - - /** Deployment名称 */ + + + + /** + * Deployment名称 + */ @UCloudParam("Name") private String name; - - /** CPU平台 */ + + + + /** + * CPU平台 + */ @UCloudParam("CpuPlatform") private String cpuPlatform; - - /** 计费模式 */ + + + + /** + * 计费模式 + */ @UCloudParam("ChargeType") private String chargeType; - - /** 数量,默认为1 */ + + + + /** + * 数量,默认为1 + */ @UCloudParam("Quantity") private String quantity; - - /** 标签 */ + + + + /** + * 标签 + */ @UCloudParam("Tag") private String tag; - + + public String getRegion() { return region; } @@ -79,7 +126,7 @@ public String getRegion() { public void setRegion(String region) { this.region = region; } - + public String getZone() { return zone; } @@ -87,7 +134,7 @@ public String getZone() { public void setZone(String zone) { this.zone = zone; } - + public String getProjectId() { return projectId; } @@ -95,7 +142,7 @@ public String getProjectId() { public void setProjectId(String projectId) { this.projectId = projectId; } - + public String getVPCId() { return vpcId; } @@ -103,7 +150,7 @@ public String getVPCId() { public void setVPCId(String vpcId) { this.vpcId = vpcId; } - + public String getSubnetId() { return subnetId; } @@ -111,7 +158,7 @@ public String getSubnetId() { public void setSubnetId(String subnetId) { this.subnetId = subnetId; } - + public String getDeployment() { return deployment; } @@ -119,7 +166,7 @@ public String getDeployment() { public void setDeployment(String deployment) { this.deployment = deployment; } - + public String getName() { return name; } @@ -127,7 +174,7 @@ public String getName() { public void setName(String name) { this.name = name; } - + public String getCpuPlatform() { return cpuPlatform; } @@ -135,7 +182,7 @@ public String getCpuPlatform() { public void setCpuPlatform(String cpuPlatform) { this.cpuPlatform = cpuPlatform; } - + public String getChargeType() { return chargeType; } @@ -143,7 +190,7 @@ public String getChargeType() { public void setChargeType(String chargeType) { this.chargeType = chargeType; } - + public String getQuantity() { return quantity; } @@ -151,7 +198,7 @@ public String getQuantity() { public void setQuantity(String quantity) { this.quantity = quantity; } - + public String getTag() { return tag; } @@ -159,4 +206,14 @@ public String getTag() { 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 index 20a6c139..9c4c2634 100644 --- 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 @@ -1,33 +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 + * 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 + * 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 + * 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 java.util.List; -import cn.ucloud.common.response.Response; import com.google.gson.annotations.SerializedName; +import cn.ucloud.common.response.Response; + public class CreateCubeDeploymentResponse extends Response { - /** Deployment ID */ + + + /** + * Deployment ID + */ @SerializedName("DeploymentId") private String deploymentId; - - /** Deployment yaml,使用base64编码 */ + + + + /** + * Deployment yaml,使用base64编码 + */ @SerializedName("Deployment") private String deployment; - + + public String getDeploymentId() { return deploymentId; } @@ -35,7 +49,7 @@ public String getDeploymentId() { public void setDeploymentId(String deploymentId) { this.deploymentId = deploymentId; } - + public String getDeployment() { return deployment; } @@ -43,4 +57,14 @@ public String getDeployment() { 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 index 2dc40d26..7add10b5 100644 --- 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 @@ -1,57 +1,84 @@ /** * 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 + * 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 + * 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 + * 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 java.util.List; + +import cn.ucloud.common.request.Request; 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) */ + + + /** + * 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + */ @NotEmpty @UCloudParam("Region") private String region; - - /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + + + + /** + * 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + */ @NotEmpty @UCloudParam("Zone") private String zone; - + + + /** - * 项目ID。不填写为默认项目,子帐号必须填写。 - * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */ @UCloudParam("ProjectId") private String projectId; - - /** 容器实例所属的VPC ID */ + + + + /** + * 容器实例所属的VPC ID + */ @NotEmpty @UCloudParam("VPCId") private String vpcId; - - /** 容器实例所属的子网ID */ + + + + /** + * 容器实例所属的子网ID + */ @NotEmpty @UCloudParam("SubnetId") private String subnetId; - - /** Pod yaml,使用base64编码 */ + + + + /** + * Pod yaml,使用base64编码 + */ @NotEmpty @UCloudParam("Pod") private String pod; - + + public String getRegion() { return region; } @@ -59,7 +86,7 @@ public String getRegion() { public void setRegion(String region) { this.region = region; } - + public String getZone() { return zone; } @@ -67,7 +94,7 @@ public String getZone() { public void setZone(String zone) { this.zone = zone; } - + public String getProjectId() { return projectId; } @@ -75,7 +102,7 @@ public String getProjectId() { public void setProjectId(String projectId) { this.projectId = projectId; } - + public String getVPCId() { return vpcId; } @@ -83,7 +110,7 @@ public String getVPCId() { public void setVPCId(String vpcId) { this.vpcId = vpcId; } - + public String getSubnetId() { return subnetId; } @@ -91,7 +118,7 @@ public String getSubnetId() { public void setSubnetId(String subnetId) { this.subnetId = subnetId; } - + public String getPod() { return pod; } @@ -99,4 +126,14 @@ public String getPod() { public void setPod(String pod) { this.pod = pod; } + } + + + + + + + + + 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 index 965b3a46..87ca5779 100644 --- 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 @@ -1,33 +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 + * 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 + * 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 + * 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 java.util.List; -import cn.ucloud.common.response.Response; import com.google.gson.annotations.SerializedName; +import cn.ucloud.common.response.Response; + public class CreateCubePodResponse extends Response { - /** Pod yaml,使用base64编码 */ + + + /** + * Pod yaml,使用base64编码 + */ @SerializedName("Pod") private String pod; - - /** 容器实例ID */ + + + + /** + * 容器实例ID + */ @SerializedName("CubeId") private String cubeId; - + + public String getPod() { return pod; } @@ -35,7 +49,7 @@ public String getPod() { public void setPod(String pod) { this.pod = pod; } - + public String getCubeId() { return cubeId; } @@ -43,4 +57,14 @@ public String getCubeId() { 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 index 765e4cf7..41ab393f 100644 --- 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 @@ -1,37 +1,48 @@ /** * 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 + * 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 + * 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 + * 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 java.util.List; + +import cn.ucloud.common.request.Request; 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) */ + + + /** + * 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + */ @NotEmpty @UCloudParam("Region") private String region; - + + + /** - * 项目ID。不填写为默认项目,子帐号必须填写。 - * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */ @UCloudParam("ProjectId") private String projectId; - + + public String getRegion() { return region; } @@ -39,7 +50,7 @@ public String getRegion() { public void setRegion(String region) { this.region = region; } - + public String getProjectId() { return projectId; } @@ -47,4 +58,14 @@ public String getProjectId() { public void setProjectId(String projectId) { this.projectId = projectId; } + } + + + + + + + + + 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 index e89b0858..3f9fb416 100644 --- 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 @@ -1,20 +1,38 @@ /** * 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 + * 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 + * 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 + * 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 java.util.List; + +import com.google.gson.annotations.SerializedName; import cn.ucloud.common.response.Response; -public class DeleteCubeDeploymentResponse extends 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 index cfd36b67..bcac7ba3 100644 --- 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 @@ -1,54 +1,81 @@ /** * 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 + * 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 + * 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 + * 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 java.util.List; + +import cn.ucloud.common.request.Request; import cn.ucloud.common.annotation.NotEmpty; import cn.ucloud.common.annotation.UCloudParam; -import cn.ucloud.common.request.Request; public class DeleteCubePodRequest extends Request { - /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + + + /** + * 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + */ @NotEmpty @UCloudParam("Region") private String region; - - /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + + + + /** + * 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + */ @NotEmpty @UCloudParam("Zone") private String zone; - + + + /** - * 项目ID。不填写为默认项目,子帐号必须填写。 - * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */ @UCloudParam("ProjectId") private String projectId; - - /** 要删除的容器实例UID,若填写了CubeId则可忽略 */ + + + + /** + * 要删除的容器实例UID,若填写了CubeId则可忽略 + */ @UCloudParam("Uid") private String uid; - - /** 要删除的容器实例ID,若填写了Uid则可忽略 */ + + + + /** + * 要删除的容器实例ID,若填写了Uid则可忽略 + */ @UCloudParam("CubeId") private String cubeId; - - /** 要释放的EIP,如果容器实例绑定了EIP则可以填写,会将EIP一并释放。否则EIP会被保留。 */ + + + + /** + * 要释放的EIP,如果容器实例绑定了EIP则可以填写,会将EIP一并释放。否则EIP会被保留。 + */ @UCloudParam("ReleaseEIP") private String releaseEIP; - + + public String getRegion() { return region; } @@ -56,7 +83,7 @@ public String getRegion() { public void setRegion(String region) { this.region = region; } - + public String getZone() { return zone; } @@ -64,7 +91,7 @@ public String getZone() { public void setZone(String zone) { this.zone = zone; } - + public String getProjectId() { return projectId; } @@ -72,7 +99,7 @@ public String getProjectId() { public void setProjectId(String projectId) { this.projectId = projectId; } - + public String getUid() { return uid; } @@ -80,7 +107,7 @@ public String getUid() { public void setUid(String uid) { this.uid = uid; } - + public String getCubeId() { return cubeId; } @@ -88,7 +115,7 @@ public String getCubeId() { public void setCubeId(String cubeId) { this.cubeId = cubeId; } - + public String getReleaseEIP() { return releaseEIP; } @@ -96,4 +123,14 @@ public String getReleaseEIP() { public void setReleaseEIP(String 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 index b1cd31ae..1b6aa8ab 100644 --- 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 @@ -1,20 +1,38 @@ /** * 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 + * 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 + * 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 + * 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 java.util.List; + +import com.google.gson.annotations.SerializedName; import cn.ucloud.common.response.Response; -public class DeleteCubePodResponse extends 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 index 82042000..268b8010 100644 --- 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 @@ -1,47 +1,66 @@ /** * 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 + * 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 + * 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 + * 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 java.util.List; + +import cn.ucloud.common.request.Request; 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) */ + + + /** + * 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + */ @NotEmpty @UCloudParam("Region") private String region; - - /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + + + + /** + * 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + */ @NotEmpty @UCloudParam("Zone") private String zone; - + + + /** - * 项目ID。不填写为默认项目,子帐号必须填写。 - * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */ @UCloudParam("ProjectId") private String projectId; - - /** Deployment ID */ + + + + /** + * Deployment ID + */ @NotEmpty @UCloudParam("DeploymentId") private String deploymentId; - + + public String getRegion() { return region; } @@ -49,7 +68,7 @@ public String getRegion() { public void setRegion(String region) { this.region = region; } - + public String getZone() { return zone; } @@ -57,7 +76,7 @@ public String getZone() { public void setZone(String zone) { this.zone = zone; } - + public String getProjectId() { return projectId; } @@ -65,7 +84,7 @@ public String getProjectId() { public void setProjectId(String projectId) { this.projectId = projectId; } - + public String getDeploymentId() { return deploymentId; } @@ -73,4 +92,14 @@ public String getDeploymentId() { 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 index 09427c85..3a468078 100644 --- 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 @@ -1,29 +1,39 @@ /** * 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 + * 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 + * 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 + * 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 java.util.List; -import cn.ucloud.common.response.Response; import com.google.gson.annotations.SerializedName; +import cn.ucloud.common.response.Response; + public class GetCubeDeploymentResponse extends Response { - /** Deployment yaml,使用base64编码 */ + + + /** + * Deployment yaml,使用base64编码 + */ @SerializedName("Deployment") private String deployment; - + + public String getDeployment() { return deployment; } @@ -31,4 +41,14 @@ public String getDeployment() { 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 index 58f7a03f..f3266917 100644 --- 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 @@ -1,55 +1,82 @@ /** * 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 + * 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 + * 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 + * 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 java.util.List; + +import cn.ucloud.common.request.Request; 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) */ + + + /** + * 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + */ @NotEmpty @UCloudParam("Region") private String region; - - /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + + + + /** + * 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + */ @NotEmpty @UCloudParam("Zone") private String zone; - + + + /** - * 项目ID。不填写为默认项目,子帐号必须填写。 - * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */ @UCloudParam("ProjectId") private String projectId; - - /** 要执行的容器名称 */ + + + + /** + * 要执行的容器名称 + */ @NotEmpty @UCloudParam("ContainerName") private String containerName; - - /** 容器实例ID,若填写了Uid则可忽略 */ + + + + /** + * 容器实例ID,若填写了Uid则可忽略 + */ @UCloudParam("CubeId") private String cubeId; - - /** 容器实例UID,若填写了CubeId则可忽略 */ + + + + /** + * 容器实例UID,若填写了CubeId则可忽略 + */ @UCloudParam("Uid") private String uid; - + + public String getRegion() { return region; } @@ -57,7 +84,7 @@ public String getRegion() { public void setRegion(String region) { this.region = region; } - + public String getZone() { return zone; } @@ -65,7 +92,7 @@ public String getZone() { public void setZone(String zone) { this.zone = zone; } - + public String getProjectId() { return projectId; } @@ -73,7 +100,7 @@ public String getProjectId() { public void setProjectId(String projectId) { this.projectId = projectId; } - + public String getContainerName() { return containerName; } @@ -81,7 +108,7 @@ public String getContainerName() { public void setContainerName(String containerName) { this.containerName = containerName; } - + public String getCubeId() { return cubeId; } @@ -89,7 +116,7 @@ public String getCubeId() { public void setCubeId(String cubeId) { this.cubeId = cubeId; } - + public String getUid() { return uid; } @@ -97,4 +124,14 @@ public String getUid() { 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 index 85d4f31a..83b695d5 100644 --- 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 @@ -1,33 +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 + * 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 + * 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 + * 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 java.util.List; -import cn.ucloud.common.response.Response; import com.google.gson.annotations.SerializedName; +import cn.ucloud.common.response.Response; + public class GetCubeExecTokenResponse extends Response { - /** 执行Token */ + + + /** + * 执行Token + */ @SerializedName("Token") private String token; - - /** 终端url */ + + + + /** + * 终端url + */ @SerializedName("TerminalUrl") private String terminalUrl; - + + public String getToken() { return token; } @@ -35,7 +49,7 @@ public String getToken() { public void setToken(String token) { this.token = token; } - + public String getTerminalUrl() { return terminalUrl; } @@ -43,4 +57,14 @@ public String getTerminalUrl() { 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 index 2b40fede..a5274c8d 100644 --- 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 @@ -1,46 +1,65 @@ /** * 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 + * 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 + * 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 + * 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 java.util.List; + +import cn.ucloud.common.request.Request; import cn.ucloud.common.annotation.NotEmpty; import cn.ucloud.common.annotation.UCloudParam; -import cn.ucloud.common.request.Request; public class GetCubeExtendInfoRequest extends Request { - /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + + + /** + * 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + */ @NotEmpty @UCloudParam("Region") private String region; - - /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */ + + + + /** + * 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) + */ @NotEmpty @UCloudParam("Zone") private String zone; - + + + /** - * 项目ID。不填写为默认项目,子帐号必须填写。 - * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) + * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */ @UCloudParam("ProjectId") private String projectId; - - /** 容器实例ID,用逗号分割 */ + + + + /** + * 容器实例ID,用逗号分割 + */ @UCloudParam("CubeIds") private String cubeIds; - + + public String getRegion() { return region; } @@ -48,7 +67,7 @@ public String getRegion() { public void setRegion(String region) { this.region = region; } - + public String getZone() { return zone; } @@ -56,7 +75,7 @@ public String getZone() { public void setZone(String zone) { this.zone = zone; } - + public String getProjectId() { return projectId; } @@ -64,7 +83,7 @@ public String getProjectId() { public void setProjectId(String projectId) { this.projectId = projectId; } - + public String getCubeIds() { return cubeIds; } @@ -72,4 +91,14 @@ public String getCubeIds() { 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 index 8edd6571..c447264f 100644 --- 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 @@ -1,30 +1,39 @@ /** * 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 + * 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 + * 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
+ * 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 java.util.List;
+
import com.google.gson.annotations.SerializedName;
-import java.util.List;
+import cn.ucloud.common.response.Response;
public class GetCubeExtendInfoResponse extends Response {
- /** 容器实例的附加信息 */
+
+
+ /**
+ * 容器实例的附加信息
+ */
@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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import cn.ucloud.common.request.Request;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
public class GetCubeMetricsRequest extends Request {
- /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
- /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+
+
+
+ /**
+ * 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
+ */
@NotEmpty
@UCloudParam("Zone")
private String zone;
-
+
+
+
/**
- * 项目ID。不填写为默认项目,子帐号必须填写。
- * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*/
@UCloudParam("ProjectId")
private String projectId;
-
- /** 资源ID */
+
+
+
+ /**
+ * 资源ID
+ */
@NotEmpty
@UCloudParam("ResourceId")
private String resourceId;
-
- /** 指标名称 */
+
+
+
+ /**
+ * 指标名称
+ */
@NotEmpty
@UCloudParam("MetricName")
private String metricName;
-
- /** 容器名称 */
+
+
+
+ /**
+ * 容器名称
+ */
@NotEmpty
@UCloudParam("ContainerName")
private String containerName;
-
- /** 开始时间 */
+
+
+
+ /**
+ * 开始时间
+ */
@NotEmpty
@UCloudParam("BeginTime")
private String beginTime;
-
- /** 结束时间 */
+
+
+
+ /**
+ * 结束时间
+ */
@NotEmpty
@UCloudParam("EndTime")
private String endTime;
-
+
+
public String getRegion() {
return region;
}
@@ -69,7 +104,7 @@ public String getRegion() {
public void setRegion(String region) {
this.region = region;
}
-
+
public String getZone() {
return zone;
}
@@ -77,7 +112,7 @@ public String getZone() {
public void setZone(String zone) {
this.zone = zone;
}
-
+
public String getProjectId() {
return projectId;
}
@@ -85,7 +120,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getResourceId() {
return resourceId;
}
@@ -93,7 +128,7 @@ public String getResourceId() {
public void setResourceId(String resourceId) {
this.resourceId = resourceId;
}
-
+
public String getMetricName() {
return metricName;
}
@@ -101,7 +136,7 @@ public String getMetricName() {
public void setMetricName(String metricName) {
this.metricName = metricName;
}
-
+
public String getContainerName() {
return containerName;
}
@@ -109,7 +144,7 @@ public String getContainerName() {
public void setContainerName(String containerName) {
this.containerName = containerName;
}
-
+
public String getBeginTime() {
return beginTime;
}
@@ -117,7 +152,7 @@ public String getBeginTime() {
public void setBeginTime(String beginTime) {
this.beginTime = beginTime;
}
-
+
public String getEndTime() {
return endTime;
}
@@ -125,4 +160,14 @@ public String getEndTime() {
public void setEndTime(String endTime) {
this.endTime = endTime;
}
+
}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeMetricsResponse.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeMetricsResponse.java
index 51ae0893..37761c28 100644
--- a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeMetricsResponse.java
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/GetCubeMetricsResponse.java
@@ -1,30 +1,39 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
import com.google.gson.annotations.SerializedName;
-import java.util.List;
+import cn.ucloud.common.response.Response;
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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import cn.ucloud.common.request.Request;
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) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
- /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+
+
+
+ /**
+ * 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
+ */
@NotEmpty
@UCloudParam("Zone")
private String zone;
-
+
+
+
/**
- * 项目ID。不填写为默认项目,子帐号必须填写。
- * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*/
@UCloudParam("ProjectId")
private String projectId;
-
- /** 容器名称 */
+
+
+
+ /**
+ * 容器名称
+ */
@NotEmpty
@UCloudParam("ContainerName")
private String containerName;
-
- /** 容器实例ID,若填写了Uid则可忽略 */
+
+
+
+ /**
+ * 容器实例ID,若填写了Uid则可忽略
+ */
@UCloudParam("CubeId")
private String cubeId;
-
- /** 容器实例UID,若填写了CubeId则可忽略 */
+
+
+
+ /**
+ * 容器实例UID,若填写了CubeId则可忽略
+ */
@UCloudParam("Uid")
private String uid;
-
+
+
public String getRegion() {
return region;
}
@@ -57,7 +84,7 @@ public String getRegion() {
public void setRegion(String region) {
this.region = region;
}
-
+
public String getZone() {
return zone;
}
@@ -65,7 +92,7 @@ public String getZone() {
public void setZone(String zone) {
this.zone = zone;
}
-
+
public String getProjectId() {
return projectId;
}
@@ -73,7 +100,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getContainerName() {
return containerName;
}
@@ -81,7 +108,7 @@ public String getContainerName() {
public void setContainerName(String containerName) {
this.containerName = containerName;
}
-
+
public String getCubeId() {
return cubeId;
}
@@ -89,7 +116,7 @@ public String getCubeId() {
public void setCubeId(String cubeId) {
this.cubeId = cubeId;
}
-
+
public String getUid() {
return uid;
}
@@ -97,4 +124,14 @@ public String getUid() {
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
index 2d488fe2..59ad4675 100644
--- 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
@@ -1,29 +1,39 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
-import cn.ucloud.common.response.Response;
import com.google.gson.annotations.SerializedName;
+import cn.ucloud.common.response.Response;
+
public class GetCubeTokenResponse extends Response {
- /** 容器实例Token */
+
+
+ /**
+ * 容器实例Token
+ */
@SerializedName("Token")
private String token;
-
+
+
public String getToken() {
return token;
}
@@ -31,4 +41,14 @@ public String getToken() {
public void setToken(String token) {
this.token = token;
}
+
}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ListCubePodRequest.java b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ListCubePodRequest.java
index 77f038b8..37b5c000 100644
--- a/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ListCubePodRequest.java
+++ b/ucloud-sdk-java-cube/src/main/java/cn/ucloud/cube/models/ListCubePodRequest.java
@@ -1,66 +1,105 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import cn.ucloud.common.request.Request;
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) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
- /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+
+
+
+ /**
+ * 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
+ */
@NotEmpty
@UCloudParam("Zone")
private String zone;
-
+
+
+
/**
- * 项目ID。不填写为默认项目,子帐号必须填写。
- * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*/
@UCloudParam("ProjectId")
private String projectId;
-
- /** 列表起始位置偏移量,默认为0 */
+
+
+
+ /**
+ * 列表起始位置偏移量,默认为0
+ */
@UCloudParam("Offset")
private Integer offset;
-
- /** 返回数据长度,默认为20,最大100 */
+
+
+
+ /**
+ * 返回数据长度,默认为20,最大100
+ */
@UCloudParam("Limit")
private Integer limit;
-
- /** 容器实例组 */
+
+
+
+ /**
+ * 容器实例组
+ */
@UCloudParam("Group")
private String group;
-
- /** 容器实例所属VPC */
+
+
+
+ /**
+ * 容器实例所属VPC
+ */
@UCloudParam("VPCId")
private String vpcId;
-
- /** 容器实例所属子网 */
+
+
+
+ /**
+ * 容器实例所属子网
+ */
@UCloudParam("SubnetId")
private String subnetId;
-
- /** 容器实例所属Deployment */
+
+
+
+ /**
+ * 容器实例所属Deployment
+ */
@UCloudParam("DeploymentId")
private String deploymentId;
-
+
+
public String getRegion() {
return region;
}
@@ -68,7 +107,7 @@ public String getRegion() {
public void setRegion(String region) {
this.region = region;
}
-
+
public String getZone() {
return zone;
}
@@ -76,7 +115,7 @@ public String getZone() {
public void setZone(String zone) {
this.zone = zone;
}
-
+
public String getProjectId() {
return projectId;
}
@@ -84,7 +123,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public Integer getOffset() {
return offset;
}
@@ -92,7 +131,7 @@ public Integer getOffset() {
public void setOffset(Integer offset) {
this.offset = offset;
}
-
+
public Integer getLimit() {
return limit;
}
@@ -100,7 +139,7 @@ public Integer getLimit() {
public void setLimit(Integer limit) {
this.limit = limit;
}
-
+
public String getGroup() {
return group;
}
@@ -108,7 +147,7 @@ public String getGroup() {
public void setGroup(String group) {
this.group = group;
}
-
+
public String getVPCId() {
return vpcId;
}
@@ -116,7 +155,7 @@ public String getVPCId() {
public void setVPCId(String vpcId) {
this.vpcId = vpcId;
}
-
+
public String getSubnetId() {
return subnetId;
}
@@ -124,7 +163,7 @@ public String getSubnetId() {
public void setSubnetId(String subnetId) {
this.subnetId = subnetId;
}
-
+
public String getDeploymentId() {
return deploymentId;
}
@@ -132,4 +171,14 @@ public String getDeploymentId() {
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
index d72118cf..6d63ea16 100644
--- 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
@@ -1,34 +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
+ * 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
+ * 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
+ * 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 java.util.List;
+
import com.google.gson.annotations.SerializedName;
-import java.util.List;
+import cn.ucloud.common.response.Response;
public class ListCubePodResponse extends Response {
- /** 容器实例yaml列表,以base64编码 */
+
+
+ /**
+ * 容器实例yaml列表,以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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import cn.ucloud.common.request.Request;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
public class RenewCubePodRequest extends Request {
- /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
- /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+
+
+
+ /**
+ * 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
+ */
@NotEmpty
@UCloudParam("Zone")
private String zone;
-
+
+
+
/**
- * 项目ID。不填写为默认项目,子帐号必须填写。
- * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*/
@UCloudParam("ProjectId")
private String projectId;
-
- /** Pod yaml,以base64编码 */
+
+
+
+ /**
+ * Pod yaml,以base64编码
+ */
@NotEmpty
@UCloudParam("Pod")
private String pod;
-
- /** 要更新的容器实例ID */
+
+
+
+ /**
+ * 要更新的容器实例ID
+ */
@UCloudParam("CubeId")
private String cubeId;
-
+
+
public String getRegion() {
return region;
}
@@ -53,7 +76,7 @@ public String getRegion() {
public void setRegion(String region) {
this.region = region;
}
-
+
public String getZone() {
return zone;
}
@@ -61,7 +84,7 @@ public String getZone() {
public void setZone(String zone) {
this.zone = zone;
}
-
+
public String getProjectId() {
return projectId;
}
@@ -69,7 +92,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getPod() {
return pod;
}
@@ -77,7 +100,7 @@ public String getPod() {
public void setPod(String pod) {
this.pod = pod;
}
-
+
public String getCubeId() {
return cubeId;
}
@@ -85,4 +108,14 @@ public String getCubeId() {
public void setCubeId(String cubeId) {
this.cubeId = cubeId;
}
+
}
+
+
+
+
+
+
+
+
+
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
index 948f4543..9da5130a 100644
--- 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
@@ -1,29 +1,39 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
-import cn.ucloud.common.response.Response;
import com.google.gson.annotations.SerializedName;
+import cn.ucloud.common.response.Response;
+
public class RenewCubePodResponse extends Response {
- /** Pod yaml,以base64编码 */
+
+
+ /**
+ * Pod yaml,以base64编码
+ */
@SerializedName("Pod")
private String pod;
-
+
+
public String getPod() {
return pod;
}
@@ -31,4 +41,14 @@ public String getPod() {
public void setPod(String pod) {
this.pod = pod;
}
+
}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/pom.xml b/ucloud-sdk-java-ipsecvpn/pom.xml
index 6d40c9f8..f68d380c 100644
--- a/ucloud-sdk-java-ipsecvpn/pom.xml
+++ b/ucloud-sdk-java-ipsecvpn/pom.xml
@@ -5,18 +5,18 @@
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
+ * 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
+ * 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
+ * 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.ipsecvpn.client;
@@ -17,197 +19,285 @@
import cn.ucloud.common.config.Config;
import cn.ucloud.common.credential.Credential;
import cn.ucloud.common.exception.UCloudException;
+
+
+
import cn.ucloud.ipsecvpn.models.CreateRemoteVPNGatewayRequest;
import cn.ucloud.ipsecvpn.models.CreateRemoteVPNGatewayResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.CreateVPNGatewayRequest;
import cn.ucloud.ipsecvpn.models.CreateVPNGatewayResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.CreateVPNTunnelRequest;
import cn.ucloud.ipsecvpn.models.CreateVPNTunnelResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.DeleteRemoteVPNGatewayRequest;
import cn.ucloud.ipsecvpn.models.DeleteRemoteVPNGatewayResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.DeleteVPNGatewayRequest;
import cn.ucloud.ipsecvpn.models.DeleteVPNGatewayResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.DeleteVPNTunnelRequest;
import cn.ucloud.ipsecvpn.models.DeleteVPNTunnelResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.DescribeRemoteVPNGatewayRequest;
import cn.ucloud.ipsecvpn.models.DescribeRemoteVPNGatewayResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.DescribeVPNGatewayRequest;
import cn.ucloud.ipsecvpn.models.DescribeVPNGatewayResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.DescribeVPNTunnelRequest;
import cn.ucloud.ipsecvpn.models.DescribeVPNTunnelResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.GetVPNGatewayPriceRequest;
import cn.ucloud.ipsecvpn.models.GetVPNGatewayPriceResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.GetVPNGatewayUpgradePriceRequest;
import cn.ucloud.ipsecvpn.models.GetVPNGatewayUpgradePriceResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.UpdateVPNGatewayRequest;
import cn.ucloud.ipsecvpn.models.UpdateVPNGatewayResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.UpdateVPNTunnelAttributeRequest;
import cn.ucloud.ipsecvpn.models.UpdateVPNTunnelAttributeResponse;
-/** This client is used to call actions of **IPSecVPN** service */
+/**
+ * This client is used to call actions of **IPSecVPN** service
+ */
public class IPSecVPNClient extends DefaultClient implements IPSecVPNClientInterface {
public IPSecVPNClient(Config config, Credential credential) {
super(config, credential);
}
-
- /**
- * CreateRemoteVPNGateway - 创建客户VPN网关
- *
- * @param request Request object
- * @throws UCloudException Exception
- */
- public CreateRemoteVPNGatewayResponse createRemoteVPNGateway(
- CreateRemoteVPNGatewayRequest request) throws UCloudException {
- request.setAction("CreateRemoteVPNGateway");
- return (CreateRemoteVPNGatewayResponse)
- this.invoke(request, CreateRemoteVPNGatewayResponse.class);
- }
-
- /**
- * CreateVPNGateway - 创建VPN网关
- *
- * @param request Request object
- * @throws UCloudException Exception
- */
- public CreateVPNGatewayResponse createVPNGateway(CreateVPNGatewayRequest request)
- throws UCloudException {
- request.setAction("CreateVPNGateway");
- return (CreateVPNGatewayResponse) this.invoke(request, CreateVPNGatewayResponse.class);
- }
-
- /**
- * CreateVPNTunnel - 创建VPN隧道
- *
- * @param request Request object
- * @throws UCloudException Exception
- */
- public CreateVPNTunnelResponse createVPNTunnel(CreateVPNTunnelRequest request)
- throws UCloudException {
- request.setAction("CreateVPNTunnel");
- return (CreateVPNTunnelResponse) this.invoke(request, CreateVPNTunnelResponse.class);
- }
-
- /**
- * DeleteRemoteVPNGateway - 删除客户VPN网关
- *
- * @param request Request object
- * @throws UCloudException Exception
- */
- public DeleteRemoteVPNGatewayResponse deleteRemoteVPNGateway(
- DeleteRemoteVPNGatewayRequest request) throws UCloudException {
- request.setAction("DeleteRemoteVPNGateway");
- return (DeleteRemoteVPNGatewayResponse)
- this.invoke(request, DeleteRemoteVPNGatewayResponse.class);
- }
-
- /**
- * DeleteVPNGateway - 删除VPN网关
- *
- * @param request Request object
- * @throws UCloudException Exception
- */
- public DeleteVPNGatewayResponse deleteVPNGateway(DeleteVPNGatewayRequest request)
- throws UCloudException {
- request.setAction("DeleteVPNGateway");
- return (DeleteVPNGatewayResponse) this.invoke(request, DeleteVPNGatewayResponse.class);
- }
-
- /**
- * DeleteVPNTunnel - 删除VPN隧道
- *
- * @param request Request object
- * @throws UCloudException Exception
- */
- public DeleteVPNTunnelResponse deleteVPNTunnel(DeleteVPNTunnelRequest request)
- throws UCloudException {
- request.setAction("DeleteVPNTunnel");
- return (DeleteVPNTunnelResponse) this.invoke(request, DeleteVPNTunnelResponse.class);
- }
-
- /**
- * DescribeRemoteVPNGateway - 获取客户VPN网关信息
- *
- * @param request Request object
- * @throws UCloudException Exception
- */
- public DescribeRemoteVPNGatewayResponse describeRemoteVPNGateway(
- DescribeRemoteVPNGatewayRequest request) throws UCloudException {
- request.setAction("DescribeRemoteVPNGateway");
- return (DescribeRemoteVPNGatewayResponse)
- this.invoke(request, DescribeRemoteVPNGatewayResponse.class);
- }
-
- /**
- * DescribeVPNGateway - 获取VPN网关信息
- *
- * @param request Request object
- * @throws UCloudException Exception
- */
- public DescribeVPNGatewayResponse describeVPNGateway(DescribeVPNGatewayRequest request)
- throws UCloudException {
- request.setAction("DescribeVPNGateway");
- return (DescribeVPNGatewayResponse) this.invoke(request, DescribeVPNGatewayResponse.class);
- }
-
- /**
- * DescribeVPNTunnel - 获取VPN隧道信息
- *
- * @param request Request object
- * @throws UCloudException Exception
- */
- public DescribeVPNTunnelResponse describeVPNTunnel(DescribeVPNTunnelRequest request)
- throws UCloudException {
- request.setAction("DescribeVPNTunnel");
- return (DescribeVPNTunnelResponse) this.invoke(request, DescribeVPNTunnelResponse.class);
- }
-
- /**
- * GetVPNGatewayPrice - 获取VPN价格
- *
- * @param request Request object
- * @throws UCloudException Exception
- */
- public GetVPNGatewayPriceResponse getVPNGatewayPrice(GetVPNGatewayPriceRequest request)
- throws UCloudException {
- request.setAction("GetVPNGatewayPrice");
- return (GetVPNGatewayPriceResponse) this.invoke(request, GetVPNGatewayPriceResponse.class);
- }
-
- /**
- * GetVPNGatewayUpgradePrice - 获取VPN网关规格改动价格
- *
- * @param request Request object
- * @throws UCloudException Exception
- */
- public GetVPNGatewayUpgradePriceResponse getVPNGatewayUpgradePrice(
- GetVPNGatewayUpgradePriceRequest request) throws UCloudException {
- request.setAction("GetVPNGatewayUpgradePrice");
- return (GetVPNGatewayUpgradePriceResponse)
- this.invoke(request, GetVPNGatewayUpgradePriceResponse.class);
- }
-
- /**
- * UpdateVPNGateway - 更改VPN网关规格
- *
- * @param request Request object
- * @throws UCloudException Exception
- */
- public UpdateVPNGatewayResponse updateVPNGateway(UpdateVPNGatewayRequest request)
- throws UCloudException {
- request.setAction("UpdateVPNGateway");
- return (UpdateVPNGatewayResponse) this.invoke(request, UpdateVPNGatewayResponse.class);
- }
-
- /**
- * UpdateVPNTunnelAttribute - 更新VPN隧道属性
- *
- * @param request Request object
- * @throws UCloudException Exception
- */
- public UpdateVPNTunnelAttributeResponse updateVPNTunnelAttribute(
- UpdateVPNTunnelAttributeRequest request) throws UCloudException {
- request.setAction("UpdateVPNTunnelAttribute");
- return (UpdateVPNTunnelAttributeResponse)
- this.invoke(request, UpdateVPNTunnelAttributeResponse.class);
- }
+
+
+
+
+
+
+ /**
+ * CreateRemoteVPNGateway - 创建客户VPN网关
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateRemoteVPNGatewayResponse createRemoteVPNGateway(CreateRemoteVPNGatewayRequest request) throws UCloudException {
+ request.setAction("CreateRemoteVPNGateway");
+ return (CreateRemoteVPNGatewayResponse) this.invoke(request, CreateRemoteVPNGatewayResponse.class);
+ }
+
+
+
+
+
+
+ /**
+ * CreateVPNGateway - 创建VPN网关
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateVPNGatewayResponse createVPNGateway(CreateVPNGatewayRequest request) throws UCloudException {
+ request.setAction("CreateVPNGateway");
+ return (CreateVPNGatewayResponse) this.invoke(request, CreateVPNGatewayResponse.class);
+ }
+
+
+
+
+
+
+ /**
+ * CreateVPNTunnel - 创建VPN隧道
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public CreateVPNTunnelResponse createVPNTunnel(CreateVPNTunnelRequest request) throws UCloudException {
+ request.setAction("CreateVPNTunnel");
+ return (CreateVPNTunnelResponse) this.invoke(request, CreateVPNTunnelResponse.class);
+ }
+
+
+
+
+
+
+ /**
+ * DeleteRemoteVPNGateway - 删除客户VPN网关
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteRemoteVPNGatewayResponse deleteRemoteVPNGateway(DeleteRemoteVPNGatewayRequest request) throws UCloudException {
+ request.setAction("DeleteRemoteVPNGateway");
+ return (DeleteRemoteVPNGatewayResponse) this.invoke(request, DeleteRemoteVPNGatewayResponse.class);
+ }
+
+
+
+
+
+
+ /**
+ * DeleteVPNGateway - 删除VPN网关
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteVPNGatewayResponse deleteVPNGateway(DeleteVPNGatewayRequest request) throws UCloudException {
+ request.setAction("DeleteVPNGateway");
+ return (DeleteVPNGatewayResponse) this.invoke(request, DeleteVPNGatewayResponse.class);
+ }
+
+
+
+
+
+
+ /**
+ * DeleteVPNTunnel - 删除VPN隧道
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DeleteVPNTunnelResponse deleteVPNTunnel(DeleteVPNTunnelRequest request) throws UCloudException {
+ request.setAction("DeleteVPNTunnel");
+ return (DeleteVPNTunnelResponse) this.invoke(request, DeleteVPNTunnelResponse.class);
+ }
+
+
+
+
+
+
+ /**
+ * DescribeRemoteVPNGateway - 获取客户VPN网关信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeRemoteVPNGatewayResponse describeRemoteVPNGateway(DescribeRemoteVPNGatewayRequest request) throws UCloudException {
+ request.setAction("DescribeRemoteVPNGateway");
+ return (DescribeRemoteVPNGatewayResponse) this.invoke(request, DescribeRemoteVPNGatewayResponse.class);
+ }
+
+
+
+
+
+
+ /**
+ * DescribeVPNGateway - 获取VPN网关信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeVPNGatewayResponse describeVPNGateway(DescribeVPNGatewayRequest request) throws UCloudException {
+ request.setAction("DescribeVPNGateway");
+ return (DescribeVPNGatewayResponse) this.invoke(request, DescribeVPNGatewayResponse.class);
+ }
+
+
+
+
+
+
+ /**
+ * DescribeVPNTunnel - 获取VPN隧道信息
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public DescribeVPNTunnelResponse describeVPNTunnel(DescribeVPNTunnelRequest request) throws UCloudException {
+ request.setAction("DescribeVPNTunnel");
+ return (DescribeVPNTunnelResponse) this.invoke(request, DescribeVPNTunnelResponse.class);
+ }
+
+
+
+
+
+
+ /**
+ * GetVPNGatewayPrice - 获取VPN价格
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetVPNGatewayPriceResponse getVPNGatewayPrice(GetVPNGatewayPriceRequest request) throws UCloudException {
+ request.setAction("GetVPNGatewayPrice");
+ return (GetVPNGatewayPriceResponse) this.invoke(request, GetVPNGatewayPriceResponse.class);
+ }
+
+
+
+
+
+
+ /**
+ * GetVPNGatewayUpgradePrice - 获取VPN网关规格改动价格
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public GetVPNGatewayUpgradePriceResponse getVPNGatewayUpgradePrice(GetVPNGatewayUpgradePriceRequest request) throws UCloudException {
+ request.setAction("GetVPNGatewayUpgradePrice");
+ return (GetVPNGatewayUpgradePriceResponse) this.invoke(request, GetVPNGatewayUpgradePriceResponse.class);
+ }
+
+
+
+
+
+
+ /**
+ * UpdateVPNGateway - 更改VPN网关规格
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UpdateVPNGatewayResponse updateVPNGateway(UpdateVPNGatewayRequest request) throws UCloudException {
+ request.setAction("UpdateVPNGateway");
+ return (UpdateVPNGatewayResponse) this.invoke(request, UpdateVPNGatewayResponse.class);
+ }
+
+
+
+
+
+
+ /**
+ * UpdateVPNTunnelAttribute - 更新VPN隧道属性
+ *
+ * @param request Request object
+ * @throws UCloudException Exception
+ */
+ public UpdateVPNTunnelAttributeResponse updateVPNTunnelAttribute(UpdateVPNTunnelAttributeRequest request) throws UCloudException {
+ request.setAction("UpdateVPNTunnelAttribute");
+ return (UpdateVPNTunnelAttributeResponse) this.invoke(request, UpdateVPNTunnelAttributeResponse.class);
+ }
}
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/client/IPSecVPNClientInterface.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/client/IPSecVPNClientInterface.java
index 6f5fd777..ec4a0d77 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/client/IPSecVPNClientInterface.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/client/IPSecVPNClientInterface.java
@@ -1,164 +1,259 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.client;
import cn.ucloud.common.client.Client;
import cn.ucloud.common.exception.UCloudException;
+
+
+
import cn.ucloud.ipsecvpn.models.CreateRemoteVPNGatewayRequest;
import cn.ucloud.ipsecvpn.models.CreateRemoteVPNGatewayResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.CreateVPNGatewayRequest;
import cn.ucloud.ipsecvpn.models.CreateVPNGatewayResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.CreateVPNTunnelRequest;
import cn.ucloud.ipsecvpn.models.CreateVPNTunnelResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.DeleteRemoteVPNGatewayRequest;
import cn.ucloud.ipsecvpn.models.DeleteRemoteVPNGatewayResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.DeleteVPNGatewayRequest;
import cn.ucloud.ipsecvpn.models.DeleteVPNGatewayResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.DeleteVPNTunnelRequest;
import cn.ucloud.ipsecvpn.models.DeleteVPNTunnelResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.DescribeRemoteVPNGatewayRequest;
import cn.ucloud.ipsecvpn.models.DescribeRemoteVPNGatewayResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.DescribeVPNGatewayRequest;
import cn.ucloud.ipsecvpn.models.DescribeVPNGatewayResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.DescribeVPNTunnelRequest;
import cn.ucloud.ipsecvpn.models.DescribeVPNTunnelResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.GetVPNGatewayPriceRequest;
import cn.ucloud.ipsecvpn.models.GetVPNGatewayPriceResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.GetVPNGatewayUpgradePriceRequest;
import cn.ucloud.ipsecvpn.models.GetVPNGatewayUpgradePriceResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.UpdateVPNGatewayRequest;
import cn.ucloud.ipsecvpn.models.UpdateVPNGatewayResponse;
+
+
+
import cn.ucloud.ipsecvpn.models.UpdateVPNTunnelAttributeRequest;
import cn.ucloud.ipsecvpn.models.UpdateVPNTunnelAttributeResponse;
-/** This client is used to call actions of **IPSecVPN** service */
+/**
+ * This client is used to call actions of **IPSecVPN** service
+ */
public interface IPSecVPNClientInterface extends Client {
-
+
+
+
+
+
+
/**
* CreateRemoteVPNGateway - 创建客户VPN网关
*
* @param request Request object
* @throws UCloudException Exception
*/
- public CreateRemoteVPNGatewayResponse createRemoteVPNGateway(
- CreateRemoteVPNGatewayRequest request) throws UCloudException;
-
+ public CreateRemoteVPNGatewayResponse createRemoteVPNGateway(CreateRemoteVPNGatewayRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* CreateVPNGateway - 创建VPN网关
*
* @param request Request object
* @throws UCloudException Exception
*/
- public CreateVPNGatewayResponse createVPNGateway(CreateVPNGatewayRequest request)
- throws UCloudException;
-
+ public CreateVPNGatewayResponse createVPNGateway(CreateVPNGatewayRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* CreateVPNTunnel - 创建VPN隧道
*
* @param request Request object
* @throws UCloudException Exception
*/
- public CreateVPNTunnelResponse createVPNTunnel(CreateVPNTunnelRequest request)
- throws UCloudException;
-
+ public CreateVPNTunnelResponse createVPNTunnel(CreateVPNTunnelRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* DeleteRemoteVPNGateway - 删除客户VPN网关
*
* @param request Request object
* @throws UCloudException Exception
*/
- public DeleteRemoteVPNGatewayResponse deleteRemoteVPNGateway(
- DeleteRemoteVPNGatewayRequest request) throws UCloudException;
-
+ public DeleteRemoteVPNGatewayResponse deleteRemoteVPNGateway(DeleteRemoteVPNGatewayRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* DeleteVPNGateway - 删除VPN网关
*
* @param request Request object
* @throws UCloudException Exception
*/
- public DeleteVPNGatewayResponse deleteVPNGateway(DeleteVPNGatewayRequest request)
- throws UCloudException;
-
+ public DeleteVPNGatewayResponse deleteVPNGateway(DeleteVPNGatewayRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* DeleteVPNTunnel - 删除VPN隧道
*
* @param request Request object
* @throws UCloudException Exception
*/
- public DeleteVPNTunnelResponse deleteVPNTunnel(DeleteVPNTunnelRequest request)
- throws UCloudException;
-
+ public DeleteVPNTunnelResponse deleteVPNTunnel(DeleteVPNTunnelRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* DescribeRemoteVPNGateway - 获取客户VPN网关信息
*
* @param request Request object
* @throws UCloudException Exception
*/
- public DescribeRemoteVPNGatewayResponse describeRemoteVPNGateway(
- DescribeRemoteVPNGatewayRequest request) throws UCloudException;
-
+ public DescribeRemoteVPNGatewayResponse describeRemoteVPNGateway(DescribeRemoteVPNGatewayRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* DescribeVPNGateway - 获取VPN网关信息
*
* @param request Request object
* @throws UCloudException Exception
*/
- public DescribeVPNGatewayResponse describeVPNGateway(DescribeVPNGatewayRequest request)
- throws UCloudException;
-
+ public DescribeVPNGatewayResponse describeVPNGateway(DescribeVPNGatewayRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* DescribeVPNTunnel - 获取VPN隧道信息
*
* @param request Request object
* @throws UCloudException Exception
*/
- public DescribeVPNTunnelResponse describeVPNTunnel(DescribeVPNTunnelRequest request)
- throws UCloudException;
-
+ public DescribeVPNTunnelResponse describeVPNTunnel(DescribeVPNTunnelRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* GetVPNGatewayPrice - 获取VPN价格
*
* @param request Request object
* @throws UCloudException Exception
*/
- public GetVPNGatewayPriceResponse getVPNGatewayPrice(GetVPNGatewayPriceRequest request)
- throws UCloudException;
-
+ public GetVPNGatewayPriceResponse getVPNGatewayPrice(GetVPNGatewayPriceRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* GetVPNGatewayUpgradePrice - 获取VPN网关规格改动价格
*
* @param request Request object
* @throws UCloudException Exception
*/
- public GetVPNGatewayUpgradePriceResponse getVPNGatewayUpgradePrice(
- GetVPNGatewayUpgradePriceRequest request) throws UCloudException;
-
+ public GetVPNGatewayUpgradePriceResponse getVPNGatewayUpgradePrice(GetVPNGatewayUpgradePriceRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* UpdateVPNGateway - 更改VPN网关规格
*
* @param request Request object
* @throws UCloudException Exception
*/
- public UpdateVPNGatewayResponse updateVPNGateway(UpdateVPNGatewayRequest request)
- throws UCloudException;
-
+ public UpdateVPNGatewayResponse updateVPNGateway(UpdateVPNGatewayRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* UpdateVPNTunnelAttribute - 更新VPN隧道属性
*
* @param request Request object
* @throws UCloudException Exception
*/
- public UpdateVPNTunnelAttributeResponse updateVPNTunnelAttribute(
- UpdateVPNTunnelAttributeRequest request) throws UCloudException;
+ public UpdateVPNTunnelAttributeResponse updateVPNTunnelAttribute(UpdateVPNTunnelAttributeRequest request) throws UCloudException;
}
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateRemoteVPNGatewayRequest.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateRemoteVPNGatewayRequest.java
index 7290d7a9..80ed847b 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateRemoteVPNGatewayRequest.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateRemoteVPNGatewayRequest.java
@@ -1,53 +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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+import cn.ucloud.common.request.Request;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
public class CreateRemoteVPNGatewayRequest extends Request {
- /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](../summary/regionlist.html)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
- /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
+
+
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** 客户VPN网关名称 */
+
+
+
+ /**
+ * 客户VPN网关名称
+ */
@NotEmpty
@UCloudParam("RemoteVPNGatewayName")
private String remoteVPNGatewayName;
-
- /** 客户VPN网关地址 */
+
+
+
+ /**
+ * 客户VPN网关地址
+ */
@NotEmpty
@UCloudParam("RemoteVPNGatewayAddr")
private String remoteVPNGatewayAddr;
-
- /** 业务组名称,默认为 "Default" */
+
+
+
+ /**
+ * 业务组名称,默认为 "Default"
+ */
@UCloudParam("Tag")
private String tag;
-
- /** 备注,默认为空 */
+
+
+
+ /**
+ * 备注,默认为空
+ */
@UCloudParam("Remark")
private String remark;
-
+
+
public String getRegion() {
return region;
}
@@ -55,7 +85,7 @@ public String getRegion() {
public void setRegion(String region) {
this.region = region;
}
-
+
public String getProjectId() {
return projectId;
}
@@ -63,7 +93,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getRemoteVPNGatewayName() {
return remoteVPNGatewayName;
}
@@ -71,7 +101,7 @@ public String getRemoteVPNGatewayName() {
public void setRemoteVPNGatewayName(String remoteVPNGatewayName) {
this.remoteVPNGatewayName = remoteVPNGatewayName;
}
-
+
public String getRemoteVPNGatewayAddr() {
return remoteVPNGatewayAddr;
}
@@ -79,7 +109,7 @@ public String getRemoteVPNGatewayAddr() {
public void setRemoteVPNGatewayAddr(String remoteVPNGatewayAddr) {
this.remoteVPNGatewayAddr = remoteVPNGatewayAddr;
}
-
+
public String getTag() {
return tag;
}
@@ -87,7 +117,7 @@ public String getTag() {
public void setTag(String tag) {
this.tag = tag;
}
-
+
public String getRemark() {
return remark;
}
@@ -95,4 +125,14 @@ public String getRemark() {
public void setRemark(String remark) {
this.remark = remark;
}
+
}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateRemoteVPNGatewayResponse.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateRemoteVPNGatewayResponse.java
index a875a43d..d2d38025 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateRemoteVPNGatewayResponse.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateRemoteVPNGatewayResponse.java
@@ -1,29 +1,39 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
-import cn.ucloud.common.response.Response;
import com.google.gson.annotations.SerializedName;
+import cn.ucloud.common.response.Response;
+
public class CreateRemoteVPNGatewayResponse extends Response {
- /** 新建客户VPN网关的资源ID */
+
+
+ /**
+ * 新建客户VPN网关的资源ID
+ */
@SerializedName("RemoteVPNGatewayId")
private String remoteVPNGatewayId;
-
+
+
public String getRemoteVPNGatewayId() {
return remoteVPNGatewayId;
}
@@ -31,4 +41,14 @@ public String getRemoteVPNGatewayId() {
public void setRemoteVPNGatewayId(String remoteVPNGatewayId) {
this.remoteVPNGatewayId = remoteVPNGatewayId;
}
+
}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNGatewayRequest.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNGatewayRequest.java
index 3e47a113..1f03fdc5 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNGatewayRequest.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNGatewayRequest.java
@@ -1,78 +1,132 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+import cn.ucloud.common.request.Request;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
public class CreateVPNGatewayRequest extends Request {
- /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](../summary/regionlist.html)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
- /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
+
+
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** 新建VPN网关名称 */
+
+
+
+ /**
+ * 新建VPN网关名称
+ */
@NotEmpty
@UCloudParam("VPNGatewayName")
private String vpnGatewayName;
-
- /** 新建VPN网关所属VPC的资源ID */
+
+
+
+ /**
+ * 新建VPN网关所属VPC的资源ID
+ */
@NotEmpty
@UCloudParam("VPCId")
private String vpcId;
-
- /** 购买的VPN网关规格,枚举值为: Standard, 标准型; Enhanced, 增强型 */
+
+
+
+ /**
+ * 购买的VPN网关规格,枚举值为: Standard, 标准型; Enhanced, 增强型
+ */
@NotEmpty
@UCloudParam("Grade")
private String grade;
-
- /** 备注,默认为空 */
+
+
+
+ /**
+ * 备注,默认为空
+ */
@UCloudParam("Remark")
private String remark;
-
- /** 业务组名称,默认为 "Default" */
+
+
+
+ /**
+ * 业务组名称,默认为 "Default"
+ */
@UCloudParam("Tag")
private String tag;
-
- /** 购买时长, 默认: 1 */
+
+
+
+ /**
+ * 购买时长, 默认: 1
+ */
@UCloudParam("Quantity")
private Integer quantity;
-
- /** 付费方式, 枚举值为: Year, 按年付费; Month, 按月付费;Dynamic, 按需付费(需开启权限);Trial, 试用(需开启权限);默认为按月付费 */
+
+
+
+ /**
+ * 付费方式, 枚举值为: Year, 按年付费; Month, 按月付费;Dynamic, 按需付费(需开启权限);Trial, 试用(需开启权限);默认为按月付费
+ */
@UCloudParam("ChargeType")
private String chargeType;
-
- /** 业务组ID */
+
+
+
+ /**
+ * 业务组ID
+ */
@UCloudParam("BusinessId")
private String businessId;
-
- /** 若要绑定EIP,在此填上EIP的资源ID */
+
+
+
+ /**
+ * 若要绑定EIP,在此填上EIP的资源ID
+ */
@UCloudParam("EIPId")
private String eipId;
-
- /** 代金券ID, 默认不使用 */
+
+
+
+ /**
+ * 代金券ID, 默认不使用
+ */
@UCloudParam("CouponId")
private String couponId;
-
+
+
public String getRegion() {
return region;
}
@@ -80,7 +134,7 @@ public String getRegion() {
public void setRegion(String region) {
this.region = region;
}
-
+
public String getProjectId() {
return projectId;
}
@@ -88,7 +142,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getVPNGatewayName() {
return vpnGatewayName;
}
@@ -96,7 +150,7 @@ public String getVPNGatewayName() {
public void setVPNGatewayName(String vpnGatewayName) {
this.vpnGatewayName = vpnGatewayName;
}
-
+
public String getVPCId() {
return vpcId;
}
@@ -104,7 +158,7 @@ public String getVPCId() {
public void setVPCId(String vpcId) {
this.vpcId = vpcId;
}
-
+
public String getGrade() {
return grade;
}
@@ -112,7 +166,7 @@ public String getGrade() {
public void setGrade(String grade) {
this.grade = grade;
}
-
+
public String getRemark() {
return remark;
}
@@ -120,7 +174,7 @@ public String getRemark() {
public void setRemark(String remark) {
this.remark = remark;
}
-
+
public String getTag() {
return tag;
}
@@ -128,7 +182,7 @@ public String getTag() {
public void setTag(String tag) {
this.tag = tag;
}
-
+
public Integer getQuantity() {
return quantity;
}
@@ -136,7 +190,7 @@ public Integer getQuantity() {
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}
-
+
public String getChargeType() {
return chargeType;
}
@@ -144,7 +198,7 @@ public String getChargeType() {
public void setChargeType(String chargeType) {
this.chargeType = chargeType;
}
-
+
public String getBusinessId() {
return businessId;
}
@@ -152,7 +206,7 @@ public String getBusinessId() {
public void setBusinessId(String businessId) {
this.businessId = businessId;
}
-
+
public String getEIPId() {
return eipId;
}
@@ -160,7 +214,7 @@ public String getEIPId() {
public void setEIPId(String eipId) {
this.eipId = eipId;
}
-
+
public String getCouponId() {
return couponId;
}
@@ -168,4 +222,14 @@ public String getCouponId() {
public void setCouponId(String couponId) {
this.couponId = couponId;
}
+
}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNGatewayResponse.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNGatewayResponse.java
index e1f40463..9ea45c71 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNGatewayResponse.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNGatewayResponse.java
@@ -1,29 +1,39 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
-import cn.ucloud.common.response.Response;
import com.google.gson.annotations.SerializedName;
+import cn.ucloud.common.response.Response;
+
public class CreateVPNGatewayResponse extends Response {
- /** 新建VPN网关的资源ID */
+
+
+ /**
+ * 新建VPN网关的资源ID
+ */
@SerializedName("VPNGatewayId")
private String vpnGatewayId;
-
+
+
public String getVPNGatewayId() {
return vpnGatewayId;
}
@@ -31,4 +41,14 @@ public String getVPNGatewayId() {
public void setVPNGatewayId(String vpnGatewayId) {
this.vpnGatewayId = vpnGatewayId;
}
+
}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNTunnelRequest.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNTunnelRequest.java
index b9eabcbf..af292fd1 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNTunnelRequest.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNTunnelRequest.java
@@ -1,143 +1,249 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+
+import cn.ucloud.common.request.Request;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
-
-import java.util.List;
public class CreateVPNTunnelRequest extends Request {
- /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
+
+
+
/**
- * 项目ID。不填写为默认项目,子帐号必须填写。
- * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*/
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** VPN隧道名称 */
+
+
+
+ /**
+ * VPN隧道名称
+ */
@NotEmpty
@UCloudParam("VPNTunnelName")
private String vpnTunnelName;
-
- /** VPN网关的资源ID */
+
+
+
+ /**
+ * VPN网关的资源ID
+ */
@NotEmpty
@UCloudParam("VPNGatewayId")
private String vpnGatewayId;
-
- /** 客户VPN网关的资源ID */
+
+
+
+ /**
+ * 客户VPN网关的资源ID
+ */
@NotEmpty
@UCloudParam("RemoteVPNGatewayId")
private String remoteVPNGatewayId;
-
- /** 预共享密钥 */
+
+
+
+ /**
+ * 预共享密钥
+ */
@NotEmpty
@UCloudParam("IKEPreSharedKey")
private String ikePreSharedKey;
-
- /** vpcId */
+
+
+
+ /**
+ * vpcId
+ */
@NotEmpty
@UCloudParam("VPCId")
private String vpcId;
-
- /** ike版本,枚举值: "IKE V1","IKE V2",默认v1 */
+
+
+
+ /**
+ * ike版本,枚举值: "IKE V1","IKE V2",默认v1
+ */
@NotEmpty
@UCloudParam("IKEVersion")
private String ikeVersion;
-
- /** 指定VPN连接的本地子网的资源ID,最多可填写10个。 */
+
+
+
+ /**
+ * 指定VPN连接的本地子网的资源ID,最多可填写10个。
+ */
@NotEmpty
@UCloudParam("IPSecLocalSubnetIds")
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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
-import cn.ucloud.common.response.Response;
import com.google.gson.annotations.SerializedName;
+import cn.ucloud.common.response.Response;
+
public class CreateVPNTunnelResponse extends Response {
- /** VPN隧道的资源ID */
+
+
+ /**
+ * VPN隧道的资源ID
+ */
@SerializedName("VPNTunnelId")
private String vpnTunnelId;
-
+
+
public String getVPNTunnelId() {
return vpnTunnelId;
}
@@ -31,4 +41,14 @@ public String getVPNTunnelId() {
public void setVPNTunnelId(String vpnTunnelId) {
this.vpnTunnelId = vpnTunnelId;
}
+
}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteRemoteVPNGatewayRequest.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteRemoteVPNGatewayRequest.java
index 2de02b91..381d74d5 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteRemoteVPNGatewayRequest.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteRemoteVPNGatewayRequest.java
@@ -1,40 +1,58 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+import cn.ucloud.common.request.Request;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
public class DeleteRemoteVPNGatewayRequest extends Request {
- /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](../summary/regionlist.html)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
- /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
+
+
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** 客户VPN网关的资源ID */
+
+
+
+ /**
+ * 客户VPN网关的资源ID
+ */
@NotEmpty
@UCloudParam("RemoteVPNGatewayId")
private String remoteVPNGatewayId;
-
+
+
public String getRegion() {
return region;
}
@@ -42,7 +60,7 @@ public String getRegion() {
public void setRegion(String region) {
this.region = region;
}
-
+
public String getProjectId() {
return projectId;
}
@@ -50,7 +68,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getRemoteVPNGatewayId() {
return remoteVPNGatewayId;
}
@@ -58,4 +76,14 @@ public String getRemoteVPNGatewayId() {
public void setRemoteVPNGatewayId(String remoteVPNGatewayId) {
this.remoteVPNGatewayId = remoteVPNGatewayId;
}
+
}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteRemoteVPNGatewayResponse.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteRemoteVPNGatewayResponse.java
index f238a58a..c090d51e 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteRemoteVPNGatewayResponse.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteRemoteVPNGatewayResponse.java
@@ -1,20 +1,38 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+import com.google.gson.annotations.SerializedName;
import cn.ucloud.common.response.Response;
-public class DeleteRemoteVPNGatewayResponse extends Response {}
+public class DeleteRemoteVPNGatewayResponse extends Response {
+
+
+}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNGatewayRequest.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNGatewayRequest.java
index ad14ec3a..85905e36 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNGatewayRequest.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNGatewayRequest.java
@@ -1,44 +1,66 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+import cn.ucloud.common.request.Request;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
public class DeleteVPNGatewayRequest extends Request {
- /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](../summary/regionlist.html)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
- /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
+
+
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** VPN网关的资源ID */
+
+
+
+ /**
+ * VPN网关的资源ID
+ */
@NotEmpty
@UCloudParam("VPNGatewayId")
private String vpnGatewayId;
-
- /** 删除VPN时是否一并释放EIP。false,只解绑EIP不删除EIP;true,解绑并释放EIP。默认是false */
+
+
+
+ /**
+ * 删除VPN时是否一并释放EIP。false,只解绑EIP不删除EIP;true,解绑并释放EIP。默认是false
+ */
@UCloudParam("ReleaseEip")
private Boolean releaseEip;
-
+
+
public String getRegion() {
return region;
}
@@ -46,7 +68,7 @@ public String getRegion() {
public void setRegion(String region) {
this.region = region;
}
-
+
public String getProjectId() {
return projectId;
}
@@ -54,7 +76,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getVPNGatewayId() {
return vpnGatewayId;
}
@@ -62,7 +84,7 @@ public String getVPNGatewayId() {
public void setVPNGatewayId(String vpnGatewayId) {
this.vpnGatewayId = vpnGatewayId;
}
-
+
public Boolean getReleaseEip() {
return releaseEip;
}
@@ -70,4 +92,14 @@ public Boolean getReleaseEip() {
public void setReleaseEip(Boolean releaseEip) {
this.releaseEip = releaseEip;
}
+
}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNGatewayResponse.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNGatewayResponse.java
index f940df73..bc8654c6 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNGatewayResponse.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNGatewayResponse.java
@@ -1,20 +1,38 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+import com.google.gson.annotations.SerializedName;
import cn.ucloud.common.response.Response;
-public class DeleteVPNGatewayResponse extends Response {}
+public class DeleteVPNGatewayResponse extends Response {
+
+
+}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNTunnelRequest.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNTunnelRequest.java
index ae7d3e22..ab297b5b 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNTunnelRequest.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNTunnelRequest.java
@@ -1,40 +1,58 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+import cn.ucloud.common.request.Request;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
public class DeleteVPNTunnelRequest extends Request {
- /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](../summary/regionlist.html)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
- /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
+
+
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** VPN隧道的资源ID */
+
+
+
+ /**
+ * VPN隧道的资源ID
+ */
@NotEmpty
@UCloudParam("VPNTunnelId")
private String vpnTunnelId;
-
+
+
public String getRegion() {
return region;
}
@@ -42,7 +60,7 @@ public String getRegion() {
public void setRegion(String region) {
this.region = region;
}
-
+
public String getProjectId() {
return projectId;
}
@@ -50,7 +68,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getVPNTunnelId() {
return vpnTunnelId;
}
@@ -58,4 +76,14 @@ public String getVPNTunnelId() {
public void setVPNTunnelId(String vpnTunnelId) {
this.vpnTunnelId = vpnTunnelId;
}
+
}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNTunnelResponse.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNTunnelResponse.java
index b4887276..223b9e6e 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNTunnelResponse.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DeleteVPNTunnelResponse.java
@@ -1,20 +1,38 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+import com.google.gson.annotations.SerializedName;
import cn.ucloud.common.response.Response;
-public class DeleteVPNTunnelResponse extends Response {}
+public class DeleteVPNTunnelResponse extends Response {
+
+
+}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DescribeRemoteVPNGatewayRequest.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DescribeRemoteVPNGatewayRequest.java
index 16c97cf5..a6b0e2c7 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DescribeRemoteVPNGatewayRequest.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/DescribeRemoteVPNGatewayRequest.java
@@ -1,57 +1,81 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+
+import cn.ucloud.common.request.Request;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
-
-import java.util.List;
public class DescribeRemoteVPNGatewayRequest extends Request {
- /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
+
+
+
/**
- * 项目ID。不填写为默认项目,子帐号必须填写。
- * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*/
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
+
+
+
/**
* 客户VPN网关的资源ID,例如RemoteVPNGatewayIds.0代表希望获取客户VPN网关1的信息,RemoteVPNGatewayIds.1代表客户VPN网关2,如果为空,则返回当前Region中所有客户VPN网关实例的信息
*/
@UCloudParam("RemoteVPNGatewayIds")
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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
-import cn.ucloud.common.response.Response;
+import java.util.List;
+
import com.google.gson.annotations.SerializedName;
-import java.util.List;
+import cn.ucloud.common.response.Response;
public class DescribeRemoteVPNGatewayResponse extends Response {
- /** 符合条件的客户VPN网关总数 */
+
+
+ /**
+ * 符合条件的客户VPN网关总数
+ */
@SerializedName("TotalCount")
private Integer totalCount;
-
- /** 客户VPN网关列表, 每项参数详见 RemoteVPNGatewayDataSet */
+
+
+
+ /**
+ * 客户VPN网关列表, 每项参数详见 RemoteVPNGatewayDataSet
+ */
@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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+
+import cn.ucloud.common.request.Request;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
-
-import java.util.List;
public class DescribeVPNGatewayRequest extends Request {
- /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](../summary/regionlist.html)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
- /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
+
+
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
+
+
+
/**
* VPN网关的资源ID,例如VPNGatewayIds.0代表希望获取VPN网关1的信息,VPNGatewayIds.1代表VPN网关2,如果为空,则返回当前Region中所有VPN网关的信息
*/
@UCloudParam("VPNGatewayIds")
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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
-import cn.ucloud.common.response.Response;
+import java.util.List;
+
import com.google.gson.annotations.SerializedName;
-import java.util.List;
+import cn.ucloud.common.response.Response;
public class DescribeVPNGatewayResponse extends Response {
- /** 满足条件的VPN网关总数 */
+
+
+ /**
+ * 满足条件的VPN网关总数
+ */
@SerializedName("TotalCount")
private Integer totalCount;
-
- /** 获取的VPN网关信息列表,每项参数详见 VPNGatewayDataSet */
+
+
+
+ /**
+ * 获取的VPN网关信息列表,每项参数详见 VPNGatewayDataSet
+ */
@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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+
+import cn.ucloud.common.request.Request;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
-
-import java.util.List;
public class DescribeVPNTunnelRequest extends Request {
- /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](../summary/regionlist.html)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
- /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
+
+
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
+
+
+
/**
* VPN隧道的资源ID,例如VPNTunnelIds.0代表希望获取信息的VPN隧道1,VPNTunneIds.1代表VPN隧道2,如果为空,则返回当前Region中所有的VPN隧道实例
*/
@UCloudParam("VPNTunnelIds")
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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
-import cn.ucloud.common.response.Response;
+import java.util.List;
+
import com.google.gson.annotations.SerializedName;
-import java.util.List;
+import cn.ucloud.common.response.Response;
public class DescribeVPNTunnelResponse extends Response {
- /** VPN隧道总数 */
+
+
+ /**
+ * VPN隧道总数
+ */
@SerializedName("TotalCount")
private Integer totalCount;
-
- /** 获取的VPN隧道信息列表,每项参数详见 VPNTunnelDataSet */
+
+
+
+ /**
+ * 获取的VPN隧道信息列表,每项参数详见 VPNTunnelDataSet
+ */
@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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+import cn.ucloud.common.request.Request;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
public class GetVPNGatewayPriceRequest extends Request {
- /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](../summary/regionlist.html)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
- /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
+
+
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** VPN网关规格。枚举值,包括:标准型:Standard,增强型:Enhanced。 */
+
+
+
+ /**
+ * VPN网关规格。枚举值,包括:标准型:Standard,增强型:Enhanced。
+ */
@NotEmpty
@UCloudParam("Grade")
private String grade;
-
- /** 付费方式, 枚举值为: Year, 按年付费; Month, 按月付费; Dynamic, 按需付费(需开启权限); 默认为获取三种价格 */
+
+
+
+ /**
+ * 付费方式, 枚举值为: Year, 按年付费; Month, 按月付费; Dynamic, 按需付费(需开启权限); 默认为获取三种价格
+ */
@UCloudParam("ChargeType")
private String chargeType;
-
- /** 购买时长, 默认: 1 */
+
+
+
+ /**
+ * 购买时长, 默认: 1
+ */
@UCloudParam("Quantity")
private Integer quantity;
-
+
+
public String getRegion() {
return region;
}
@@ -50,7 +76,7 @@ public String getRegion() {
public void setRegion(String region) {
this.region = region;
}
-
+
public String getProjectId() {
return projectId;
}
@@ -58,7 +84,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getGrade() {
return grade;
}
@@ -66,7 +92,7 @@ public String getGrade() {
public void setGrade(String grade) {
this.grade = grade;
}
-
+
public String getChargeType() {
return chargeType;
}
@@ -74,7 +100,7 @@ public String getChargeType() {
public void setChargeType(String chargeType) {
this.chargeType = chargeType;
}
-
+
public Integer getQuantity() {
return quantity;
}
@@ -82,4 +108,14 @@ public Integer getQuantity() {
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}
+
}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/GetVPNGatewayPriceResponse.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/GetVPNGatewayPriceResponse.java
index b5a1ece1..b31ca811 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/GetVPNGatewayPriceResponse.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/GetVPNGatewayPriceResponse.java
@@ -1,30 +1,39 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
-import cn.ucloud.common.response.Response;
+import java.util.List;
+
import com.google.gson.annotations.SerializedName;
-import java.util.List;
+import cn.ucloud.common.response.Response;
public class GetVPNGatewayPriceResponse extends Response {
- /** 获取的VPN网关价格信息列表,每项参数详见 VPNGatewayPriceSet */
+
+
+ /**
+ * 获取的VPN网关价格信息列表,每项参数详见 VPNGatewayPriceSet
+ */
@SerializedName("PriceSet")
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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+import cn.ucloud.common.request.Request;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
public class GetVPNGatewayUpgradePriceRequest extends Request {
- /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](../summary/regionlist.html)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
- /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
+
+
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** VPN网关的资源ID */
+
+
+
+ /**
+ * VPN网关的资源ID
+ */
@NotEmpty
@UCloudParam("VPNGatewayId")
private String vpnGatewayId;
+
+
+
+ /**
+ *
+
+
+
+
+
+
+
+
- /** 更改的VPN网关规格,枚举值为: Standard, 标准型; Enhanced, 增强型。 */
+更改的VPN网关规格,枚举值为: Standard, 标准型; Enhanced, 增强型。
+ */
@NotEmpty
@UCloudParam("Grade")
private String grade;
-
+
+
public String getRegion() {
return region;
}
@@ -47,7 +79,7 @@ public String getRegion() {
public void setRegion(String region) {
this.region = region;
}
-
+
public String getProjectId() {
return projectId;
}
@@ -55,7 +87,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getVPNGatewayId() {
return vpnGatewayId;
}
@@ -63,7 +95,7 @@ public String getVPNGatewayId() {
public void setVPNGatewayId(String vpnGatewayId) {
this.vpnGatewayId = vpnGatewayId;
}
-
+
public String getGrade() {
return grade;
}
@@ -71,4 +103,14 @@ public String getGrade() {
public void setGrade(String grade) {
this.grade = grade;
}
+
}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/GetVPNGatewayUpgradePriceResponse.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/GetVPNGatewayUpgradePriceResponse.java
index 83247212..6745685b 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/GetVPNGatewayUpgradePriceResponse.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/GetVPNGatewayUpgradePriceResponse.java
@@ -1,29 +1,39 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
-import cn.ucloud.common.response.Response;
import com.google.gson.annotations.SerializedName;
+import cn.ucloud.common.response.Response;
+
public class GetVPNGatewayUpgradePriceResponse extends Response {
- /** 调整规格后的VPN网关价格, 单位为"元", 如需退费此处为负值 */
+
+
+ /**
+ * 调整规格后的VPN网关价格, 单位为"元", 如需退费此处为负值
+ */
@SerializedName("Price")
private Double price;
-
+
+
public Double getPrice() {
return price;
}
@@ -31,4 +41,14 @@ public Double getPrice() {
public void setPrice(Double price) {
this.price = price;
}
+
}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/UpdateVPNGatewayRequest.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/UpdateVPNGatewayRequest.java
index eba6c3bc..91aa519d 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/UpdateVPNGatewayRequest.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/UpdateVPNGatewayRequest.java
@@ -1,45 +1,67 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+import cn.ucloud.common.request.Request;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
public class UpdateVPNGatewayRequest extends Request {
- /** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](../summary/regionlist.html)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
- /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
+
+
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** VPN网关的资源ID */
+
+
+
+ /**
+ * VPN网关的资源ID
+ */
@NotEmpty
@UCloudParam("VPNGatewayId")
private String vpnGatewayId;
-
- /** 网关规格。枚举值为: Standard, 标准型; Enhanced, 增强型。 */
+
+
+
+ /**
+ * 网关规格。枚举值为: Standard, 标准型; Enhanced, 增强型。
+ */
@NotEmpty
@UCloudParam("Grade")
private String grade;
-
+
+
public String getRegion() {
return region;
}
@@ -47,7 +69,7 @@ public String getRegion() {
public void setRegion(String region) {
this.region = region;
}
-
+
public String getProjectId() {
return projectId;
}
@@ -55,7 +77,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getVPNGatewayId() {
return vpnGatewayId;
}
@@ -63,7 +85,7 @@ public String getVPNGatewayId() {
public void setVPNGatewayId(String vpnGatewayId) {
this.vpnGatewayId = vpnGatewayId;
}
-
+
public String getGrade() {
return grade;
}
@@ -71,4 +93,14 @@ public String getGrade() {
public void setGrade(String grade) {
this.grade = grade;
}
+
}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/UpdateVPNGatewayResponse.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/UpdateVPNGatewayResponse.java
index 5d241959..a6fcb167 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/UpdateVPNGatewayResponse.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/UpdateVPNGatewayResponse.java
@@ -1,20 +1,38 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+import com.google.gson.annotations.SerializedName;
import cn.ucloud.common.response.Response;
-public class UpdateVPNGatewayResponse extends Response {}
+public class UpdateVPNGatewayResponse extends Response {
+
+
+}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/UpdateVPNTunnelAttributeRequest.java b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/UpdateVPNTunnelAttributeRequest.java
index 2a2fe75a..cccf4dbc 100644
--- a/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/UpdateVPNTunnelAttributeRequest.java
+++ b/ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/UpdateVPNTunnelAttributeRequest.java
@@ -1,116 +1,202 @@
/**
* 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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+
+import cn.ucloud.common.request.Request;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
-import cn.ucloud.common.request.Request;
-
-import java.util.List;
public class UpdateVPNTunnelAttributeRequest extends Request {
- /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+
+
+ /**
+ * 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
+ */
@NotEmpty
@UCloudParam("Region")
private String region;
-
+
+
+
/**
- * 项目ID。不填写为默认项目,子帐号必须填写。
- * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ * 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*/
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** VPN隧道的资源ID */
+
+
+
+ /**
+ * VPN隧道的资源ID
+ */
@NotEmpty
@UCloudParam("VPNTunnelId")
private String vpnTunnelId;
-
- /** 预共享密钥 */
+
+
+
+ /**
+ * 预共享密钥
+ */
@UCloudParam("IKEPreSharedKey")
private String ikePreSharedKey;
-
- /** IKE协商过程中使用的加密算法 */
+
+
+
+ /**
+ * IKE协商过程中使用的加密算法
+ */
@UCloudParam("IKEEncryptionAlgorithm")
private String ikeEncryptionAlgorithm;
-
- /** IKE协商过程中使用的认证算法 */
+
+
+
+ /**
+ * IKE协商过程中使用的认证算法
+ */
@UCloudParam("IKEAuthenticationAlgorithm")
private String ikeAuthenticationAlgorithm;
-
- /** IKE协商过程中使用的模式,可选“主动模式”与“野蛮模式”。IKEV2不使用该参数。 */
+
+
+
+ /**
+ * IKE协商过程中使用的模式,可选“主动模式”与“野蛮模式”。IKEV2不使用该参数。
+ */
@UCloudParam("IKEExchangeMode")
private String ikeExchangeMode;
-
- /** 本端标识。不填时默认使用之前的参数,结合IKEversion进行校验,IKEV2时不能为auto。 */
+
+
+
+ /**
+ * 本端标识。不填时默认使用之前的参数,结合IKEversion进行校验,IKEV2时不能为auto。
+ */
@UCloudParam("IKELocalId")
private String ikeLocalId;
-
- /** 客户端标识。不填时默认使用之前的参数,结合IKEversion进行校验,IKEV2时不能为auto。 */
+
+
+
+ /**
+ * 客户端标识。不填时默认使用之前的参数,结合IKEversion进行校验,IKEV2时不能为auto。
+ */
@UCloudParam("IKERemoteId")
private String ikeRemoteId;
-
- /** IKE协商过程中使用的DH组 */
+
+
+
+ /**
+ * IKE协商过程中使用的DH组
+ */
@UCloudParam("IKEDhGroup")
private String ikeDhGroup;
-
- /** IKE中SA的生存时间 */
+
+
+
+ /**
+ * IKE中SA的生存时间
+ */
@UCloudParam("IKESALifetime")
private String ikesaLifetime;
-
- /** 使用的安全协议,ESP或AH */
+
+
+
+ /**
+ * 使用的安全协议,ESP或AH
+ */
@UCloudParam("IPSecProtocol")
private String ipSecProtocol;
-
- /** 指定VPN连接的本地子网的id,用逗号分隔 */
+
+
+
+ /**
+ * 指定VPN连接的本地子网的id,用逗号分隔
+ */
@UCloudParam("IPSecLocalSubnetIds")
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
+ * 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
+ * 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
+ * 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.ipsecvpn.models;
+import java.util.List;
+
+import com.google.gson.annotations.SerializedName;
import cn.ucloud.common.response.Response;
-public class UpdateVPNTunnelAttributeResponse extends Response {}
+public class UpdateVPNTunnelAttributeResponse extends Response {
+
+
+}
+
+
+
+
+
+
+
+
+
diff --git a/ucloud-sdk-java-pathx/pom.xml b/ucloud-sdk-java-pathx/pom.xml
index d504d100..69c13bf9 100644
--- a/ucloud-sdk-java-pathx/pom.xml
+++ b/ucloud-sdk-java-pathx/pom.xml
@@ -5,18 +5,18 @@
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
+ * 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
+ * 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
+ * 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;
@@ -17,425 +19,621 @@
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.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.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.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.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.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 */
+/**
+ * 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);
- }
-
- /**
- * 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);
- }
-
- /**
- * 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);
- }
-
- /**
- * 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);
- }
-
- /**
- * 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);
- }
-
- /**
- * 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);
- }
+
+
+
+
+
+
+ /**
+ * 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);
+ }
+
+
+
+
+
+
+ /**
+ * 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);
+ }
+
+
+
+
+
+
+ /**
+ * 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);
+ }
+
+
+
+
+
+
+ /**
+ * 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);
+ }
+
+
+
+
+
+
+ /**
+ * 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);
+ }
+
+
+
+
+
+
+ /**
+ * 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
index 4fc53182..463abcaa 100644
--- 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
@@ -1,82 +1,178 @@
/**
* 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
+ * 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
+ * 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
+ * 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.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.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.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.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.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 */
+/**
+ * This client is used to call actions of **PathX** service
+ */
public interface PathXClientInterface extends Client {
-
+
+
+
+
+
+
/**
* BindPathXSSL - 绑定PathX SSL证书
*
@@ -84,43 +180,64 @@ public interface PathXClientInterface extends Client {
* @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;
-
+ public CreateGlobalSSHInstanceResponse createGlobalSSHInstance(CreateGlobalSSHInstanceRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* CreatePathXSSL - 创建证书
*
* @param request Request object
* @throws UCloudException Exception
*/
- public CreatePathXSSLResponse createPathXSSL(CreatePathXSSLRequest request)
- throws UCloudException;
-
+ public CreatePathXSSLResponse createPathXSSL(CreatePathXSSLRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* CreateUGAForwarder - 创建加速实例转发器
*
* @param request Request object
* @throws UCloudException Exception
*/
- public CreateUGAForwarderResponse createUGAForwarder(CreateUGAForwarderRequest request)
- throws UCloudException;
-
+ public CreateUGAForwarderResponse createUGAForwarder(CreateUGAForwarderRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* CreateUGAInstance - 创建全球加速配置项
*
* @param request Request object
* @throws UCloudException Exception
*/
- public CreateUGAInstanceResponse createUGAInstance(CreateUGAInstanceRequest request)
- throws UCloudException;
-
+ public CreateUGAInstanceResponse createUGAInstance(CreateUGAInstanceRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* CreateUPath - 创建UPath
*
@@ -128,43 +245,64 @@ public CreateUGAInstanceResponse createUGAInstance(CreateUGAInstanceRequest requ
* @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;
-
+ public DeleteGlobalSSHInstanceResponse deleteGlobalSSHInstance(DeleteGlobalSSHInstanceRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* DeletePathXSSL - 删除PathX SSL证书
*
* @param request Request object
* @throws UCloudException Exception
*/
- public DeletePathXSSLResponse deletePathXSSL(DeletePathXSSLRequest request)
- throws UCloudException;
-
+ public DeletePathXSSLResponse deletePathXSSL(DeletePathXSSLRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* DeleteUGAForwarder - 删除加速实例转发器
*
* @param request Request object
* @throws UCloudException Exception
*/
- public DeleteUGAForwarderResponse deleteUGAForwarder(DeleteUGAForwarderRequest request)
- throws UCloudException;
-
+ public DeleteUGAForwarderResponse deleteUGAForwarder(DeleteUGAForwarderRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* DeleteUGAInstance - 删除全球加速服务加速配置
*
* @param request Request object
* @throws UCloudException Exception
*/
- public DeleteUGAInstanceResponse deleteUGAInstance(DeleteUGAInstanceRequest request)
- throws UCloudException;
-
+ public DeleteUGAInstanceResponse deleteUGAInstance(DeleteUGAInstanceRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* DeleteUPath - 删除UPath
*
@@ -172,43 +310,64 @@ public DeleteUGAInstanceResponse deleteUGAInstance(DeleteUGAInstanceRequest requ
* @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;
-
+ public DescribeGlobalSSHInstanceResponse describeGlobalSSHInstance(DescribeGlobalSSHInstanceRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* DescribePathXLineConfig - 获取全球加速线路信息
*
* @param request Request object
* @throws UCloudException Exception
*/
- public DescribePathXLineConfigResponse describePathXLineConfig(
- DescribePathXLineConfigRequest request) throws UCloudException;
-
+ public DescribePathXLineConfigResponse describePathXLineConfig(DescribePathXLineConfigRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* DescribePathXSSL - 获取SSL证书信息
*
* @param request Request object
* @throws UCloudException Exception
*/
- public DescribePathXSSLResponse describePathXSSL(DescribePathXSSLRequest request)
- throws UCloudException;
-
+ public DescribePathXSSLResponse describePathXSSL(DescribePathXSSLRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* DescribeUGAInstance - 获取全球加速服务加速配置信息
*
* @param request Request object
* @throws UCloudException Exception
*/
- public DescribeUGAInstanceResponse describeUGAInstance(DescribeUGAInstanceRequest request)
- throws UCloudException;
-
+ public DescribeUGAInstanceResponse describeUGAInstance(DescribeUGAInstanceRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* DescribeUPath - 获取加速线路信息
*
@@ -216,88 +375,129 @@ public DescribeUGAInstanceResponse describeUGAInstance(DescribeUGAInstanceReques
* @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;
-
+ public DescribeUPathTemplateResponse describeUPathTemplate(DescribeUPathTemplateRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* GetGlobalSSHPrice - 获取GlobalSSH价格
*
* @param request Request object
* @throws UCloudException Exception
*/
- public GetGlobalSSHPriceResponse getGlobalSSHPrice(GetGlobalSSHPriceRequest request)
- throws UCloudException;
-
+ public GetGlobalSSHPriceResponse getGlobalSSHPrice(GetGlobalSSHPriceRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* GetGlobalSSHUpdatePrice - 获取GlobalSSH升级价格
*
* @param request Request object
* @throws UCloudException Exception
*/
- public GetGlobalSSHUpdatePriceResponse getGlobalSSHUpdatePrice(
- GetGlobalSSHUpdatePriceRequest request) throws UCloudException;
-
+ public GetGlobalSSHUpdatePriceResponse getGlobalSSHUpdatePrice(GetGlobalSSHUpdatePriceRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* GetPathXMetric - 获取全球加速监控信息
*
* @param request Request object
* @throws UCloudException Exception
*/
- public GetPathXMetricResponse getPathXMetric(GetPathXMetricRequest request)
- throws UCloudException;
-
+ public GetPathXMetricResponse getPathXMetric(GetPathXMetricRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* ModifyGlobalSSHPort - 修改GlobalSSH端口
*
* @param request Request object
* @throws UCloudException Exception
*/
- public ModifyGlobalSSHPortResponse modifyGlobalSSHPort(ModifyGlobalSSHPortRequest request)
- throws UCloudException;
-
+ public ModifyGlobalSSHPortResponse modifyGlobalSSHPort(ModifyGlobalSSHPortRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* ModifyGlobalSSHRemark - 修改GlobalSSH备注
*
* @param request Request object
* @throws UCloudException Exception
*/
- public ModifyGlobalSSHRemarkResponse modifyGlobalSSHRemark(ModifyGlobalSSHRemarkRequest request)
- throws UCloudException;
-
+ public ModifyGlobalSSHRemarkResponse modifyGlobalSSHRemark(ModifyGlobalSSHRemarkRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* ModifyGlobalSSHType - 修改GlobalSSH实例类型
*
* @param request Request object
* @throws UCloudException Exception
*/
- public ModifyGlobalSSHTypeResponse modifyGlobalSSHType(ModifyGlobalSSHTypeRequest request)
- throws UCloudException;
-
+ public ModifyGlobalSSHTypeResponse modifyGlobalSSHType(ModifyGlobalSSHTypeRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* ModifyUPathBandwidth - 修改加速线路带宽
*
* @param request Request object
* @throws UCloudException Exception
*/
- public ModifyUPathBandwidthResponse modifyUPathBandwidth(ModifyUPathBandwidthRequest request)
- throws UCloudException;
-
+ public ModifyUPathBandwidthResponse modifyUPathBandwidth(ModifyUPathBandwidthRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* ModifyUPathTemplate - 修改UPath监控告警项
*
* @param request Request object
* @throws UCloudException Exception
*/
- public ModifyUPathTemplateResponse modifyUPathTemplate(ModifyUPathTemplateRequest request)
- throws UCloudException;
-
+ public ModifyUPathTemplateResponse modifyUPathTemplate(ModifyUPathTemplateRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* UGABindUPath - UGA绑定UPath
*
@@ -305,31 +505,43 @@ public ModifyUPathTemplateResponse modifyUPathTemplate(ModifyUPathTemplateReques
* @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;
-
+ public UGAUnBindUPathResponse ugaUnBindUPath(UGAUnBindUPathRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* UnBindPathXSSL - 解绑PathX SSL 证书
*
* @param request Request object
* @throws UCloudException Exception
*/
- public UnBindPathXSSLResponse unBindPathXSSL(UnBindPathXSSLRequest request)
- throws UCloudException;
-
+ public UnBindPathXSSLResponse unBindPathXSSL(UnBindPathXSSLRequest request) throws UCloudException;
+
+
+
+
+
+
/**
* UpdatePathXWhitelist - 更新入口白名单
*
* @param request Request object
* @throws UCloudException Exception
*/
- public UpdatePathXWhitelistResponse updatePathXWhitelist(UpdatePathXWhitelistRequest request)
- throws UCloudException;
+ 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
index 6df05c5b..5953e2a0 100644
--- 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
@@ -1,46 +1,67 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+
+import cn.ucloud.common.request.Request;
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) */
+
+
+ /**
+ * 项目ID。 请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** 证书ID,如果没有指定证书ID也没有申请免费证书,HTTPS接入无法正常工作 */
+
+
+
+ /**
+ * 证书ID,如果没有指定证书ID也没有申请免费证书,HTTPS接入无法正常工作
+ */
@NotEmpty
@UCloudParam("SSLId")
private String sslId;
-
- /** UGA实例ID */
+
+
+
+ /**
+ * UGA实例ID
+ */
@NotEmpty
@UCloudParam("UGAId")
private String ugaId;
-
- /** 绑定SSL证书的HTTPS端口。Port.0 Port.1对应多个Port。如果Port不存在则不会绑定 */
+
+
+
+ /**
+ * 绑定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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import com.google.gson.annotations.SerializedName;
import cn.ucloud.common.response.Response;
-public class BindPathXSSLResponse extends 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
index 5e0258fc..1b44fd3c 100644
--- 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
@@ -1,81 +1,133 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import cn.ucloud.common.request.Request;
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) */
+
+
+ /**
+ * 项目ID,如org-xxxx。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** 填写支持SSH访问IP的地区名称,如“洛杉矶”,“新加坡”,“香港”,“东京”,“华盛顿”,“法兰克福”,“首尔”。Area和AreaCode两者必填一个 */
+
+
+
+ /**
+ * 填写支持SSH访问IP的地区名称,如“洛杉矶”,“新加坡”,“香港”,“东京”,“华盛顿”,“法兰克福”,“首尔”。Area和AreaCode两者必填一个
+ */
@NotEmpty
@UCloudParam("Area")
private String area;
-
- /** 被SSH访问的源站IP,仅支持IPv4地址。 */
+
+
+
+ /**
+ * 被SSH访问的源站IP,仅支持IPv4地址。
+ */
@NotEmpty
@UCloudParam("TargetIP")
private String targetIP;
-
+
+
+
/**
- * 源站服务器监听的SSH端口,可取范围[1-65535],不能使用80,443,
- * 65123端口。如果InstanceType=Free,取值范围缩小为[22,3389],linux系统选择22,windows系统自动选3389。
+ * 源站服务器监听的SSH端口,可取范围[1-65535],不能使用80,443, 65123端口。如果InstanceType=Free,取值范围缩小为[22,3389],linux系统选择22,windows系统自动选3389。
*/
@NotEmpty
@UCloudParam("Port")
private Integer port;
-
- /** AreaCode, 区域航空港国际通用代码。Area和AreaCode两者必填一个 */
+
+
+
+ /**
+ * AreaCode, 区域航空港国际通用代码。Area和AreaCode两者必填一个
+ */
@NotEmpty
@UCloudParam("AreaCode")
private String areaCode;
-
- /** 备注信息 */
+
+
+
+ /**
+ * 备注信息
+ */
@UCloudParam("Remark")
private String remark;
-
- /** 支付方式,如按月:Month、 按年:Year、按时:Dynamic */
+
+
+
+ /**
+ * 支付方式,如按月:Month、 按年:Year、按时:Dynamic
+ */
@UCloudParam("ChargeType")
private String chargeType;
-
- /** 购买数量 按月购买至月底请传0 */
+
+
+
+ /**
+ * 购买数量
+按月购买至月底请传0
+ */
@UCloudParam("Quantity")
private Integer quantity;
-
- /** 枚举值:["Ultimate","Enterprise","Basic","Primary"], 分别代表旗舰版,企业版,基础版,入门版 */
+
+
+
+ /**
+ * 枚举值:["Ultimate","Enterprise","Basic","Primary"], 分别代表旗舰版,企业版,基础版,入门版
+ */
@UCloudParam("InstanceType")
private String instanceType;
-
- /** Ultimate版本带宽包大小,枚举值:[0,20,40]。单位MB */
+
+
+
+ /**
+ * Ultimate版本带宽包大小,枚举值:[0,20,40]。单位MB
+ */
@UCloudParam("BandwidthPackage")
private Integer bandwidthPackage;
-
- /** InstanceType等于Basic时可以在["cn-bj2","cn-sh2","cn-gd"]中选择1个作为转发机房,其他付费版默认配置三个转发机房 */
+
+
+
+ /**
+ * InstanceType等于Basic时可以在["cn-bj2","cn-sh2","cn-gd"]中选择1个作为转发机房,其他付费版默认配置三个转发机房
+ */
@UCloudParam("ForwardRegion")
private String forwardRegion;
-
- /** 使用代金券可冲抵部分费用 */
+
+
+
+ /**
+ * 使用代金券可冲抵部分费用
+ */
@UCloudParam("CouponId")
private String couponId;
-
+
+
public String getProjectId() {
return projectId;
}
@@ -83,7 +135,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getArea() {
return area;
}
@@ -91,7 +143,7 @@ public String getArea() {
public void setArea(String area) {
this.area = area;
}
-
+
public String getTargetIP() {
return targetIP;
}
@@ -99,7 +151,7 @@ public String getTargetIP() {
public void setTargetIP(String targetIP) {
this.targetIP = targetIP;
}
-
+
public Integer getPort() {
return port;
}
@@ -107,7 +159,7 @@ public Integer getPort() {
public void setPort(Integer port) {
this.port = port;
}
-
+
public String getAreaCode() {
return areaCode;
}
@@ -115,7 +167,7 @@ public String getAreaCode() {
public void setAreaCode(String areaCode) {
this.areaCode = areaCode;
}
-
+
public String getRemark() {
return remark;
}
@@ -123,7 +175,7 @@ public String getRemark() {
public void setRemark(String remark) {
this.remark = remark;
}
-
+
public String getChargeType() {
return chargeType;
}
@@ -131,7 +183,7 @@ public String getChargeType() {
public void setChargeType(String chargeType) {
this.chargeType = chargeType;
}
-
+
public Integer getQuantity() {
return quantity;
}
@@ -139,7 +191,7 @@ public Integer getQuantity() {
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}
-
+
public String getInstanceType() {
return instanceType;
}
@@ -147,7 +199,7 @@ public String getInstanceType() {
public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
}
-
+
public Integer getBandwidthPackage() {
return bandwidthPackage;
}
@@ -155,7 +207,7 @@ public Integer getBandwidthPackage() {
public void setBandwidthPackage(Integer bandwidthPackage) {
this.bandwidthPackage = bandwidthPackage;
}
-
+
public String getForwardRegion() {
return forwardRegion;
}
@@ -163,7 +215,7 @@ public String getForwardRegion() {
public void setForwardRegion(String forwardRegion) {
this.forwardRegion = forwardRegion;
}
-
+
public String getCouponId() {
return couponId;
}
@@ -171,4 +223,14 @@ public String getCouponId() {
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
index 59bd5ac6..5fa95382 100644
--- 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
@@ -1,33 +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
+ * 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
+ * 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
+ * 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 java.util.List;
-import cn.ucloud.common.response.Response;
import com.google.gson.annotations.SerializedName;
+import cn.ucloud.common.response.Response;
+
public class CreateGlobalSSHInstanceResponse extends Response {
- /** 实例ID,资源唯一标识 */
+
+
+ /**
+ * 实例ID,资源唯一标识
+ */
@SerializedName("InstanceId")
private String instanceId;
-
- /** 加速域名,访问该域名可就近接入 */
+
+
+
+ /**
+ * 加速域名,访问该域名可就近接入
+ */
@SerializedName("AcceleratingDomain")
private String acceleratingDomain;
-
+
+
public String getInstanceId() {
return instanceId;
}
@@ -35,7 +49,7 @@ public String getInstanceId() {
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
-
+
public String getAcceleratingDomain() {
return acceleratingDomain;
}
@@ -43,4 +57,14 @@ public String getAcceleratingDomain() {
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
index 8f6d2a81..0aa83c21 100644
--- 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
@@ -1,55 +1,89 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import cn.ucloud.common.request.Request;
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) */
+
+
+ /**
+ * 项目ID org-xxx格式。 请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** SSL证书的名字 */
+
+
+
+ /**
+ * SSL证书的名字
+ */
@NotEmpty
@UCloudParam("SSLName")
private String sslName;
-
- /** 所添加的SSL证书类型,目前只支持Pem格式 */
+
+
+
+ /**
+ * 所添加的SSL证书类型,目前只支持Pem格式
+ */
@UCloudParam("SSLType")
private String sslType;
-
- /** SSL证书的完整内容,私钥不可使用密码,包括加密证书的私钥、用户证书或CA证书等 */
+
+
+
+ /**
+ * SSL证书的完整内容,私钥不可使用密码,包括加密证书的私钥、用户证书或CA证书等
+ */
@UCloudParam("SSLContent")
private String sslContent;
-
- /** 用户自签证书内容 */
+
+
+
+ /**
+ * 用户自签证书内容
+ */
@UCloudParam("UserCert")
private String userCert;
-
- /** 加密证书的私钥,不可使用密码保护,开启密码保护后,重启服务需要输入密码 */
+
+
+
+ /**
+ * 加密证书的私钥,不可使用密码保护,开启密码保护后,重启服务需要输入密码
+ */
@UCloudParam("PrivateKey")
private String privateKey;
-
- /** CA颁发证书内容 */
+
+
+
+ /**
+ * CA颁发证书内容
+ */
@UCloudParam("CACert")
private String caCert;
-
+
+
public String getProjectId() {
return projectId;
}
@@ -57,7 +91,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getSSLName() {
return sslName;
}
@@ -65,7 +99,7 @@ public String getSSLName() {
public void setSSLName(String sslName) {
this.sslName = sslName;
}
-
+
public String getSSLType() {
return sslType;
}
@@ -73,7 +107,7 @@ public String getSSLType() {
public void setSSLType(String sslType) {
this.sslType = sslType;
}
-
+
public String getSSLContent() {
return sslContent;
}
@@ -81,7 +115,7 @@ public String getSSLContent() {
public void setSSLContent(String sslContent) {
this.sslContent = sslContent;
}
-
+
public String getUserCert() {
return userCert;
}
@@ -89,7 +123,7 @@ public String getUserCert() {
public void setUserCert(String userCert) {
this.userCert = userCert;
}
-
+
public String getPrivateKey() {
return privateKey;
}
@@ -97,7 +131,7 @@ public String getPrivateKey() {
public void setPrivateKey(String privateKey) {
this.privateKey = privateKey;
}
-
+
public String getCACert() {
return caCert;
}
@@ -105,4 +139,14 @@ public String getCACert() {
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
index 8d394017..a495e868 100644
--- 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
@@ -1,29 +1,39 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
-import cn.ucloud.common.response.Response;
import com.google.gson.annotations.SerializedName;
+import cn.ucloud.common.response.Response;
+
public class CreatePathXSSLResponse extends Response {
- /** SSL证书的Id */
+
+
+ /**
+ * SSL证书的Id
+ */
@SerializedName("SSLId")
private String sslId;
-
+
+
public String getSSLId() {
return sslId;
}
@@ -31,4 +41,14 @@ public String getSSLId() {
public void setSSLId(String sslId) {
this.sslId = sslId;
}
+
}
+
+
+
+
+
+
+
+
+
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
index 23c94da2..e5bc6735 100644
--- 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
@@ -1,100 +1,177 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+
+import cn.ucloud.common.request.Request;
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) */
+
+
+ /**
+ * 项目ID。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** 加速配置实例ID */
+
+
+
+ /**
+ * 加速配置实例ID
+ */
@NotEmpty
@UCloudParam("UGAId")
private String ugaId;
-
- /** HTTP接入HTTP回源转发,接入端口。禁用65123端口 */
+
+
+
+ /**
+ * 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import com.google.gson.annotations.SerializedName;
import cn.ucloud.common.response.Response;
-public class CreateUGAForwarderResponse extends 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
index ce4cb746..b8c037a6 100644
--- 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
@@ -1,52 +1,81 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+
+import cn.ucloud.common.request.Request;
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) */
+
+
+ /**
+ * 项目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二选一必填 */
+
+
+
+ /**
+ * 加速源IP,多个IP用英文半角逗号(,)隔开;IPList和Domain二选一必填
+ */
@UCloudParam("IPList")
private String ipList;
-
- /** 加速源域名,IPList和Domain二选一必填 */
+
+
+
+ /**
+ * 加速源域名,IPList和Domain二选一必填
+ */
@UCloudParam("Domain")
private String domain;
-
- /** TCP端口号,已废弃。请使用 CreateUGAForwarder API 创建端口 */
+
+
+
+ /**
+ * 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
+ * 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
+ * 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
+ * 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 java.util.List;
-import cn.ucloud.common.response.Response;
import com.google.gson.annotations.SerializedName;
+import cn.ucloud.common.response.Response;
+
public class CreateUGAInstanceResponse extends Response {
- /** 加速配置ID */
+
+
+ /**
+ * 加速配置ID
+ */
@SerializedName("UGAId")
private String ugaId;
-
- /** 加速域名 用户可把业务域名CName到此域名上。注意:未绑定线路情况时 加速域名解析不出IP。 */
+
+
+
+ /**
+ * 加速域名 用户可把业务域名CName到此域名上。注意:未绑定线路情况时 加速域名解析不出IP。
+ */
@SerializedName("CName")
private String cName;
-
+
+
public String getUGAId() {
return ugaId;
}
@@ -35,7 +49,7 @@ public String getUGAId() {
public void setUGAId(String ugaId) {
this.ugaId = ugaId;
}
-
+
public String getCName() {
return cName;
}
@@ -43,4 +57,14 @@ public String getCName() {
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
index fd845a26..f8b198b0 100644
--- 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
@@ -1,68 +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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import cn.ucloud.common.request.Request;
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) */
+
+
+ /**
+ * 项目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接口提供 */
+
+
+
+ /**
+ * 选择的线路,由DescribePathXLineConfig接口提供
+ */
@NotEmpty
@UCloudParam("LineId")
private String lineId;
-
+
+
+
/**
- * 当PostPaid为false时,该值为预付费固定带宽;当PostPaid为true时,该值为后付费保底带宽,保底带宽越大可用的上限带宽越大。最小1Mbps,最大带宽由
- * DescribePathXLineConfig 接口获得。可联系产品团队咨询最大带宽。
+ * 当PostPaid为false时,该值为预付费固定带宽;当PostPaid为true时,该值为后付费保底带宽,保底带宽越大可用的上限带宽越大。最小1Mbps,最大带宽由 DescribePathXLineConfig 接口获得。可联系产品团队咨询最大带宽。
*/
@NotEmpty
@UCloudParam("Bandwidth")
private Integer bandwidth;
-
- /** 计费模式,默认为Month 按月收费,可选范围['Month','Year','Dynamic'] */
+
+
+
+ /**
+ * 计费模式,默认为Month 按月收费,可选范围['Month','Year','Dynamic']
+ */
@UCloudParam("ChargeType")
private String chargeType;
-
- /** 购买周期,ChargeType为Month时,Quantity默认为0代表购买到月底,按时和按年付费该参数必须大于0 */
+
+
+
+ /**
+ * 购买周期,ChargeType为Month时,Quantity默认为0代表购买到月底,按时和按年付费该参数必须大于0
+ */
@UCloudParam("Quantity")
private Integer quantity;
-
- /** 是否开启后付费, 默认为false ,不开启后付费。当ChargeType为Dynamic时不能开启后付费。 */
+
+
+
+ /**
+ * 是否开启后付费, 默认为false ,不开启后付费。当ChargeType为Dynamic时不能开启后付费。
+ */
@UCloudParam("PostPaid")
private Boolean postPaid;
-
- /** private:专线线路;public:海外SD-WAN。默认为private。 */
+
+
+
+ /**
+ * private:专线线路;public:海外SD-WAN。默认为private。
+ */
@UCloudParam("PathType")
private String pathType;
-
- /** 代金券Id */
+
+
+
+ /**
+ * 代金券Id
+ */
@UCloudParam("CouponId")
private String couponId;
-
+
+
public String getProjectId() {
return projectId;
}
@@ -70,7 +109,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getName() {
return name;
}
@@ -78,7 +117,7 @@ public String getName() {
public void setName(String name) {
this.name = name;
}
-
+
public String getLineId() {
return lineId;
}
@@ -86,7 +125,7 @@ public String getLineId() {
public void setLineId(String lineId) {
this.lineId = lineId;
}
-
+
public Integer getBandwidth() {
return bandwidth;
}
@@ -94,7 +133,7 @@ public Integer getBandwidth() {
public void setBandwidth(Integer bandwidth) {
this.bandwidth = bandwidth;
}
-
+
public String getChargeType() {
return chargeType;
}
@@ -102,7 +141,7 @@ public String getChargeType() {
public void setChargeType(String chargeType) {
this.chargeType = chargeType;
}
-
+
public Integer getQuantity() {
return quantity;
}
@@ -110,7 +149,7 @@ public Integer getQuantity() {
public void setQuantity(Integer quantity) {
this.quantity = quantity;
}
-
+
public Boolean getPostPaid() {
return postPaid;
}
@@ -118,7 +157,7 @@ public Boolean getPostPaid() {
public void setPostPaid(Boolean postPaid) {
this.postPaid = postPaid;
}
-
+
public String getPathType() {
return pathType;
}
@@ -126,7 +165,7 @@ public String getPathType() {
public void setPathType(String pathType) {
this.pathType = pathType;
}
-
+
public String getCouponId() {
return couponId;
}
@@ -134,4 +173,14 @@ public String getCouponId() {
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
index 928a2e63..351ee0ea 100644
--- 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
@@ -1,29 +1,39 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
-import cn.ucloud.common.response.Response;
import com.google.gson.annotations.SerializedName;
+import cn.ucloud.common.response.Response;
+
public class CreateUPathResponse extends Response {
- /** 加速线路实例Id */
+
+
+ /**
+ * 加速线路实例Id
+ */
@SerializedName("PathId")
private String pathId;
-
+
+
public String getPathId() {
return pathId;
}
@@ -31,4 +41,14 @@ public String getPathId() {
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
index 595149c2..ee628630 100644
--- 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
@@ -1,35 +1,49 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import cn.ucloud.common.request.Request;
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) */
+
+
+ /**
+ * 项目ID,如org-xxxx。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** 实例Id,资源的唯一标识 */
+
+
+
+ /**
+ * 实例Id,资源的唯一标识
+ */
@NotEmpty
@UCloudParam("InstanceId")
private String instanceId;
-
+
+
public String getProjectId() {
return projectId;
}
@@ -37,7 +51,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getInstanceId() {
return instanceId;
}
@@ -45,4 +59,14 @@ public String getInstanceId() {
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
index e6407a81..12951fbc 100644
--- 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
@@ -1,20 +1,38 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import com.google.gson.annotations.SerializedName;
import cn.ucloud.common.response.Response;
-public class DeleteGlobalSSHInstanceResponse extends 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
index a7284cbd..c2e0c999 100644
--- 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
@@ -1,35 +1,49 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import cn.ucloud.common.request.Request;
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) */
+
+
+ /**
+ * 项目ID。请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** SSL证书的ID */
+
+
+
+ /**
+ * SSL证书的ID
+ */
@NotEmpty
@UCloudParam("SSLId")
private String sslId;
-
+
+
public String getProjectId() {
return projectId;
}
@@ -37,7 +51,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getSSLId() {
return sslId;
}
@@ -45,4 +59,14 @@ public String getSSLId() {
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
index 2b30fa0f..761a2d5c 100644
--- 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
@@ -1,20 +1,38 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import com.google.gson.annotations.SerializedName;
import cn.ucloud.common.response.Response;
-public class DeletePathXSSLResponse extends Response {}
+public class DeletePathXSSLResponse 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
index 771acfd6..530f8698 100644
--- 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
@@ -1,68 +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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+
+import cn.ucloud.common.request.Request;
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) */
+
+
+ /**
+ * 项目ID。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** 加速配置实例ID */
+
+
+
+ /**
+ * 加速配置实例ID
+ */
@NotEmpty
@UCloudParam("UGAId")
private String ugaId;
-
- /** HTTP接入HTTP回源,接入端口。禁用65123端口 */
+
+
+
+ /**
+ * 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import com.google.gson.annotations.SerializedName;
import cn.ucloud.common.response.Response;
-public class DeleteUGAForwarderResponse extends 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
index 96e72fd4..5f49a16c 100644
--- 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
@@ -1,35 +1,49 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import cn.ucloud.common.request.Request;
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) */
+
+
+ /**
+ * 项目ID,如org-xxxx。请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** 加速配置实例ID */
+
+
+
+ /**
+ * 加速配置实例ID
+ */
@NotEmpty
@UCloudParam("UGAId")
private String ugaId;
-
+
+
public String getProjectId() {
return projectId;
}
@@ -37,7 +51,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getUGAId() {
return ugaId;
}
@@ -45,4 +59,14 @@ public String getUGAId() {
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
index 04a626e8..cfa84571 100644
--- 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
@@ -1,20 +1,38 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import com.google.gson.annotations.SerializedName;
import cn.ucloud.common.response.Response;
-public class DeleteUGAInstanceResponse extends 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
index 7731a3e4..4f363b77 100644
--- 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
@@ -1,35 +1,49 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import cn.ucloud.common.request.Request;
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) */
+
+
+ /**
+ * 项目ID。请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** 加速线路实例ID */
+
+
+
+ /**
+ * 加速线路实例ID
+ */
@NotEmpty
@UCloudParam("UPathId")
private String uPathId;
-
+
+
public String getProjectId() {
return projectId;
}
@@ -37,7 +51,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getUPathId() {
return uPathId;
}
@@ -45,4 +59,14 @@ public String getUPathId() {
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
index a46d7a23..3c77486c 100644
--- 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
@@ -1,20 +1,38 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import com.google.gson.annotations.SerializedName;
import cn.ucloud.common.response.Response;
-public class DeleteUPathResponse extends 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
index f4b2719a..c504c72c 100644
--- 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
@@ -1,34 +1,48 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import cn.ucloud.common.request.Request;
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) */
+
+
+ /**
+ * 项目ID,如org-xxxx。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** 实例ID,资源唯一标识 */
+
+
+
+ /**
+ * 实例ID,资源唯一标识
+ */
@UCloudParam("InstanceId")
private String instanceId;
-
+
+
public String getProjectId() {
return projectId;
}
@@ -36,7 +50,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getInstanceId() {
return instanceId;
}
@@ -44,4 +58,14 @@ public String getInstanceId() {
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
index 6272e849..e48c511e 100644
--- 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
@@ -1,30 +1,39 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
import com.google.gson.annotations.SerializedName;
-import java.util.List;
+import cn.ucloud.common.response.Response;
public class DescribeGlobalSSHInstanceResponse extends Response {
- /** GlobalSSH实例列表,实例的属性参考GlobalSSHInfo模型 */
+
+
+ /**
+ * 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
-import cn.ucloud.common.annotation.UCloudParam;
import cn.ucloud.common.request.Request;
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
public class DescribePathXLineConfigRequest extends Request {
+
+
/**
* 项目ID,如org-xxxx。不填为默认项目。请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*/
@UCloudParam("ProjectId")
private String projectId;
-
+
+
public String getProjectId() {
return projectId;
}
@@ -32,4 +41,14 @@ public String getProjectId() {
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
index 3b77bb9a..6cbb2ffa 100644
--- 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
@@ -1,30 +1,39 @@
/**
* 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
import com.google.gson.annotations.SerializedName;
-import java.util.List;
+import cn.ucloud.common.response.Response;
public class DescribePathXLineConfigResponse extends Response {
- /** UGAA线路列表,参考UGAALine字段定义 */
+
+
+ /**
+ * 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
+ * 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
+ * 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
+ * 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 java.util.List;
+
+import cn.ucloud.common.request.Request;
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) */
+
+
+ /**
+ * 项目ID。请参考[GetProjectList接口](../summary/get_project_list.html)
+ */
@NotEmpty
@UCloudParam("ProjectId")
private String projectId;
-
- /** SSL证书的Id,不传分页获取证书列表 */
+
+
+
+ /**
+ * SSL证书的Id,不传分页获取证书列表
+ */
@UCloudParam("SSLId")
private String sslId;
-
- /** 不为空则按证书名称、证书域名模糊搜索 分页返回结果 */
+
+
+
+ /**
+ * 不为空则按证书名称、证书域名模糊搜索 分页返回结果
+ */
@UCloudParam("SearchValue")
private String searchValue;
-
- /** 最大返回条数,默认100,最大400 */
+
+
+
+ /**
+ * 最大返回条数,默认100,最大400
+ */
@UCloudParam("Limit")
private Integer limit;
-
- /** 偏移值 默认为0 */
+
+
+
+ /**
+ * 偏移值 默认为0
+ */
@UCloudParam("Offset")
private Integer offset;
-
+
+
public String getProjectId() {
return projectId;
}
@@ -48,7 +74,7 @@ public String getProjectId() {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
-
+
public String getSSLId() {
return sslId;
}
@@ -56,7 +82,7 @@ public String getSSLId() {
public void setSSLId(String sslId) {
this.sslId = sslId;
}
-
+
public String getSearchValue() {
return searchValue;
}
@@ -64,7 +90,7 @@ public String getSearchValue() {
public void setSearchValue(String searchValue) {
this.searchValue = searchValue;
}
-
+
public Integer getLimit() {
return limit;
}
@@ -72,7 +98,7 @@ public Integer getLimit() {
public void setLimit(Integer limit) {
this.limit = limit;
}
-
+
public Integer getOffset() {
return offset;
}
@@ -80,4 +106,14 @@ public Integer getOffset() {
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
index b784416e..b099d017 100644
--- 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
@@ -1,34 +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
+ * 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
+ * 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
+ * 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 java.util.List;
+
import com.google.gson.annotations.SerializedName;
-import java.util.List;
+import cn.ucloud.common.response.Response;
public class DescribePathXSSLResponse extends Response {
- /** SSL证书详细信息,具体结构见 PathXSSLSet */
+
+
+ /**
+ * SSL证书详细信息,具体结构见 PathXSSLSet
+ */
@SerializedName("DataSet")
private List