Skip to content

Commit

Permalink
Generated 2023-01-20 for csas.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jun 11, 2024
1 parent c866c7b commit 3870cca
Show file tree
Hide file tree
Showing 8 changed files with 465 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-csas/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-csas/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-csas</artifactId>
<packaging>jar</packaging>
<version>1.0.7</version>
<version>1.0.8</version>
<name>aliyun-java-sdk-csas</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
@@ -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<DeleteUserDevicesResponse> {


private List<String> deviceTags;
public DeleteUserDevicesRequest() {
super("csas", "2023-01-20", "DeleteUserDevices");
setMethod(MethodType.POST);
}

public List<String> getDeviceTags() {
return this.deviceTags;
}

public void setDeviceTags(List<String> 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<DeleteUserDevicesResponse> getResponseClass() {
return DeleteUserDevicesResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -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;
}
}
Original file line number Diff line number Diff line change
@@ -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<ExportUserDevicesResponse> {


private String mac;

private List<String> deviceTypes;

private String hostname;

private List<String> appStatuses;

private List<String> dlpStatuses;

private String saseUserId;

private List<String> nacStatuses;

private String department;

private List<String> iaStatuses;

private String deviceBelong;

private Boolean sharingStatus;

private List<String> deviceTags;

private List<String> deviceStatuses;

private List<String> 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<String> getDeviceTypes() {
return this.deviceTypes;
}

public void setDeviceTypes(List<String> 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<String> getAppStatuses() {
return this.appStatuses;
}

public void setAppStatuses(List<String> appStatuses) {
this.appStatuses = appStatuses;
if (appStatuses != null) {
for (int depth1 = 0; depth1 < appStatuses.size(); depth1++) {
putBodyParameter("AppStatuses." + (depth1 + 1) , appStatuses.get(depth1));
}
}
}

public List<String> getDlpStatuses() {
return this.dlpStatuses;
}

public void setDlpStatuses(List<String> 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<String> getNacStatuses() {
return this.nacStatuses;
}

public void setNacStatuses(List<String> 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<String> getIaStatuses() {
return this.iaStatuses;
}

public void setIaStatuses(List<String> 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<String> getDeviceTags() {
return this.deviceTags;
}

public void setDeviceTags(List<String> deviceTags) {
this.deviceTags = deviceTags;
if (deviceTags != null) {
for (int depth1 = 0; depth1 < deviceTags.size(); depth1++) {
putBodyParameter("DeviceTags." + (depth1 + 1) , deviceTags.get(depth1));
}
}
}

public List<String> getDeviceStatuses() {
return this.deviceStatuses;
}

public void setDeviceStatuses(List<String> deviceStatuses) {
this.deviceStatuses = deviceStatuses;
if (deviceStatuses != null) {
for (int depth1 = 0; depth1 < deviceStatuses.size(); depth1++) {
putBodyParameter("DeviceStatuses." + (depth1 + 1) , deviceStatuses.get(depth1));
}
}
}

public List<String> getPaStatuses() {
return this.paStatuses;
}

public void setPaStatuses(List<String> 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<ExportUserDevicesResponse> getResponseClass() {
return ExportUserDevicesResponse.class;
}

}
Loading

0 comments on commit 3870cca

Please sign in to comment.