Skip to content

Commit 48773a1

Browse files
committed
Generated 2021-03-08 for eds-user.
1 parent 4e6e72b commit 48773a1

Some content is hidden

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

43 files changed

+1724
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2025-04-23 Version: 1.0.0
2+
- Generated 2021-03-08 for `eds-user`.
3+

aliyun-python-sdk-eds-user/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.
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-eds-user/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-eds-user
3+
=============================================================
4+
5+
.. This is the eds-user 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'
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+
21+
class EndpointData():
22+
def __init__(self):
23+
self.endpoint_map = {}
24+
self.endpoint_regional = "regional"
25+
26+
def getEndpointMap(self):
27+
return self.endpoint_map
28+
29+
def getEndpointRegional(self):
30+
return self.endpoint_regional
31+
32+
33+
endpoint_data = EndpointData()

aliyun-python-sdk-eds-user/aliyunsdkeds_user/request/__init__.py

Whitespace-only changes.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
from aliyunsdkeds_user.endpoint import endpoint_data
22+
23+
class BatchSetDesktopManagerRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'eds-user', '2021-03-08', 'BatchSetDesktopManager','eds-user')
27+
self.set_method('POST')
28+
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
34+
def get_IsDesktopManager(self): # String
35+
return self.get_body_params().get('IsDesktopManager')
36+
37+
def set_IsDesktopManager(self, IsDesktopManager): # String
38+
self.add_body_params('IsDesktopManager', IsDesktopManager)
39+
def get_Userss(self): # RepeatList
40+
return self.get_body_params().get('Users')
41+
42+
def set_Userss(self, Users): # RepeatList
43+
for depth1 in range(len(Users)):
44+
self.add_body_params('Users.' + str(depth1 + 1), Users[depth1])
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+
from aliyunsdkeds_user.endpoint import endpoint_data
22+
23+
class ChangeUserPasswordRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'eds-user', '2021-03-08', 'ChangeUserPassword','eds-user')
27+
self.set_method('POST')
28+
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
34+
def get_NewPassword(self): # String
35+
return self.get_body_params().get('NewPassword')
36+
37+
def set_NewPassword(self, NewPassword): # String
38+
self.add_body_params('NewPassword', NewPassword)
39+
def get_EndUserId(self): # String
40+
return self.get_body_params().get('EndUserId')
41+
42+
def set_EndUserId(self, EndUserId): # String
43+
self.add_body_params('EndUserId', EndUserId)
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+
from aliyunsdkeds_user.endpoint import endpoint_data
22+
23+
class CheckUsedPropertyRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'eds-user', '2021-03-08', 'CheckUsedProperty','eds-user')
27+
self.set_method('POST')
28+
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
34+
def get_PropertyId(self): # Long
35+
return self.get_query_params().get('PropertyId')
36+
37+
def set_PropertyId(self, PropertyId): # Long
38+
self.add_query_param('PropertyId', PropertyId)
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+
from aliyunsdkeds_user.endpoint import endpoint_data
22+
23+
class CheckUsedPropertyValueRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'eds-user', '2021-03-08', 'CheckUsedPropertyValue','eds-user')
27+
self.set_method('POST')
28+
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
34+
def get_PropertyValueId(self): # Long
35+
return self.get_query_params().get('PropertyValueId')
36+
37+
def set_PropertyValueId(self, PropertyValueId): # Long
38+
self.add_query_param('PropertyValueId', PropertyValueId)
39+
def get_PropertyId(self): # Long
40+
return self.get_query_params().get('PropertyId')
41+
42+
def set_PropertyId(self, PropertyId): # Long
43+
self.add_query_param('PropertyId', PropertyId)
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+
from aliyunsdkeds_user.endpoint import endpoint_data
22+
23+
class CreateOrgRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'eds-user', '2021-03-08', 'CreateOrg','eds-user')
27+
self.set_method('POST')
28+
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
34+
def get_OrgName(self): # String
35+
return self.get_query_params().get('OrgName')
36+
37+
def set_OrgName(self, OrgName): # String
38+
self.add_query_param('OrgName', OrgName)
39+
def get_ParentOrgId(self): # String
40+
return self.get_query_params().get('ParentOrgId')
41+
42+
def set_ParentOrgId(self, ParentOrgId): # String
43+
self.add_query_param('ParentOrgId', ParentOrgId)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+
from aliyunsdkeds_user.endpoint import endpoint_data
22+
23+
class CreatePropertyRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'eds-user', '2021-03-08', 'CreateProperty','eds-user')
27+
self.set_method('POST')
28+
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
34+
def get_PropertyKey(self): # String
35+
return self.get_body_params().get('PropertyKey')
36+
37+
def set_PropertyKey(self, PropertyKey): # String
38+
self.add_body_params('PropertyKey', PropertyKey)
39+
def get_PropertyValuess(self): # RepeatList
40+
return self.get_body_params().get('PropertyValues')
41+
42+
def set_PropertyValuess(self, PropertyValues): # RepeatList
43+
for depth1 in range(len(PropertyValues)):
44+
self.add_body_params('PropertyValues.' + str(depth1 + 1), PropertyValues[depth1])

0 commit comments

Comments
 (0)