diff --git a/VERSION b/VERSION index 8b8ce714..6656225b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.66-release +1.2.67-release diff --git a/examples/generic/pom.xml b/examples/generic/pom.xml index 47cea6d8..acb5314d 100644 --- a/examples/generic/pom.xml +++ b/examples/generic/pom.xml @@ -7,7 +7,7 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 @@ -19,7 +19,7 @@ cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/examples/uhost/pom.xml b/examples/uhost/pom.xml index 2b912609..37705674 100644 --- a/examples/uhost/pom.xml +++ b/examples/uhost/pom.xml @@ -7,7 +7,7 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 @@ -19,7 +19,7 @@ cn.ucloud ucloud-sdk-java-uhost - 1.2.66-release + 1.2.67-release diff --git a/pom.xml b/pom.xml index 5c496955..cc61eb89 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ cn.ucloud ucloud-sdk-java pom - 1.2.66-release + 1.2.67-release ucloud-sdk-java-common ucloud-sdk-java-cloudwatch @@ -55,6 +55,7 @@ ucloud-sdk-java-usms ucloud-sdk-java-usnap ucloud-sdk-java-uvms + ucloud-sdk-java-uwsc ucloud-sdk-java-vpc ucloud-sdk-java-vpc diff --git a/ucloud-sdk-java-cloudwatch/pom.xml b/ucloud-sdk-java-cloudwatch/pom.xml index 52c471af..1dfbdd92 100644 --- a/ucloud-sdk-java-cloudwatch/pom.xml +++ b/ucloud-sdk-java-cloudwatch/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-cloudwatch ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-common/pom.xml b/ucloud-sdk-java-common/pom.xml index eb2c07e6..d5315d80 100644 --- a/ucloud-sdk-java-common/pom.xml +++ b/ucloud-sdk-java-common/pom.xml @@ -7,13 +7,13 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-common ucloud-sdk-java - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-cube/pom.xml b/ucloud-sdk-java-cube/pom.xml index 6d774d4b..609994a3 100644 --- a/ucloud-sdk-java-cube/pom.xml +++ b/ucloud-sdk-java-cube/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-cube ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-ipsecvpn/pom.xml b/ucloud-sdk-java-ipsecvpn/pom.xml index 6bf1321e..c363b0dd 100644 --- a/ucloud-sdk-java-ipsecvpn/pom.xml +++ b/ucloud-sdk-java-ipsecvpn/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-ipsecvpn ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-label/pom.xml b/ucloud-sdk-java-label/pom.xml index 1c78e8f5..e32f8670 100644 --- a/ucloud-sdk-java-label/pom.xml +++ b/ucloud-sdk-java-label/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-label ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-nlb/pom.xml b/ucloud-sdk-java-nlb/pom.xml index 4d7beb54..fdd82502 100644 --- a/ucloud-sdk-java-nlb/pom.xml +++ b/ucloud-sdk-java-nlb/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-nlb ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-pathx/pom.xml b/ucloud-sdk-java-pathx/pom.xml index cc8a2cad..c7cba59c 100644 --- a/ucloud-sdk-java-pathx/pom.xml +++ b/ucloud-sdk-java-pathx/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-pathx ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-sts/pom.xml b/ucloud-sdk-java-sts/pom.xml index 7277c4a0..b7e2b9e1 100644 --- a/ucloud-sdk-java-sts/pom.xml +++ b/ucloud-sdk-java-sts/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-sts ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-tidb/pom.xml b/ucloud-sdk-java-tidb/pom.xml index 5271fc96..6b4d6ffc 100644 --- a/ucloud-sdk-java-tidb/pom.xml +++ b/ucloud-sdk-java-tidb/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-tidb ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-uaccount/pom.xml b/ucloud-sdk-java-uaccount/pom.xml index 952bac92..6bef0dd6 100644 --- a/ucloud-sdk-java-uaccount/pom.xml +++ b/ucloud-sdk-java-uaccount/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-uaccount ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-uai_modelverse/pom.xml b/ucloud-sdk-java-uai_modelverse/pom.xml index c7224f79..a9b251a0 100644 --- a/ucloud-sdk-java-uai_modelverse/pom.xml +++ b/ucloud-sdk-java-uai_modelverse/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-uai_modelverse ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-ubill/pom.xml b/ucloud-sdk-java-ubill/pom.xml index 3dc77afc..4fbeaa60 100644 --- a/ucloud-sdk-java-ubill/pom.xml +++ b/ucloud-sdk-java-ubill/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-ubill ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-ucdn/pom.xml b/ucloud-sdk-java-ucdn/pom.xml index ccd5ceda..9b40eb51 100644 --- a/ucloud-sdk-java-ucdn/pom.xml +++ b/ucloud-sdk-java-ucdn/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-ucdn ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-uclickhouse/pom.xml b/ucloud-sdk-java-uclickhouse/pom.xml index 5a9e4426..824808a5 100644 --- a/ucloud-sdk-java-uclickhouse/pom.xml +++ b/ucloud-sdk-java-uclickhouse/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-uclickhouse ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-ucompshare/pom.xml b/ucloud-sdk-java-ucompshare/pom.xml index 8c84e246..31adf6a0 100644 --- a/ucloud-sdk-java-ucompshare/pom.xml +++ b/ucloud-sdk-java-ucompshare/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-ucompshare ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-udb/pom.xml b/ucloud-sdk-java-udb/pom.xml index 231b39b2..54cb5e2c 100644 --- a/ucloud-sdk-java-udb/pom.xml +++ b/ucloud-sdk-java-udb/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-udb ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-udbproxy/pom.xml b/ucloud-sdk-java-udbproxy/pom.xml index 7f06f622..f16a74ec 100644 --- a/ucloud-sdk-java-udbproxy/pom.xml +++ b/ucloud-sdk-java-udbproxy/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-udbproxy ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-udi/pom.xml b/ucloud-sdk-java-udi/pom.xml index 7eec442f..795d93d0 100644 --- a/ucloud-sdk-java-udi/pom.xml +++ b/ucloud-sdk-java-udi/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-udi ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-udisk/pom.xml b/ucloud-sdk-java-udisk/pom.xml index dc5993eb..80455243 100644 --- a/ucloud-sdk-java-udisk/pom.xml +++ b/ucloud-sdk-java-udisk/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-udisk ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-udns/pom.xml b/ucloud-sdk-java-udns/pom.xml index 911625c0..6b6f58a0 100644 --- a/ucloud-sdk-java-udns/pom.xml +++ b/ucloud-sdk-java-udns/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-udns ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-udpn/pom.xml b/ucloud-sdk-java-udpn/pom.xml index 9537071e..a813506b 100644 --- a/ucloud-sdk-java-udpn/pom.xml +++ b/ucloud-sdk-java-udpn/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-udpn ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-uec/pom.xml b/ucloud-sdk-java-uec/pom.xml index 91bd6389..82b762e6 100644 --- a/ucloud-sdk-java-uec/pom.xml +++ b/ucloud-sdk-java-uec/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-uec ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-ues/pom.xml b/ucloud-sdk-java-ues/pom.xml index 361809b6..69b294c4 100644 --- a/ucloud-sdk-java-ues/pom.xml +++ b/ucloud-sdk-java-ues/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-ues ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-uewaf/pom.xml b/ucloud-sdk-java-uewaf/pom.xml index 88e317b1..464ada60 100644 --- a/ucloud-sdk-java-uewaf/pom.xml +++ b/ucloud-sdk-java-uewaf/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-uewaf ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-ufile/pom.xml b/ucloud-sdk-java-ufile/pom.xml index 14251e80..4a979e3b 100644 --- a/ucloud-sdk-java-ufile/pom.xml +++ b/ucloud-sdk-java-ufile/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-ufile ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-ufs/pom.xml b/ucloud-sdk-java-ufs/pom.xml index 72c76e42..53cfa9ed 100644 --- a/ucloud-sdk-java-ufs/pom.xml +++ b/ucloud-sdk-java-ufs/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-ufs ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-uhadoop/pom.xml b/ucloud-sdk-java-uhadoop/pom.xml index ecb2e52a..3de7bf48 100644 --- a/ucloud-sdk-java-uhadoop/pom.xml +++ b/ucloud-sdk-java-uhadoop/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-uhadoop ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-uhids/pom.xml b/ucloud-sdk-java-uhids/pom.xml index c29624f8..bed8181a 100644 --- a/ucloud-sdk-java-uhids/pom.xml +++ b/ucloud-sdk-java-uhids/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-uhids ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-uhost/pom.xml b/ucloud-sdk-java-uhost/pom.xml index d75bb277..3d157038 100644 --- a/ucloud-sdk-java-uhost/pom.xml +++ b/ucloud-sdk-java-uhost/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-uhost ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-uk8s/pom.xml b/ucloud-sdk-java-uk8s/pom.xml index 39237502..7c3645d3 100644 --- a/ucloud-sdk-java-uk8s/pom.xml +++ b/ucloud-sdk-java-uk8s/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-uk8s ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-ukafka/pom.xml b/ucloud-sdk-java-ukafka/pom.xml index efc27e88..98234e97 100644 --- a/ucloud-sdk-java-ukafka/pom.xml +++ b/ucloud-sdk-java-ukafka/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-ukafka ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-ulb/pom.xml b/ucloud-sdk-java-ulb/pom.xml index 8ea3711f..0f4e6c0c 100644 --- a/ucloud-sdk-java-ulb/pom.xml +++ b/ucloud-sdk-java-ulb/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-ulb ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-ulighthost/pom.xml b/ucloud-sdk-java-ulighthost/pom.xml index 967d7abc..13f351d7 100644 --- a/ucloud-sdk-java-ulighthost/pom.xml +++ b/ucloud-sdk-java-ulighthost/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-ulighthost ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-ulog/pom.xml b/ucloud-sdk-java-ulog/pom.xml index b8b7eeb6..2359c2fe 100644 --- a/ucloud-sdk-java-ulog/pom.xml +++ b/ucloud-sdk-java-ulog/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-ulog ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-umem/pom.xml b/ucloud-sdk-java-umem/pom.xml index 5a0493bc..6405cdc3 100644 --- a/ucloud-sdk-java-umem/pom.xml +++ b/ucloud-sdk-java-umem/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-umem ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-umon/pom.xml b/ucloud-sdk-java-umon/pom.xml index ffcbc080..746cab9f 100644 --- a/ucloud-sdk-java-umon/pom.xml +++ b/ucloud-sdk-java-umon/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-umon ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-umongodb/pom.xml b/ucloud-sdk-java-umongodb/pom.xml index 739e95a2..d9eb1899 100644 --- a/ucloud-sdk-java-umongodb/pom.xml +++ b/ucloud-sdk-java-umongodb/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-umongodb ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-unet/pom.xml b/ucloud-sdk-java-unet/pom.xml index cb631172..23502eb4 100644 --- a/ucloud-sdk-java-unet/pom.xml +++ b/ucloud-sdk-java-unet/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-unet ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-upfs/pom.xml b/ucloud-sdk-java-upfs/pom.xml index 9c566632..ca16eac4 100644 --- a/ucloud-sdk-java-upfs/pom.xml +++ b/ucloud-sdk-java-upfs/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-upfs ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-upgsql/pom.xml b/ucloud-sdk-java-upgsql/pom.xml index 3c8ae8c5..dcfa28b4 100644 --- a/ucloud-sdk-java-upgsql/pom.xml +++ b/ucloud-sdk-java-upgsql/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-upgsql ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-uphone/pom.xml b/ucloud-sdk-java-uphone/pom.xml index 65644f8b..577330b2 100644 --- a/ucloud-sdk-java-uphone/pom.xml +++ b/ucloud-sdk-java-uphone/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-uphone ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-uphost/pom.xml b/ucloud-sdk-java-uphost/pom.xml index cbe3c43b..9ab6cdee 100644 --- a/ucloud-sdk-java-uphost/pom.xml +++ b/ucloud-sdk-java-uphost/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-uphost ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-uslk/pom.xml b/ucloud-sdk-java-uslk/pom.xml index 813fafeb..6c91d9e9 100644 --- a/ucloud-sdk-java-uslk/pom.xml +++ b/ucloud-sdk-java-uslk/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-uslk ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-usms/pom.xml b/ucloud-sdk-java-usms/pom.xml index 61eb7a27..453e142d 100644 --- a/ucloud-sdk-java-usms/pom.xml +++ b/ucloud-sdk-java-usms/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-usms ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-usnap/pom.xml b/ucloud-sdk-java-usnap/pom.xml index 0c32e125..d51da9e6 100644 --- a/ucloud-sdk-java-usnap/pom.xml +++ b/ucloud-sdk-java-usnap/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-usnap ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-uvms/pom.xml b/ucloud-sdk-java-uvms/pom.xml index 5d2a35bb..41ee5654 100644 --- a/ucloud-sdk-java-uvms/pom.xml +++ b/ucloud-sdk-java-uvms/pom.xml @@ -5,19 +5,19 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-uvms ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-uwsc/pom.xml b/ucloud-sdk-java-uwsc/pom.xml new file mode 100644 index 00000000..170933dc --- /dev/null +++ b/ucloud-sdk-java-uwsc/pom.xml @@ -0,0 +1,49 @@ + + + + ucloud-sdk-java + cn.ucloud + 1.2.67-release + + + 4.0.0 + ucloud-sdk-java-uwsc + ucloud-sdk-java + 1.2.67-release + + + + cn.ucloud + ucloud-sdk-java-common + 1.2.67-release + + + + com.google.code.gson + gson + + + + commons-codec + commons-codec + + + org.apache.commons + commons-lang3 + + + + junit + junit + test + + + + org.slf4j + slf4j-simple + provided + + + diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/client/UWSCClient.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/client/UWSCClient.java new file mode 100644 index 00000000..52e3c7b2 --- /dev/null +++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/client/UWSCClient.java @@ -0,0 +1,179 @@ +/** + * 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.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 ruleTypes; + + 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 List getRuleTypes() { + return ruleTypes; + } + + public void setRuleTypes(List ruleTypes) { + this.ruleTypes = ruleTypes; + } +} diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/AddExportLineRulesResponse.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/AddExportLineRulesResponse.java new file mode 100644 index 00000000..0350e058 --- /dev/null +++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/AddExportLineRulesResponse.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 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 ruleTypes; + + 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 List getRuleTypes() { + return ruleTypes; + } + + public void setRuleTypes(List ruleTypes) { + this.ruleTypes = ruleTypes; + } +} diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DeleteExportLineRulesResponse.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DeleteExportLineRulesResponse.java new file mode 100644 index 00000000..78be5cc1 --- /dev/null +++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DeleteExportLineRulesResponse.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 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 cpeInfos; + + public List getCPEInfos() { + return cpeInfos; + } + + public void setCPEInfos(List cpeInfos) { + this.cpeInfos = cpeInfos; + } + + public static class CPEInfo extends Response { + + /** 资源ID */ + @SerializedName("CPEId") + private String cpeId; + + /** 资源名称 */ + @SerializedName("CPEName") + private String cpeName; + + /** 备注 */ + @SerializedName("Remark") + private String remark; + + /** 设备型号 */ + @SerializedName("DeviceTypeName") + private String deviceTypeName; + + /** 供应商 */ + @SerializedName("Vendor") + private String vendor; + + /** 绑定的UWAN资源ID */ + @SerializedName("PopGwId") + private List popGwId; + + /** 设备SN */ + @SerializedName("Sn") + private String sn; + + /** 状态 */ + @SerializedName("Status") + private Integer status; + + /** 配置更新时间 */ + @SerializedName("ConfUpdateTime") + private Integer confUpdateTime; + + /** 端口 */ + @SerializedName("Ports") + private List ports; + + /** 链路数量 */ + @SerializedName("LinkNum") + private Integer linkNum; + + /** 创建时间 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** 是否与线路绑定 */ + @SerializedName("LineStatus") + private String lineStatus; + + /** 绑定的UReach线路资源ID */ + @SerializedName("ResourceIds") + private List resourceIds; + + /** 有效使用时间(天) */ + @SerializedName("UseTime") + private Integer useTime; + + public String getCPEId() { + return cpeId; + } + + public void setCPEId(String cpeId) { + this.cpeId = cpeId; + } + + public String getCPEName() { + return cpeName; + } + + public void setCPEName(String cpeName) { + this.cpeName = cpeName; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + public String getDeviceTypeName() { + return deviceTypeName; + } + + public void setDeviceTypeName(String deviceTypeName) { + this.deviceTypeName = deviceTypeName; + } + + public String getVendor() { + return vendor; + } + + public void setVendor(String vendor) { + this.vendor = vendor; + } + + public List getPopGwId() { + return popGwId; + } + + public void setPopGwId(List popGwId) { + this.popGwId = popGwId; + } + + public String getSn() { + return sn; + } + + public void setSn(String sn) { + this.sn = sn; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Integer getConfUpdateTime() { + return confUpdateTime; + } + + public void setConfUpdateTime(Integer confUpdateTime) { + this.confUpdateTime = confUpdateTime; + } + + public List getPorts() { + return ports; + } + + public void setPorts(List ports) { + this.ports = ports; + } + + public Integer getLinkNum() { + return linkNum; + } + + public void setLinkNum(Integer linkNum) { + this.linkNum = linkNum; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + + public String getLineStatus() { + return lineStatus; + } + + public void setLineStatus(String lineStatus) { + this.lineStatus = lineStatus; + } + + public List getResourceIds() { + return resourceIds; + } + + public void setResourceIds(List resourceIds) { + this.resourceIds = resourceIds; + } + + public Integer getUseTime() { + return useTime; + } + + public void setUseTime(Integer useTime) { + this.useTime = useTime; + } + } +} diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeExportLineRequest.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeExportLineRequest.java new file mode 100644 index 00000000..65a17e63 --- /dev/null +++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeExportLineRequest.java @@ -0,0 +1,60 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.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 lineInfos; + + public List getLineInfos() { + return lineInfos; + } + + public void setLineInfos(List lineInfos) { + this.lineInfos = lineInfos; + } + + public static class LineInfo extends Response { + + /** 名称 */ + @SerializedName("Name") + private String name; + + /** 备注 */ + @SerializedName("Remark") + private String remark; + + /** 线路资源ID */ + @SerializedName("ResourceId") + private String resourceId; + + /** 线路资源ID对应的加速线路ID */ + @SerializedName("InstanceId") + private String instanceId; + + /** 带宽大小(Mbps) */ + @SerializedName("Bandwidth") + private Integer bandwidth; + + /** 付费方式(按月、按年等) */ + @SerializedName("ChargeType") + private String chargeType; + + /** 计费方式(固定带宽: fixed-bw;流量计费:traffic) */ + @SerializedName("PayMode") + private String payMode; + + /** 入口地域 */ + @SerializedName("FromRegion") + private String fromRegion; + + /** 入口地域名称 */ + @SerializedName("FromRegionName") + private String fromRegionName; + + /** 出口地域 */ + @SerializedName("ToRegion") + private String toRegion; + + /** 出口地域名称 */ + @SerializedName("ToRegionName") + private String toRegionName; + + /** */ + @SerializedName("IP") + private List ip; + + /** 线路是否绑定CPE;"1":已绑定;"0"未绑定 */ + @SerializedName("Status") + private String status; + + /** 创建时间 */ + @SerializedName("CreateTime") + private Integer createTime; + + /** 到期时间 */ + @SerializedName("ExpireTime") + private Integer expireTime; + + /** 线路绑定的CPE资源ID */ + @SerializedName("CPEIds") + private List cpeIds; + + /** 套餐类型 */ + @SerializedName("PkgType") + private String pkgType; + + /** IP类型 */ + @SerializedName("IpType") + private String ipType; + + /** 是否过期(normal/expire) */ + @SerializedName("InstanceStatus") + private String instanceStatus; + + /** */ + @SerializedName("Socks") + private SocksInfo socks; + + /** 源IP地址 */ + @SerializedName("Source") + private List source; + + 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 getResourceId() { + return resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + 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 String getPayMode() { + return payMode; + } + + public void setPayMode(String payMode) { + this.payMode = payMode; + } + + public String getFromRegion() { + return fromRegion; + } + + public void setFromRegion(String fromRegion) { + this.fromRegion = fromRegion; + } + + public String getFromRegionName() { + return fromRegionName; + } + + public void setFromRegionName(String fromRegionName) { + this.fromRegionName = fromRegionName; + } + + public String getToRegion() { + return toRegion; + } + + public void setToRegion(String toRegion) { + this.toRegion = toRegion; + } + + public String getToRegionName() { + return toRegionName; + } + + public void setToRegionName(String toRegionName) { + this.toRegionName = toRegionName; + } + + public List getIP() { + return ip; + } + + public void setIP(List ip) { + this.ip = ip; + } + + public String getStatus() { + return status; + } + + public void setStatus(String status) { + this.status = status; + } + + public Integer getCreateTime() { + return createTime; + } + + public void setCreateTime(Integer createTime) { + this.createTime = createTime; + } + + public Integer getExpireTime() { + return expireTime; + } + + public void setExpireTime(Integer expireTime) { + this.expireTime = expireTime; + } + + public List getCPEIds() { + return cpeIds; + } + + public void setCPEIds(List cpeIds) { + this.cpeIds = cpeIds; + } + + 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 String getInstanceStatus() { + return instanceStatus; + } + + public void setInstanceStatus(String instanceStatus) { + this.instanceStatus = instanceStatus; + } + + public SocksInfo getSocks() { + return socks; + } + + public void setSocks(SocksInfo socks) { + this.socks = socks; + } + + public List getSource() { + return source; + } + + public void setSource(List source) { + this.source = source; + } + } + + public static class SocksInfo extends Response { + + /** */ + @SerializedName("Addr") + private String addr; + + /** */ + @SerializedName("Port") + private Integer port; + + /** */ + @SerializedName("Account") + private String account; + + public String getAddr() { + return addr; + } + + public void setAddr(String addr) { + this.addr = addr; + } + + public Integer getPort() { + return port; + } + + public void setPort(Integer port) { + this.port = port; + } + + public String getAccount() { + return account; + } + + public void setAccount(String account) { + this.account = account; + } + } +} diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeExportLineRulesRequest.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeExportLineRulesRequest.java new file mode 100644 index 00000000..5b2a15aa --- /dev/null +++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/DescribeExportLineRulesRequest.java @@ -0,0 +1,60 @@ +/** + * Copyright 2021 UCloud Technology Co., Ltd. + * + *

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of the License at + * + *

http://www.apache.org/licenses/LICENSE-2.0 + * + *

Unless required by applicable law or agreed to in writing, software distributed under the + * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing permissions and + * limitations under the License. + */ +package cn.ucloud.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 whiteListInfos; + + public List getWhiteListInfos() { + return whiteListInfos; + } + + public void setWhiteListInfos(List whiteListInfos) { + this.whiteListInfos = whiteListInfos; + } + + public static class WhiteListInfo extends Response { + + /** */ + @SerializedName("RuleType") + private String ruleType; + + /** */ + @SerializedName("Name") + private String name; + + /** */ + @SerializedName("Remark") + private String remark; + + public String getRuleType() { + return ruleType; + } + + public void setRuleType(String ruleType) { + this.ruleType = ruleType; + } + + 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; + } + } +} diff --git a/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/UpdateExportLineRequest.java b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/UpdateExportLineRequest.java new file mode 100644 index 00000000..d6207f5b --- /dev/null +++ b/ucloud-sdk-java-uwsc/src/main/java/cn/ucloud/uwsc/models/UpdateExportLineRequest.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 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 @@ ucloud-sdk-java cn.ucloud - 1.2.66-release + 1.2.67-release 4.0.0 ucloud-sdk-java-vpc ucloud-sdk-java - 1.2.66-release + 1.2.67-release cn.ucloud ucloud-sdk-java-common - 1.2.66-release + 1.2.67-release diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AddSubnetIPv6Request.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AddSubnetIPv6Request.java new file mode 100644 index 00000000..0e9e02ca --- /dev/null +++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AddSubnetIPv6Request.java @@ -0,0 +1,112 @@ +/** + * 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 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 iPv6Addresses; + + /** 指定数量分配,与IPv6Addresses互斥 */ + @UCloudParam("Count") + private String count; + + /** IP属性:支持开启公网(Normal)、仅支持内网(Private),默认Normal */ + @UCloudParam("Attribute") + private String attribute; + + /** 指定网段分配IP */ + @UCloudParam("Segment") + private String segment; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + 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 getObjectId() { + return objectId; + } + + public void setObjectId(String objectId) { + this.objectId = objectId; + } + + public String getVPCId() { + return vpcId; + } + + public void setVPCId(String vpcId) { + this.vpcId = vpcId; + } + + public String getInstanceId() { + return instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public Integer getInstanceType() { + return instanceType; + } + + public void setInstanceType(Integer instanceType) { + this.instanceType = instanceType; + } + + public String getMac() { + return mac; + } + + public void setMac(String mac) { + this.mac = mac; + } + + public List getIPv6Addresses() { + return iPv6Addresses; + } + + public void setIPv6Addresses(List iPv6Addresses) { + this.iPv6Addresses = iPv6Addresses; + } + + public String getCount() { + return count; + } + + public void setCount(String count) { + this.count = count; + } + + public String getAttribute() { + return attribute; + } + + public void setAttribute(String attribute) { + this.attribute = attribute; + } + + public String getSegment() { + return segment; + } + + public void setSegment(String segment) { + this.segment = segment; + } +} diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AssignIPv6Response.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AssignIPv6Response.java new file mode 100644 index 00000000..b4c392cf --- /dev/null +++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/AssignIPv6Response.java @@ -0,0 +1,71 @@ +/** + * 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; + +import java.util.List; + +public class AssignIPv6Response extends Response { + + /** IPv6地址 */ + @SerializedName("IPv6Addresses") + private List iPv6Addresses; + + /** IP类型 */ + @SerializedName("OperatorName") + private String operatorName; + + /** IPv6网关 */ + @SerializedName("IPv6Gateway") + private String iPv6Gateway; + + /** 掩码 */ + @SerializedName("Mask") + private Integer mask; + + public List getIPv6Addresses() { + return iPv6Addresses; + } + + public void setIPv6Addresses(List iPv6Addresses) { + this.iPv6Addresses = iPv6Addresses; + } + + public String getOperatorName() { + return operatorName; + } + + public void setOperatorName(String operatorName) { + this.operatorName = operatorName; + } + + public String getIPv6Gateway() { + return iPv6Gateway; + } + + public void setIPv6Gateway(String iPv6Gateway) { + this.iPv6Gateway = iPv6Gateway; + } + + public Integer getMask() { + return mask; + } + + public void setMask(Integer mask) { + this.mask = mask; + } +} diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DeleteSubnetIPv6Request.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DeleteSubnetIPv6Request.java new file mode 100644 index 00000000..5361efaf --- /dev/null +++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/DeleteSubnetIPv6Request.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 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 iPv6Addresses; + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getProjectId() { + return projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getObjectId() { + return objectId; + } + + public void setObjectId(String objectId) { + this.objectId = objectId; + } + + public List getIPv6Addresses() { + return iPv6Addresses; + } + + public void setIPv6Addresses(List iPv6Addresses) { + this.iPv6Addresses = iPv6Addresses; + } +} diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/UnassignIPv6Response.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/UnassignIPv6Response.java new file mode 100644 index 00000000..8e965873 --- /dev/null +++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/UnassignIPv6Response.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 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 iPv6NetworkConfig; + + 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 List getIPv6NetworkConfig() { + return iPv6NetworkConfig; + } + + public void setIPv6NetworkConfig(List iPv6NetworkConfig) { + this.iPv6NetworkConfig = iPv6NetworkConfig; + } + + public static class IPv6NetworkConfig extends Request { + + /** 需要保留的所有网段 */ + @NotEmpty + @UCloudParam("IPv6Network") + private String iPv6Network; + + /** 网段对应的运营商类型 */ + @NotEmpty + @UCloudParam("OperatorName") + private String operatorName; + + /** 网段分类:Default--默认网段、Custom--客户自带网段 */ + @UCloudParam("Type") + private String type; + + public String getIPv6Network() { + return iPv6Network; + } + + public void setIPv6Network(String iPv6Network) { + this.iPv6Network = iPv6Network; + } + + public String getOperatorName() { + return operatorName; + } + + public void setOperatorName(String operatorName) { + this.operatorName = operatorName; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + } +} diff --git a/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/UpdateVPCIPv6Response.java b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/UpdateVPCIPv6Response.java new file mode 100644 index 00000000..0c7f9031 --- /dev/null +++ b/ucloud-sdk-java-vpc/src/main/java/cn/ucloud/vpc/models/UpdateVPCIPv6Response.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 UpdateVPCIPv6Response extends Response {}