Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.uwsc.client; + +import cn.ucloud.common.client.DefaultClient; +import cn.ucloud.common.config.Config; +import cn.ucloud.common.credential.Credential; +import cn.ucloud.common.exception.UCloudException; +import cn.ucloud.uwsc.models.AddExportLineRulesRequest; +import cn.ucloud.uwsc.models.AddExportLineRulesResponse; +import cn.ucloud.uwsc.models.BindCPERequest; +import cn.ucloud.uwsc.models.BindCPEResponse; +import cn.ucloud.uwsc.models.CreateCPERequest; +import cn.ucloud.uwsc.models.CreateCPEResponse; +import cn.ucloud.uwsc.models.CreateExportLineRequest; +import cn.ucloud.uwsc.models.CreateExportLineResponse; +import cn.ucloud.uwsc.models.DeleteExportLineRequest; +import cn.ucloud.uwsc.models.DeleteExportLineResponse; +import cn.ucloud.uwsc.models.DeleteExportLineRulesRequest; +import cn.ucloud.uwsc.models.DeleteExportLineRulesResponse; +import cn.ucloud.uwsc.models.DescribeCPERequest; +import cn.ucloud.uwsc.models.DescribeCPEResponse; +import cn.ucloud.uwsc.models.DescribeExportLineRequest; +import cn.ucloud.uwsc.models.DescribeExportLineResponse; +import cn.ucloud.uwsc.models.DescribeExportLineRulesRequest; +import cn.ucloud.uwsc.models.DescribeExportLineRulesResponse; +import cn.ucloud.uwsc.models.UpdateExportLineRequest; +import cn.ucloud.uwsc.models.UpdateExportLineResponse; +import cn.ucloud.uwsc.models.UpgradeExportLineRequest; +import cn.ucloud.uwsc.models.UpgradeExportLineResponse; + +/** This client is used to call actions of **UWSC** service */ +public class UWSCClient extends DefaultClient implements UWSCClientInterface { + public UWSCClient(Config config, Credential credential) { + super(config, credential); + } + + /** + * AddExportLineRules - 添加加速规则 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AddExportLineRulesResponse addExportLineRules(AddExportLineRulesRequest request) + throws UCloudException { + request.setAction("AddExportLineRules"); + return (AddExportLineRulesResponse) this.invoke(request, AddExportLineRulesResponse.class); + } + + /** + * BindCPE - 绑定 CPE + * + * @param request Request object + * @throws UCloudException Exception + */ + public BindCPEResponse bindCPE(BindCPERequest request) throws UCloudException { + request.setAction("BindCPE"); + return (BindCPEResponse) this.invoke(request, BindCPEResponse.class); + } + + /** + * CreateCPE - 创建 CPE + * + * @param request Request object + * @throws UCloudException Exception + */ + public CreateCPEResponse createCPE(CreateCPERequest request) throws UCloudException { + request.setAction("CreateCPE"); + return (CreateCPEResponse) this.invoke(request, CreateCPEResponse.class); + } + + /** + * CreateExportLine - 创建加速线路 + * + * @param request Request object + * @throws UCloudException Exception + */ + public CreateExportLineResponse createExportLine(CreateExportLineRequest request) + throws UCloudException { + request.setAction("CreateExportLine"); + return (CreateExportLineResponse) this.invoke(request, CreateExportLineResponse.class); + } + + /** + * DeleteExportLine - 删除加速线路 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DeleteExportLineResponse deleteExportLine(DeleteExportLineRequest request) + throws UCloudException { + request.setAction("DeleteExportLine"); + return (DeleteExportLineResponse) this.invoke(request, DeleteExportLineResponse.class); + } + + /** + * DeleteExportLineRules - 删除加速规则 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DeleteExportLineRulesResponse deleteExportLineRules(DeleteExportLineRulesRequest request) + throws UCloudException { + request.setAction("DeleteExportLineRules"); + return (DeleteExportLineRulesResponse) + this.invoke(request, DeleteExportLineRulesResponse.class); + } + + /** + * DescribeCPE - 查询 CPE 信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCPEResponse describeCPE(DescribeCPERequest request) throws UCloudException { + request.setAction("DescribeCPE"); + return (DescribeCPEResponse) this.invoke(request, DescribeCPEResponse.class); + } + + /** + * DescribeExportLine - 查询CPE绑定的加速线路信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeExportLineResponse describeExportLine(DescribeExportLineRequest request) + throws UCloudException { + request.setAction("DescribeExportLine"); + return (DescribeExportLineResponse) this.invoke(request, DescribeExportLineResponse.class); + } + + /** + * DescribeExportLineRules - 查询白名单 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeExportLineRulesResponse describeExportLineRules( + DescribeExportLineRulesRequest request) throws UCloudException { + request.setAction("DescribeExportLineRules"); + return (DescribeExportLineRulesResponse) + this.invoke(request, DescribeExportLineRulesResponse.class); + } + + /** + * UpdateExportLine - 修改加速线路 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpdateExportLineResponse updateExportLine(UpdateExportLineRequest request) + throws UCloudException { + request.setAction("UpdateExportLine"); + return (UpdateExportLineResponse) this.invoke(request, UpdateExportLineResponse.class); + } + + /** + * UpgradeExportLine - 升级加速线路 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpgradeExportLineResponse upgradeExportLine(UpgradeExportLineRequest request) + throws UCloudException { + request.setAction("UpgradeExportLine"); + return (UpgradeExportLineResponse) this.invoke(request, UpgradeExportLineResponse.class); + } +} diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/client/UWSCClientInterface.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/client/UWSCClientInterface.java new file mode 100644 index 00000000..2aa9dde6 --- /dev/null +++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/client/UWSCClientInterface.java @@ -0,0 +1,139 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.uwsc.client; + +import cn.ucloud.common.client.Client; +import cn.ucloud.common.exception.UCloudException; +import cn.ucloud.uwsc.models.AddExportLineRulesRequest; +import cn.ucloud.uwsc.models.AddExportLineRulesResponse; +import cn.ucloud.uwsc.models.BindCPERequest; +import cn.ucloud.uwsc.models.BindCPEResponse; +import cn.ucloud.uwsc.models.CreateCPERequest; +import cn.ucloud.uwsc.models.CreateCPEResponse; +import cn.ucloud.uwsc.models.CreateExportLineRequest; +import cn.ucloud.uwsc.models.CreateExportLineResponse; +import cn.ucloud.uwsc.models.DeleteExportLineRequest; +import cn.ucloud.uwsc.models.DeleteExportLineResponse; +import cn.ucloud.uwsc.models.DeleteExportLineRulesRequest; +import cn.ucloud.uwsc.models.DeleteExportLineRulesResponse; +import cn.ucloud.uwsc.models.DescribeCPERequest; +import cn.ucloud.uwsc.models.DescribeCPEResponse; +import cn.ucloud.uwsc.models.DescribeExportLineRequest; +import cn.ucloud.uwsc.models.DescribeExportLineResponse; +import cn.ucloud.uwsc.models.DescribeExportLineRulesRequest; +import cn.ucloud.uwsc.models.DescribeExportLineRulesResponse; +import cn.ucloud.uwsc.models.UpdateExportLineRequest; +import cn.ucloud.uwsc.models.UpdateExportLineResponse; +import cn.ucloud.uwsc.models.UpgradeExportLineRequest; +import cn.ucloud.uwsc.models.UpgradeExportLineResponse; + +/** This client is used to call actions of **UWSC** service */ +public interface UWSCClientInterface extends Client { + + /** + * AddExportLineRules - 添加加速规则 + * + * @param request Request object + * @throws UCloudException Exception + */ + public AddExportLineRulesResponse addExportLineRules(AddExportLineRulesRequest request) + throws UCloudException; + + /** + * BindCPE - 绑定 CPE + * + * @param request Request object + * @throws UCloudException Exception + */ + public BindCPEResponse bindCPE(BindCPERequest request) throws UCloudException; + + /** + * CreateCPE - 创建 CPE + * + * @param request Request object + * @throws UCloudException Exception + */ + public CreateCPEResponse createCPE(CreateCPERequest request) throws UCloudException; + + /** + * CreateExportLine - 创建加速线路 + * + * @param request Request object + * @throws UCloudException Exception + */ + public CreateExportLineResponse createExportLine(CreateExportLineRequest request) + throws UCloudException; + + /** + * DeleteExportLine - 删除加速线路 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DeleteExportLineResponse deleteExportLine(DeleteExportLineRequest request) + throws UCloudException; + + /** + * DeleteExportLineRules - 删除加速规则 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DeleteExportLineRulesResponse deleteExportLineRules(DeleteExportLineRulesRequest request) + throws UCloudException; + + /** + * DescribeCPE - 查询 CPE 信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeCPEResponse describeCPE(DescribeCPERequest request) throws UCloudException; + + /** + * DescribeExportLine - 查询CPE绑定的加速线路信息 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeExportLineResponse describeExportLine(DescribeExportLineRequest request) + throws UCloudException; + + /** + * DescribeExportLineRules - 查询白名单 + * + * @param request Request object + * @throws UCloudException Exception + */ + public DescribeExportLineRulesResponse describeExportLineRules( + DescribeExportLineRulesRequest request) throws UCloudException; + + /** + * UpdateExportLine - 修改加速线路 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpdateExportLineResponse updateExportLine(UpdateExportLineRequest request) + throws UCloudException; + + /** + * UpgradeExportLine - 升级加速线路 + * + * @param request Request object + * @throws UCloudException Exception + */ + public UpgradeExportLineResponse upgradeExportLine(UpgradeExportLineRequest request) + throws UCloudException; +} diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/AddExportLineRulesRequest.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/AddExportLineRulesRequest.java new file mode 100644 index 00000000..125c776b --- /dev/null +++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/AddExportLineRulesRequest.java @@ -0,0 +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 + * + *
http://www.apache.org/licenses/LICENSE-2.0 + * + *
Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+import java.util.List;
+
+public class AddExportLineRulesRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** UReach资源ID */
+ @NotEmpty
+ @UCloudParam("ResourceId")
+ private String resourceId;
+
+ /** 白名单类型:Developer、CrossBorder */
+ @NotEmpty
+ @UCloudParam("RuleTypes")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class AddExportLineRulesResponse extends Response {}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/BindCPERequest.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/BindCPERequest.java
new file mode 100644
index 00000000..3b43f9da
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/BindCPERequest.java
@@ -0,0 +1,64 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class BindCPERequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** cpe id */
+ @NotEmpty
+ @UCloudParam("CPEId")
+ private String cpeId;
+
+ /** sn id */
+ @NotEmpty
+ @UCloudParam("Sn")
+ private String sn;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getCPEId() {
+ return cpeId;
+ }
+
+ public void setCPEId(String cpeId) {
+ this.cpeId = cpeId;
+ }
+
+ public String getSn() {
+ return sn;
+ }
+
+ public void setSn(String sn) {
+ this.sn = sn;
+ }
+}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/BindCPEResponse.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/BindCPEResponse.java
new file mode 100644
index 00000000..205dc7b8
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/BindCPEResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class BindCPEResponse extends Response {}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/CreateCPERequest.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/CreateCPERequest.java
new file mode 100644
index 00000000..8ef31fcf
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/CreateCPERequest.java
@@ -0,0 +1,113 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class CreateCPERequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** cpe 名称 */
+ @NotEmpty
+ @UCloudParam("Name")
+ private String name;
+
+ /** cpe 备注 */
+ @NotEmpty
+ @UCloudParam("Remark")
+ private String remark;
+
+ /** 设备型号,枚举值: UCPE3600、UCPE3601 */
+ @NotEmpty
+ @UCloudParam("DeviceType")
+ private String deviceType;
+
+ /** 标签:UReach智能网关:Access */
+ @UCloudParam("Label")
+ private String label;
+
+ /** 结构体,详见UserInfo模型 */
+ @UCloudParam("UserInfo")
+ private String userInfo;
+
+ /** 数量,默认为1 */
+ @UCloudParam("Count")
+ private Integer count;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getRemark() {
+ return remark;
+ }
+
+ public void setRemark(String remark) {
+ this.remark = remark;
+ }
+
+ public String getDeviceType() {
+ return deviceType;
+ }
+
+ public void setDeviceType(String deviceType) {
+ this.deviceType = deviceType;
+ }
+
+ public String getLabel() {
+ return label;
+ }
+
+ public void setLabel(String label) {
+ this.label = label;
+ }
+
+ public String getUserInfo() {
+ return userInfo;
+ }
+
+ public void setUserInfo(String userInfo) {
+ this.userInfo = userInfo;
+ }
+
+ public Integer getCount() {
+ return count;
+ }
+
+ public void setCount(Integer count) {
+ this.count = count;
+ }
+}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/CreateCPEResponse.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/CreateCPEResponse.java
new file mode 100644
index 00000000..3838da96
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/CreateCPEResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class CreateCPEResponse extends Response {
+
+ /** cpe id */
+ @SerializedName("CPEId")
+ private String cpeId;
+
+ public String getCPEId() {
+ return cpeId;
+ }
+
+ public void setCPEId(String cpeId) {
+ this.cpeId = cpeId;
+ }
+}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/CreateExportLineRequest.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/CreateExportLineRequest.java
new file mode 100644
index 00000000..d8d50a2f
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/CreateExportLineRequest.java
@@ -0,0 +1,198 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class CreateExportLineRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 本端地域 */
+ @NotEmpty
+ @UCloudParam("FromRegion")
+ private String fromRegion;
+
+ /** 目标地域 */
+ @NotEmpty
+ @UCloudParam("ToRegion")
+ private String toRegion;
+
+ /** IP类型:International、BGP、Native、Resident */
+ @NotEmpty
+ @UCloudParam("IpType")
+ private String ipType;
+
+ /** CPE Id */
+ @NotEmpty
+ @UCloudParam("CPEId")
+ private String cpeId;
+
+ /** 套餐类型:2M-Entry、5M-Basic、10M-Enterprise */
+ @UCloudParam("PkgType")
+ private String pkgType;
+
+ /** 带宽大小 */
+ @UCloudParam("Bandwidth")
+ private Integer bandwidth;
+
+ /** 资源名称 */
+ @UCloudParam("Name")
+ private String name;
+
+ /** 业务组名称, 默认为 "Default" */
+ @UCloudParam("Tag")
+ private String tag;
+
+ /** 计费模式。枚举值为: Year,按年付费; Month,按月付费; Dynamic,按小时付费(需开启权限)。默认为月付 */
+ @UCloudParam("ChargeType")
+ private String chargeType;
+
+ /** 购买时长。默认: 1。按小时购买(Dynamic)时无需此参数。 月付时,此参数传0,代表了购买至月末。 */
+ @UCloudParam("Quantity")
+ private Integer quantity;
+
+ /** 备注 */
+ @UCloudParam("Remark")
+ private String remark;
+
+ /** 计费类型:fixed-bw,固定带宽;traffic,流量计费 */
+ @UCloudParam("PayMode")
+ private String payMode;
+
+ /** 代金券ID。请登录用户中心查看 */
+ @UCloudParam("CouponId")
+ private Integer couponId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getFromRegion() {
+ return fromRegion;
+ }
+
+ public void setFromRegion(String fromRegion) {
+ this.fromRegion = fromRegion;
+ }
+
+ public String getToRegion() {
+ return toRegion;
+ }
+
+ public void setToRegion(String toRegion) {
+ this.toRegion = toRegion;
+ }
+
+ public String getIpType() {
+ return ipType;
+ }
+
+ public void setIpType(String ipType) {
+ this.ipType = ipType;
+ }
+
+ public String getCPEId() {
+ return cpeId;
+ }
+
+ public void setCPEId(String cpeId) {
+ this.cpeId = cpeId;
+ }
+
+ public String getPkgType() {
+ return pkgType;
+ }
+
+ public void setPkgType(String pkgType) {
+ this.pkgType = pkgType;
+ }
+
+ public Integer getBandwidth() {
+ return bandwidth;
+ }
+
+ public void setBandwidth(Integer bandwidth) {
+ this.bandwidth = bandwidth;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getTag() {
+ return tag;
+ }
+
+ public void setTag(String tag) {
+ this.tag = tag;
+ }
+
+ public String getChargeType() {
+ return chargeType;
+ }
+
+ public void setChargeType(String chargeType) {
+ this.chargeType = chargeType;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+
+ public String getRemark() {
+ return remark;
+ }
+
+ public void setRemark(String remark) {
+ this.remark = remark;
+ }
+
+ public String getPayMode() {
+ return payMode;
+ }
+
+ public void setPayMode(String payMode) {
+ this.payMode = payMode;
+ }
+
+ public Integer getCouponId() {
+ return couponId;
+ }
+
+ public void setCouponId(Integer couponId) {
+ this.couponId = couponId;
+ }
+}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/CreateExportLineResponse.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/CreateExportLineResponse.java
new file mode 100644
index 00000000..f7d7ba1f
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/CreateExportLineResponse.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class CreateExportLineResponse extends Response {
+
+ /** 资源ID */
+ @SerializedName("ResourceId")
+ private String resourceId;
+
+ public String getResourceId() {
+ return resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ }
+}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DeleteExportLineRequest.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DeleteExportLineRequest.java
new file mode 100644
index 00000000..d7f937b1
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DeleteExportLineRequest.java
@@ -0,0 +1,51 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DeleteExportLineRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** UReach资源ID */
+ @NotEmpty
+ @UCloudParam("ResourceId")
+ private String resourceId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getResourceId() {
+ return resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ }
+}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DeleteExportLineResponse.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DeleteExportLineResponse.java
new file mode 100644
index 00000000..c89f8736
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DeleteExportLineResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class DeleteExportLineResponse extends Response {}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DeleteExportLineRulesRequest.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DeleteExportLineRulesRequest.java
new file mode 100644
index 00000000..fd0581ae
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DeleteExportLineRulesRequest.java
@@ -0,0 +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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+import java.util.List;
+
+public class DeleteExportLineRulesRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** UReach资源ID */
+ @NotEmpty
+ @UCloudParam("ResourceId")
+ private String resourceId;
+
+ /** 白名单类型:Developer、CrossBorder */
+ @NotEmpty
+ @UCloudParam("RuleTypes")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class DeleteExportLineRulesResponse extends Response {}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeCPERequest.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeCPERequest.java
new file mode 100644
index 00000000..aaf48227
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeCPERequest.java
@@ -0,0 +1,62 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DescribeCPERequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** cpe id */
+ @UCloudParam("CPEId")
+ private String cpeId;
+
+ /** 标签:Access、Network */
+ @UCloudParam("Label")
+ private String label;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getCPEId() {
+ return cpeId;
+ }
+
+ public void setCPEId(String cpeId) {
+ this.cpeId = cpeId;
+ }
+
+ public String getLabel() {
+ return label;
+ }
+
+ public void setLabel(String label) {
+ this.label = label;
+ }
+}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeCPEResponse.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeCPEResponse.java
new file mode 100644
index 00000000..e0c1f198
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeCPEResponse.java
@@ -0,0 +1,218 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class DescribeCPEResponse extends Response {
+
+ /** cpe 详情 */
+ @SerializedName("CPEInfos")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DescribeExportLineRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** CPE资源ID */
+ @UCloudParam("CPEId")
+ private String cpeId;
+
+ /** UReach资源ID */
+ @UCloudParam("ResourceId")
+ private String resourceId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getCPEId() {
+ return cpeId;
+ }
+
+ public void setCPEId(String cpeId) {
+ this.cpeId = cpeId;
+ }
+
+ public String getResourceId() {
+ return resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ }
+}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeExportLineResponse.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeExportLineResponse.java
new file mode 100644
index 00000000..57d9978f
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeExportLineResponse.java
@@ -0,0 +1,329 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class DescribeExportLineResponse extends Response {
+
+ /** 线路信息 */
+ @SerializedName("LineInfos")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DescribeExportLineRulesRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** UReach资源ID */
+ @UCloudParam("ResourceId")
+ private String resourceId;
+
+ /** 白名单类型 */
+ @UCloudParam("RuleType")
+ private String ruleType;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getResourceId() {
+ return resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ }
+
+ public String getRuleType() {
+ return ruleType;
+ }
+
+ public void setRuleType(String ruleType) {
+ this.ruleType = ruleType;
+ }
+}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeExportLineRulesResponse.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeExportLineRulesResponse.java
new file mode 100644
index 00000000..08ab2583
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeExportLineRulesResponse.java
@@ -0,0 +1,74 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class DescribeExportLineRulesResponse extends Response {
+
+ /** 白名单信息 */
+ @SerializedName("WhiteListInfos")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class UpdateExportLineRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** UReach资源ID */
+ @NotEmpty
+ @UCloudParam("ResourceId")
+ private String resourceId;
+
+ /** 带宽大小(仅自定义套餐支持修改) */
+ @NotEmpty
+ @UCloudParam("Bandwidth")
+ private String bandwidth;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getResourceId() {
+ return resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ }
+
+ public String getBandwidth() {
+ return bandwidth;
+ }
+
+ public void setBandwidth(String bandwidth) {
+ this.bandwidth = bandwidth;
+ }
+}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/UpdateExportLineResponse.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/UpdateExportLineResponse.java
new file mode 100644
index 00000000..6e94fd06
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/UpdateExportLineResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class UpdateExportLineResponse extends Response {}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/UpgradeExportLineRequest.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/UpgradeExportLineRequest.java
new file mode 100644
index 00000000..29ea2e70
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/UpgradeExportLineRequest.java
@@ -0,0 +1,125 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class UpgradeExportLineRequest extends Request {
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @NotEmpty
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** UReach资源ID */
+ @NotEmpty
+ @UCloudParam("ResourceId")
+ private String resourceId;
+
+ /** 目标套餐类型:2M-Entry、5M-Basic、10M-Enterprise */
+ @NotEmpty
+ @UCloudParam("PkgType")
+ private String pkgType;
+
+ /** 原IP类型:International、BGP、Native、Resident */
+ @NotEmpty
+ @UCloudParam("IpType")
+ private String ipType;
+
+ /** 带宽大小 */
+ @UCloudParam("Bandwidth")
+ private Integer bandwidth;
+
+ /** 计费模式。枚举值为: Year,按年付费; Month,按月付费; Dynamic,按小时付费(需开启权限)。默认为月付 */
+ @UCloudParam("ChargeType")
+ private String chargeType;
+
+ /** 购买时长。默认: 1。按小时购买(Dynamic)时无需此参数。 月付时,此参数传0,代表了购买至月末。 */
+ @UCloudParam("Quantity")
+ private Integer quantity;
+
+ /** 代金券ID。请登录用户中心查看 */
+ @UCloudParam("CouponId")
+ private Integer couponId;
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getResourceId() {
+ return resourceId;
+ }
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ }
+
+ public String getPkgType() {
+ return pkgType;
+ }
+
+ public void setPkgType(String pkgType) {
+ this.pkgType = pkgType;
+ }
+
+ public String getIpType() {
+ return ipType;
+ }
+
+ public void setIpType(String ipType) {
+ this.ipType = ipType;
+ }
+
+ public Integer getBandwidth() {
+ return bandwidth;
+ }
+
+ public void setBandwidth(Integer bandwidth) {
+ this.bandwidth = bandwidth;
+ }
+
+ public String getChargeType() {
+ return chargeType;
+ }
+
+ public void setChargeType(String chargeType) {
+ this.chargeType = chargeType;
+ }
+
+ public Integer getQuantity() {
+ return quantity;
+ }
+
+ public void setQuantity(Integer quantity) {
+ this.quantity = quantity;
+ }
+
+ public Integer getCouponId() {
+ return couponId;
+ }
+
+ public void setCouponId(Integer couponId) {
+ this.couponId = couponId;
+ }
+}
diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/UpgradeExportLineResponse.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/UpgradeExportLineResponse.java
new file mode 100644
index 00000000..cda07179
--- /dev/null
+++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/UpgradeExportLineResponse.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.uwsc.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class UpgradeExportLineResponse extends Response {}
diff --git a/ucloud-sdk-java-vpc/pom.xml b/ucloud-sdk-java-vpc/pom.xml
index a2704b8f..d1641059 100644
--- a/ucloud-sdk-java-vpc/pom.xml
+++ b/ucloud-sdk-java-vpc/pom.xml
@@ -5,19 +5,19 @@
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class AddSubnetIPv6Request extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 子网ID */
+ @NotEmpty
+ @UCloudParam("SubnetworkId")
+ private String subnetworkId;
+
+ /** 所属VPC的IPv6网段,可选,不填默认选择一个VPC IPv6网段进行分配 */
+ @UCloudParam("VPCIPv6Network")
+ private String vpciPv6Network;
+
+ /** 指定IPv6网段 */
+ @UCloudParam("IPv6Network")
+ private String iPv6Network;
+
+ /** 指定IPv6网段掩码 */
+ @UCloudParam("IPv6PrefixLength")
+ private Integer iPv6PrefixLength;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getSubnetworkId() {
+ return subnetworkId;
+ }
+
+ public void setSubnetworkId(String subnetworkId) {
+ this.subnetworkId = subnetworkId;
+ }
+
+ public String getVPCIPv6Network() {
+ return vpciPv6Network;
+ }
+
+ public void setVPCIPv6Network(String vpciPv6Network) {
+ this.vpciPv6Network = vpciPv6Network;
+ }
+
+ public String getIPv6Network() {
+ return iPv6Network;
+ }
+
+ public void setIPv6Network(String iPv6Network) {
+ this.iPv6Network = iPv6Network;
+ }
+
+ public Integer getIPv6PrefixLength() {
+ return iPv6PrefixLength;
+ }
+
+ public void setIPv6PrefixLength(Integer iPv6PrefixLength) {
+ this.iPv6PrefixLength = iPv6PrefixLength;
+ }
+}
diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AddSubnetIPv6Response.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AddSubnetIPv6Response.java
new file mode 100644
index 00000000..898706ea
--- /dev/null
+++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AddSubnetIPv6Response.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class AddSubnetIPv6Response extends Response {
+
+ /** IPv6网段 */
+ @SerializedName("IPv6Network")
+ private String iPv6Network;
+
+ public String getIPv6Network() {
+ return iPv6Network;
+ }
+
+ public void setIPv6Network(String iPv6Network) {
+ this.iPv6Network = iPv6Network;
+ }
+}
diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AddVPCIPv6Request.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AddVPCIPv6Request.java
new file mode 100644
index 00000000..acd46c70
--- /dev/null
+++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AddVPCIPv6Request.java
@@ -0,0 +1,113 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class AddVPCIPv6Request extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** VPC资源ID */
+ @NotEmpty
+ @UCloudParam("VPCId")
+ private String vpcId;
+
+ /** 类型 BGP | Telecom | ChinaMobile | Unicom */
+ @NotEmpty
+ @UCloudParam("OperatorName")
+ private String operatorName;
+
+ /** Default--默认网段、Custom--客户自带 */
+ @UCloudParam("IPv6NetworkType")
+ private String iPv6NetworkType;
+
+ /** 指定IPv6网段 */
+ @UCloudParam("IPv6Network")
+ private String iPv6Network;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getVPCId() {
+ return vpcId;
+ }
+
+ public void setVPCId(String vpcId) {
+ this.vpcId = vpcId;
+ }
+
+ public String getOperatorName() {
+ return operatorName;
+ }
+
+ public void setOperatorName(String operatorName) {
+ this.operatorName = operatorName;
+ }
+
+ public String getIPv6NetworkType() {
+ return iPv6NetworkType;
+ }
+
+ public void setIPv6NetworkType(String iPv6NetworkType) {
+ this.iPv6NetworkType = iPv6NetworkType;
+ }
+
+ public String getIPv6Network() {
+ return iPv6Network;
+ }
+
+ public void setIPv6Network(String iPv6Network) {
+ this.iPv6Network = iPv6Network;
+ }
+}
diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AddVPCIPv6Response.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AddVPCIPv6Response.java
new file mode 100644
index 00000000..379c943a
--- /dev/null
+++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AddVPCIPv6Response.java
@@ -0,0 +1,34 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+public class AddVPCIPv6Response extends Response {
+
+ /** IPv6网段 */
+ @SerializedName("IPv6Network")
+ private String iPv6Network;
+
+ public String getIPv6Network() {
+ return iPv6Network;
+ }
+
+ public void setIPv6Network(String iPv6Network) {
+ this.iPv6Network = iPv6Network;
+ }
+}
diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AssignIPv6Request.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AssignIPv6Request.java
new file mode 100644
index 00000000..9b9e4178
--- /dev/null
+++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AssignIPv6Request.java
@@ -0,0 +1,173 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+import java.util.List;
+
+public class AssignIPv6Request extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 子网ID */
+ @NotEmpty
+ @UCloudParam("SubnetworkId")
+ private String subnetworkId;
+
+ /** 资源短ID */
+ @NotEmpty
+ @UCloudParam("ObjectId")
+ private String objectId;
+
+ /** vpc ID */
+ @UCloudParam("VPCId")
+ private String vpcId;
+
+ /** 实际资源短ID--pass产品实际ID */
+ @UCloudParam("InstanceId")
+ private String instanceId;
+
+ /** 与InstanceID对应,实际资源大类ID--pass产品实际类型 */
+ @UCloudParam("InstanceType")
+ private Integer instanceType;
+
+ /** 选填,资源的Mac */
+ @UCloudParam("Mac")
+ private String mac;
+
+ /** 指定IP分配,与Count互斥 */
+ @UCloudParam("IPv6Addresses")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+import cn.ucloud.common.response.Response;
+
+import com.google.gson.annotations.SerializedName;
+
+import java.util.List;
+
+public class AssignIPv6Response extends Response {
+
+ /** IPv6地址 */
+ @SerializedName("IPv6Addresses")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DeleteSubnetIPv6Request extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 子网ID */
+ @NotEmpty
+ @UCloudParam("SubnetworkId")
+ private String subnetworkId;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getSubnetworkId() {
+ return subnetworkId;
+ }
+
+ public void setSubnetworkId(String subnetworkId) {
+ this.subnetworkId = subnetworkId;
+ }
+}
diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DeleteSubnetIPv6Response.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DeleteSubnetIPv6Response.java
new file mode 100644
index 00000000..47e9522d
--- /dev/null
+++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DeleteSubnetIPv6Response.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class DeleteSubnetIPv6Response extends Response {}
diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DeleteVPCIPv6Request.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DeleteVPCIPv6Request.java
new file mode 100644
index 00000000..d986b3d1
--- /dev/null
+++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DeleteVPCIPv6Request.java
@@ -0,0 +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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DeleteVPCIPv6Request extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** VPC资源ID */
+ @NotEmpty
+ @UCloudParam("VPCId")
+ private String vpcId;
+
+ /** IPv6网段 */
+ @NotEmpty
+ @UCloudParam("IPv6Network")
+ private String iPv6Network;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getVPCId() {
+ return vpcId;
+ }
+
+ public void setVPCId(String vpcId) {
+ this.vpcId = vpcId;
+ }
+
+ public String getIPv6Network() {
+ return iPv6Network;
+ }
+
+ public void setIPv6Network(String iPv6Network) {
+ this.iPv6Network = iPv6Network;
+ }
+}
diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DeleteVPCIPv6Response.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DeleteVPCIPv6Response.java
new file mode 100644
index 00000000..cd6cb71d
--- /dev/null
+++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DeleteVPCIPv6Response.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class DeleteVPCIPv6Response extends Response {}
diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DisableVPCIPv6Request.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DisableVPCIPv6Request.java
new file mode 100644
index 00000000..0c80db36
--- /dev/null
+++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DisableVPCIPv6Request.java
@@ -0,0 +1,76 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+public class DisableVPCIPv6Request extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** VPC资源ID */
+ @NotEmpty
+ @UCloudParam("VPCId")
+ private String vpcId;
+
+ public String getRegion() {
+ return region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ }
+
+ public String getZone() {
+ return zone;
+ }
+
+ public void setZone(String zone) {
+ this.zone = zone;
+ }
+
+ public String getProjectId() {
+ return projectId;
+ }
+
+ public void setProjectId(String projectId) {
+ this.projectId = projectId;
+ }
+
+ public String getVPCId() {
+ return vpcId;
+ }
+
+ public void setVPCId(String vpcId) {
+ this.vpcId = vpcId;
+ }
+}
diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DisableVPCIPv6Response.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DisableVPCIPv6Response.java
new file mode 100644
index 00000000..148c1f79
--- /dev/null
+++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DisableVPCIPv6Response.java
@@ -0,0 +1,20 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class DisableVPCIPv6Response extends Response {}
diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/UnassignIPv6Request.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/UnassignIPv6Request.java
new file mode 100644
index 00000000..52f31af9
--- /dev/null
+++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/UnassignIPv6Request.java
@@ -0,0 +1,77 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+import java.util.List;
+
+public class UnassignIPv6Request extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** 资源ID */
+ @NotEmpty
+ @UCloudParam("ObjectId")
+ private String objectId;
+
+ /** IPv6地址 */
+ @NotEmpty
+ @UCloudParam("IPv6Addresses")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class UnassignIPv6Response extends Response {}
diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/UpdateVPCIPv6Request.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/UpdateVPCIPv6Request.java
new file mode 100644
index 00000000..3292be09
--- /dev/null
+++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/UpdateVPCIPv6Request.java
@@ -0,0 +1,130 @@
+/**
+ * Copyright 2021 UCloud Technology Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+import cn.ucloud.common.annotation.NotEmpty;
+import cn.ucloud.common.annotation.UCloudParam;
+import cn.ucloud.common.request.Request;
+
+import java.util.List;
+
+public class UpdateVPCIPv6Request extends Request {
+
+ /** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Region")
+ private String region;
+
+ /** 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
+ @NotEmpty
+ @UCloudParam("Zone")
+ private String zone;
+
+ /**
+ * 项目ID。不填写为默认项目,子帐号必须填写。
+ * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
+ */
+ @UCloudParam("ProjectId")
+ private String projectId;
+
+ /** VPC资源ID */
+ @NotEmpty
+ @UCloudParam("VPCId")
+ private String vpcId;
+
+ /** */
+ @UCloudParam("IPv6NetworkConfig")
+ private List Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ * express or implied. See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package cn.ucloud.vpc.models;
+
+
+
+import cn.ucloud.common.response.Response;
+
+public class UpdateVPCIPv6Response extends Response {}