Skip to content

Commit ef59bcf

Browse files
committed
Add api GetStreamJobs .
1 parent 9e82d1d commit ef59bcf

File tree

4 files changed

+15
-47
lines changed

4 files changed

+15
-47
lines changed

aliyun-python-sdk-dataphin-public/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-06-30 Version: 1.0.8
2+
- Add api GetStreamJobs .
3+
14
2025-04-28 Version: 1.0.7
25
- Dataphin v5.1.0 openAPI changs log.
36
- Add API ListRowPermission.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.7'
1+
__version__ = '1.0.8'

aliyun-python-sdk-dataphin-public/aliyunsdkdataphin_public/request/v20230630/SyncDepartmentUserRequest.py renamed to aliyun-python-sdk-dataphin-public/aliyunsdkdataphin_public/request/v20230630/GetStreamJobsRequest.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@
1818
# under the License.
1919

2020
from aliyunsdkcore.request import RpcRequest
21-
import json
2221

23-
class SyncDepartmentUserRequest(RpcRequest):
22+
class GetStreamJobsRequest(RpcRequest):
2423

2524
def __init__(self):
26-
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'SyncDepartmentUser')
25+
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetStreamJobs')
2726
self.set_protocol_type('https')
2827
self.set_method('POST')
2928

@@ -32,8 +31,13 @@ def get_OpTenantId(self): # Long
3231

3332
def set_OpTenantId(self, OpTenantId): # Long
3433
self.add_query_param('OpTenantId', OpTenantId)
35-
def get_SyncDepartmentUserCommand(self): # Struct
36-
return self.get_body_params().get('SyncDepartmentUserCommand')
34+
def get_Env(self): # String
35+
return self.get_query_params().get('Env')
3736

38-
def set_SyncDepartmentUserCommand(self, SyncDepartmentUserCommand): # Struct
39-
self.add_body_params("SyncDepartmentUserCommand", json.dumps(SyncDepartmentUserCommand))
37+
def set_Env(self, Env): # String
38+
self.add_query_param('Env', Env)
39+
def get_ProjectId(self): # Long
40+
return self.get_query_params().get('ProjectId')
41+
42+
def set_ProjectId(self, ProjectId): # Long
43+
self.add_query_param('ProjectId', ProjectId)

aliyun-python-sdk-dataphin-public/aliyunsdkdataphin_public/request/v20230630/SyncDepartmentRequest.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)