Skip to content

Commit c6e9ff5

Browse files
committed
Generated 2022-07-28 for sophonsoar.
1 parent df75efe commit c6e9ff5

File tree

58 files changed

+2350
-0
lines changed

Some content is hidden

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

58 files changed

+2350
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2025-03-14 Version: 1.0.0
2+
- Generated 2022-07-28 for `sophonsoar`.
3+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 1999-present Alibaba Group Holding Ltd.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include LICENSE README.rst ChangeLog.txt
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
=============================================================
2+
aliyun-python-sdk-sophonsoar
3+
=============================================================
4+
5+
.. This is the sophonsoar module of Aliyun Python SDK.
6+
7+
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services.
8+
9+
This module works on Python versions:
10+
11+
3.7 and greater
12+
13+
**Documentation:**
14+
15+
Please visit `http://develop.aliyun.com/sdk/python <http://develop.aliyun.com/sdk/python>`_
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '1.0.0'

aliyun-python-sdk-sophonsoar/aliyunsdksophonsoar/request/__init__.py

Whitespace-only changes.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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 BatchModifyInstanceStatusRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'sophonsoar', '2022-07-28', 'BatchModifyInstanceStatus')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_Active(self): # Integer
30+
return self.get_body_params().get('Active')
31+
32+
def set_Active(self, Active): # Integer
33+
self.add_body_params('Active', Active)
34+
def get_PlaybookUuid(self): # String
35+
return self.get_body_params().get('PlaybookUuid')
36+
37+
def set_PlaybookUuid(self, PlaybookUuid): # String
38+
self.add_body_params('PlaybookUuid', PlaybookUuid)
39+
def get_Lang(self): # String
40+
return self.get_query_params().get('Lang')
41+
42+
def set_Lang(self, Lang): # String
43+
self.add_query_param('Lang', Lang)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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 ComparePlaybooksRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'sophonsoar', '2022-07-28', 'ComparePlaybooks')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_OldPlaybookReleaseId(self): # Integer
30+
return self.get_query_params().get('OldPlaybookReleaseId')
31+
32+
def set_OldPlaybookReleaseId(self, OldPlaybookReleaseId): # Integer
33+
self.add_query_param('OldPlaybookReleaseId', OldPlaybookReleaseId)
34+
def get_NewPlaybookReleaseId(self): # Integer
35+
return self.get_query_params().get('NewPlaybookReleaseId')
36+
37+
def set_NewPlaybookReleaseId(self, NewPlaybookReleaseId): # Integer
38+
self.add_query_param('NewPlaybookReleaseId', NewPlaybookReleaseId)
39+
def get_PlaybookUuid(self): # String
40+
return self.get_query_params().get('PlaybookUuid')
41+
42+
def set_PlaybookUuid(self, PlaybookUuid): # String
43+
self.add_query_param('PlaybookUuid', PlaybookUuid)
44+
def get_Lang(self): # String
45+
return self.get_query_params().get('Lang')
46+
47+
def set_Lang(self, Lang): # String
48+
self.add_query_param('Lang', Lang)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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 ConvertPlaybookRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'sophonsoar', '2022-07-28', 'ConvertPlaybook')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_RoleFor(self): # Long
30+
return self.get_query_params().get('RoleFor')
31+
32+
def set_RoleFor(self, RoleFor): # Long
33+
self.add_query_param('RoleFor', RoleFor)
34+
def get_Taskflow(self): # String
35+
return self.get_body_params().get('Taskflow')
36+
37+
def set_Taskflow(self, Taskflow): # String
38+
self.add_body_params('Taskflow', Taskflow)
39+
def get_RoleType(self): # String
40+
return self.get_query_params().get('RoleType')
41+
42+
def set_RoleType(self, RoleType): # String
43+
self.add_query_param('RoleType', RoleType)
44+
def get_Lang(self): # String
45+
return self.get_query_params().get('Lang')
46+
47+
def set_Lang(self, Lang): # String
48+
self.add_query_param('Lang', Lang)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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 CreatePlaybookRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'sophonsoar', '2022-07-28', 'CreatePlaybook')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_TaskflowType(self): # String
30+
return self.get_body_params().get('TaskflowType')
31+
32+
def set_TaskflowType(self, TaskflowType): # String
33+
self.add_body_params('TaskflowType', TaskflowType)
34+
def get_Description(self): # String
35+
return self.get_body_params().get('Description')
36+
37+
def set_Description(self, Description): # String
38+
self.add_body_params('Description', Description)
39+
def get_DisplayName(self): # String
40+
return self.get_body_params().get('DisplayName')
41+
42+
def set_DisplayName(self, DisplayName): # String
43+
self.add_body_params('DisplayName', DisplayName)
44+
def get_Lang(self): # String
45+
return self.get_body_params().get('Lang')
46+
47+
def set_Lang(self, Lang): # String
48+
self.add_body_params('Lang', Lang)

0 commit comments

Comments
 (0)