Skip to content

Commit e7b3252

Browse files
committed
Generated java-async 2021-05-15 for cloudsso.
1 parent 8d28aaf commit e7b3252

File tree

189 files changed

+3681
-1938
lines changed

Some content is hidden

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

189 files changed

+3681
-1938
lines changed

cloudsso-20210515/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2022-02-22 Version: 1.0.1
2+
- Generated java-async 2021-05-15 for cloudsso.
3+
14
2021-12-06 Version: 1.0.0-beta
25
- First Version.
36

cloudsso-20210515/README-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
```xml
1010
<dependency>
1111
<groupId>com.aliyun</groupId>
12-
<artifactId>alibabacloud-cloudsso20210515-async</artifactId>
12+
<artifactId>alibabacloud-cloudsso20210515</artifactId>
1313
<version>使用maven标签所示版本</version>
1414
</dependency>
1515
```

cloudsso-20210515/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ English | [简体中文](README-CN.md)
88
```xml
99
<dependency>
1010
<groupId>com.aliyun</groupId>
11-
<artifactId>alibabacloud-cloudsso20210515-async</artifactId>
11+
<artifactId>alibabacloud-cloudsso20210515</artifactId>
1212
<version>Use the version shown in the maven badge</version>
1313
</dependency>
1414
```

cloudsso-20210515/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
5-
<artifactId>alibabacloud-cloudsso20210515-async</artifactId>
6-
<version>1.0.0-beta</version>
5+
<artifactId>alibabacloud-cloudsso20210515</artifactId>
6+
<version>1.0.1</version>
77
<packaging>jar</packaging>
8-
<name>alibabacloud-cloudsso20210515-async</name>
8+
<name>alibabacloud-cloudsso20210515</name>
99
<description>Alibaba Cloud cloudsso (20210515) Async SDK for Java
1010
</description>
1111
<url>https://github.com/aliyun/alibabacloud-java-async-sdk</url>

cloudsso-20210515/src/main/java/com/aliyun/cloudsso20210515/models/Request.java

Lines changed: 0 additions & 12 deletions
This file was deleted.

cloudsso-20210515/src/main/java/com/aliyun/cloudsso20210515/models/Response.java

Lines changed: 0 additions & 25 deletions
This file was deleted.

cloudsso-20210515/src/main/java/com/aliyun/cloudsso20210515/AsyncClient.java renamed to cloudsso-20210515/src/main/java/com/aliyun/sdk/service/cloudsso20210515/AsyncClient.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
// This file is auto-generated, don't edit it. Thanks.
2-
package com.aliyun.cloudsso20210515;
2+
package com.aliyun.sdk.service.cloudsso20210515;
33

4-
import com.aliyun.cloudsso20210515.models.*;
4+
import com.aliyun.core.utils.SdkAutoCloseable;
5+
import com.aliyun.sdk.service.cloudsso20210515.models.*;
56
import darabonba.core.async.*;
67
import darabonba.core.sync.*;
78

89
import java.util.concurrent.CompletableFuture;
910

10-
public interface AsyncClient {
11+
public interface AsyncClient extends SdkAutoCloseable {
1112

1213
static DefaultAsyncClientBuilder builder() {
1314
return new DefaultAsyncClientBuilder();

cloudsso-20210515/src/main/java/com/aliyun/cloudsso20210515/DefaultAsyncClient.java renamed to cloudsso-20210515/src/main/java/com/aliyun/sdk/service/cloudsso20210515/DefaultAsyncClient.java

Lines changed: 68 additions & 63 deletions
Large diffs are not rendered by default.

cloudsso-20210515/src/main/java/com/aliyun/cloudsso20210515/DefaultAsyncClientBuilder.java renamed to cloudsso-20210515/src/main/java/com/aliyun/sdk/service/cloudsso20210515/DefaultAsyncClientBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// This file is auto-generated, don't edit it. Thanks.
2-
package com.aliyun.cloudsso20210515;
2+
package com.aliyun.sdk.service.cloudsso20210515;
33

4-
import com.aliyun.pop.BaseClientBuilder;
4+
import com.aliyun.sdk.gateway.pop.BaseClientBuilder;
55

66
public final class DefaultAsyncClientBuilder extends BaseClientBuilder<DefaultAsyncClientBuilder, AsyncClient> {
77

88
@Override
99
protected String serviceName() {
10-
return "cloudsso";
10+
return "cloudsso20210515";
1111
}
1212

1313
@Override

cloudsso-20210515/src/main/java/com/aliyun/cloudsso20210515/models/AddExternalSAMLIdPCertificateRequest.java renamed to cloudsso-20210515/src/main/java/com/aliyun/sdk/service/cloudsso20210515/models/AddExternalSAMLIdPCertificateRequest.java

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
// This file is auto-generated, don't edit it. Thanks.
2-
package com.aliyun.cloudsso20210515.models;
2+
package com.aliyun.sdk.service.cloudsso20210515.models;
33

44
import com.aliyun.core.annotation.*;
55
import darabonba.core.RequestModel;
66
import darabonba.core.TeaModel;
7+
import com.aliyun.sdk.gateway.pop.models.*;
78

89
/**
910
* {@link AddExternalSAMLIdPCertificateRequest} extends {@link RequestModel}
@@ -19,7 +20,6 @@ public class AddExternalSAMLIdPCertificateRequest extends Request {
1920
@NameInMap("X509Certificate")
2021
private String x509Certificate;
2122

22-
2323
private AddExternalSAMLIdPCertificateRequest(Builder builder) {
2424
super(builder);
2525
this.directoryId = builder.directoryId;
@@ -34,6 +34,11 @@ public static AddExternalSAMLIdPCertificateRequest create() {
3434
return builder().build();
3535
}
3636

37+
@Override
38+
public Builder toBuilder() {
39+
return new Builder(this);
40+
}
41+
3742
/**
3843
* @return directoryId
3944
*/
@@ -48,12 +53,22 @@ public String getX509Certificate() {
4853
return this.x509Certificate;
4954
}
5055

51-
public static final class Builder extends Request.Builder {
56+
public static final class Builder extends Request.Builder<AddExternalSAMLIdPCertificateRequest, Builder> {
5257
private String directoryId;
5358
private String x509Certificate;
5459

60+
private Builder() {
61+
super();
62+
}
63+
64+
private Builder(AddExternalSAMLIdPCertificateRequest response) {
65+
super(response);
66+
this.directoryId = response.directoryId;
67+
this.x509Certificate = response.x509Certificate;
68+
}
69+
5570
/**
56-
* <p>DirectoryId.</p>
71+
* DirectoryId.
5772
*/
5873
public Builder directoryId(String directoryId) {
5974
this.putQueryParameter("DirectoryId", directoryId);
@@ -62,14 +77,15 @@ public Builder directoryId(String directoryId) {
6277
}
6378

6479
/**
65-
* <p>X509Certificate.</p>
80+
* X509Certificate.
6681
*/
6782
public Builder x509Certificate(String x509Certificate) {
6883
this.putQueryParameter("X509Certificate", x509Certificate);
6984
this.x509Certificate = x509Certificate;
7085
return this;
7186
}
7287

88+
@Override
7389
public AddExternalSAMLIdPCertificateRequest build() {
7490
return new AddExternalSAMLIdPCertificateRequest(this);
7591
}

0 commit comments

Comments
 (0)