Skip to content

Commit ae1dfe5

Browse files
committed
Generated 2023-01-20 for csas.
1 parent fbad437 commit ae1dfe5

File tree

8 files changed

+168
-1
lines changed

8 files changed

+168
-1
lines changed

aliyun-python-sdk-csas/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-04-15 Version: 1.0.4
2+
- Generated 2023-01-20 for `csas`.
3+
14
2023-11-16 Version: 1.0.3
25
- Supported SortBy for ListUserDevices.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.3'
1+
__version__ = '1.0.4'

aliyun-python-sdk-csas/aliyunsdkcsas/request/v20230120/CreatePrivateAccessPolicyRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ def get_TagIds(self): # Array
4949
def set_TagIds(self, TagIds): # Array
5050
for index1, value1 in enumerate(TagIds):
5151
self.add_body_params('TagIds.' + str(index1 + 1), value1)
52+
def get_DeviceAttributeId(self): # String
53+
return self.get_body_params().get('DeviceAttributeId')
54+
55+
def set_DeviceAttributeId(self, DeviceAttributeId): # String
56+
self.add_body_params('DeviceAttributeId', DeviceAttributeId)
5257
def get_UserGroupIds(self): # Array
5358
return self.get_body_params().get('UserGroupIds')
5459

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 ListPopTrafficStatisticsRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'csas', '2023-01-20', 'ListPopTrafficStatistics')
26+
self.set_protocol_type('https')
27+
self.set_method('GET')
28+
29+
def get_EndTime(self): # String
30+
return self.get_query_params().get('EndTime')
31+
32+
def set_EndTime(self, EndTime): # String
33+
self.add_query_param('EndTime', EndTime)
34+
def get_StartTime(self): # String
35+
return self.get_query_params().get('StartTime')
36+
37+
def set_StartTime(self, StartTime): # String
38+
self.add_query_param('StartTime', StartTime)
39+
def get_Region(self): # String
40+
return self.get_query_params().get('Region')
41+
42+
def set_Region(self, Region): # String
43+
self.add_query_param('Region', Region)

aliyun-python-sdk-csas/aliyunsdkcsas/request/v20230120/ListPrivateAccessPolicesRequest.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ def get_PolicyIds(self): # Array
3131
def set_PolicyIds(self, PolicyIds): # Array
3232
for index1, value1 in enumerate(PolicyIds):
3333
self.add_query_param('PolicyIds.' + str(index1 + 1), value1)
34+
def get_TagName(self): # String
35+
return self.get_query_params().get('TagName')
36+
37+
def set_TagName(self, TagName): # String
38+
self.add_query_param('TagName', TagName)
3439
def get_PageSize(self): # Integer
3540
return self.get_query_params().get('PageSize')
3641

@@ -61,6 +66,11 @@ def get_PolicyAction(self): # String
6166

6267
def set_PolicyAction(self, PolicyAction): # String
6368
self.add_query_param('PolicyAction', PolicyAction)
69+
def get_ApplicationName(self): # String
70+
return self.get_query_params().get('ApplicationName')
71+
72+
def set_ApplicationName(self, ApplicationName): # String
73+
self.add_query_param('ApplicationName', ApplicationName)
6474
def get_Name(self): # String
6575
return self.get_query_params().get('Name')
6676

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+
22+
class ListUsersRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'csas', '2023-01-20', 'ListUsers')
26+
self.set_method('GET')
27+
28+
def get_FuzzyUsername(self): # String
29+
return self.get_query_params().get('FuzzyUsername')
30+
31+
def set_FuzzyUsername(self, FuzzyUsername): # String
32+
self.add_query_param('FuzzyUsername', FuzzyUsername)
33+
def get_PageSize(self): # Long
34+
return self.get_query_params().get('PageSize')
35+
36+
def set_PageSize(self, PageSize): # Long
37+
self.add_query_param('PageSize', PageSize)
38+
def get_Department(self): # String
39+
return self.get_query_params().get('Department')
40+
41+
def set_Department(self, Department): # String
42+
self.add_query_param('Department', Department)
43+
def get_CurrentPage(self): # Long
44+
return self.get_query_params().get('CurrentPage')
45+
46+
def set_CurrentPage(self, CurrentPage): # Long
47+
self.add_query_param('CurrentPage', CurrentPage)
48+
def get_PreciseUsername(self): # String
49+
return self.get_query_params().get('PreciseUsername')
50+
51+
def set_PreciseUsername(self, PreciseUsername): # String
52+
self.add_query_param('PreciseUsername', PreciseUsername)
53+
def get_SaseUserIds(self): # Array
54+
return self.get_query_params().get('SaseUserIds')
55+
56+
def set_SaseUserIds(self, SaseUserIds): # Array
57+
for index1, value1 in enumerate(SaseUserIds):
58+
self.add_query_param('SaseUserIds.' + str(index1 + 1), value1)
59+
def get_Status(self): # String
60+
return self.get_query_params().get('Status')
61+
62+
def set_Status(self, Status): # String
63+
self.add_query_param('Status', Status)

aliyun-python-sdk-csas/aliyunsdkcsas/request/v20230120/UpdatePrivateAccessPolicyRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ def get_TagIds(self): # Array
5454
def set_TagIds(self, TagIds): # Array
5555
for index1, value1 in enumerate(TagIds):
5656
self.add_body_params('TagIds.' + str(index1 + 1), value1)
57+
def get_DeviceAttributeId(self): # String
58+
return self.get_body_params().get('DeviceAttributeId')
59+
60+
def set_DeviceAttributeId(self, DeviceAttributeId): # String
61+
self.add_body_params('DeviceAttributeId', DeviceAttributeId)
5762
def get_UserGroupIds(self): # Array
5863
return self.get_body_params().get('UserGroupIds')
5964

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+
22+
class UpdateUsersStatusRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'csas', '2023-01-20', 'UpdateUsersStatus')
26+
self.set_method('POST')
27+
28+
def get_SaseUserIds(self): # Array
29+
return self.get_query_params().get('SaseUserIds')
30+
31+
def set_SaseUserIds(self, SaseUserIds): # Array
32+
for index1, value1 in enumerate(SaseUserIds):
33+
self.add_query_param('SaseUserIds.' + str(index1 + 1), value1)
34+
def get_Status(self): # String
35+
return self.get_query_params().get('Status')
36+
37+
def set_Status(self, Status): # String
38+
self.add_query_param('Status', Status)

0 commit comments

Comments
 (0)