-
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 Apis for Dataphin V3_11_2.
- Loading branch information
Showing
7 changed files
with
201 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
2023-10-19 Version: 1.0.1 | ||
- Supported Apis for Dataphin V3_11_2. | ||
-Add Api ListUsers. | ||
- Fixed Api UpdateTenantMember For Bug xxxx. | ||
|
||
2023-08-09 Version: 1.0.0 | ||
- Supported Open Apis for Dataphin. | ||
|
2 changes: 1 addition & 1 deletion
2
aliyun-python-sdk-dataphin-public/aliyunsdkdataphin_public/__init__.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 |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '1.0.0' | ||
__version__ = '1.0.1' |
39 changes: 39 additions & 0 deletions
39
...dataphin-public/aliyunsdkdataphin_public/request/v20230630/BatchAddTenantMemberRequest.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,39 @@ | ||
# 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 BatchAddTenantMemberRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'BatchAddTenantMember') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
def get_OpTenantId(self): # Long | ||
return self.get_query_params().get('OpTenantId') | ||
|
||
def set_OpTenantId(self, OpTenantId): # Long | ||
self.add_query_param('OpTenantId', OpTenantId) | ||
def get_BatchAddTenantMemberCommand(self): # Struct | ||
return self.get_query_params().get('BatchAddTenantMemberCommand') | ||
|
||
def set_BatchAddTenantMemberCommand(self, BatchAddTenantMemberCommand): # Struct | ||
self.add_query_param("BatchAddTenantMemberCommand", json.dumps(BatchAddTenantMemberCommand)) |
39 changes: 39 additions & 0 deletions
39
...on-sdk-dataphin-public/aliyunsdkdataphin_public/request/v20230630/BatchGetUsersRequest.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,39 @@ | ||
# 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 BatchGetUsersRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'BatchGetUsers') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
def get_OpTenantId(self): # Long | ||
return self.get_query_params().get('OpTenantId') | ||
|
||
def set_OpTenantId(self, OpTenantId): # Long | ||
self.add_query_param('OpTenantId', OpTenantId) | ||
def get_UserIdList(self): # Array | ||
return self.get_query_params().get('UserIdList') | ||
|
||
def set_UserIdList(self, UserIdList): # Array | ||
self.add_query_param("UserIdList", json.dumps(UserIdList)) |
39 changes: 39 additions & 0 deletions
39
...taphin-public/aliyunsdkdataphin_public/request/v20230630/QueryPagedAddableUsersRequest.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,39 @@ | ||
# 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 QueryPagedAddableUsersRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'QueryPagedAddableUsers') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
def get_OpTenantId(self): # Long | ||
return self.get_query_params().get('OpTenantId') | ||
|
||
def set_OpTenantId(self, OpTenantId): # Long | ||
self.add_query_param('OpTenantId', OpTenantId) | ||
def get_AddableUserPagedQuery(self): # Struct | ||
return self.get_query_params().get('AddableUserPagedQuery') | ||
|
||
def set_AddableUserPagedQuery(self, AddableUserPagedQuery): # Struct | ||
self.add_query_param("AddableUserPagedQuery", json.dumps(AddableUserPagedQuery)) |
39 changes: 39 additions & 0 deletions
39
...ython-sdk-dataphin-public/aliyunsdkdataphin_public/request/v20230630/RemoveUserRequest.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,39 @@ | ||
# 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 RemoveUserRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'RemoveUser') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
def get_OpTenantId(self): # Long | ||
return self.get_query_params().get('OpTenantId') | ||
|
||
def set_OpTenantId(self, OpTenantId): # Long | ||
self.add_query_param('OpTenantId', OpTenantId) | ||
def get_RemoveUserCommand(self): # Struct | ||
return self.get_query_params().get('RemoveUserCommand') | ||
|
||
def set_RemoveUserCommand(self, RemoveUserCommand): # Struct | ||
self.add_query_param("RemoveUserCommand", json.dumps(RemoveUserCommand)) |
39 changes: 39 additions & 0 deletions
39
...-dataphin-public/aliyunsdkdataphin_public/request/v20230630/UpdateTenantMembersRequest.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,39 @@ | ||
# 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 UpdateTenantMembersRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'UpdateTenantMembers') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
def get_OpTenantId(self): # Long | ||
return self.get_query_params().get('OpTenantId') | ||
|
||
def set_OpTenantId(self, OpTenantId): # Long | ||
self.add_query_param('OpTenantId', OpTenantId) | ||
def get_UpdateTenantMembersCommand(self): # Struct | ||
return self.get_query_params().get('UpdateTenantMembersCommand') | ||
|
||
def set_UpdateTenantMembersCommand(self, UpdateTenantMembersCommand): # Struct | ||
self.add_query_param("UpdateTenantMembersCommand", json.dumps(UpdateTenantMembersCommand)) |