Skip to content

Commit

Permalink
Merge pull request #32 from ucloud-bot/codegen/1656470022
Browse files Browse the repository at this point in the history
sdk: rolling update for 1.0.4-release
  • Loading branch information
wangrzneu authored Jun 29, 2022
2 parents 0165d37 + fb58c3e commit 91b63a0
Show file tree
Hide file tree
Showing 53 changed files with 1,175 additions and 142 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.3-release
1.0.4-release
4 changes: 2 additions & 2 deletions examples/generic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand All @@ -18,7 +18,7 @@
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</dependency>
</dependencies>
</project>
4 changes: 2 additions & 2 deletions examples/uhost/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand All @@ -18,7 +18,7 @@
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-uhost</artifactId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java</artifactId>
<packaging>pom</packaging>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
<modules>
<module>ucloud-sdk-java-common</module>
<module>ucloud-sdk-java-cube</module>
Expand Down
4 changes: 2 additions & 2 deletions ucloud-sdk-java-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>

<dependencies>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-cube/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-cube</artifactId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-ipsecvpn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-ipsecvpn</artifactId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-pathx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-pathx</artifactId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ public static class GlobalSSHInfo extends Response {
@SerializedName("Expire")
private Boolean expire;

/** 是否开启EIP IPV6 接入,Flase:未开启 */
@SerializedName("IPV6Access")
private Boolean ipv6Access;

/** GlobalSSH分配的其他可用加速域名列表 */
@SerializedName("ExtraDomain")
private List<String> extraDomain;

/** globalssh Ultimate带宽包大小 */
@SerializedName("BandwidthPackage")
private Integer bandwidthPackage;
Expand All @@ -91,6 +99,10 @@ public static class GlobalSSHInfo extends Response {
@SerializedName("ForwardRegion")
private String forwardRegion;

/** 加速域名当前可用性检测结果 HashMap 结构 0表示可用, 1 表示有污染 */
@SerializedName("DomainStatus")
private Object domainStatus;

public String getInstanceId() {
return instanceId;
}
Expand Down Expand Up @@ -187,6 +199,22 @@ public void setExpire(Boolean expire) {
this.expire = expire;
}

public Boolean getIPV6Access() {
return ipv6Access;
}

public void setIPV6Access(Boolean ipv6Access) {
this.ipv6Access = ipv6Access;
}

public List<String> getExtraDomain() {
return extraDomain;
}

public void setExtraDomain(List<String> extraDomain) {
this.extraDomain = extraDomain;
}

public Integer getBandwidthPackage() {
return bandwidthPackage;
}
Expand All @@ -202,5 +230,13 @@ public String getForwardRegion() {
public void setForwardRegion(String forwardRegion) {
this.forwardRegion = forwardRegion;
}

public Object getDomainStatus() {
return domainStatus;
}

public void setDomainStatus(Object domainStatus) {
this.domainStatus = domainStatus;
}
}
}
6 changes: 3 additions & 3 deletions ucloud-sdk-java-uaccount/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-uaccount</artifactId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-ubill/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-ubill</artifactId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</dependency>

<dependency>
Expand Down
6 changes: 3 additions & 3 deletions ucloud-sdk-java-ucdn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<parent>
<artifactId>ucloud-sdk-java</artifactId>
<groupId>cn.ucloud</groupId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>ucloud-sdk-java-ucdn</artifactId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>

<dependencies>
<dependency>
<groupId>cn.ucloud</groupId>
<artifactId>ucloud-sdk-java-common</artifactId>
<version>1.0.3-release</version>
<version>1.0.4-release</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
import cn.ucloud.ucdn.models.RefreshNewUcdnDomainCacheResponse;
import cn.ucloud.ucdn.models.SwitchUcdnChargeTypeRequest;
import cn.ucloud.ucdn.models.SwitchUcdnChargeTypeResponse;
import cn.ucloud.ucdn.models.UpdateUcdnDomainStatusRequest;
import cn.ucloud.ucdn.models.UpdateUcdnDomainStatusResponse;

/** This client is used to call actions of **UCDN** service */
public class UCDNClient extends DefaultClient implements UCDNClientInterface {
Expand Down Expand Up @@ -466,4 +468,17 @@ public SwitchUcdnChargeTypeResponse switchUcdnChargeType(SwitchUcdnChargeTypeReq
return (SwitchUcdnChargeTypeResponse)
this.invoke(request, SwitchUcdnChargeTypeResponse.class);
}

/**
* UpdateUcdnDomainStatus - 更新加速域名状态
*
* @param request Request object
* @throws UCloudException Exception
*/
public UpdateUcdnDomainStatusResponse updateUcdnDomainStatus(
UpdateUcdnDomainStatusRequest request) throws UCloudException {
request.setAction("UpdateUcdnDomainStatus");
return (UpdateUcdnDomainStatusResponse)
this.invoke(request, UpdateUcdnDomainStatusResponse.class);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@
import cn.ucloud.ucdn.models.RefreshNewUcdnDomainCacheResponse;
import cn.ucloud.ucdn.models.SwitchUcdnChargeTypeRequest;
import cn.ucloud.ucdn.models.SwitchUcdnChargeTypeResponse;
import cn.ucloud.ucdn.models.UpdateUcdnDomainStatusRequest;
import cn.ucloud.ucdn.models.UpdateUcdnDomainStatusResponse;

/** This client is used to call actions of **UCDN** service */
public interface UCDNClientInterface extends Client {
Expand Down Expand Up @@ -348,4 +350,13 @@ public RefreshNewUcdnDomainCacheResponse refreshNewUcdnDomainCache(
*/
public SwitchUcdnChargeTypeResponse switchUcdnChargeType(SwitchUcdnChargeTypeRequest request)
throws UCloudException;

/**
* UpdateUcdnDomainStatus - 更新加速域名状态
*
* @param request Request object
* @throws UCloudException Exception
*/
public UpdateUcdnDomainStatusResponse updateUcdnDomainStatus(
UpdateUcdnDomainStatusRequest request) throws UCloudException;
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class RefreshNewUcdnDomainCacheRequest extends Request {
private String type;

/**
* 需要刷新的URL,n 从自然数0开始,刷新多个URL列表时,一次最多提交30个。必须以”http://域名/”开始。目录要以”/”结尾,
* 需要刷新的URL,n 从自然数0开始,刷新多个URL列表时,一次最多提交100个。必须以”http://域名/”开始。目录要以”/”结尾,
* 如刷新目录a下所有文件,格式为:http://abc.ucloud.cn/a/;如刷新文件目录a下面img.png文件,
* 格式为http://abc.ucloud.cn/a/img.png。请正确提交需要刷新的域名
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/**
* Copyright 2021 UCloud Technology Co., Ltd.
*
* <p>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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>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.ucdn.models;


import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
import cn.ucloud.common.request.Request;

public class UpdateUcdnDomainStatusRequest extends Request {

/**
* 项目ID。不填写为默认项目,子帐号必须填写。
* 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*/
@UCloudParam("ProjectId")
private String projectId;

/** 域名ID,创建加速域名时生成。 */
@NotEmpty
@UCloudParam("DomainId")
private String domainId;

/** 域名状态,enable代表加速中,disable代表停止加速,delete代表删除。 */
@NotEmpty
@UCloudParam("Status")
private String status;

public String getProjectId() {
return projectId;
}

public void setProjectId(String projectId) {
this.projectId = projectId;
}

public String getDomainId() {
return domainId;
}

public void setDomainId(String domainId) {
this.domainId = domainId;
}

public String getStatus() {
return status;
}

public void setStatus(String status) {
this.status = status;
}
}
Loading

0 comments on commit 91b63a0

Please sign in to comment.