-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supported SortBy for ListUserDevices.
- Loading branch information
Showing
17 changed files
with
780 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '1.0.2' | ||
__version__ = '1.0.3' |
85 changes: 85 additions & 0 deletions
85
aliyun-python-sdk-csas/aliyunsdkcsas/request/v20230120/CreateRegistrationPolicyRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
import json | ||
|
||
class CreateRegistrationPolicyRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'csas', '2023-01-20', 'CreateRegistrationPolicy') | ||
self.set_method('POST') | ||
|
||
def get_Description(self): # String | ||
return self.get_body_params().get('Description') | ||
|
||
def set_Description(self, Description): # String | ||
self.add_body_params('Description', Description) | ||
def get_MatchMode(self): # String | ||
return self.get_body_params().get('MatchMode') | ||
|
||
def set_MatchMode(self, MatchMode): # String | ||
self.add_body_params('MatchMode', MatchMode) | ||
def get_CompanyLimitCount(self): # Struct | ||
return self.get_body_params().get('CompanyLimitCount') | ||
|
||
def set_CompanyLimitCount(self, CompanyLimitCount): # Struct | ||
self.add_body_params("CompanyLimitCount", json.dumps(CompanyLimitCount)) | ||
def get_PersonalLimitCount(self): # Struct | ||
return self.get_body_params().get('PersonalLimitCount') | ||
|
||
def set_PersonalLimitCount(self, PersonalLimitCount): # Struct | ||
self.add_body_params("PersonalLimitCount", json.dumps(PersonalLimitCount)) | ||
def get_UserGroupIds(self): # Array | ||
return self.get_body_params().get('UserGroupIds') | ||
|
||
def set_UserGroupIds(self, UserGroupIds): # Array | ||
for index1, value1 in enumerate(UserGroupIds): | ||
self.add_body_params('UserGroupIds.' + str(index1 + 1), value1) | ||
def get_Whitelist(self): # Array | ||
return self.get_body_params().get('Whitelist') | ||
|
||
def set_Whitelist(self, Whitelist): # Array | ||
for index1, value1 in enumerate(Whitelist): | ||
self.add_body_params('Whitelist.' + str(index1 + 1), value1) | ||
def get_Priority(self): # Long | ||
return self.get_body_params().get('Priority') | ||
|
||
def set_Priority(self, Priority): # Long | ||
self.add_body_params('Priority', Priority) | ||
def get_PersonalLimitType(self): # String | ||
return self.get_body_params().get('PersonalLimitType') | ||
|
||
def set_PersonalLimitType(self, PersonalLimitType): # String | ||
self.add_body_params('PersonalLimitType', PersonalLimitType) | ||
def get_Name(self): # String | ||
return self.get_body_params().get('Name') | ||
|
||
def set_Name(self, Name): # String | ||
self.add_body_params('Name', Name) | ||
def get_CompanyLimitType(self): # String | ||
return self.get_body_params().get('CompanyLimitType') | ||
|
||
def set_CompanyLimitType(self, CompanyLimitType): # String | ||
self.add_body_params('CompanyLimitType', CompanyLimitType) | ||
def get_Status(self): # String | ||
return self.get_body_params().get('Status') | ||
|
||
def set_Status(self, Status): # String | ||
self.add_body_params('Status', Status) |
33 changes: 33 additions & 0 deletions
33
aliyun-python-sdk-csas/aliyunsdkcsas/request/v20230120/DeleteRegistrationPoliciesRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class DeleteRegistrationPoliciesRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'csas', '2023-01-20', 'DeleteRegistrationPolicies') | ||
self.set_method('POST') | ||
|
||
def get_PolicyIds(self): # Array | ||
return self.get_body_params().get('PolicyIds') | ||
|
||
def set_PolicyIds(self, PolicyIds): # Array | ||
for index1, value1 in enumerate(PolicyIds): | ||
self.add_body_params('PolicyIds.' + str(index1 + 1), value1) |
32 changes: 32 additions & 0 deletions
32
aliyun-python-sdk-csas/aliyunsdkcsas/request/v20230120/GetRegistrationPolicyRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class GetRegistrationPolicyRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'csas', '2023-01-20', 'GetRegistrationPolicy') | ||
self.set_method('GET') | ||
|
||
def get_PolicyId(self): # String | ||
return self.get_query_params().get('PolicyId') | ||
|
||
def set_PolicyId(self, PolicyId): # String | ||
self.add_query_param('PolicyId', PolicyId) |
32 changes: 32 additions & 0 deletions
32
aliyun-python-sdk-csas/aliyunsdkcsas/request/v20230120/GetUserDeviceRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class GetUserDeviceRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'csas', '2023-01-20', 'GetUserDevice') | ||
self.set_method('GET') | ||
|
||
def get_DeviceTag(self): # String | ||
return self.get_query_params().get('DeviceTag') | ||
|
||
def set_DeviceTag(self, DeviceTag): # String | ||
self.add_query_param('DeviceTag', DeviceTag) |
79 changes: 79 additions & 0 deletions
79
...sas/aliyunsdkcsas/request/v20230120/ListExcessiveDeviceRegistrationApplicationsRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class ListExcessiveDeviceRegistrationApplicationsRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'csas', '2023-01-20', 'ListExcessiveDeviceRegistrationApplications') | ||
self.set_method('GET') | ||
|
||
def get_DeviceTag(self): # String | ||
return self.get_query_params().get('DeviceTag') | ||
|
||
def set_DeviceTag(self, DeviceTag): # String | ||
self.add_query_param('DeviceTag', DeviceTag) | ||
def get_Mac(self): # String | ||
return self.get_query_params().get('Mac') | ||
|
||
def set_Mac(self, Mac): # String | ||
self.add_query_param('Mac', Mac) | ||
def get_Hostname(self): # String | ||
return self.get_query_params().get('Hostname') | ||
|
||
def set_Hostname(self, Hostname): # String | ||
self.add_query_param('Hostname', Hostname) | ||
def get_SaseUserId(self): # String | ||
return self.get_query_params().get('SaseUserId') | ||
|
||
def set_SaseUserId(self, SaseUserId): # String | ||
self.add_query_param('SaseUserId', SaseUserId) | ||
def get_PageSize(self): # Long | ||
return self.get_query_params().get('PageSize') | ||
|
||
def set_PageSize(self, PageSize): # Long | ||
self.add_query_param('PageSize', PageSize) | ||
def get_Department(self): # String | ||
return self.get_query_params().get('Department') | ||
|
||
def set_Department(self, Department): # String | ||
self.add_query_param('Department', Department) | ||
def get_CurrentPage(self): # Long | ||
return self.get_query_params().get('CurrentPage') | ||
|
||
def set_CurrentPage(self, CurrentPage): # Long | ||
self.add_query_param('CurrentPage', CurrentPage) | ||
def get_ApplicationIds(self): # Array | ||
return self.get_query_params().get('ApplicationIds') | ||
|
||
def set_ApplicationIds(self, ApplicationIds): # Array | ||
for index1, value1 in enumerate(ApplicationIds): | ||
self.add_query_param('ApplicationIds.' + str(index1 + 1), value1) | ||
def get_Statuses(self): # Array | ||
return self.get_query_params().get('Statuses') | ||
|
||
def set_Statuses(self, Statuses): # Array | ||
for index1, value1 in enumerate(Statuses): | ||
self.add_query_param('Statuses.' + str(index1 + 1), value1) | ||
def get_Username(self): # String | ||
return self.get_query_params().get('Username') | ||
|
||
def set_Username(self, Username): # String | ||
self.add_query_param('Username', Username) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
...n-sdk-csas/aliyunsdkcsas/request/v20230120/ListRegistrationPoliciesForUserGroupRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class ListRegistrationPoliciesForUserGroupRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'csas', '2023-01-20', 'ListRegistrationPoliciesForUserGroup') | ||
self.set_method('GET') | ||
|
||
def get_UserGroupIds(self): # Array | ||
return self.get_query_params().get('UserGroupIds') | ||
|
||
def set_UserGroupIds(self, UserGroupIds): # Array | ||
for index1, value1 in enumerate(UserGroupIds): | ||
self.add_query_param('UserGroupIds.' + str(index1 + 1), value1) |
73 changes: 73 additions & 0 deletions
73
aliyun-python-sdk-csas/aliyunsdkcsas/request/v20230120/ListRegistrationPoliciesRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
|
||
class ListRegistrationPoliciesRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'csas', '2023-01-20', 'ListRegistrationPolicies') | ||
self.set_method('GET') | ||
|
||
def get_PolicyIds(self): # Array | ||
return self.get_query_params().get('PolicyIds') | ||
|
||
def set_PolicyIds(self, PolicyIds): # Array | ||
for index1, value1 in enumerate(PolicyIds): | ||
self.add_query_param('PolicyIds.' + str(index1 + 1), value1) | ||
def get_MatchMode(self): # String | ||
return self.get_query_params().get('MatchMode') | ||
|
||
def set_MatchMode(self, MatchMode): # String | ||
self.add_query_param('MatchMode', MatchMode) | ||
def get_PageSize(self): # Long | ||
return self.get_query_params().get('PageSize') | ||
|
||
def set_PageSize(self, PageSize): # Long | ||
self.add_query_param('PageSize', PageSize) | ||
def get_UserGroupId(self): # String | ||
return self.get_query_params().get('UserGroupId') | ||
|
||
def set_UserGroupId(self, UserGroupId): # String | ||
self.add_query_param('UserGroupId', UserGroupId) | ||
def get_CurrentPage(self): # Long | ||
return self.get_query_params().get('CurrentPage') | ||
|
||
def set_CurrentPage(self, CurrentPage): # Long | ||
self.add_query_param('CurrentPage', CurrentPage) | ||
def get_PersonalLimitType(self): # String | ||
return self.get_query_params().get('PersonalLimitType') | ||
|
||
def set_PersonalLimitType(self, PersonalLimitType): # String | ||
self.add_query_param('PersonalLimitType', PersonalLimitType) | ||
def get_Name(self): # String | ||
return self.get_query_params().get('Name') | ||
|
||
def set_Name(self, Name): # String | ||
self.add_query_param('Name', Name) | ||
def get_CompanyLimitType(self): # String | ||
return self.get_query_params().get('CompanyLimitType') | ||
|
||
def set_CompanyLimitType(self, CompanyLimitType): # String | ||
self.add_query_param('CompanyLimitType', CompanyLimitType) | ||
def get_Status(self): # String | ||
return self.get_query_params().get('Status') | ||
|
||
def set_Status(self, Status): # String | ||
self.add_query_param('Status', Status) |
Oops, something went wrong.