Skip to content

Commit 77807c4

Browse files
committed
Change RefreshAssets Public.
1 parent de2e98a commit 77807c4

File tree

9 files changed

+347
-1
lines changed

9 files changed

+347
-1
lines changed

aliyun-java-sdk-sas/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2022-09-08 Version: 1.1.27
2+
- Change RefreshAssets Public.
3+
14
2022-09-08 Version: 1.1.26
25
- Change RefreshAssets Public.
36

aliyun-java-sdk-sas/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-sas</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.1.26</version>
7+
<version>1.1.27</version>
88
<name>aliyun-java-sdk-sas</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.sas.model.v20181203;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
import com.aliyuncs.http.MethodType;
20+
import com.aliyuncs.sas.Endpoint;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class BindAuthToMachineRequest extends RpcAcsRequest<BindAuthToMachineResponse> {
27+
28+
29+
private String criteria;
30+
31+
private Boolean bindAll;
32+
33+
private List<String> binds;
34+
35+
private Integer authVersion;
36+
37+
private String logicalExp;
38+
39+
private Integer autoBind;
40+
41+
private List<String> unBinds;
42+
public BindAuthToMachineRequest() {
43+
super("Sas", "2018-12-03", "BindAuthToMachine");
44+
setMethod(MethodType.POST);
45+
try {
46+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
47+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
48+
} catch (Exception e) {}
49+
}
50+
51+
public String getCriteria() {
52+
return this.criteria;
53+
}
54+
55+
public void setCriteria(String criteria) {
56+
this.criteria = criteria;
57+
if(criteria != null){
58+
putQueryParameter("Criteria", criteria);
59+
}
60+
}
61+
62+
public Boolean getBindAll() {
63+
return this.bindAll;
64+
}
65+
66+
public void setBindAll(Boolean bindAll) {
67+
this.bindAll = bindAll;
68+
if(bindAll != null){
69+
putQueryParameter("BindAll", bindAll.toString());
70+
}
71+
}
72+
73+
public List<String> getBinds() {
74+
return this.binds;
75+
}
76+
77+
public void setBinds(List<String> binds) {
78+
this.binds = binds;
79+
if (binds != null) {
80+
for (int i = 0; i < binds.size(); i++) {
81+
putQueryParameter("Bind." + (i + 1) , binds.get(i));
82+
}
83+
}
84+
}
85+
86+
public Integer getAuthVersion() {
87+
return this.authVersion;
88+
}
89+
90+
public void setAuthVersion(Integer authVersion) {
91+
this.authVersion = authVersion;
92+
if(authVersion != null){
93+
putQueryParameter("AuthVersion", authVersion.toString());
94+
}
95+
}
96+
97+
public String getLogicalExp() {
98+
return this.logicalExp;
99+
}
100+
101+
public void setLogicalExp(String logicalExp) {
102+
this.logicalExp = logicalExp;
103+
if(logicalExp != null){
104+
putQueryParameter("LogicalExp", logicalExp);
105+
}
106+
}
107+
108+
public Integer getAutoBind() {
109+
return this.autoBind;
110+
}
111+
112+
public void setAutoBind(Integer autoBind) {
113+
this.autoBind = autoBind;
114+
if(autoBind != null){
115+
putQueryParameter("AutoBind", autoBind.toString());
116+
}
117+
}
118+
119+
public List<String> getUnBinds() {
120+
return this.unBinds;
121+
}
122+
123+
public void setUnBinds(List<String> unBinds) {
124+
this.unBinds = unBinds;
125+
if (unBinds != null) {
126+
for (int i = 0; i < unBinds.size(); i++) {
127+
putQueryParameter("UnBind." + (i + 1) , unBinds.get(i));
128+
}
129+
}
130+
}
131+
132+
@Override
133+
public Class<BindAuthToMachineResponse> getResponseClass() {
134+
return BindAuthToMachineResponse.class;
135+
}
136+
137+
}
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.sas.model.v20181203;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.sas.transform.v20181203.BindAuthToMachineResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class BindAuthToMachineResponse extends AcsResponse {
26+
27+
private Integer resultCode;
28+
29+
private Integer insufficientCount;
30+
31+
private String requestId;
32+
33+
private Integer unBindCount;
34+
35+
private Integer bindCount;
36+
37+
private Integer insufficientEcsCount;
38+
39+
private Integer insufficientCoreCount;
40+
41+
public Integer getResultCode() {
42+
return this.resultCode;
43+
}
44+
45+
public void setResultCode(Integer resultCode) {
46+
this.resultCode = resultCode;
47+
}
48+
49+
public Integer getInsufficientCount() {
50+
return this.insufficientCount;
51+
}
52+
53+
public void setInsufficientCount(Integer insufficientCount) {
54+
this.insufficientCount = insufficientCount;
55+
}
56+
57+
public String getRequestId() {
58+
return this.requestId;
59+
}
60+
61+
public void setRequestId(String requestId) {
62+
this.requestId = requestId;
63+
}
64+
65+
public Integer getUnBindCount() {
66+
return this.unBindCount;
67+
}
68+
69+
public void setUnBindCount(Integer unBindCount) {
70+
this.unBindCount = unBindCount;
71+
}
72+
73+
public Integer getBindCount() {
74+
return this.bindCount;
75+
}
76+
77+
public void setBindCount(Integer bindCount) {
78+
this.bindCount = bindCount;
79+
}
80+
81+
public Integer getInsufficientEcsCount() {
82+
return this.insufficientEcsCount;
83+
}
84+
85+
public void setInsufficientEcsCount(Integer insufficientEcsCount) {
86+
this.insufficientEcsCount = insufficientEcsCount;
87+
}
88+
89+
public Integer getInsufficientCoreCount() {
90+
return this.insufficientCoreCount;
91+
}
92+
93+
public void setInsufficientCoreCount(Integer insufficientCoreCount) {
94+
this.insufficientCoreCount = insufficientCoreCount;
95+
}
96+
97+
@Override
98+
public BindAuthToMachineResponse getInstance(UnmarshallerContext context) {
99+
return BindAuthToMachineResponseUnmarshaller.unmarshall(this, context);
100+
}
101+
102+
@Override
103+
public boolean checkShowJsonItemName() {
104+
return false;
105+
}
106+
}

aliyun-java-sdk-sas/src/main/java/com/aliyuncs/sas/model/v20181203/DescribeAssetDetailByUuidsRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
public class DescribeAssetDetailByUuidsRequest extends RpcAcsRequest<DescribeAssetDetailByUuidsResponse> {
2626

2727

28+
private String lang;
29+
2830
private String uuids;
2931
public DescribeAssetDetailByUuidsRequest() {
3032
super("Sas", "2018-12-03", "DescribeAssetDetailByUuids");
@@ -35,6 +37,17 @@ public DescribeAssetDetailByUuidsRequest() {
3537
} catch (Exception e) {}
3638
}
3739

40+
public String getLang() {
41+
return this.lang;
42+
}
43+
44+
public void setLang(String lang) {
45+
this.lang = lang;
46+
if(lang != null){
47+
putQueryParameter("Lang", lang);
48+
}
49+
}
50+
3851
public String getUuids() {
3952
return this.uuids;
4053
}

aliyun-java-sdk-sas/src/main/java/com/aliyuncs/sas/model/v20181203/DescribeCloudCenterInstancesRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ public class DescribeCloudCenterInstancesRequest extends RpcAcsRequest<DescribeC
3333

3434
private String logicalExp;
3535

36+
private String lang;
37+
3638
private Integer currentPage;
3739

3840
private String machineTypes;
@@ -91,6 +93,17 @@ public void setLogicalExp(String logicalExp) {
9193
}
9294
}
9395

96+
public String getLang() {
97+
return this.lang;
98+
}
99+
100+
public void setLang(String lang) {
101+
this.lang = lang;
102+
if(lang != null){
103+
putQueryParameter("Lang", lang);
104+
}
105+
}
106+
94107
public Integer getCurrentPage() {
95108
return this.currentPage;
96109
}

aliyun-java-sdk-sas/src/main/java/com/aliyuncs/sas/model/v20181203/DescribeFrontVulPatchListRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ public class DescribeFrontVulPatchListRequest extends RpcAcsRequest<DescribeFron
2929

3030
private String operateType;
3131

32+
private String lang;
33+
3234
private String info;
3335
public DescribeFrontVulPatchListRequest() {
3436
super("Sas", "2018-12-03", "DescribeFrontVulPatchList");
@@ -61,6 +63,17 @@ public void setOperateType(String operateType) {
6163
}
6264
}
6365

66+
public String getLang() {
67+
return this.lang;
68+
}
69+
70+
public void setLang(String lang) {
71+
this.lang = lang;
72+
if(lang != null){
73+
putQueryParameter("Lang", lang);
74+
}
75+
}
76+
6477
public String getInfo() {
6578
return this.info;
6679
}

aliyun-java-sdk-sas/src/main/java/com/aliyuncs/sas/model/v20181203/DescribeInstanceAntiBruteForceRulesRequest.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,12 @@ public class DescribeInstanceAntiBruteForceRulesRequest extends RpcAcsRequest<De
2828

2929
private Long resourceOwnerId;
3030

31+
private Integer currentPage;
32+
3133
private String sourceIp;
3234

35+
private Integer pageSize;
36+
3337
private List<String> uuidLists;
3438
public DescribeInstanceAntiBruteForceRulesRequest() {
3539
super("Sas", "2018-12-03", "DescribeInstanceAntiBruteForceRules");
@@ -51,6 +55,17 @@ public void setResourceOwnerId(Long resourceOwnerId) {
5155
}
5256
}
5357

58+
public Integer getCurrentPage() {
59+
return this.currentPage;
60+
}
61+
62+
public void setCurrentPage(Integer currentPage) {
63+
this.currentPage = currentPage;
64+
if(currentPage != null){
65+
putQueryParameter("CurrentPage", currentPage.toString());
66+
}
67+
}
68+
5469
public String getSourceIp() {
5570
return this.sourceIp;
5671
}
@@ -62,6 +77,17 @@ public void setSourceIp(String sourceIp) {
6277
}
6378
}
6479

80+
public Integer getPageSize() {
81+
return this.pageSize;
82+
}
83+
84+
public void setPageSize(Integer pageSize) {
85+
this.pageSize = pageSize;
86+
if(pageSize != null){
87+
putQueryParameter("PageSize", pageSize.toString());
88+
}
89+
}
90+
6591
public List<String> getUuidLists() {
6692
return this.uuidLists;
6793
}

0 commit comments

Comments
 (0)