Skip to content

Commit

Permalink
Generated 2023-01-20 for csas.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jun 11, 2024
1 parent cb7be94 commit da49807
Show file tree
Hide file tree
Showing 4 changed files with 147 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aliyun-python-sdk-csas/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-06-11 Version: 1.0.7
- Generated 2023-01-20 for `csas`.

2024-06-06 Version: 1.0.6
- Generated 2023-01-20 for `csas`.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-python-sdk-csas/aliyunsdkcsas/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.6'
__version__ = '1.0.7'
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 DeleteUserDevicesRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'csas', '2023-01-20', 'DeleteUserDevices')
self.set_method('POST')

def get_DeviceTags(self): # Array
return self.get_body_params().get('DeviceTags')

def set_DeviceTags(self, DeviceTags): # Array
for index1, value1 in enumerate(DeviceTags):
self.add_body_params('DeviceTags.' + str(index1 + 1), value1)
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
# 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 ExportUserDevicesRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'csas', '2023-01-20', 'ExportUserDevices')
self.set_method('POST')

def get_Mac(self): # String
return self.get_body_params().get('Mac')

def set_Mac(self, Mac): # String
self.add_body_params('Mac', Mac)
def get_DeviceTypes(self): # Array
return self.get_body_params().get('DeviceTypes')

def set_DeviceTypes(self, DeviceTypes): # Array
for index1, value1 in enumerate(DeviceTypes):
self.add_body_params('DeviceTypes.' + str(index1 + 1), value1)
def get_Hostname(self): # String
return self.get_body_params().get('Hostname')

def set_Hostname(self, Hostname): # String
self.add_body_params('Hostname', Hostname)
def get_AppStatuses(self): # Array
return self.get_body_params().get('AppStatuses')

def set_AppStatuses(self, AppStatuses): # Array
for index1, value1 in enumerate(AppStatuses):
self.add_body_params('AppStatuses.' + str(index1 + 1), value1)
def get_DlpStatuses(self): # Array
return self.get_body_params().get('DlpStatuses')

def set_DlpStatuses(self, DlpStatuses): # Array
for index1, value1 in enumerate(DlpStatuses):
self.add_body_params('DlpStatuses.' + str(index1 + 1), value1)
def get_SaseUserId(self): # String
return self.get_body_params().get('SaseUserId')

def set_SaseUserId(self, SaseUserId): # String
self.add_body_params('SaseUserId', SaseUserId)
def get_NacStatuses(self): # Array
return self.get_body_params().get('NacStatuses')

def set_NacStatuses(self, NacStatuses): # Array
for index1, value1 in enumerate(NacStatuses):
self.add_body_params('NacStatuses.' + str(index1 + 1), value1)
def get_Department(self): # String
return self.get_body_params().get('Department')

def set_Department(self, Department): # String
self.add_body_params('Department', Department)
def get_IaStatuses(self): # Array
return self.get_body_params().get('IaStatuses')

def set_IaStatuses(self, IaStatuses): # Array
for index1, value1 in enumerate(IaStatuses):
self.add_body_params('IaStatuses.' + str(index1 + 1), value1)
def get_DeviceBelong(self): # String
return self.get_body_params().get('DeviceBelong')

def set_DeviceBelong(self, DeviceBelong): # String
self.add_body_params('DeviceBelong', DeviceBelong)
def get_SharingStatus(self): # Boolean
return self.get_body_params().get('SharingStatus')

def set_SharingStatus(self, SharingStatus): # Boolean
self.add_body_params('SharingStatus', SharingStatus)
def get_DeviceTags(self): # Array
return self.get_body_params().get('DeviceTags')

def set_DeviceTags(self, DeviceTags): # Array
for index1, value1 in enumerate(DeviceTags):
self.add_body_params('DeviceTags.' + str(index1 + 1), value1)
def get_DeviceStatuses(self): # Array
return self.get_body_params().get('DeviceStatuses')

def set_DeviceStatuses(self, DeviceStatuses): # Array
for index1, value1 in enumerate(DeviceStatuses):
self.add_body_params('DeviceStatuses.' + str(index1 + 1), value1)
def get_PaStatuses(self): # Array
return self.get_body_params().get('PaStatuses')

def set_PaStatuses(self, PaStatuses): # Array
for index1, value1 in enumerate(PaStatuses):
self.add_body_params('PaStatuses.' + str(index1 + 1), value1)
def get_Username(self): # String
return self.get_body_params().get('Username')

def set_Username(self, Username): # String
self.add_body_params('Username', Username)

0 comments on commit da49807

Please sign in to comment.