Skip to content

Commit 857ed9d

Browse files
committed
Generated 2023-01-20 for csas.
1 parent fd9a0fa commit 857ed9d

File tree

70 files changed

+6346
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+6346
-5
lines changed

aliyun-java-sdk-csas/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-01-14 Version: 1.0.12
2+
- Generated 2023-01-20 for `csas`.
3+
14
2024-10-30 Version: 1.0.11
25
- Generated 2023-01-20 for `csas`.
36

aliyun-java-sdk-csas/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-csas</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.11</version>
7+
<version>1.0.12</version>
88
<name>aliyun-java-sdk-csas</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
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.csas.model.v20230120;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class AttachPolicy2ApprovalProcessRequest extends RpcAcsRequest<AttachPolicy2ApprovalProcessResponse> {
25+
26+
27+
private String policyType;
28+
29+
private String policyId;
30+
31+
private String processId;
32+
public AttachPolicy2ApprovalProcessRequest() {
33+
super("csas", "2023-01-20", "AttachPolicy2ApprovalProcess");
34+
setMethod(MethodType.POST);
35+
}
36+
37+
public String getPolicyType() {
38+
return this.policyType;
39+
}
40+
41+
public void setPolicyType(String policyType) {
42+
this.policyType = policyType;
43+
if(policyType != null){
44+
putBodyParameter("PolicyType", policyType);
45+
}
46+
}
47+
48+
public String getPolicyId() {
49+
return this.policyId;
50+
}
51+
52+
public void setPolicyId(String policyId) {
53+
this.policyId = policyId;
54+
if(policyId != null){
55+
putBodyParameter("PolicyId", policyId);
56+
}
57+
}
58+
59+
public String getProcessId() {
60+
return this.processId;
61+
}
62+
63+
public void setProcessId(String processId) {
64+
this.processId = processId;
65+
if(processId != null){
66+
putBodyParameter("ProcessId", processId);
67+
}
68+
}
69+
70+
@Override
71+
public Class<AttachPolicy2ApprovalProcessResponse> getResponseClass() {
72+
return AttachPolicy2ApprovalProcessResponse.class;
73+
}
74+
75+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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.csas.model.v20230120;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.csas.transform.v20230120.AttachPolicy2ApprovalProcessResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class AttachPolicy2ApprovalProcessResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
public String getRequestId() {
30+
return this.requestId;
31+
}
32+
33+
public void setRequestId(String requestId) {
34+
this.requestId = requestId;
35+
}
36+
37+
@Override
38+
public AttachPolicy2ApprovalProcessResponse getInstance(UnmarshallerContext context) {
39+
return AttachPolicy2ApprovalProcessResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
42+
@Override
43+
public boolean checkShowJsonItemName() {
44+
return false;
45+
}
46+
}
Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
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.csas.model.v20230120;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
import com.google.gson.Gson;
20+
import com.google.gson.annotations.SerializedName;
21+
import com.aliyuncs.http.MethodType;
22+
23+
/**
24+
* @author auto create
25+
* @version
26+
*/
27+
public class CreateApprovalProcessRequest extends RpcAcsRequest<CreateApprovalProcessResponse> {
28+
29+
30+
private List<List<String>> processNodes;
31+
32+
@SerializedName("matchSchemas")
33+
private MatchSchemas matchSchemas;
34+
35+
private String processName;
36+
37+
private String description;
38+
public CreateApprovalProcessRequest() {
39+
super("csas", "2023-01-20", "CreateApprovalProcess");
40+
setMethod(MethodType.POST);
41+
}
42+
43+
public List<List<String>> getProcessNodes() {
44+
return this.processNodes;
45+
}
46+
47+
public void setProcessNodes(List<List<String>> processNodes) {
48+
this.processNodes = processNodes;
49+
if (processNodes != null) {
50+
for (int depth1 = 0; depth1 < processNodes.size(); depth1++) {
51+
if (processNodes.get(depth1) != null) {
52+
for (int depth2 = 0; depth2 < processNodes.get(depth1).size(); depth2++) {
53+
putBodyParameter("ProcessNodes." + (depth1 + 1) + "." + (depth2 + 1) , processNodes.get(depth1).get(depth2));
54+
}
55+
}
56+
}
57+
}
58+
}
59+
60+
public MatchSchemas getMatchSchemas() {
61+
return this.matchSchemas;
62+
}
63+
64+
public void setMatchSchemas(MatchSchemas matchSchemas) {
65+
this.matchSchemas = matchSchemas;
66+
if (matchSchemas != null) {
67+
putBodyParameter("MatchSchemas" , new Gson().toJson(matchSchemas));
68+
}
69+
}
70+
71+
public String getProcessName() {
72+
return this.processName;
73+
}
74+
75+
public void setProcessName(String processName) {
76+
this.processName = processName;
77+
if(processName != null){
78+
putBodyParameter("ProcessName", processName);
79+
}
80+
}
81+
82+
public String getDescription() {
83+
return this.description;
84+
}
85+
86+
public void setDescription(String description) {
87+
this.description = description;
88+
if(description != null){
89+
putBodyParameter("Description", description);
90+
}
91+
}
92+
93+
public static class MatchSchemas {
94+
95+
@SerializedName("DomainBlacklistSchemaId")
96+
private String domainBlacklistSchemaId;
97+
98+
@SerializedName("SoftwareBlockSchemaId")
99+
private String softwareBlockSchemaId;
100+
101+
@SerializedName("PeripheralBlockSchemaId")
102+
private String peripheralBlockSchemaId;
103+
104+
@SerializedName("DeviceRegistrationSchemaId")
105+
private String deviceRegistrationSchemaId;
106+
107+
@SerializedName("DlpSendSchemaId")
108+
private String dlpSendSchemaId;
109+
110+
@SerializedName("DomainWhitelistSchemaId")
111+
private String domainWhitelistSchemaId;
112+
113+
@SerializedName("AppUninstallSchemaId")
114+
private String appUninstallSchemaId;
115+
116+
public String getDomainBlacklistSchemaId() {
117+
return this.domainBlacklistSchemaId;
118+
}
119+
120+
public void setDomainBlacklistSchemaId(String domainBlacklistSchemaId) {
121+
this.domainBlacklistSchemaId = domainBlacklistSchemaId;
122+
}
123+
124+
public String getSoftwareBlockSchemaId() {
125+
return this.softwareBlockSchemaId;
126+
}
127+
128+
public void setSoftwareBlockSchemaId(String softwareBlockSchemaId) {
129+
this.softwareBlockSchemaId = softwareBlockSchemaId;
130+
}
131+
132+
public String getPeripheralBlockSchemaId() {
133+
return this.peripheralBlockSchemaId;
134+
}
135+
136+
public void setPeripheralBlockSchemaId(String peripheralBlockSchemaId) {
137+
this.peripheralBlockSchemaId = peripheralBlockSchemaId;
138+
}
139+
140+
public String getDeviceRegistrationSchemaId() {
141+
return this.deviceRegistrationSchemaId;
142+
}
143+
144+
public void setDeviceRegistrationSchemaId(String deviceRegistrationSchemaId) {
145+
this.deviceRegistrationSchemaId = deviceRegistrationSchemaId;
146+
}
147+
148+
public String getDlpSendSchemaId() {
149+
return this.dlpSendSchemaId;
150+
}
151+
152+
public void setDlpSendSchemaId(String dlpSendSchemaId) {
153+
this.dlpSendSchemaId = dlpSendSchemaId;
154+
}
155+
156+
public String getDomainWhitelistSchemaId() {
157+
return this.domainWhitelistSchemaId;
158+
}
159+
160+
public void setDomainWhitelistSchemaId(String domainWhitelistSchemaId) {
161+
this.domainWhitelistSchemaId = domainWhitelistSchemaId;
162+
}
163+
164+
public String getAppUninstallSchemaId() {
165+
return this.appUninstallSchemaId;
166+
}
167+
168+
public void setAppUninstallSchemaId(String appUninstallSchemaId) {
169+
this.appUninstallSchemaId = appUninstallSchemaId;
170+
}
171+
}
172+
173+
@Override
174+
public Class<CreateApprovalProcessResponse> getResponseClass() {
175+
return CreateApprovalProcessResponse.class;
176+
}
177+
178+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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.csas.model.v20230120;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.csas.transform.v20230120.CreateApprovalProcessResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CreateApprovalProcessResponse extends AcsResponse {
26+
27+
@Override
28+
public CreateApprovalProcessResponse getInstance(UnmarshallerContext context) {
29+
return CreateApprovalProcessResponseUnmarshaller.unmarshall(this, context);
30+
}
31+
32+
@Override
33+
public boolean checkShowJsonItemName() {
34+
return false;
35+
}
36+
}

0 commit comments

Comments
 (0)