Skip to content

Commit 08f2c14

Browse files
committed
Generated 2023-01-20 for csas.
1 parent 3b38891 commit 08f2c14

22 files changed

+950
-1
lines changed

aliyun-python-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.11
2+
- Generated 2023-01-20 for `csas`.
3+
14
2024-10-30 Version: 1.0.10
25
- Generated 2023-01-20 for `csas`.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.10'
1+
__version__ = '1.0.11'
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class AttachPolicy2ApprovalProcessRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'csas', '2023-01-20', 'AttachPolicy2ApprovalProcess')
26+
self.set_method('POST')
27+
28+
def get_PolicyType(self): # String
29+
return self.get_body_params().get('PolicyType')
30+
31+
def set_PolicyType(self, PolicyType): # String
32+
self.add_body_params('PolicyType', PolicyType)
33+
def get_PolicyId(self): # String
34+
return self.get_body_params().get('PolicyId')
35+
36+
def set_PolicyId(self, PolicyId): # String
37+
self.add_body_params('PolicyId', PolicyId)
38+
def get_ProcessId(self): # String
39+
return self.get_body_params().get('ProcessId')
40+
41+
def set_ProcessId(self, ProcessId): # String
42+
self.add_body_params('ProcessId', ProcessId)
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
import json
22+
23+
class CreateApprovalProcessRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'csas', '2023-01-20', 'CreateApprovalProcess')
27+
self.set_method('POST')
28+
29+
def get_ProcessNodes(self): # Array
30+
return self.get_body_params().get('ProcessNodes')
31+
32+
def set_ProcessNodes(self, ProcessNodes): # Array
33+
for index1, value1 in enumerate(ProcessNodes):
34+
for index2, value2 in enumerate(value1):
35+
self.add_body_params('ProcessNodes.' + str(index1 + 1), value2)
36+
def get_MatchSchemas(self): # Struct
37+
return self.get_body_params().get('MatchSchemas')
38+
39+
def set_MatchSchemas(self, MatchSchemas): # Struct
40+
self.add_body_params("MatchSchemas", json.dumps(MatchSchemas))
41+
def get_ProcessName(self): # String
42+
return self.get_body_params().get('ProcessName')
43+
44+
def set_ProcessName(self, ProcessName): # String
45+
self.add_body_params('ProcessName', ProcessName)
46+
def get_Description(self): # String
47+
return self.get_body_params().get('Description')
48+
49+
def set_Description(self, Description): # String
50+
self.add_body_params('Description', Description)
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class DeleteApprovalProcessesRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'csas', '2023-01-20', 'DeleteApprovalProcesses')
26+
self.set_method('POST')
27+
28+
def get_ProcessIds(self): # Array
29+
return self.get_body_params().get('ProcessIds')
30+
31+
def set_ProcessIds(self, ProcessIds): # Array
32+
for index1, value1 in enumerate(ProcessIds):
33+
self.add_body_params('ProcessIds.' + str(index1 + 1), value1)
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class DetachPolicy2ApprovalProcessRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'csas', '2023-01-20', 'DetachPolicy2ApprovalProcess')
26+
self.set_method('POST')
27+
28+
def get_PolicyType(self): # String
29+
return self.get_body_params().get('PolicyType')
30+
31+
def set_PolicyType(self, PolicyType): # String
32+
self.add_body_params('PolicyType', PolicyType)
33+
def get_PolicyId(self): # String
34+
return self.get_body_params().get('PolicyId')
35+
36+
def set_PolicyId(self, PolicyId): # String
37+
self.add_body_params('PolicyId', PolicyId)
38+
def get_ProcessId(self): # String
39+
return self.get_body_params().get('ProcessId')
40+
41+
def set_ProcessId(self, ProcessId): # String
42+
self.add_body_params('ProcessId', ProcessId)
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class GetApprovalProcessRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'csas', '2023-01-20', 'GetApprovalProcess')
26+
self.set_method('GET')
27+
28+
def get_ProcessId(self): # String
29+
return self.get_query_params().get('ProcessId')
30+
31+
def set_ProcessId(self, ProcessId): # String
32+
self.add_query_param('ProcessId', ProcessId)
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class GetApprovalRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'csas', '2023-01-20', 'GetApproval')
26+
self.set_method('GET')
27+
28+
def get_ApprovalId(self): # String
29+
return self.get_query_params().get('ApprovalId')
30+
31+
def set_ApprovalId(self, ApprovalId): # String
32+
self.add_query_param('ApprovalId', ApprovalId)
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class GetApprovalSchemaRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'csas', '2023-01-20', 'GetApprovalSchema')
26+
self.set_method('GET')
27+
28+
def get_SchemaId(self): # String
29+
return self.get_query_params().get('SchemaId')
30+
31+
def set_SchemaId(self, SchemaId): # String
32+
self.add_query_param('SchemaId', SchemaId)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
22+
class GetBootAndAntiUninstallPolicyRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'csas', '2023-01-20', 'GetBootAndAntiUninstallPolicy')
26+
self.set_method('GET')
27+

0 commit comments

Comments
 (0)