Skip to content

Commit 17c0f9f

Browse files
committed
chore: re-generate code
1 parent 1ba6c54 commit 17c0f9f

File tree

890 files changed

+8333
-7635
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

890 files changed

+8333
-7635
lines changed

pom.xml

Lines changed: 39 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -11,46 +11,53 @@
1111
<modules>
1212
<module>ucloud-sdk-java-common</module>
1313

14+
15+
<module>ucloud-sdk-java-ucdn</module>
1416

15-
<module>ucloud-sdk-java-usms</module>
1617

17-
<module>ucloud-sdk-java-udisk</module>
18+
<module>ucloud-sdk-java-ubill</module>
1819

1920

20-
<module>ucloud-sdk-java-uaccount</module>
21+
<module>ucloud-sdk-java-uk8s</module>
2122

2223

23-
<module>ucloud-sdk-java-uk8s</module>
24+
<module>ucloud-sdk-java-uaccount</module>
2425

2526

26-
<module>ucloud-sdk-java-ufs</module>
27+
<module>ucloud-sdk-java-ipsecvpn</module>
2728

2829

2930
<module>ucloud-sdk-java-unet</module>
3031

3132

32-
<module>ucloud-sdk-java-ubill</module>
33+
<module>ucloud-sdk-java-udpn</module>
3334

3435

35-
<module>ucloud-sdk-java-uhost</module>
36+
<module>ucloud-sdk-java-umem</module>
3637

3738

38-
<module>ucloud-sdk-java-ucdn</module>
39+
<module>ucloud-sdk-java-udisk</module>
3940

4041

41-
<module>ucloud-sdk-java-uphost</module>
42+
<module>ucloud-sdk-java-ufs</module>
4243

4344

44-
<module>ucloud-sdk-java-uddb</module>
45+
<module>ucloud-sdk-java-pathx</module>
4546

4647

4748
<module>ucloud-sdk-java-uec</module>
4849

4950

50-
<module>ucloud-sdk-java-ufile</module>
51+
<module>ucloud-sdk-java-uhost</module>
5152

5253

53-
<module>ucloud-sdk-java-umem</module>
54+
<module>ucloud-sdk-java-uphost</module>
55+
56+
57+
<module>ucloud-sdk-java-usms</module>
58+
59+
60+
<module>ucloud-sdk-java-uddb</module>
5461

5562

5663
<module>ucloud-sdk-java-udb</module>
@@ -59,7 +66,12 @@
5966
<module>ucloud-sdk-java-ulb</module>
6067

6168

62-
<module>ucloud-sdk-java-ipsecvpn</module>
69+
<module>ucloud-sdk-java-ufile</module>
70+
71+
72+
<module>ucloud-sdk-java-cube</module>
73+
74+
6375
</modules>
6476

6577
<name>ucloud-sdk-java</name>
@@ -122,8 +134,6 @@
122134
<codec.version>1.9</codec.version>
123135
<slf4j.version>1.7.25</slf4j.version>
124136
<jsonassert.version>1.5.0</jsonassert.version>
125-
<sonar.organization>ucloud</sonar.organization>
126-
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
127137
</properties>
128138

129139
<dependencyManagement>
@@ -288,20 +298,20 @@
288298
</execution>
289299
</executions>
290300
</plugin>
291-
<!-- &lt;!&ndash; GPG 验签 &ndash;&gt;-->
292-
<!-- <plugin>-->
293-
<!-- <groupId>org.apache.maven.plugins</groupId>-->
294-
<!-- <artifactId>maven-gpg-plugin</artifactId>-->
295-
<!-- <version>1.6</version>-->
296-
<!-- <executions>-->
297-
<!-- <execution>-->
298-
<!-- <phase>verify</phase>-->
299-
<!-- <goals>-->
300-
<!-- <goal>sign</goal>-->
301-
<!-- </goals>-->
302-
<!-- </execution>-->
303-
<!-- </executions>-->
304-
<!-- </plugin>-->
301+
<!-- GPG 验签 -->
302+
<plugin>
303+
<groupId>org.apache.maven.plugins</groupId>
304+
<artifactId>maven-gpg-plugin</artifactId>
305+
<version>1.6</version>
306+
<executions>
307+
<execution>
308+
<phase>verify</phase>
309+
<goals>
310+
<goal>sign</goal>
311+
</goals>
312+
</execution>
313+
</executions>
314+
</plugin>
305315
</plugins>
306316
</build>
307317
</project>

ucloud-sdk-java-common/src/test/java/cn/ucloud/common/client/ClientTest.java

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,22 +46,21 @@ public void testCaseException() {
4646
this.testInvoke(request, response, new HttpException("some exception occurs") {}, true);
4747
}
4848

49-
// @Test
50-
// public void testCaseRemote() {
51-
// Request request = new Request();
52-
// request.setAction("GetRegion");
53-
//
54-
// Response response = new Response();
55-
// response.setRetCode(0);
56-
// this.testInvoke(request, null, null, false);
57-
// }
49+
// @Test
50+
// public void testCaseRemote() {
51+
// Request request = new Request();
52+
// request.setAction("GetRegion");
53+
//
54+
// Response response = new Response();
55+
// response.setRetCode(0);
56+
// this.testInvoke(request, null, null, false);
57+
// }
5858

5959
public void testInvoke(
6060
Request request, Response response, Exception injectedException, Boolean hasException) {
6161
Config config = new Config();
6262
config.setUserAgent("Demo/0.42");
63-
Credential credential =
64-
new Credential("foo", "bar");
63+
Credential credential = new Credential("foo", "bar");
6564
DefaultClient client = new DefaultClient(config, credential);
6665
DefaultTransport transport = (DefaultTransport) client.getTransport();
6766

ucloud-sdk-java-ipsecvpn/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<dependency>
1717
<groupId>cn.ucloud</groupId>
1818
<artifactId>ucloud-sdk-java-common</artifactId>
19-
<version>1.0.0</version>
19+
<version>1.0.0-SNAPSHOT</version>
2020
</dependency>
2121

2222
<dependency>

ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateRemoteVPNGatewayRequest.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,37 +13,38 @@
1313
*/
1414
package cn.ucloud.ipsecvpn.models;
1515

16+
1617
import cn.ucloud.common.annotation.NotEmpty;
1718
import cn.ucloud.common.annotation.UCloudParam;
1819
import cn.ucloud.common.request.Request;
1920

2021
public class CreateRemoteVPNGatewayRequest extends Request {
2122

22-
/** 地域。 参见 [地域和可用区列表](../summary/regionlist.html): false */
23+
/** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
2324
@NotEmpty
2425
@UCloudParam("Region")
2526
private String region;
2627

27-
/** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html): false */
28+
/** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
2829
@NotEmpty
2930
@UCloudParam("ProjectId")
3031
private String projectId;
3132

32-
/** 客户VPN网关名称: false */
33+
/** 客户VPN网关名称 */
3334
@NotEmpty
3435
@UCloudParam("RemoteVPNGatewayName")
3536
private String remoteVPNGatewayName;
3637

37-
/** 客户VPN网关地址: false */
38+
/** 客户VPN网关地址 */
3839
@NotEmpty
3940
@UCloudParam("RemoteVPNGatewayAddr")
4041
private String remoteVPNGatewayAddr;
4142

42-
/** 业务组名称,默认为 "Default": false */
43+
/** 业务组名称,默认为 "Default" */
4344
@UCloudParam("Tag")
4445
private String tag;
4546

46-
/** 备注,默认为空: false */
47+
/** 备注,默认为空 */
4748
@UCloudParam("Remark")
4849
private String remark;
4950

ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateRemoteVPNGatewayResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@
1313
*/
1414
package cn.ucloud.ipsecvpn.models;
1515

16+
1617
import cn.ucloud.common.response.Response;
1718
import com.google.gson.annotations.SerializedName;
1819

1920
public class CreateRemoteVPNGatewayResponse extends Response {
2021

21-
/** 新建客户VPN网关的资源ID: false */
22+
/** 新建客户VPN网关的资源ID */
2223
@SerializedName("RemoteVPNGatewayId")
2324
private String remoteVPNGatewayId;
2425

ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNGatewayRequest.java

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,62 +13,63 @@
1313
*/
1414
package cn.ucloud.ipsecvpn.models;
1515

16+
1617
import cn.ucloud.common.annotation.NotEmpty;
1718
import cn.ucloud.common.annotation.UCloudParam;
1819
import cn.ucloud.common.request.Request;
1920

2021
public class CreateVPNGatewayRequest extends Request {
2122

22-
/** 地域。 参见 [地域和可用区列表](../summary/regionlist.html): false */
23+
/** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
2324
@NotEmpty
2425
@UCloudParam("Region")
2526
private String region;
2627

27-
/** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html): false */
28+
/** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
2829
@NotEmpty
2930
@UCloudParam("ProjectId")
3031
private String projectId;
3132

32-
/** 新建VPN网关名称: false */
33+
/** 新建VPN网关名称 */
3334
@NotEmpty
3435
@UCloudParam("VPNGatewayName")
3536
private String vpnGatewayName;
3637

37-
/** 新建VPN网关所属VPC的资源ID: false */
38+
/** 新建VPN网关所属VPC的资源ID */
3839
@NotEmpty
3940
@UCloudParam("VPCId")
4041
private String vpcId;
4142

42-
/** 购买的VPN网关规格,枚举值为: Standard, 标准型; Enhanced, 增强型: false */
43+
/** 购买的VPN网关规格,枚举值为: Standard, 标准型; Enhanced, 增强型 */
4344
@NotEmpty
4445
@UCloudParam("Grade")
4546
private String grade;
4647

47-
/** 备注,默认为空: false */
48+
/** 备注,默认为空 */
4849
@UCloudParam("Remark")
4950
private String remark;
5051

51-
/** 业务组名称,默认为 "Default": false */
52+
/** 业务组名称,默认为 "Default" */
5253
@UCloudParam("Tag")
5354
private String tag;
5455

55-
/** 购买时长, 默认: 1: false */
56+
/** 购买时长, 默认: 1 */
5657
@UCloudParam("Quantity")
5758
private Integer quantity;
5859

59-
/** 付费方式, 枚举值为: Year, 按年付费; Month, 按月付费;Dynamic, 按需付费(需开启权限);Trial, 试用(需开启权限);默认为按月付费: false */
60+
/** 付费方式, 枚举值为: Year, 按年付费; Month, 按月付费;Dynamic, 按需付费(需开启权限);Trial, 试用(需开启权限);默认为按月付费 */
6061
@UCloudParam("ChargeType")
6162
private String chargeType;
6263

63-
/** 业务组ID: false */
64+
/** 业务组ID */
6465
@UCloudParam("BusinessId")
6566
private String businessId;
6667

67-
/** 若要绑定EIP,在此填上EIP的资源ID: false */
68+
/** 若要绑定EIP,在此填上EIP的资源ID */
6869
@UCloudParam("EIPId")
6970
private String eipId;
7071

71-
/** 代金券ID, 默认不使用: false */
72+
/** 代金券ID, 默认不使用 */
7273
@UCloudParam("CouponId")
7374
private String couponId;
7475

ucloud-sdk-java-ipsecvpn/src/main/java/cn/ucloud/ipsecvpn/models/CreateVPNGatewayResponse.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@
1313
*/
1414
package cn.ucloud.ipsecvpn.models;
1515

16+
1617
import cn.ucloud.common.response.Response;
1718
import com.google.gson.annotations.SerializedName;
1819

1920
public class CreateVPNGatewayResponse extends Response {
2021

21-
/** 新建VPN网关的资源ID: false */
22+
/** 新建VPN网关的资源ID */
2223
@SerializedName("VPNGatewayId")
2324
private String vpnGatewayId;
2425

0 commit comments

Comments
 (0)