diff --git a/aliyun-java-sdk-csas/ChangeLog.txt b/aliyun-java-sdk-csas/ChangeLog.txt index 9c6d5cb822..713b655ad7 100644 --- a/aliyun-java-sdk-csas/ChangeLog.txt +++ b/aliyun-java-sdk-csas/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-06-11 Version: 1.0.8 +- Generated 2023-01-20 for `csas`. + 2024-06-06 Version: 1.0.7 - Generated 2023-01-20 for `csas`. diff --git a/aliyun-java-sdk-csas/pom.xml b/aliyun-java-sdk-csas/pom.xml index 71c0c0da72..b38b43ef93 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.7 + 1.0.8 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/DeleteUserDevicesRequest.java b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/DeleteUserDevicesRequest.java new file mode 100644 index 0000000000..9d11fea234 --- /dev/null +++ b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/DeleteUserDevicesRequest.java @@ -0,0 +1,52 @@ +/* + * 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 DeleteUserDevicesRequest extends RpcAcsRequest { + + + private List deviceTags; + public DeleteUserDevicesRequest() { + super("csas", "2023-01-20", "DeleteUserDevices"); + setMethod(MethodType.POST); + } + + public List getDeviceTags() { + return this.deviceTags; + } + + public void setDeviceTags(List deviceTags) { + this.deviceTags = deviceTags; + if (deviceTags != null) { + for (int depth1 = 0; depth1 < deviceTags.size(); depth1++) { + putBodyParameter("DeviceTags." + (depth1 + 1) , deviceTags.get(depth1)); + } + } + } + + @Override + public Class getResponseClass() { + return DeleteUserDevicesResponse.class; + } + +} diff --git a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/DeleteUserDevicesResponse.java b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/DeleteUserDevicesResponse.java new file mode 100644 index 0000000000..a4e12de58b --- /dev/null +++ b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/DeleteUserDevicesResponse.java @@ -0,0 +1,46 @@ +/* + * 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.AcsResponse; +import com.aliyuncs.csas.transform.v20230120.DeleteUserDevicesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteUserDevicesResponse extends AcsResponse { + + private String requestId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + @Override + public DeleteUserDevicesResponse getInstance(UnmarshallerContext context) { + return DeleteUserDevicesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ExportUserDevicesRequest.java b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ExportUserDevicesRequest.java new file mode 100644 index 0000000000..4a89af81f6 --- /dev/null +++ b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ExportUserDevicesRequest.java @@ -0,0 +1,248 @@ +/* + * 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 ExportUserDevicesRequest extends RpcAcsRequest { + + + private String mac; + + private List deviceTypes; + + private String hostname; + + private List appStatuses; + + private List dlpStatuses; + + private String saseUserId; + + private List nacStatuses; + + private String department; + + private List iaStatuses; + + private String deviceBelong; + + private Boolean sharingStatus; + + private List deviceTags; + + private List deviceStatuses; + + private List paStatuses; + + private String username; + public ExportUserDevicesRequest() { + super("csas", "2023-01-20", "ExportUserDevices"); + setMethod(MethodType.POST); + } + + public String getMac() { + return this.mac; + } + + public void setMac(String mac) { + this.mac = mac; + if(mac != null){ + putBodyParameter("Mac", mac); + } + } + + public List getDeviceTypes() { + return this.deviceTypes; + } + + public void setDeviceTypes(List deviceTypes) { + this.deviceTypes = deviceTypes; + if (deviceTypes != null) { + for (int depth1 = 0; depth1 < deviceTypes.size(); depth1++) { + putBodyParameter("DeviceTypes." + (depth1 + 1) , deviceTypes.get(depth1)); + } + } + } + + public String getHostname() { + return this.hostname; + } + + public void setHostname(String hostname) { + this.hostname = hostname; + if(hostname != null){ + putBodyParameter("Hostname", hostname); + } + } + + public List getAppStatuses() { + return this.appStatuses; + } + + public void setAppStatuses(List appStatuses) { + this.appStatuses = appStatuses; + if (appStatuses != null) { + for (int depth1 = 0; depth1 < appStatuses.size(); depth1++) { + putBodyParameter("AppStatuses." + (depth1 + 1) , appStatuses.get(depth1)); + } + } + } + + public List getDlpStatuses() { + return this.dlpStatuses; + } + + public void setDlpStatuses(List dlpStatuses) { + this.dlpStatuses = dlpStatuses; + if (dlpStatuses != null) { + for (int depth1 = 0; depth1 < dlpStatuses.size(); depth1++) { + putBodyParameter("DlpStatuses." + (depth1 + 1) , dlpStatuses.get(depth1)); + } + } + } + + public String getSaseUserId() { + return this.saseUserId; + } + + public void setSaseUserId(String saseUserId) { + this.saseUserId = saseUserId; + if(saseUserId != null){ + putBodyParameter("SaseUserId", saseUserId); + } + } + + public List getNacStatuses() { + return this.nacStatuses; + } + + public void setNacStatuses(List nacStatuses) { + this.nacStatuses = nacStatuses; + if (nacStatuses != null) { + for (int depth1 = 0; depth1 < nacStatuses.size(); depth1++) { + putBodyParameter("NacStatuses." + (depth1 + 1) , nacStatuses.get(depth1)); + } + } + } + + public String getDepartment() { + return this.department; + } + + public void setDepartment(String department) { + this.department = department; + if(department != null){ + putBodyParameter("Department", department); + } + } + + public List getIaStatuses() { + return this.iaStatuses; + } + + public void setIaStatuses(List iaStatuses) { + this.iaStatuses = iaStatuses; + if (iaStatuses != null) { + for (int depth1 = 0; depth1 < iaStatuses.size(); depth1++) { + putBodyParameter("IaStatuses." + (depth1 + 1) , iaStatuses.get(depth1)); + } + } + } + + public String getDeviceBelong() { + return this.deviceBelong; + } + + public void setDeviceBelong(String deviceBelong) { + this.deviceBelong = deviceBelong; + if(deviceBelong != null){ + putBodyParameter("DeviceBelong", deviceBelong); + } + } + + public Boolean getSharingStatus() { + return this.sharingStatus; + } + + public void setSharingStatus(Boolean sharingStatus) { + this.sharingStatus = sharingStatus; + if(sharingStatus != null){ + putBodyParameter("SharingStatus", sharingStatus.toString()); + } + } + + public List getDeviceTags() { + return this.deviceTags; + } + + public void setDeviceTags(List deviceTags) { + this.deviceTags = deviceTags; + if (deviceTags != null) { + for (int depth1 = 0; depth1 < deviceTags.size(); depth1++) { + putBodyParameter("DeviceTags." + (depth1 + 1) , deviceTags.get(depth1)); + } + } + } + + public List getDeviceStatuses() { + return this.deviceStatuses; + } + + public void setDeviceStatuses(List deviceStatuses) { + this.deviceStatuses = deviceStatuses; + if (deviceStatuses != null) { + for (int depth1 = 0; depth1 < deviceStatuses.size(); depth1++) { + putBodyParameter("DeviceStatuses." + (depth1 + 1) , deviceStatuses.get(depth1)); + } + } + } + + public List getPaStatuses() { + return this.paStatuses; + } + + public void setPaStatuses(List paStatuses) { + this.paStatuses = paStatuses; + if (paStatuses != null) { + for (int depth1 = 0; depth1 < paStatuses.size(); depth1++) { + putBodyParameter("PaStatuses." + (depth1 + 1) , paStatuses.get(depth1)); + } + } + } + + public String getUsername() { + return this.username; + } + + public void setUsername(String username) { + this.username = username; + if(username != null){ + putBodyParameter("Username", username); + } + } + + @Override + public Class getResponseClass() { + return ExportUserDevicesResponse.class; + } + +} diff --git a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ExportUserDevicesResponse.java b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ExportUserDevicesResponse.java new file mode 100644 index 0000000000..90da809fc2 --- /dev/null +++ b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/model/v20230120/ExportUserDevicesResponse.java @@ -0,0 +1,56 @@ +/* + * 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.AcsResponse; +import com.aliyuncs.csas.transform.v20230120.ExportUserDevicesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ExportUserDevicesResponse extends AcsResponse { + + private String requestId; + + private String signedUrl; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getSignedUrl() { + return this.signedUrl; + } + + public void setSignedUrl(String signedUrl) { + this.signedUrl = signedUrl; + } + + @Override + public ExportUserDevicesResponse getInstance(UnmarshallerContext context) { + return ExportUserDevicesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/transform/v20230120/DeleteUserDevicesResponseUnmarshaller.java b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/transform/v20230120/DeleteUserDevicesResponseUnmarshaller.java new file mode 100644 index 0000000000..6abbc9dd40 --- /dev/null +++ b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/transform/v20230120/DeleteUserDevicesResponseUnmarshaller.java @@ -0,0 +1,29 @@ +/* + * 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.transform.v20230120; + +import com.aliyuncs.csas.model.v20230120.DeleteUserDevicesResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteUserDevicesResponseUnmarshaller { + + public static DeleteUserDevicesResponse unmarshall(DeleteUserDevicesResponse deleteUserDevicesResponse, UnmarshallerContext _ctx) { + + deleteUserDevicesResponse.setRequestId(_ctx.stringValue("DeleteUserDevicesResponse.RequestId")); + + return deleteUserDevicesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/transform/v20230120/ExportUserDevicesResponseUnmarshaller.java b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/transform/v20230120/ExportUserDevicesResponseUnmarshaller.java new file mode 100644 index 0000000000..67ac285e34 --- /dev/null +++ b/aliyun-java-sdk-csas/src/main/java/com/aliyuncs/csas/transform/v20230120/ExportUserDevicesResponseUnmarshaller.java @@ -0,0 +1,30 @@ +/* + * 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.transform.v20230120; + +import com.aliyuncs.csas.model.v20230120.ExportUserDevicesResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ExportUserDevicesResponseUnmarshaller { + + public static ExportUserDevicesResponse unmarshall(ExportUserDevicesResponse exportUserDevicesResponse, UnmarshallerContext _ctx) { + + exportUserDevicesResponse.setRequestId(_ctx.stringValue("ExportUserDevicesResponse.RequestId")); + exportUserDevicesResponse.setSignedUrl(_ctx.stringValue("ExportUserDevicesResponse.SignedUrl")); + + return exportUserDevicesResponse; + } +} \ No newline at end of file