Skip to content

Commit 91b63a0

Browse files
authored
Merge pull request #32 from ucloud-bot/codegen/1656470022
sdk: rolling update for 1.0.4-release
2 parents 0165d37 + fb58c3e commit 91b63a0

File tree

53 files changed

+1175
-142
lines changed

Some content is hidden

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

53 files changed

+1175
-142
lines changed

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.3-release
1+
1.0.4-release

examples/generic/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<artifactId>ucloud-sdk-java</artifactId>
99
<groupId>cn.ucloud</groupId>
10-
<version>1.0.3-release</version>
10+
<version>1.0.4-release</version>
1111
</parent>
1212

1313
<modelVersion>4.0.0</modelVersion>
@@ -18,7 +18,7 @@
1818
<dependency>
1919
<groupId>cn.ucloud</groupId>
2020
<artifactId>ucloud-sdk-java-common</artifactId>
21-
<version>1.0.3-release</version>
21+
<version>1.0.4-release</version>
2222
</dependency>
2323
</dependencies>
2424
</project>

examples/uhost/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<artifactId>ucloud-sdk-java</artifactId>
99
<groupId>cn.ucloud</groupId>
10-
<version>1.0.3-release</version>
10+
<version>1.0.4-release</version>
1111
</parent>
1212

1313
<modelVersion>4.0.0</modelVersion>
@@ -18,7 +18,7 @@
1818
<dependency>
1919
<groupId>cn.ucloud</groupId>
2020
<artifactId>ucloud-sdk-java-uhost</artifactId>
21-
<version>1.0.3-release</version>
21+
<version>1.0.4-release</version>
2222
</dependency>
2323
</dependencies>
2424
</project>

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>cn.ucloud</groupId>
88
<artifactId>ucloud-sdk-java</artifactId>
99
<packaging>pom</packaging>
10-
<version>1.0.3-release</version>
10+
<version>1.0.4-release</version>
1111
<modules>
1212
<module>ucloud-sdk-java-common</module>
1313
<module>ucloud-sdk-java-cube</module>

ucloud-sdk-java-common/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<parent>
88
<artifactId>ucloud-sdk-java</artifactId>
99
<groupId>cn.ucloud</groupId>
10-
<version>1.0.3-release</version>
10+
<version>1.0.4-release</version>
1111
</parent>
1212

1313
<modelVersion>4.0.0</modelVersion>
1414
<artifactId>ucloud-sdk-java-common</artifactId>
15-
<version>1.0.3-release</version>
15+
<version>1.0.4-release</version>
1616

1717
<dependencies>
1818
<dependency>

ucloud-sdk-java-cube/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
<parent>
66
<artifactId>ucloud-sdk-java</artifactId>
77
<groupId>cn.ucloud</groupId>
8-
<version>1.0.3-release</version>
8+
<version>1.0.4-release</version>
99
</parent>
1010

1111
<modelVersion>4.0.0</modelVersion>
1212
<artifactId>ucloud-sdk-java-cube</artifactId>
13-
<version>1.0.3-release</version>
13+
<version>1.0.4-release</version>
1414

1515
<dependencies>
1616
<dependency>
1717
<groupId>cn.ucloud</groupId>
1818
<artifactId>ucloud-sdk-java-common</artifactId>
19-
<version>1.0.3-release</version>
19+
<version>1.0.4-release</version>
2020
</dependency>
2121

2222
<dependency>

ucloud-sdk-java-ipsecvpn/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
<parent>
66
<artifactId>ucloud-sdk-java</artifactId>
77
<groupId>cn.ucloud</groupId>
8-
<version>1.0.3-release</version>
8+
<version>1.0.4-release</version>
99
</parent>
1010

1111
<modelVersion>4.0.0</modelVersion>
1212
<artifactId>ucloud-sdk-java-ipsecvpn</artifactId>
13-
<version>1.0.3-release</version>
13+
<version>1.0.4-release</version>
1414

1515
<dependencies>
1616
<dependency>
1717
<groupId>cn.ucloud</groupId>
1818
<artifactId>ucloud-sdk-java-common</artifactId>
19-
<version>1.0.3-release</version>
19+
<version>1.0.4-release</version>
2020
</dependency>
2121

2222
<dependency>

ucloud-sdk-java-pathx/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
<parent>
66
<artifactId>ucloud-sdk-java</artifactId>
77
<groupId>cn.ucloud</groupId>
8-
<version>1.0.3-release</version>
8+
<version>1.0.4-release</version>
99
</parent>
1010

1111
<modelVersion>4.0.0</modelVersion>
1212
<artifactId>ucloud-sdk-java-pathx</artifactId>
13-
<version>1.0.3-release</version>
13+
<version>1.0.4-release</version>
1414

1515
<dependencies>
1616
<dependency>
1717
<groupId>cn.ucloud</groupId>
1818
<artifactId>ucloud-sdk-java-common</artifactId>
19-
<version>1.0.3-release</version>
19+
<version>1.0.4-release</version>
2020
</dependency>
2121

2222
<dependency>

ucloud-sdk-java-pathx/src/main/java/cn/ucloud/pathx/models/DescribeGlobalSSHInstanceResponse.java

+36
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,14 @@ public static class GlobalSSHInfo extends Response {
8383
@SerializedName("Expire")
8484
private Boolean expire;
8585

86+
/** 是否开启EIP IPV6 接入,Flase:未开启 */
87+
@SerializedName("IPV6Access")
88+
private Boolean ipv6Access;
89+
90+
/** GlobalSSH分配的其他可用加速域名列表 */
91+
@SerializedName("ExtraDomain")
92+
private List<String> extraDomain;
93+
8694
/** globalssh Ultimate带宽包大小 */
8795
@SerializedName("BandwidthPackage")
8896
private Integer bandwidthPackage;
@@ -91,6 +99,10 @@ public static class GlobalSSHInfo extends Response {
9199
@SerializedName("ForwardRegion")
92100
private String forwardRegion;
93101

102+
/** 加速域名当前可用性检测结果 HashMap 结构 0表示可用, 1 表示有污染 */
103+
@SerializedName("DomainStatus")
104+
private Object domainStatus;
105+
94106
public String getInstanceId() {
95107
return instanceId;
96108
}
@@ -187,6 +199,22 @@ public void setExpire(Boolean expire) {
187199
this.expire = expire;
188200
}
189201

202+
public Boolean getIPV6Access() {
203+
return ipv6Access;
204+
}
205+
206+
public void setIPV6Access(Boolean ipv6Access) {
207+
this.ipv6Access = ipv6Access;
208+
}
209+
210+
public List<String> getExtraDomain() {
211+
return extraDomain;
212+
}
213+
214+
public void setExtraDomain(List<String> extraDomain) {
215+
this.extraDomain = extraDomain;
216+
}
217+
190218
public Integer getBandwidthPackage() {
191219
return bandwidthPackage;
192220
}
@@ -202,5 +230,13 @@ public String getForwardRegion() {
202230
public void setForwardRegion(String forwardRegion) {
203231
this.forwardRegion = forwardRegion;
204232
}
233+
234+
public Object getDomainStatus() {
235+
return domainStatus;
236+
}
237+
238+
public void setDomainStatus(Object domainStatus) {
239+
this.domainStatus = domainStatus;
240+
}
205241
}
206242
}

ucloud-sdk-java-uaccount/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
<parent>
66
<artifactId>ucloud-sdk-java</artifactId>
77
<groupId>cn.ucloud</groupId>
8-
<version>1.0.3-release</version>
8+
<version>1.0.4-release</version>
99
</parent>
1010

1111
<modelVersion>4.0.0</modelVersion>
1212
<artifactId>ucloud-sdk-java-uaccount</artifactId>
13-
<version>1.0.3-release</version>
13+
<version>1.0.4-release</version>
1414

1515
<dependencies>
1616
<dependency>
1717
<groupId>cn.ucloud</groupId>
1818
<artifactId>ucloud-sdk-java-common</artifactId>
19-
<version>1.0.3-release</version>
19+
<version>1.0.4-release</version>
2020
</dependency>
2121

2222
<dependency>

ucloud-sdk-java-ubill/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
<parent>
66
<artifactId>ucloud-sdk-java</artifactId>
77
<groupId>cn.ucloud</groupId>
8-
<version>1.0.3-release</version>
8+
<version>1.0.4-release</version>
99
</parent>
1010

1111
<modelVersion>4.0.0</modelVersion>
1212
<artifactId>ucloud-sdk-java-ubill</artifactId>
13-
<version>1.0.3-release</version>
13+
<version>1.0.4-release</version>
1414

1515
<dependencies>
1616
<dependency>
1717
<groupId>cn.ucloud</groupId>
1818
<artifactId>ucloud-sdk-java-common</artifactId>
19-
<version>1.0.3-release</version>
19+
<version>1.0.4-release</version>
2020
</dependency>
2121

2222
<dependency>

ucloud-sdk-java-ucdn/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
<parent>
66
<artifactId>ucloud-sdk-java</artifactId>
77
<groupId>cn.ucloud</groupId>
8-
<version>1.0.3-release</version>
8+
<version>1.0.4-release</version>
99
</parent>
1010

1111
<modelVersion>4.0.0</modelVersion>
1212
<artifactId>ucloud-sdk-java-ucdn</artifactId>
13-
<version>1.0.3-release</version>
13+
<version>1.0.4-release</version>
1414

1515
<dependencies>
1616
<dependency>
1717
<groupId>cn.ucloud</groupId>
1818
<artifactId>ucloud-sdk-java-common</artifactId>
19-
<version>1.0.3-release</version>
19+
<version>1.0.4-release</version>
2020
</dependency>
2121

2222
<dependency>

ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/client/UCDNClient.java

+15
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@
7777
import cn.ucloud.ucdn.models.RefreshNewUcdnDomainCacheResponse;
7878
import cn.ucloud.ucdn.models.SwitchUcdnChargeTypeRequest;
7979
import cn.ucloud.ucdn.models.SwitchUcdnChargeTypeResponse;
80+
import cn.ucloud.ucdn.models.UpdateUcdnDomainStatusRequest;
81+
import cn.ucloud.ucdn.models.UpdateUcdnDomainStatusResponse;
8082

8183
/** This client is used to call actions of **UCDN** service */
8284
public class UCDNClient extends DefaultClient implements UCDNClientInterface {
@@ -466,4 +468,17 @@ public SwitchUcdnChargeTypeResponse switchUcdnChargeType(SwitchUcdnChargeTypeReq
466468
return (SwitchUcdnChargeTypeResponse)
467469
this.invoke(request, SwitchUcdnChargeTypeResponse.class);
468470
}
471+
472+
/**
473+
* UpdateUcdnDomainStatus - 更新加速域名状态
474+
*
475+
* @param request Request object
476+
* @throws UCloudException Exception
477+
*/
478+
public UpdateUcdnDomainStatusResponse updateUcdnDomainStatus(
479+
UpdateUcdnDomainStatusRequest request) throws UCloudException {
480+
request.setAction("UpdateUcdnDomainStatus");
481+
return (UpdateUcdnDomainStatusResponse)
482+
this.invoke(request, UpdateUcdnDomainStatusResponse.class);
483+
}
469484
}

ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/client/UCDNClientInterface.java

+11
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@
7575
import cn.ucloud.ucdn.models.RefreshNewUcdnDomainCacheResponse;
7676
import cn.ucloud.ucdn.models.SwitchUcdnChargeTypeRequest;
7777
import cn.ucloud.ucdn.models.SwitchUcdnChargeTypeResponse;
78+
import cn.ucloud.ucdn.models.UpdateUcdnDomainStatusRequest;
79+
import cn.ucloud.ucdn.models.UpdateUcdnDomainStatusResponse;
7880

7981
/** This client is used to call actions of **UCDN** service */
8082
public interface UCDNClientInterface extends Client {
@@ -348,4 +350,13 @@ public RefreshNewUcdnDomainCacheResponse refreshNewUcdnDomainCache(
348350
*/
349351
public SwitchUcdnChargeTypeResponse switchUcdnChargeType(SwitchUcdnChargeTypeRequest request)
350352
throws UCloudException;
353+
354+
/**
355+
* UpdateUcdnDomainStatus - 更新加速域名状态
356+
*
357+
* @param request Request object
358+
* @throws UCloudException Exception
359+
*/
360+
public UpdateUcdnDomainStatusResponse updateUcdnDomainStatus(
361+
UpdateUcdnDomainStatusRequest request) throws UCloudException;
351362
}

ucloud-sdk-java-ucdn/src/main/java/cn/ucloud/ucdn/models/RefreshNewUcdnDomainCacheRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class RefreshNewUcdnDomainCacheRequest extends Request {
3434
private String type;
3535

3636
/**
37-
* 需要刷新的URL,n 从自然数0开始,刷新多个URL列表时,一次最多提交30个。必须以”http://域名/”开始。目录要以”/”结尾,
37+
* 需要刷新的URL,n 从自然数0开始,刷新多个URL列表时,一次最多提交100个。必须以”http://域名/”开始。目录要以”/”结尾,
3838
* 如刷新目录a下所有文件,格式为:http://abc.ucloud.cn/a/;如刷新文件目录a下面img.png文件,
3939
* 格式为http://abc.ucloud.cn/a/img.png。请正确提交需要刷新的域名
4040
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
/**
2+
* Copyright 2021 UCloud Technology Co., Ltd.
3+
*
4+
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
5+
* except in compliance with the License. You may obtain a copy of the License at
6+
*
7+
* <p>http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* <p>Unless required by applicable law or agreed to in writing, software distributed under the
10+
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
* express or implied. See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
package cn.ucloud.ucdn.models;
15+
16+
17+
import cn.ucloud.common.annotation.NotEmpty;
18+
import cn.ucloud.common.annotation.UCloudParam;
19+
import cn.ucloud.common.request.Request;
20+
21+
public class UpdateUcdnDomainStatusRequest extends Request {
22+
23+
/**
24+
* 项目ID。不填写为默认项目,子帐号必须填写。
25+
* 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
26+
*/
27+
@UCloudParam("ProjectId")
28+
private String projectId;
29+
30+
/** 域名ID,创建加速域名时生成。 */
31+
@NotEmpty
32+
@UCloudParam("DomainId")
33+
private String domainId;
34+
35+
/** 域名状态,enable代表加速中,disable代表停止加速,delete代表删除。 */
36+
@NotEmpty
37+
@UCloudParam("Status")
38+
private String status;
39+
40+
public String getProjectId() {
41+
return projectId;
42+
}
43+
44+
public void setProjectId(String projectId) {
45+
this.projectId = projectId;
46+
}
47+
48+
public String getDomainId() {
49+
return domainId;
50+
}
51+
52+
public void setDomainId(String domainId) {
53+
this.domainId = domainId;
54+
}
55+
56+
public String getStatus() {
57+
return status;
58+
}
59+
60+
public void setStatus(String status) {
61+
this.status = status;
62+
}
63+
}

0 commit comments

Comments
 (0)