Skip to content

Commit 0ae5d90

Browse files
committed
Add ListAppInstances Open API.
1 parent a2ba550 commit 0ae5d90

File tree

5 files changed

+310
-2
lines changed

5 files changed

+310
-2
lines changed

appstream-center-20210901/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2023-04-03 Version: 1.0.6
2+
- Add ListAppInstances Open API.
3+
14
2023-03-22 Version: 1.0.5
25
- Add ListAppInstances Open API.
36

appstream-center-20210901/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0modelVersion>
44
<groupId>com.aliyungroupId>
55
<artifactId>alibabacloud-appstream_center20210901artifactId>
6-
<version>1.0.5version>
6+
<version>1.0.6version>
77
<packaging>jarpackaging>
88
<name>alibabacloud-appstream_center20210901name>
99
<description>Alibaba Cloud appstream-center (20210901) Async SDK for Java
@@ -41,7 +41,7 @@
4141
<java.version>1.8java.version>
4242
<maven.compiler.source>8maven.compiler.source>
4343
<maven.compiler.target>8maven.compiler.target>
44-
<service.version>0.1.12-betaservice.version>
44+
<service.version>0.1.13-betaservice.version>
4545
properties>
4646
<dependencies>
4747
<dependency>

appstream-center-20210901/src/main/java/com/aliyun/sdk/service/appstream_center20210901/models/GetAppInstanceGroupResponseBody.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,9 @@ public static class AppInstanceGroupModels extends TeaModel {
775775
@NameInMap("AppInstanceType")
776776
private String appInstanceType;
777777

778+
@NameInMap("AppPolicyId")
779+
private String appPolicyId;
780+
778781
@NameInMap("Apps")
779782
private java.util.List < Apps> apps;
780783

@@ -821,6 +824,7 @@ private AppInstanceGroupModels(Builder builder) {
821824
this.appInstanceGroupId = builder.appInstanceGroupId;
822825
this.appInstanceGroupName = builder.appInstanceGroupName;
823826
this.appInstanceType = builder.appInstanceType;
827+
this.appPolicyId = builder.appPolicyId;
824828
this.apps = builder.apps;
825829
this.chargeType = builder.chargeType;
826830
this.expiredTime = builder.expiredTime;
@@ -886,6 +890,13 @@ public String getAppInstanceType() {
886890
return this.appInstanceType;
887891
}
888892

893+
/**
894+
* @return appPolicyId
895+
*/
896+
public String getAppPolicyId() {
897+
return this.appPolicyId;
898+
}
899+
889900
/**
890901
* @return apps
891902
*/
@@ -984,6 +995,7 @@ public static final class Builder {
984995
private String appInstanceGroupId;
985996
private String appInstanceGroupName;
986997
private String appInstanceType;
998+
private String appPolicyId;
987999
private java.util.List < Apps> apps;
9881000
private String chargeType;
9891001
private String expiredTime;
@@ -1046,6 +1058,14 @@ public Builder appInstanceType(String appInstanceType) {
10461058
return this;
10471059
}
10481060

1061+
/**
1062+
* AppPolicyId.
1063+
*/
1064+
public Builder appPolicyId(String appPolicyId) {
1065+
this.appPolicyId = appPolicyId;
1066+
return this;
1067+
}
1068+
10491069
/**
10501070
* Apps.
10511071
*/

appstream-center-20210901/src/main/java/com/aliyun/sdk/service/appstream_center20210901/models/ListNodeInstanceTypeRequest.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ public class ListNodeInstanceTypeRequest extends Request {
2020
@NameInMap("Language")
2121
private String language;
2222

23+
@Query
24+
@NameInMap("NodeInstanceType")
25+
private String nodeInstanceType;
26+
2327
@Query
2428
@NameInMap("OsType")
2529
private String osType;
@@ -43,6 +47,7 @@ private ListNodeInstanceTypeRequest(Builder builder) {
4347
super(builder);
4448
this.bizRegionId = builder.bizRegionId;
4549
this.language = builder.language;
50+
this.nodeInstanceType = builder.nodeInstanceType;
4651
this.osType = builder.osType;
4752
this.pageNumber = builder.pageNumber;
4853
this.pageSize = builder.pageSize;
@@ -76,6 +81,13 @@ public String getLanguage() {
7681
return this.language;
7782
}
7883

84+
/**
85+
* @return nodeInstanceType
86+
*/
87+
public String getNodeInstanceType() {
88+
return this.nodeInstanceType;
89+
}
90+
7991
/**
8092
* @return osType
8193
*/
@@ -107,6 +119,7 @@ public String getProductType() {
107119
public static final class Builder extends Request.Builder<ListNodeInstanceTypeRequest, Builder> {
108120
private String bizRegionId;
109121
private String language;
122+
private String nodeInstanceType;
110123
private String osType;
111124
private Integer pageNumber;
112125
private Integer pageSize;
@@ -120,6 +133,7 @@ private Builder(ListNodeInstanceTypeRequest request) {
120133
super(request);
121134
this.bizRegionId = request.bizRegionId;
122135
this.language = request.language;
136+
this.nodeInstanceType = request.nodeInstanceType;
123137
this.osType = request.osType;
124138
this.pageNumber = request.pageNumber;
125139
this.pageSize = request.pageSize;
@@ -144,6 +158,15 @@ public Builder language(String language) {
144158
return this;
145159
}
146160

161+
/**
162+
* NodeInstanceType.
163+
*/
164+
public Builder nodeInstanceType(String nodeInstanceType) {
165+
this.putQueryParameter("NodeInstanceType", nodeInstanceType);
166+
this.nodeInstanceType = nodeInstanceType;
167+
return this;
168+
}
169+
147170
/**
148171
* OsType.
149172
*/

0 commit comments

Comments
 (0)