Skip to content

Commit aedbed2

Browse files
committed
Generated 2021-03-08 for eds-user.
1 parent 4d6a10e commit aedbed2

File tree

5 files changed

+160
-1
lines changed

5 files changed

+160
-1
lines changed
+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-04-27 Version: 1.0.1
2+
- Generated 2021-03-08 for `eds-user`.
3+
14
2025-04-23 Version: 1.0.0
25
- Generated 2021-03-08 for `eds-user`.
36

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.0'
1+
__version__ = '1.0.1'
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+
from aliyunsdkeds_user.endpoint import endpoint_data
22+
23+
class CreateResourceGroupRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'eds-user', '2021-03-08', 'CreateResourceGroup','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_ResourceGroupName(self): # String
35+
return self.get_query_params().get('ResourceGroupName')
36+
37+
def set_ResourceGroupName(self, ResourceGroupName): # String
38+
self.add_query_param('ResourceGroupName', ResourceGroupName)
39+
def get_Platform(self): # String
40+
return self.get_query_params().get('Platform')
41+
42+
def set_Platform(self, Platform): # String
43+
self.add_query_param('Platform', Platform)
44+
def get_IsResourceGroupWithOfficeSite(self): # Long
45+
return self.get_query_params().get('IsResourceGroupWithOfficeSite')
46+
47+
def set_IsResourceGroupWithOfficeSite(self, IsResourceGroupWithOfficeSite): # Long
48+
self.add_query_param('IsResourceGroupWithOfficeSite', IsResourceGroupWithOfficeSite)
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 DeleteResourceGroupRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'eds-user', '2021-03-08', 'DeleteResourceGroup','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_ResourceGroupId(self): # String
35+
return self.get_query_params().get('ResourceGroupId')
36+
37+
def set_ResourceGroupId(self, ResourceGroupId): # String
38+
self.add_query_param('ResourceGroupId', ResourceGroupId)
39+
def get_ResourceGroupIds(self): # Array
40+
return self.get_query_params().get('ResourceGroupIds')
41+
42+
def set_ResourceGroupIds(self, ResourceGroupIds): # Array
43+
for index1, value1 in enumerate(ResourceGroupIds):
44+
self.add_query_param('ResourceGroupIds.' + str(index1 + 1), value1)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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 DescribeResourceGroupsRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'eds-user', '2021-03-08', 'DescribeResourceGroups','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_ResourceGroupName(self): # String
35+
return self.get_query_params().get('ResourceGroupName')
36+
37+
def set_ResourceGroupName(self, ResourceGroupName): # String
38+
self.add_query_param('ResourceGroupName', ResourceGroupName)
39+
def get_NeedContainResourceGroupWithOfficeSite(self): # Long
40+
return self.get_query_params().get('NeedContainResourceGroupWithOfficeSite')
41+
42+
def set_NeedContainResourceGroupWithOfficeSite(self, NeedContainResourceGroupWithOfficeSite): # Long
43+
self.add_query_param('NeedContainResourceGroupWithOfficeSite', NeedContainResourceGroupWithOfficeSite)
44+
def get_PageNumber(self): # Integer
45+
return self.get_query_params().get('PageNumber')
46+
47+
def set_PageNumber(self, PageNumber): # Integer
48+
self.add_query_param('PageNumber', PageNumber)
49+
def get_Platform(self): # String
50+
return self.get_query_params().get('Platform')
51+
52+
def set_Platform(self, Platform): # String
53+
self.add_query_param('Platform', Platform)
54+
def get_ResourceGroupIds(self): # Array
55+
return self.get_query_params().get('ResourceGroupIds')
56+
57+
def set_ResourceGroupIds(self, ResourceGroupIds): # Array
58+
for index1, value1 in enumerate(ResourceGroupIds):
59+
self.add_query_param('ResourceGroupIds.' + str(index1 + 1), value1)
60+
def get_PageSize(self): # Integer
61+
return self.get_query_params().get('PageSize')
62+
63+
def set_PageSize(self, PageSize): # Integer
64+
self.add_query_param('PageSize', PageSize)

0 commit comments

Comments
 (0)