Skip to content

Commit 3f1f4cb

Browse files
committed
Generated 2022-08-22 for Buss.
1 parent 8a21c7f commit 3f1f4cb

20 files changed

+939
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2024-08-22 Version: 1.0.0
2+
- Generated 2022-08-22 for `Buss`.
3+

aliyun-python-sdk-buss/LICENSE

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.

aliyun-python-sdk-buss/MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include LICENSE README.rst ChangeLog.txt

aliyun-python-sdk-buss/README.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
=============================================================
2+
aliyun-python-sdk-buss
3+
=============================================================
4+
5+
.. This is the buss 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+
2.6.5 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-buss/aliyunsdkbuss/request/__init__.py

Whitespace-only changes.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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 BusinessResultServiceRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Buss', '2022-08-22', 'BusinessResultService')
27+
self.set_method('GET')
28+
29+
def get_ErrCode(self): # String
30+
return self.get_query_params().get('ErrCode')
31+
32+
def set_ErrCode(self, ErrCode): # String
33+
self.add_query_param('ErrCode', ErrCode)
34+
def get_Result(self): # Map
35+
return self.get_query_params().get('Result')
36+
37+
def set_Result(self, Result): # Map
38+
self.add_query_param("Result", json.dumps(Result))
39+
def get_BussinessCode(self): # String
40+
return self.get_query_params().get('BussinessCode')
41+
42+
def set_BussinessCode(self, BussinessCode): # String
43+
self.add_query_param('BussinessCode', BussinessCode)
44+
def get_RequestId(self): # String
45+
return self.get_query_params().get('RequestId')
46+
47+
def set_RequestId(self, RequestId): # String
48+
self.add_query_param('RequestId', RequestId)
49+
def get_Success(self): # Boolean
50+
return self.get_query_params().get('Success')
51+
52+
def set_Success(self, Success): # Boolean
53+
self.add_query_param('Success', Success)
54+
def get_ErrMessage(self): # String
55+
return self.get_query_params().get('ErrMessage')
56+
57+
def set_ErrMessage(self, ErrMessage): # String
58+
self.add_query_param('ErrMessage', ErrMessage)
59+
def get_ActionCode(self): # String
60+
return self.get_query_params().get('ActionCode')
61+
62+
def set_ActionCode(self, ActionCode): # String
63+
self.add_query_param('ActionCode', ActionCode)
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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 CreateUserInvestigationInfoQueryTaskRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'Buss', '2022-08-22', 'CreateUserInvestigationInfoQueryTask')
26+
self.set_method('GET')
27+
28+
def get_dataType(self): # String
29+
return self.get_query_params().get('dataType')
30+
31+
def set_dataType(self, dataType): # String
32+
self.add_query_param('dataType', dataType)
33+
def get_endTime(self): # Long
34+
return self.get_query_params().get('endTime')
35+
36+
def set_endTime(self, endTime): # Long
37+
self.add_query_param('endTime', endTime)
38+
def get_startTime(self): # Long
39+
return self.get_query_params().get('startTime')
40+
41+
def set_startTime(self, startTime): # Long
42+
self.add_query_param('startTime', startTime)
43+
def get_userId(self): # String
44+
return self.get_query_params().get('userId')
45+
46+
def set_userId(self, userId): # String
47+
self.add_query_param('userId', userId)
48+
def get_employeeId(self): # String
49+
return self.get_query_params().get('employeeId')
50+
51+
def set_employeeId(self, employeeId): # String
52+
self.add_query_param('employeeId', employeeId)
53+
def get_ossFileName(self): # String
54+
return self.get_query_params().get('ossFileName')
55+
56+
def set_ossFileName(self, ossFileName): # String
57+
self.add_query_param('ossFileName', ossFileName)
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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 FindInstanceInfoRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Buss', '2022-08-22', 'FindInstanceInfo')
27+
self.set_method('GET')
28+
29+
def get_bussinessCode(self): # String
30+
return self.get_query_params().get('bussinessCode')
31+
32+
def set_bussinessCode(self, bussinessCode): # String
33+
self.add_query_param('bussinessCode', bussinessCode)
34+
def get_ip(self): # String
35+
return self.get_query_params().get('ip')
36+
37+
def set_ip(self, ip): # String
38+
self.add_query_param('ip', ip)
39+
def get_endTime(self): # Long
40+
return self.get_query_params().get('endTime')
41+
42+
def set_endTime(self, endTime): # Long
43+
self.add_query_param('endTime', endTime)
44+
def get_extras(self): # Map
45+
return self.get_query_params().get('extras')
46+
47+
def set_extras(self, extras): # Map
48+
self.add_query_param("extras", json.dumps(extras))
49+
def get_startTime(self): # Long
50+
return self.get_query_params().get('startTime')
51+
52+
def set_startTime(self, startTime): # Long
53+
self.add_query_param('startTime', startTime)
54+
def get_userId(self): # String
55+
return self.get_query_params().get('userId')
56+
57+
def set_userId(self, userId): # String
58+
self.add_query_param('userId', userId)
59+
def get_url(self): # String
60+
return self.get_query_params().get('url')
61+
62+
def set_url(self, url): # String
63+
self.add_query_param('url', url)
64+
def get_needDNS(self): # Boolean
65+
return self.get_query_params().get('needDNS')
66+
67+
def set_needDNS(self, needDNS): # Boolean
68+
self.add_query_param('needDNS', needDNS)
69+
def get_domain(self): # String
70+
return self.get_query_params().get('domain')
71+
72+
def set_domain(self, domain): # String
73+
self.add_query_param('domain', domain)
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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 FindUserAvailbleResourcesRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'Buss', '2022-08-22', 'FindUserAvailbleResources')
26+
self.set_method('GET')
27+
28+
def get_bussinessCode(self): # String
29+
return self.get_query_params().get('bussinessCode')
30+
31+
def set_bussinessCode(self, bussinessCode): # String
32+
self.add_query_param('bussinessCode', bussinessCode)
33+
def get_currPage(self): # Integer
34+
return self.get_query_params().get('currPage')
35+
36+
def set_currPage(self, currPage): # Integer
37+
self.add_query_param('currPage', currPage)
38+
def get_pageSize(self): # Integer
39+
return self.get_query_params().get('pageSize')
40+
41+
def set_pageSize(self, pageSize): # Integer
42+
self.add_query_param('pageSize', pageSize)
43+
def get_userId(self): # String
44+
return self.get_query_params().get('userId')
45+
46+
def set_userId(self, userId): # String
47+
self.add_query_param('userId', userId)
48+
def get_resourceType(self): # String
49+
return self.get_query_params().get('resourceType')
50+
51+
def set_resourceType(self, resourceType): # String
52+
self.add_query_param('resourceType', resourceType)

0 commit comments

Comments
 (0)