diff --git a/aliyun-java-sdk-csas/ChangeLog.txt b/aliyun-java-sdk-csas/ChangeLog.txt
index 6fac2d4f97..7816e06f66 100644
--- a/aliyun-java-sdk-csas/ChangeLog.txt
+++ b/aliyun-java-sdk-csas/ChangeLog.txt
@@ -1,3 +1,6 @@
+2024-04-15 Version: 1.0.5
+- Generated 2023-01-20 for `csas`.
+
2023-11-16 Version: 1.0.4
- Supported SortBy for ListUserDevices.
diff --git a/aliyun-java-sdk-csas/pom.xml b/aliyun-java-sdk-csas/pom.xml
index 4857f38bdf..5de6e1f99c 100644
--- a/aliyun-java-sdk-csas/pom.xml
+++ b/aliyun-java-sdk-csas/pom.xml
@@ -4,7 +4,7 @@
com.aliyun
aliyun-java-sdk-csas
jar
- 1.0.4
+ 1.0.5
aliyun-java-sdk-csas
http://www.aliyun.com
Aliyun Open API SDK for Java
diff --git a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/CreatePrivateAccessPolicyRequest.java b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/CreatePrivateAccessPolicyRequest.java
index 714672824c..dacbb99743 100644
--- a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/CreatePrivateAccessPolicyRequest.java
+++ b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/CreatePrivateAccessPolicyRequest.java
@@ -31,6 +31,8 @@ public class CreatePrivateAccessPolicyRequest extends RpcAcsRequest tagIds;
+ private String deviceAttributeId;
+
private List userGroupIds;
private String policyAction;
@@ -94,6 +96,17 @@ public void setTagIds(List tagIds) {
}
}
+ public String getDeviceAttributeId() {
+ return this.deviceAttributeId;
+ }
+
+ public void setDeviceAttributeId(String deviceAttributeId) {
+ this.deviceAttributeId = deviceAttributeId;
+ if(deviceAttributeId != null){
+ putBodyParameter("DeviceAttributeId", deviceAttributeId);
+ }
+ }
+
public List getUserGroupIds() {
return this.userGroupIds;
}
diff --git a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/GetPrivateAccessPolicyResponse.java b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/GetPrivateAccessPolicyResponse.java
index aeb8ef73cc..e47170917a 100644
--- a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/GetPrivateAccessPolicyResponse.java
+++ b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/GetPrivateAccessPolicyResponse.java
@@ -65,6 +65,8 @@ public static class Policy {
private String applicationType;
+ private String deviceAttributeId;
+
private List customUserAttributes;
private List userGroupIds;
@@ -145,6 +147,14 @@ public void setApplicationType(String applicationType) {
this.applicationType = applicationType;
}
+ public String getDeviceAttributeId() {
+ return this.deviceAttributeId;
+ }
+
+ public void setDeviceAttributeId(String deviceAttributeId) {
+ this.deviceAttributeId = deviceAttributeId;
+ }
+
public List getCustomUserAttributes() {
return this.customUserAttributes;
}
diff --git a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPopTrafficStatisticsRequest.java b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPopTrafficStatisticsRequest.java
new file mode 100644
index 0000000000..e9f0252642
--- /dev/null
+++ b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPopTrafficStatisticsRequest.java
@@ -0,0 +1,77 @@
+/*
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * 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 com.aliyuncs.csas.model.v20230120;
+
+import com.aliyuncs.RpcAcsRequest;
+import com.aliyuncs.http.ProtocolType;
+import com.aliyuncs.http.MethodType;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListPopTrafficStatisticsRequest extends RpcAcsRequest {
+
+
+ private String endTime;
+
+ private String startTime;
+
+ private String region;
+ public ListPopTrafficStatisticsRequest() {
+ super("csas", "2023-01-20", "ListPopTrafficStatistics");
+ setProtocol(ProtocolType.HTTPS);
+ setMethod(MethodType.GET);
+ }
+
+ public String getEndTime() {
+ return this.endTime;
+ }
+
+ public void setEndTime(String endTime) {
+ this.endTime = endTime;
+ if(endTime != null){
+ putQueryParameter("EndTime", endTime);
+ }
+ }
+
+ public String getStartTime() {
+ return this.startTime;
+ }
+
+ public void setStartTime(String startTime) {
+ this.startTime = startTime;
+ if(startTime != null){
+ putQueryParameter("StartTime", startTime);
+ }
+ }
+
+ public String getRegion() {
+ return this.region;
+ }
+
+ public void setRegion(String region) {
+ this.region = region;
+ if(region != null){
+ putQueryParameter("Region", region);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ListPopTrafficStatisticsResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPopTrafficStatisticsResponse.java b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPopTrafficStatisticsResponse.java
new file mode 100644
index 0000000000..e7752859fc
--- /dev/null
+++ b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPopTrafficStatisticsResponse.java
@@ -0,0 +1,103 @@
+/*
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * 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 com.aliyuncs.csas.model.v20230120;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.csas.transform.v20230120.ListPopTrafficStatisticsResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListPopTrafficStatisticsResponse extends AcsResponse {
+
+ private String requestId;
+
+ private List trafficData;
+
+ public String getRequestId() {
+ return this.requestId;
+ }
+
+ public void setRequestId(String requestId) {
+ this.requestId = requestId;
+ }
+
+ public List getTrafficData() {
+ return this.trafficData;
+ }
+
+ public void setTrafficData(List trafficData) {
+ this.trafficData = trafficData;
+ }
+
+ public static class Data {
+
+ private String metricName;
+
+ private List datapoints;
+
+ public String getMetricName() {
+ return this.metricName;
+ }
+
+ public void setMetricName(String metricName) {
+ this.metricName = metricName;
+ }
+
+ public List getDatapoints() {
+ return this.datapoints;
+ }
+
+ public void setDatapoints(List datapoints) {
+ this.datapoints = datapoints;
+ }
+
+ public static class Point {
+
+ private String dateTime;
+
+ private Double average;
+
+ public String getDateTime() {
+ return this.dateTime;
+ }
+
+ public void setDateTime(String dateTime) {
+ this.dateTime = dateTime;
+ }
+
+ public Double getAverage() {
+ return this.average;
+ }
+
+ public void setAverage(Double average) {
+ this.average = average;
+ }
+ }
+ }
+
+ @Override
+ public ListPopTrafficStatisticsResponse getInstance(UnmarshallerContext context) {
+ return ListPopTrafficStatisticsResponseUnmarshaller.unmarshall(this, context);
+ }
+
+ @Override
+ public boolean checkShowJsonItemName() {
+ return false;
+ }
+}
diff --git a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPrivateAccessPolicesRequest.java b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPrivateAccessPolicesRequest.java
index ddd0c2e66e..ecc8abf6fc 100644
--- a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPrivateAccessPolicesRequest.java
+++ b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPrivateAccessPolicesRequest.java
@@ -27,6 +27,8 @@ public class ListPrivateAccessPolicesRequest extends RpcAcsRequest policyIds;
+ private String tagName;
+
private Integer pageSize;
private String applicationId;
@@ -39,6 +41,8 @@ public class ListPrivateAccessPolicesRequest extends RpcAcsRequest policyIds) {
}
}
+ public String getTagName() {
+ return this.tagName;
+ }
+
+ public void setTagName(String tagName) {
+ this.tagName = tagName;
+ if(tagName != null){
+ putQueryParameter("TagName", tagName);
+ }
+ }
+
public Integer getPageSize() {
return this.pageSize;
}
@@ -126,6 +141,17 @@ public void setPolicyAction(String policyAction) {
}
}
+ public String getApplicationName() {
+ return this.applicationName;
+ }
+
+ public void setApplicationName(String applicationName) {
+ this.applicationName = applicationName;
+ if(applicationName != null){
+ putQueryParameter("ApplicationName", applicationName);
+ }
+ }
+
public String getName() {
return this.name;
}
diff --git a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPrivateAccessPolicesResponse.java b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPrivateAccessPolicesResponse.java
index 992e6d6678..70826e528b 100644
--- a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPrivateAccessPolicesResponse.java
+++ b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListPrivateAccessPolicesResponse.java
@@ -75,6 +75,8 @@ public static class Policy {
private String applicationType;
+ private String deviceAttributeId;
+
private List customUserAttributes;
private List userGroupIds;
@@ -155,6 +157,14 @@ public void setApplicationType(String applicationType) {
this.applicationType = applicationType;
}
+ public String getDeviceAttributeId() {
+ return this.deviceAttributeId;
+ }
+
+ public void setDeviceAttributeId(String deviceAttributeId) {
+ this.deviceAttributeId = deviceAttributeId;
+ }
+
public List getCustomUserAttributes() {
return this.customUserAttributes;
}
diff --git a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListUsersRequest.java b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListUsersRequest.java
new file mode 100644
index 0000000000..29f33b0b3c
--- /dev/null
+++ b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListUsersRequest.java
@@ -0,0 +1,130 @@
+/*
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * 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 com.aliyuncs.csas.model.v20230120;
+
+import com.aliyuncs.RpcAcsRequest;
+import java.util.List;
+import com.aliyuncs.http.MethodType;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListUsersRequest extends RpcAcsRequest {
+
+
+ private String fuzzyUsername;
+
+ private Long pageSize;
+
+ private String department;
+
+ private Long currentPage;
+
+ private String preciseUsername;
+
+ private List saseUserIds;
+
+ private String status;
+ public ListUsersRequest() {
+ super("csas", "2023-01-20", "ListUsers");
+ setMethod(MethodType.GET);
+ }
+
+ public String getFuzzyUsername() {
+ return this.fuzzyUsername;
+ }
+
+ public void setFuzzyUsername(String fuzzyUsername) {
+ this.fuzzyUsername = fuzzyUsername;
+ if(fuzzyUsername != null){
+ putQueryParameter("FuzzyUsername", fuzzyUsername);
+ }
+ }
+
+ public Long getPageSize() {
+ return this.pageSize;
+ }
+
+ public void setPageSize(Long pageSize) {
+ this.pageSize = pageSize;
+ if(pageSize != null){
+ putQueryParameter("PageSize", pageSize.toString());
+ }
+ }
+
+ public String getDepartment() {
+ return this.department;
+ }
+
+ public void setDepartment(String department) {
+ this.department = department;
+ if(department != null){
+ putQueryParameter("Department", department);
+ }
+ }
+
+ public Long getCurrentPage() {
+ return this.currentPage;
+ }
+
+ public void setCurrentPage(Long currentPage) {
+ this.currentPage = currentPage;
+ if(currentPage != null){
+ putQueryParameter("CurrentPage", currentPage.toString());
+ }
+ }
+
+ public String getPreciseUsername() {
+ return this.preciseUsername;
+ }
+
+ public void setPreciseUsername(String preciseUsername) {
+ this.preciseUsername = preciseUsername;
+ if(preciseUsername != null){
+ putQueryParameter("PreciseUsername", preciseUsername);
+ }
+ }
+
+ public List getSaseUserIds() {
+ return this.saseUserIds;
+ }
+
+ public void setSaseUserIds(List saseUserIds) {
+ this.saseUserIds = saseUserIds;
+ if (saseUserIds != null) {
+ for (int depth1 = 0; depth1 < saseUserIds.size(); depth1++) {
+ putQueryParameter("SaseUserIds." + (depth1 + 1) , saseUserIds.get(depth1));
+ }
+ }
+ }
+
+ public String getStatus() {
+ return this.status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ if(status != null){
+ putQueryParameter("Status", status);
+ }
+ }
+
+ @Override
+ public Class getResponseClass() {
+ return ListUsersResponse.class;
+ }
+
+}
diff --git a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListUsersResponse.java b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListUsersResponse.java
new file mode 100644
index 0000000000..4474aa0a58
--- /dev/null
+++ b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ListUsersResponse.java
@@ -0,0 +1,140 @@
+/*
+ * 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
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * 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 com.aliyuncs.csas.model.v20230120;
+
+import java.util.List;
+import com.aliyuncs.AcsResponse;
+import com.aliyuncs.csas.transform.v20230120.ListUsersResponseUnmarshaller;
+import com.aliyuncs.transform.UnmarshallerContext;
+
+/**
+ * @author auto create
+ * @version
+ */
+public class ListUsersResponse extends AcsResponse {
+
+ private String requestId;
+
+ private String totalNum;
+
+ private List