tencentcloud-sdk-python-weilingwith 3.0.979__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud-sdk-python-weilingwith-3.0.979/PKG-INFO +45 -0
- tencentcloud-sdk-python-weilingwith-3.0.979/README.rst +27 -0
- tencentcloud-sdk-python-weilingwith-3.0.979/setup.cfg +8 -0
- tencentcloud-sdk-python-weilingwith-3.0.979/setup.py +32 -0
- tencentcloud-sdk-python-weilingwith-3.0.979/tencentcloud/__init__.py +17 -0
- tencentcloud-sdk-python-weilingwith-3.0.979/tencentcloud/weilingwith/__init__.py +0 -0
- tencentcloud-sdk-python-weilingwith-3.0.979/tencentcloud/weilingwith/v20230427/__init__.py +0 -0
- tencentcloud-sdk-python-weilingwith-3.0.979/tencentcloud/weilingwith/v20230427/errorcodes.py +39 -0
- tencentcloud-sdk-python-weilingwith-3.0.979/tencentcloud/weilingwith/v20230427/models.py +490 -0
- tencentcloud-sdk-python-weilingwith-3.0.979/tencentcloud/weilingwith/v20230427/weilingwith_client.py +141 -0
- tencentcloud-sdk-python-weilingwith-3.0.979/tencentcloud_sdk_python_weilingwith.egg-info/PKG-INFO +45 -0
- tencentcloud-sdk-python-weilingwith-3.0.979/tencentcloud_sdk_python_weilingwith.egg-info/SOURCES.txt +14 -0
- tencentcloud-sdk-python-weilingwith-3.0.979/tencentcloud_sdk_python_weilingwith.egg-info/dependency_links.txt +1 -0
- tencentcloud-sdk-python-weilingwith-3.0.979/tencentcloud_sdk_python_weilingwith.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-weilingwith-3.0.979/tencentcloud_sdk_python_weilingwith.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
Metadata-Version: 1.1
|
|
2
|
+
Name: tencentcloud-sdk-python-weilingwith
|
|
3
|
+
Version: 3.0.979
|
|
4
|
+
Summary: Tencent Cloud Weilingwith SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Author-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Description: ============================
|
|
10
|
+
Tencent Cloud SDK for Python
|
|
11
|
+
============================
|
|
12
|
+
|
|
13
|
+
Tencent Cloud Python Weilingwith SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
+
The SDK works on Python versions:
|
|
15
|
+
|
|
16
|
+
* 2.7 and greater, including 3.x
|
|
17
|
+
|
|
18
|
+
Quick Start
|
|
19
|
+
-----------
|
|
20
|
+
|
|
21
|
+
First, install the library:
|
|
22
|
+
|
|
23
|
+
.. code-block:: sh
|
|
24
|
+
|
|
25
|
+
$ pip install tencentcloud-sdk-python-common
|
|
26
|
+
$ pip install tencentcloud-sdk-python-weilingwith
|
|
27
|
+
|
|
28
|
+
or download source code from github and install:
|
|
29
|
+
|
|
30
|
+
.. code-block:: sh
|
|
31
|
+
|
|
32
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
+
$ cd tencentcloud-sdk-python
|
|
34
|
+
$ python package.py --components common weilingwith
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
Platform: any
|
|
38
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
+
Classifier: Intended Audience :: Developers
|
|
40
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
+
Classifier: Programming Language :: Python
|
|
42
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
+
Classifier: Programming Language :: Python :: 3
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
============================
|
|
2
|
+
Tencent Cloud SDK for Python
|
|
3
|
+
============================
|
|
4
|
+
|
|
5
|
+
Tencent Cloud Python Weilingwith SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
6
|
+
The SDK works on Python versions:
|
|
7
|
+
|
|
8
|
+
* 2.7 and greater, including 3.x
|
|
9
|
+
|
|
10
|
+
Quick Start
|
|
11
|
+
-----------
|
|
12
|
+
|
|
13
|
+
First, install the library:
|
|
14
|
+
|
|
15
|
+
.. code-block:: sh
|
|
16
|
+
|
|
17
|
+
$ pip install tencentcloud-sdk-python-common
|
|
18
|
+
$ pip install tencentcloud-sdk-python-weilingwith
|
|
19
|
+
|
|
20
|
+
or download source code from github and install:
|
|
21
|
+
|
|
22
|
+
.. code-block:: sh
|
|
23
|
+
|
|
24
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
25
|
+
$ cd tencentcloud-sdk-python
|
|
26
|
+
$ python package.py --components common weilingwith
|
|
27
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
import os
|
|
3
|
+
from setuptools import setup, find_packages
|
|
4
|
+
|
|
5
|
+
import tencentcloud
|
|
6
|
+
|
|
7
|
+
ROOT = os.path.dirname(__file__)
|
|
8
|
+
|
|
9
|
+
setup(
|
|
10
|
+
name='tencentcloud-sdk-python-weilingwith',
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.979"],
|
|
12
|
+
version=tencentcloud.__version__,
|
|
13
|
+
description='Tencent Cloud Weilingwith SDK for Python',
|
|
14
|
+
long_description=open('README.rst').read(),
|
|
15
|
+
author='Tencent Cloud',
|
|
16
|
+
url='https://github.com/TencentCloud/tencentcloud-sdk-python',
|
|
17
|
+
maintainer_email="tencentcloudapi@tencent.com",
|
|
18
|
+
scripts=[],
|
|
19
|
+
packages=find_packages(exclude=["tests*"]),
|
|
20
|
+
license="Apache License 2.0",
|
|
21
|
+
platforms='any',
|
|
22
|
+
classifiers=[
|
|
23
|
+
'Development Status :: 5 - Production/Stable',
|
|
24
|
+
'Intended Audience :: Developers',
|
|
25
|
+
'License :: OSI Approved :: Apache Software License',
|
|
26
|
+
'Programming Language :: Python',
|
|
27
|
+
'Programming Language :: Python :: 2.7',
|
|
28
|
+
'Programming Language :: Python :: 3',
|
|
29
|
+
'Programming Language :: Python :: 3.6',
|
|
30
|
+
'Programming Language :: Python :: 3.7',
|
|
31
|
+
],
|
|
32
|
+
)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Copyright 1999-2018 Tencent Ltd.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = '3.0.979'
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# 未找到此应用该api授权信息
|
|
18
|
+
AUTHFAILURE_APIAUTHORIZATIONNOTFOUND = 'AuthFailure.ApiAuthorizationNotFound'
|
|
19
|
+
|
|
20
|
+
# 内部错误。
|
|
21
|
+
INTERNALERROR = 'InternalError'
|
|
22
|
+
|
|
23
|
+
# 该应用未关联该项目空间数据,无法获取该项目空间数据
|
|
24
|
+
INTERNALERROR_APPAPINOSPACEPERMISSION = 'InternalError.AppApiNoSpacePermission'
|
|
25
|
+
|
|
26
|
+
# 未知错误
|
|
27
|
+
INTERNALERROR_UNKNOWNERROR = 'InternalError.UnknownError'
|
|
28
|
+
|
|
29
|
+
# 参数错误。
|
|
30
|
+
INVALIDPARAMETER = 'InvalidParameter'
|
|
31
|
+
|
|
32
|
+
# 参数取值错误。
|
|
33
|
+
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
|
34
|
+
|
|
35
|
+
# 应用id非法
|
|
36
|
+
INVALIDPARAMETERVALUE_INVALIDAPPLICATIONID = 'InvalidParameterValue.InvalidApplicationId'
|
|
37
|
+
|
|
38
|
+
# 错误的工作空间Id
|
|
39
|
+
INVALIDPARAMETERVALUE_INVALIDWORKSPACEID = 'InvalidParameterValue.InvalidWorkspaceId'
|
|
@@ -0,0 +1,490 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
import warnings
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_model import AbstractModel
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class DescribeApplicationListRequest(AbstractModel):
|
|
22
|
+
"""DescribeApplicationList请求参数结构体
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class DescribeApplicationListResponse(AbstractModel):
|
|
28
|
+
"""DescribeApplicationList返回参数结构体
|
|
29
|
+
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
def __init__(self):
|
|
33
|
+
r"""
|
|
34
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
35
|
+
:type RequestId: str
|
|
36
|
+
"""
|
|
37
|
+
self._RequestId = None
|
|
38
|
+
|
|
39
|
+
@property
|
|
40
|
+
def RequestId(self):
|
|
41
|
+
return self._RequestId
|
|
42
|
+
|
|
43
|
+
@RequestId.setter
|
|
44
|
+
def RequestId(self, RequestId):
|
|
45
|
+
self._RequestId = RequestId
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def _deserialize(self, params):
|
|
49
|
+
self._RequestId = params.get("RequestId")
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class DescribeEdgeApplicationTokenRequest(AbstractModel):
|
|
53
|
+
"""DescribeEdgeApplicationToken请求参数结构体
|
|
54
|
+
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class DescribeEdgeApplicationTokenResponse(AbstractModel):
|
|
59
|
+
"""DescribeEdgeApplicationToken返回参数结构体
|
|
60
|
+
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
def __init__(self):
|
|
64
|
+
r"""
|
|
65
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
66
|
+
:type RequestId: str
|
|
67
|
+
"""
|
|
68
|
+
self._RequestId = None
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def RequestId(self):
|
|
72
|
+
return self._RequestId
|
|
73
|
+
|
|
74
|
+
@RequestId.setter
|
|
75
|
+
def RequestId(self, RequestId):
|
|
76
|
+
self._RequestId = RequestId
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def _deserialize(self, params):
|
|
80
|
+
self._RequestId = params.get("RequestId")
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
class DescribeInterfaceListRequest(AbstractModel):
|
|
84
|
+
"""DescribeInterfaceList请求参数结构体
|
|
85
|
+
|
|
86
|
+
"""
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
class DescribeInterfaceListResponse(AbstractModel):
|
|
90
|
+
"""DescribeInterfaceList返回参数结构体
|
|
91
|
+
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
def __init__(self):
|
|
95
|
+
r"""
|
|
96
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
97
|
+
:type RequestId: str
|
|
98
|
+
"""
|
|
99
|
+
self._RequestId = None
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def RequestId(self):
|
|
103
|
+
return self._RequestId
|
|
104
|
+
|
|
105
|
+
@RequestId.setter
|
|
106
|
+
def RequestId(self, RequestId):
|
|
107
|
+
self._RequestId = RequestId
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
def _deserialize(self, params):
|
|
111
|
+
self._RequestId = params.get("RequestId")
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
class DescribeWorkspaceListRequest(AbstractModel):
|
|
115
|
+
"""DescribeWorkspaceList请求参数结构体
|
|
116
|
+
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
class DescribeWorkspaceListResponse(AbstractModel):
|
|
121
|
+
"""DescribeWorkspaceList返回参数结构体
|
|
122
|
+
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
def __init__(self):
|
|
126
|
+
r"""
|
|
127
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
128
|
+
:type RequestId: str
|
|
129
|
+
"""
|
|
130
|
+
self._RequestId = None
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def RequestId(self):
|
|
134
|
+
return self._RequestId
|
|
135
|
+
|
|
136
|
+
@RequestId.setter
|
|
137
|
+
def RequestId(self, RequestId):
|
|
138
|
+
self._RequestId = RequestId
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
def _deserialize(self, params):
|
|
142
|
+
self._RequestId = params.get("RequestId")
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
class DescribeWorkspaceUserListRequest(AbstractModel):
|
|
146
|
+
"""DescribeWorkspaceUserList请求参数结构体
|
|
147
|
+
|
|
148
|
+
"""
|
|
149
|
+
|
|
150
|
+
def __init__(self):
|
|
151
|
+
r"""
|
|
152
|
+
:param _Offset: 翻页页码
|
|
153
|
+
:type Offset: int
|
|
154
|
+
:param _Limit: 翻页大小
|
|
155
|
+
:type Limit: int
|
|
156
|
+
:param _WorkspaceId: 工作空间ID
|
|
157
|
+
:type WorkspaceId: str
|
|
158
|
+
:param _ApplicationToken: token
|
|
159
|
+
:type ApplicationToken: str
|
|
160
|
+
:param _TenantId: 租户ID
|
|
161
|
+
:type TenantId: str
|
|
162
|
+
:param _UpdateAt: 更新时间戳,单位秒
|
|
163
|
+
:type UpdateAt: int
|
|
164
|
+
"""
|
|
165
|
+
self._Offset = None
|
|
166
|
+
self._Limit = None
|
|
167
|
+
self._WorkspaceId = None
|
|
168
|
+
self._ApplicationToken = None
|
|
169
|
+
self._TenantId = None
|
|
170
|
+
self._UpdateAt = None
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
def Offset(self):
|
|
174
|
+
return self._Offset
|
|
175
|
+
|
|
176
|
+
@Offset.setter
|
|
177
|
+
def Offset(self, Offset):
|
|
178
|
+
self._Offset = Offset
|
|
179
|
+
|
|
180
|
+
@property
|
|
181
|
+
def Limit(self):
|
|
182
|
+
return self._Limit
|
|
183
|
+
|
|
184
|
+
@Limit.setter
|
|
185
|
+
def Limit(self, Limit):
|
|
186
|
+
self._Limit = Limit
|
|
187
|
+
|
|
188
|
+
@property
|
|
189
|
+
def WorkspaceId(self):
|
|
190
|
+
return self._WorkspaceId
|
|
191
|
+
|
|
192
|
+
@WorkspaceId.setter
|
|
193
|
+
def WorkspaceId(self, WorkspaceId):
|
|
194
|
+
self._WorkspaceId = WorkspaceId
|
|
195
|
+
|
|
196
|
+
@property
|
|
197
|
+
def ApplicationToken(self):
|
|
198
|
+
return self._ApplicationToken
|
|
199
|
+
|
|
200
|
+
@ApplicationToken.setter
|
|
201
|
+
def ApplicationToken(self, ApplicationToken):
|
|
202
|
+
self._ApplicationToken = ApplicationToken
|
|
203
|
+
|
|
204
|
+
@property
|
|
205
|
+
def TenantId(self):
|
|
206
|
+
return self._TenantId
|
|
207
|
+
|
|
208
|
+
@TenantId.setter
|
|
209
|
+
def TenantId(self, TenantId):
|
|
210
|
+
self._TenantId = TenantId
|
|
211
|
+
|
|
212
|
+
@property
|
|
213
|
+
def UpdateAt(self):
|
|
214
|
+
return self._UpdateAt
|
|
215
|
+
|
|
216
|
+
@UpdateAt.setter
|
|
217
|
+
def UpdateAt(self, UpdateAt):
|
|
218
|
+
self._UpdateAt = UpdateAt
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
def _deserialize(self, params):
|
|
222
|
+
self._Offset = params.get("Offset")
|
|
223
|
+
self._Limit = params.get("Limit")
|
|
224
|
+
self._WorkspaceId = params.get("WorkspaceId")
|
|
225
|
+
self._ApplicationToken = params.get("ApplicationToken")
|
|
226
|
+
self._TenantId = params.get("TenantId")
|
|
227
|
+
self._UpdateAt = params.get("UpdateAt")
|
|
228
|
+
memeber_set = set(params.keys())
|
|
229
|
+
for name, value in vars(self).items():
|
|
230
|
+
property_name = name[1:]
|
|
231
|
+
if property_name in memeber_set:
|
|
232
|
+
memeber_set.remove(property_name)
|
|
233
|
+
if len(memeber_set) > 0:
|
|
234
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
class DescribeWorkspaceUserListResponse(AbstractModel):
|
|
239
|
+
"""DescribeWorkspaceUserList返回参数结构体
|
|
240
|
+
|
|
241
|
+
"""
|
|
242
|
+
|
|
243
|
+
def __init__(self):
|
|
244
|
+
r"""
|
|
245
|
+
:param _Result: 返回数据
|
|
246
|
+
:type Result: :class:`tencentcloud.weilingwith.v20230427.models.SsoTeamUserResult`
|
|
247
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
248
|
+
:type RequestId: str
|
|
249
|
+
"""
|
|
250
|
+
self._Result = None
|
|
251
|
+
self._RequestId = None
|
|
252
|
+
|
|
253
|
+
@property
|
|
254
|
+
def Result(self):
|
|
255
|
+
return self._Result
|
|
256
|
+
|
|
257
|
+
@Result.setter
|
|
258
|
+
def Result(self, Result):
|
|
259
|
+
self._Result = Result
|
|
260
|
+
|
|
261
|
+
@property
|
|
262
|
+
def RequestId(self):
|
|
263
|
+
return self._RequestId
|
|
264
|
+
|
|
265
|
+
@RequestId.setter
|
|
266
|
+
def RequestId(self, RequestId):
|
|
267
|
+
self._RequestId = RequestId
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
def _deserialize(self, params):
|
|
271
|
+
if params.get("Result") is not None:
|
|
272
|
+
self._Result = SsoTeamUserResult()
|
|
273
|
+
self._Result._deserialize(params.get("Result"))
|
|
274
|
+
self._RequestId = params.get("RequestId")
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
class SsoTeamUser(AbstractModel):
|
|
278
|
+
"""部门用户
|
|
279
|
+
|
|
280
|
+
"""
|
|
281
|
+
|
|
282
|
+
def __init__(self):
|
|
283
|
+
r"""
|
|
284
|
+
:param _UserId: 用户ID
|
|
285
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
286
|
+
:type UserId: str
|
|
287
|
+
:param _RealName: 用户名称
|
|
288
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
289
|
+
:type RealName: str
|
|
290
|
+
:param _UserType: 用户类型
|
|
291
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
292
|
+
:type UserType: str
|
|
293
|
+
:param _TenantId: 所属租户ID
|
|
294
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
295
|
+
:type TenantId: str
|
|
296
|
+
:param _Email: 邮箱
|
|
297
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
298
|
+
:type Email: str
|
|
299
|
+
:param _Phone: 电话
|
|
300
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
301
|
+
:type Phone: str
|
|
302
|
+
:param _Status: 用户状态
|
|
303
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
304
|
+
:type Status: int
|
|
305
|
+
:param _CreateAt: 创建时间
|
|
306
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
307
|
+
:type CreateAt: int
|
|
308
|
+
:param _DepartmentId: 部门ID
|
|
309
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
310
|
+
:type DepartmentId: str
|
|
311
|
+
:param _DepartmentName: 部门名称
|
|
312
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
313
|
+
:type DepartmentName: str
|
|
314
|
+
:param _LinkFilter: 是否关联权限
|
|
315
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
316
|
+
:type LinkFilter: int
|
|
317
|
+
"""
|
|
318
|
+
self._UserId = None
|
|
319
|
+
self._RealName = None
|
|
320
|
+
self._UserType = None
|
|
321
|
+
self._TenantId = None
|
|
322
|
+
self._Email = None
|
|
323
|
+
self._Phone = None
|
|
324
|
+
self._Status = None
|
|
325
|
+
self._CreateAt = None
|
|
326
|
+
self._DepartmentId = None
|
|
327
|
+
self._DepartmentName = None
|
|
328
|
+
self._LinkFilter = None
|
|
329
|
+
|
|
330
|
+
@property
|
|
331
|
+
def UserId(self):
|
|
332
|
+
return self._UserId
|
|
333
|
+
|
|
334
|
+
@UserId.setter
|
|
335
|
+
def UserId(self, UserId):
|
|
336
|
+
self._UserId = UserId
|
|
337
|
+
|
|
338
|
+
@property
|
|
339
|
+
def RealName(self):
|
|
340
|
+
return self._RealName
|
|
341
|
+
|
|
342
|
+
@RealName.setter
|
|
343
|
+
def RealName(self, RealName):
|
|
344
|
+
self._RealName = RealName
|
|
345
|
+
|
|
346
|
+
@property
|
|
347
|
+
def UserType(self):
|
|
348
|
+
return self._UserType
|
|
349
|
+
|
|
350
|
+
@UserType.setter
|
|
351
|
+
def UserType(self, UserType):
|
|
352
|
+
self._UserType = UserType
|
|
353
|
+
|
|
354
|
+
@property
|
|
355
|
+
def TenantId(self):
|
|
356
|
+
return self._TenantId
|
|
357
|
+
|
|
358
|
+
@TenantId.setter
|
|
359
|
+
def TenantId(self, TenantId):
|
|
360
|
+
self._TenantId = TenantId
|
|
361
|
+
|
|
362
|
+
@property
|
|
363
|
+
def Email(self):
|
|
364
|
+
return self._Email
|
|
365
|
+
|
|
366
|
+
@Email.setter
|
|
367
|
+
def Email(self, Email):
|
|
368
|
+
self._Email = Email
|
|
369
|
+
|
|
370
|
+
@property
|
|
371
|
+
def Phone(self):
|
|
372
|
+
return self._Phone
|
|
373
|
+
|
|
374
|
+
@Phone.setter
|
|
375
|
+
def Phone(self, Phone):
|
|
376
|
+
self._Phone = Phone
|
|
377
|
+
|
|
378
|
+
@property
|
|
379
|
+
def Status(self):
|
|
380
|
+
return self._Status
|
|
381
|
+
|
|
382
|
+
@Status.setter
|
|
383
|
+
def Status(self, Status):
|
|
384
|
+
self._Status = Status
|
|
385
|
+
|
|
386
|
+
@property
|
|
387
|
+
def CreateAt(self):
|
|
388
|
+
return self._CreateAt
|
|
389
|
+
|
|
390
|
+
@CreateAt.setter
|
|
391
|
+
def CreateAt(self, CreateAt):
|
|
392
|
+
self._CreateAt = CreateAt
|
|
393
|
+
|
|
394
|
+
@property
|
|
395
|
+
def DepartmentId(self):
|
|
396
|
+
return self._DepartmentId
|
|
397
|
+
|
|
398
|
+
@DepartmentId.setter
|
|
399
|
+
def DepartmentId(self, DepartmentId):
|
|
400
|
+
self._DepartmentId = DepartmentId
|
|
401
|
+
|
|
402
|
+
@property
|
|
403
|
+
def DepartmentName(self):
|
|
404
|
+
return self._DepartmentName
|
|
405
|
+
|
|
406
|
+
@DepartmentName.setter
|
|
407
|
+
def DepartmentName(self, DepartmentName):
|
|
408
|
+
self._DepartmentName = DepartmentName
|
|
409
|
+
|
|
410
|
+
@property
|
|
411
|
+
def LinkFilter(self):
|
|
412
|
+
return self._LinkFilter
|
|
413
|
+
|
|
414
|
+
@LinkFilter.setter
|
|
415
|
+
def LinkFilter(self, LinkFilter):
|
|
416
|
+
self._LinkFilter = LinkFilter
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
def _deserialize(self, params):
|
|
420
|
+
self._UserId = params.get("UserId")
|
|
421
|
+
self._RealName = params.get("RealName")
|
|
422
|
+
self._UserType = params.get("UserType")
|
|
423
|
+
self._TenantId = params.get("TenantId")
|
|
424
|
+
self._Email = params.get("Email")
|
|
425
|
+
self._Phone = params.get("Phone")
|
|
426
|
+
self._Status = params.get("Status")
|
|
427
|
+
self._CreateAt = params.get("CreateAt")
|
|
428
|
+
self._DepartmentId = params.get("DepartmentId")
|
|
429
|
+
self._DepartmentName = params.get("DepartmentName")
|
|
430
|
+
self._LinkFilter = params.get("LinkFilter")
|
|
431
|
+
memeber_set = set(params.keys())
|
|
432
|
+
for name, value in vars(self).items():
|
|
433
|
+
property_name = name[1:]
|
|
434
|
+
if property_name in memeber_set:
|
|
435
|
+
memeber_set.remove(property_name)
|
|
436
|
+
if len(memeber_set) > 0:
|
|
437
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
class SsoTeamUserResult(AbstractModel):
|
|
442
|
+
"""空间用户结果
|
|
443
|
+
|
|
444
|
+
"""
|
|
445
|
+
|
|
446
|
+
def __init__(self):
|
|
447
|
+
r"""
|
|
448
|
+
:param _Total: 总数
|
|
449
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
450
|
+
:type Total: int
|
|
451
|
+
:param _Users: 部门用户列表
|
|
452
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
453
|
+
:type Users: list of SsoTeamUser
|
|
454
|
+
"""
|
|
455
|
+
self._Total = None
|
|
456
|
+
self._Users = None
|
|
457
|
+
|
|
458
|
+
@property
|
|
459
|
+
def Total(self):
|
|
460
|
+
return self._Total
|
|
461
|
+
|
|
462
|
+
@Total.setter
|
|
463
|
+
def Total(self, Total):
|
|
464
|
+
self._Total = Total
|
|
465
|
+
|
|
466
|
+
@property
|
|
467
|
+
def Users(self):
|
|
468
|
+
return self._Users
|
|
469
|
+
|
|
470
|
+
@Users.setter
|
|
471
|
+
def Users(self, Users):
|
|
472
|
+
self._Users = Users
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
def _deserialize(self, params):
|
|
476
|
+
self._Total = params.get("Total")
|
|
477
|
+
if params.get("Users") is not None:
|
|
478
|
+
self._Users = []
|
|
479
|
+
for item in params.get("Users"):
|
|
480
|
+
obj = SsoTeamUser()
|
|
481
|
+
obj._deserialize(item)
|
|
482
|
+
self._Users.append(obj)
|
|
483
|
+
memeber_set = set(params.keys())
|
|
484
|
+
for name, value in vars(self).items():
|
|
485
|
+
property_name = name[1:]
|
|
486
|
+
if property_name in memeber_set:
|
|
487
|
+
memeber_set.remove(property_name)
|
|
488
|
+
if len(memeber_set) > 0:
|
|
489
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
490
|
+
|
tencentcloud-sdk-python-weilingwith-3.0.979/tencentcloud/weilingwith/v20230427/weilingwith_client.py
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
import json
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
|
|
19
|
+
from tencentcloud.common.abstract_client import AbstractClient
|
|
20
|
+
from tencentcloud.weilingwith.v20230427 import models
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class WeilingwithClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2023-04-27'
|
|
25
|
+
_endpoint = 'weilingwith.tencentcloudapi.com'
|
|
26
|
+
_service = 'weilingwith'
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def DescribeApplicationList(self, request):
|
|
30
|
+
"""查询指定空间关联的应用列表
|
|
31
|
+
|
|
32
|
+
:param request: Request instance for DescribeApplicationList.
|
|
33
|
+
:type request: :class:`tencentcloud.weilingwith.v20230427.models.DescribeApplicationListRequest`
|
|
34
|
+
:rtype: :class:`tencentcloud.weilingwith.v20230427.models.DescribeApplicationListResponse`
|
|
35
|
+
|
|
36
|
+
"""
|
|
37
|
+
try:
|
|
38
|
+
params = request._serialize()
|
|
39
|
+
headers = request.headers
|
|
40
|
+
body = self.call("DescribeApplicationList", params, headers=headers)
|
|
41
|
+
response = json.loads(body)
|
|
42
|
+
model = models.DescribeApplicationListResponse()
|
|
43
|
+
model._deserialize(response["Response"])
|
|
44
|
+
return model
|
|
45
|
+
except Exception as e:
|
|
46
|
+
if isinstance(e, TencentCloudSDKException):
|
|
47
|
+
raise
|
|
48
|
+
else:
|
|
49
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def DescribeEdgeApplicationToken(self, request):
|
|
53
|
+
"""查询边缘应用凭证
|
|
54
|
+
|
|
55
|
+
:param request: Request instance for DescribeEdgeApplicationToken.
|
|
56
|
+
:type request: :class:`tencentcloud.weilingwith.v20230427.models.DescribeEdgeApplicationTokenRequest`
|
|
57
|
+
:rtype: :class:`tencentcloud.weilingwith.v20230427.models.DescribeEdgeApplicationTokenResponse`
|
|
58
|
+
|
|
59
|
+
"""
|
|
60
|
+
try:
|
|
61
|
+
params = request._serialize()
|
|
62
|
+
headers = request.headers
|
|
63
|
+
body = self.call("DescribeEdgeApplicationToken", params, headers=headers)
|
|
64
|
+
response = json.loads(body)
|
|
65
|
+
model = models.DescribeEdgeApplicationTokenResponse()
|
|
66
|
+
model._deserialize(response["Response"])
|
|
67
|
+
return model
|
|
68
|
+
except Exception as e:
|
|
69
|
+
if isinstance(e, TencentCloudSDKException):
|
|
70
|
+
raise
|
|
71
|
+
else:
|
|
72
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def DescribeInterfaceList(self, request):
|
|
76
|
+
"""查询接口列表
|
|
77
|
+
|
|
78
|
+
:param request: Request instance for DescribeInterfaceList.
|
|
79
|
+
:type request: :class:`tencentcloud.weilingwith.v20230427.models.DescribeInterfaceListRequest`
|
|
80
|
+
:rtype: :class:`tencentcloud.weilingwith.v20230427.models.DescribeInterfaceListResponse`
|
|
81
|
+
|
|
82
|
+
"""
|
|
83
|
+
try:
|
|
84
|
+
params = request._serialize()
|
|
85
|
+
headers = request.headers
|
|
86
|
+
body = self.call("DescribeInterfaceList", params, headers=headers)
|
|
87
|
+
response = json.loads(body)
|
|
88
|
+
model = models.DescribeInterfaceListResponse()
|
|
89
|
+
model._deserialize(response["Response"])
|
|
90
|
+
return model
|
|
91
|
+
except Exception as e:
|
|
92
|
+
if isinstance(e, TencentCloudSDKException):
|
|
93
|
+
raise
|
|
94
|
+
else:
|
|
95
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def DescribeWorkspaceList(self, request):
|
|
99
|
+
"""获取租户下的空间列表
|
|
100
|
+
|
|
101
|
+
:param request: Request instance for DescribeWorkspaceList.
|
|
102
|
+
:type request: :class:`tencentcloud.weilingwith.v20230427.models.DescribeWorkspaceListRequest`
|
|
103
|
+
:rtype: :class:`tencentcloud.weilingwith.v20230427.models.DescribeWorkspaceListResponse`
|
|
104
|
+
|
|
105
|
+
"""
|
|
106
|
+
try:
|
|
107
|
+
params = request._serialize()
|
|
108
|
+
headers = request.headers
|
|
109
|
+
body = self.call("DescribeWorkspaceList", params, headers=headers)
|
|
110
|
+
response = json.loads(body)
|
|
111
|
+
model = models.DescribeWorkspaceListResponse()
|
|
112
|
+
model._deserialize(response["Response"])
|
|
113
|
+
return model
|
|
114
|
+
except Exception as e:
|
|
115
|
+
if isinstance(e, TencentCloudSDKException):
|
|
116
|
+
raise
|
|
117
|
+
else:
|
|
118
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
def DescribeWorkspaceUserList(self, request):
|
|
122
|
+
"""查询项目空间人员列表
|
|
123
|
+
|
|
124
|
+
:param request: Request instance for DescribeWorkspaceUserList.
|
|
125
|
+
:type request: :class:`tencentcloud.weilingwith.v20230427.models.DescribeWorkspaceUserListRequest`
|
|
126
|
+
:rtype: :class:`tencentcloud.weilingwith.v20230427.models.DescribeWorkspaceUserListResponse`
|
|
127
|
+
|
|
128
|
+
"""
|
|
129
|
+
try:
|
|
130
|
+
params = request._serialize()
|
|
131
|
+
headers = request.headers
|
|
132
|
+
body = self.call("DescribeWorkspaceUserList", params, headers=headers)
|
|
133
|
+
response = json.loads(body)
|
|
134
|
+
model = models.DescribeWorkspaceUserListResponse()
|
|
135
|
+
model._deserialize(response["Response"])
|
|
136
|
+
return model
|
|
137
|
+
except Exception as e:
|
|
138
|
+
if isinstance(e, TencentCloudSDKException):
|
|
139
|
+
raise
|
|
140
|
+
else:
|
|
141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
tencentcloud-sdk-python-weilingwith-3.0.979/tencentcloud_sdk_python_weilingwith.egg-info/PKG-INFO
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
Metadata-Version: 1.1
|
|
2
|
+
Name: tencentcloud-sdk-python-weilingwith
|
|
3
|
+
Version: 3.0.979
|
|
4
|
+
Summary: Tencent Cloud Weilingwith SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Author-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Description: ============================
|
|
10
|
+
Tencent Cloud SDK for Python
|
|
11
|
+
============================
|
|
12
|
+
|
|
13
|
+
Tencent Cloud Python Weilingwith SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
+
The SDK works on Python versions:
|
|
15
|
+
|
|
16
|
+
* 2.7 and greater, including 3.x
|
|
17
|
+
|
|
18
|
+
Quick Start
|
|
19
|
+
-----------
|
|
20
|
+
|
|
21
|
+
First, install the library:
|
|
22
|
+
|
|
23
|
+
.. code-block:: sh
|
|
24
|
+
|
|
25
|
+
$ pip install tencentcloud-sdk-python-common
|
|
26
|
+
$ pip install tencentcloud-sdk-python-weilingwith
|
|
27
|
+
|
|
28
|
+
or download source code from github and install:
|
|
29
|
+
|
|
30
|
+
.. code-block:: sh
|
|
31
|
+
|
|
32
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
+
$ cd tencentcloud-sdk-python
|
|
34
|
+
$ python package.py --components common weilingwith
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
Platform: any
|
|
38
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
+
Classifier: Intended Audience :: Developers
|
|
40
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
+
Classifier: Programming Language :: Python
|
|
42
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
+
Classifier: Programming Language :: Python :: 3
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
+
Classifier: Programming Language :: Python :: 3.7
|
tencentcloud-sdk-python-weilingwith-3.0.979/tencentcloud_sdk_python_weilingwith.egg-info/SOURCES.txt
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
README.rst
|
|
2
|
+
setup.cfg
|
|
3
|
+
setup.py
|
|
4
|
+
tencentcloud/__init__.py
|
|
5
|
+
tencentcloud/weilingwith/__init__.py
|
|
6
|
+
tencentcloud/weilingwith/v20230427/__init__.py
|
|
7
|
+
tencentcloud/weilingwith/v20230427/errorcodes.py
|
|
8
|
+
tencentcloud/weilingwith/v20230427/models.py
|
|
9
|
+
tencentcloud/weilingwith/v20230427/weilingwith_client.py
|
|
10
|
+
tencentcloud_sdk_python_weilingwith.egg-info/PKG-INFO
|
|
11
|
+
tencentcloud_sdk_python_weilingwith.egg-info/SOURCES.txt
|
|
12
|
+
tencentcloud_sdk_python_weilingwith.egg-info/dependency_links.txt
|
|
13
|
+
tencentcloud_sdk_python_weilingwith.egg-info/requires.txt
|
|
14
|
+
tencentcloud_sdk_python_weilingwith.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.979
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud
|