Skip to content

Commit 03f6641

Browse files
committed
Generated java 2016-07-14 for CloudAPI.
1 parent 6b967aa commit 03f6641

File tree

227 files changed

+6183
-1230
lines changed

Some content is hidden

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

227 files changed

+6183
-1230
lines changed

cloudapi-20160714/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2023-10-19 Version: 3.1.0
2+
- Generated java 2016-07-14 for CloudAPI.
3+
14
2023-08-11 Version: 3.0.2
25
- Generated java 2016-07-14 for CloudAPI.
36

cloudapi-20160714/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>cloudapi20160714</artifactId>
6-
<version>3.0.2</version>
6+
<version>3.1.0</version>
77
<packaging>jar</packaging>
88
<name>cloudapi20160714</name>
99
<description>Alibaba Cloud CloudAPI (20160714) SDK for Java
@@ -41,7 +41,7 @@
4141
<dependency>
4242
<groupId>com.aliyun</groupId>
4343
<artifactId>tea-util</artifactId>
44-
<version>0.2.20</version>
44+
<version>0.2.21</version>
4545
</dependency>
4646
<dependency>
4747
<groupId>com.aliyun</groupId>

cloudapi-20160714/src/main/java/com/aliyun/cloudapi20160714/Client.java

Lines changed: 1162 additions & 174 deletions
Large diffs are not rendered by default.

cloudapi-20160714/src/main/java/com/aliyun/cloudapi20160714/models/AbolishApiRequest.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,27 @@
44
import com.aliyun.tea.*;
55

66
public class AbolishApiRequest extends TeaModel {
7+
/**
8+
* <p>The ID of the specified API.</p>
9+
*/
710
@NameInMap("ApiId")
811
public String apiId;
912

13+
/**
14+
* <p>The ID of the API group.</p>
15+
*/
1016
@NameInMap("GroupId")
1117
public String groupId;
1218

1319
@NameInMap("SecurityToken")
1420
public String securityToken;
1521

22+
/**
23+
* <p>The name of the runtime environment. Valid values:</p>
24+
* <br>
25+
* <p>* **RELEASE**</p>
26+
* <p>* **TEST**</p>
27+
*/
1628
@NameInMap("StageName")
1729
public String stageName;
1830

cloudapi-20160714/src/main/java/com/aliyun/cloudapi20160714/models/AbolishApiResponseBody.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
import com.aliyun.tea.*;
55

66
public class AbolishApiResponseBody extends TeaModel {
7+
/**
8+
* <p>The ID of the request.</p>
9+
*/
710
@NameInMap("RequestId")
811
public String requestId;
912

cloudapi-20160714/src/main/java/com/aliyun/cloudapi20160714/models/AddIpControlPolicyItemRequest.java

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,32 @@
55

66
public class AddIpControlPolicyItemRequest extends TeaModel {
77
/**
8-
* <p>The ID of the policy. The ID is unique.</p>
8+
* <p>The restriction policy on app IDs for a specific policy. You can restrict app IDs only for whitelists. The IpControlType values of whitelists are ALLOW.</p>
9+
* <br>
10+
* <p>* You can add only one app ID restriction policy at a time.</p>
11+
* <p>* If this parameter is empty, no restriction is imposed on the app IDs.</p>
12+
* <p>* If this parameter is not empty, there is restriction not only on IP addresses, but also on apps.</p>
13+
* <p>* Please note that if this parameter is not empty and the security authentication method of the API is No Authentication, all API calls are restricted.</p>
14+
* <p>* If this parameter is not empty for a blacklist, API Gateway automatically skips this parameter and sets only restriction on IP addresses. The IpControlType value of a blacklist is REFUSE.</p>
915
*/
1016
@NameInMap("AppId")
1117
public String appId;
1218

1319
/**
14-
* <p>The ID of the request.</p>
20+
* <p>The IP addresses or CIDR blocks involved in the policy. Separate multiple IP addresses or CIDR blocks with semicolons (;). You can specify a maximum of 10 IP addresses or CIDR blocks.</p>
1521
*/
1622
@NameInMap("CidrIp")
1723
public String cidrIp;
1824

1925
/**
20-
* <p>The IP addresses or CIDR blocks involved in the policy. Separate multiple IP addresses or CIDR blocks with semicolons (;). You can specify a maximum of 10 IP addresses or CIDR blocks.</p>
26+
* <p>The ID of the ACL. The ID is unique.</p>
2127
*/
2228
@NameInMap("IpControlId")
2329
public String ipControlId;
2430

31+
/**
32+
* <p>The security token included in the WebSocket request header. The system uses this token to authenticate the request.</p>
33+
*/
2534
@NameInMap("SecurityToken")
2635
public String securityToken;
2736

cloudapi-20160714/src/main/java/com/aliyun/cloudapi20160714/models/AddIpControlPolicyItemResponseBody.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,13 @@
55

66
public class AddIpControlPolicyItemResponseBody extends TeaModel {
77
/**
8-
* <p>When you call this operation, note that:</p>
9-
* <br>
10-
* <p>* This operation is intended for API providers.</p>
11-
* <p>* An added policy immediately takes effect on all APIs that are bound to the access control list (ACL).</p>
12-
* <p>* A maximum of 100 policies can be added to an ACL.</p>
8+
* <p>The ID of the policy. The ID is unique.</p>
139
*/
1410
@NameInMap("PolicyItemId")
1511
public String policyItemId;
1612

1713
/**
18-
* <p>Adds a policy to an existing ACL.</p>
14+
* <p>The ID of the request.</p>
1915
*/
2016
@NameInMap("RequestId")
2117
public String requestId;

cloudapi-20160714/src/main/java/com/aliyun/cloudapi20160714/models/AddTrafficSpecialControlRequest.java

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,35 @@
44
import com.aliyun.tea.*;
55

66
public class AddTrafficSpecialControlRequest extends TeaModel {
7+
/**
8+
* <p>The security token included in the WebSocket request header. The system uses this token to authenticate the request.</p>
9+
*/
710
@NameInMap("SecurityToken")
811
public String securityToken;
912

1013
/**
11-
* <p>The ID of the request.</p>
14+
* <p>The ID of the app or Alibaba Cloud account. Specify this parameter based on the value of the **SpecialType** parameter. You can view your account ID on the [Account Management](https://account.console.aliyun.com/?spm=a2c4g.11186623.2.15.3f053654YpMPwo#/secure) page.</p>
1215
*/
1316
@NameInMap("SpecialKey")
1417
public String specialKey;
1518

1619
/**
17-
* <p>The special throttling value.</p>
20+
* <p>The type of the special throttling policy. Valid values:</p>
21+
* <br>
22+
* <p>* **APP**</p>
23+
* <p>* **USER**</p>
1824
*/
1925
@NameInMap("SpecialType")
2026
public String specialType;
2127

2228
/**
23-
* <p>The ID of the app or Alibaba Cloud account. Specify this parameter based on the value of the **SpecialType** parameter. You can view your account ID on the [Account Management](https://account.console.aliyun.com/?spm=a2c4g.11186623.2.15.3f053654YpMPwo#/secure) page.</p>
29+
* <p>The ID of the specified throttling policy.</p>
2430
*/
2531
@NameInMap("TrafficControlId")
2632
public String trafficControlId;
2733

2834
/**
29-
* <p>* This API is intended for API providers.</p>
30-
* <p>* If the input SpecialKey already exists, the previous configuration is overwritten. Use caution when calling this operation.</p>
31-
* <p>* Special throttling policies must be added to an existing throttling policy, and can take effect on all the APIs to which the throttling policy is bound.</p>
35+
* <p>The special throttling value.</p>
3236
*/
3337
@NameInMap("TrafficValue")
3438
public Integer trafficValue;

cloudapi-20160714/src/main/java/com/aliyun/cloudapi20160714/models/AddTrafficSpecialControlResponseBody.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
public class AddTrafficSpecialControlResponseBody extends TeaModel {
77
/**
8-
* <p>Adds a custom special policy to a specified throttling policy.</p>
8+
* <p>The ID of the request.</p>
99
*/
1010
@NameInMap("RequestId")
1111
public String requestId;
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.cloudapi20160714.models;
3+
4+
import com.aliyun.tea.*;
5+
6+
public class AttachApiProductRequest extends TeaModel {
7+
@NameInMap("ApiProductId")
8+
public String apiProductId;
9+
10+
@NameInMap("Apis")
11+
public java.util.List<AttachApiProductRequestApis> apis;
12+
13+
@NameInMap("SecurityToken")
14+
public String securityToken;
15+
16+
public static AttachApiProductRequest build(java.util.Map<String, ?> map) throws Exception {
17+
AttachApiProductRequest self = new AttachApiProductRequest();
18+
return TeaModel.build(map, self);
19+
}
20+
21+
public AttachApiProductRequest setApiProductId(String apiProductId) {
22+
this.apiProductId = apiProductId;
23+
return this;
24+
}
25+
public String getApiProductId() {
26+
return this.apiProductId;
27+
}
28+
29+
public AttachApiProductRequest setApis(java.util.List<AttachApiProductRequestApis> apis) {
30+
this.apis = apis;
31+
return this;
32+
}
33+
public java.util.List<AttachApiProductRequestApis> getApis() {
34+
return this.apis;
35+
}
36+
37+
public AttachApiProductRequest setSecurityToken(String securityToken) {
38+
this.securityToken = securityToken;
39+
return this;
40+
}
41+
public String getSecurityToken() {
42+
return this.securityToken;
43+
}
44+
45+
public static class AttachApiProductRequestApis extends TeaModel {
46+
@NameInMap("ApiId")
47+
public String apiId;
48+
49+
@NameInMap("StageName")
50+
public String stageName;
51+
52+
public static AttachApiProductRequestApis build(java.util.Map<String, ?> map) throws Exception {
53+
AttachApiProductRequestApis self = new AttachApiProductRequestApis();
54+
return TeaModel.build(map, self);
55+
}
56+
57+
public AttachApiProductRequestApis setApiId(String apiId) {
58+
this.apiId = apiId;
59+
return this;
60+
}
61+
public String getApiId() {
62+
return this.apiId;
63+
}
64+
65+
public AttachApiProductRequestApis setStageName(String stageName) {
66+
this.stageName = stageName;
67+
return this;
68+
}
69+
public String getStageName() {
70+
return this.stageName;
71+
}
72+
73+
}
74+
75+
}

0 commit comments

Comments
 (0)