From 552d3cba0e4430075e48223b96443a6ecce78216 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Fri, 11 Oct 2024 03:03:59 +0000 Subject: [PATCH] Dataphin v4.3 openapi. --- aliyun-java-sdk-dataphin-public/ChangeLog.txt | 3 + aliyun-java-sdk-dataphin-public/pom.xml | 2 +- .../AddTenantMembersBySourceUserRequest.java | 151 ++++++ .../AddTenantMembersBySourceUserResponse.java | 96 ++++ .../v20230630/AddTenantMembersRequest.java | 107 ++++ ...nse.java => AddTenantMembersResponse.java} | 8 +- .../v20230630/AddUserGroupMemberRequest.java | 93 ++++ ...e.java => AddUserGroupMemberResponse.java} | 8 +- .../BatchAddTenantMemberRequest.java | 93 ---- ...heckDataSourceConnectivityByIdRequest.java | 64 +++ ...eckDataSourceConnectivityByIdResponse.java | 96 ++++ .../CheckDataSourceConnectivityRequest.java | 118 +++++ .../CheckDataSourceConnectivityResponse.java | 96 ++++ .../CheckResourcePermissionRequest.java | 129 +++++ .../CheckResourcePermissionResponse.java | 120 +++++ .../v20230630/CreateAdHocFileRequest.java | 114 ++++ .../v20230630/CreateAdHocFileResponse.java | 96 ++++ .../v20230630/CreateDataSourceRequest.java | 284 ++++++++++ .../v20230630/CreateDataSourceResponse.java | 119 +++++ .../v20230630/CreateDirectoryRequest.java | 114 ++++ .../v20230630/CreateDirectoryResponse.java | 96 ++++ .../CreateNodeSupplementRequest.java | 388 ++++++++++++++ .../CreateNodeSupplementResponse.java | 96 ++++ .../v20230630/CreateUserGroupRequest.java | 115 +++++ .../v20230630/CreateUserGroupResponse.java | 96 ++++ .../v20230630/DeleteAdHocFileRequest.java | 77 +++ .../v20230630/DeleteAdHocFileResponse.java | 86 ++++ .../v20230630/DeleteDataSourceRequest.java | 92 ++++ .../v20230630/DeleteDataSourceResponse.java | 96 ++++ .../v20230630/DeleteDirectoryRequest.java | 77 +++ .../v20230630/DeleteDirectoryResponse.java | 86 ++++ .../v20230630/DeleteUserGroupRequest.java | 64 +++ .../v20230630/DeleteUserGroupResponse.java | 96 ++++ .../v20230630/ExecuteManualNodeRequest.java | 175 +++++++ .../v20230630/ExecuteManualNodeResponse.java | 96 ++++ .../model/v20230630/FixDataRequest.java | 200 ++++++++ .../model/v20230630/FixDataResponse.java | 96 ++++ .../model/v20230630/GetAdHocFileRequest.java | 77 +++ .../model/v20230630/GetAdHocFileResponse.java | 169 ++++++ .../GetDevObjectDependencyRequest.java | 103 ++++ .../GetDevObjectDependencyResponse.java | 449 ++++++++++++++++ .../GetInstanceDownStreamRequest.java | 131 +++++ .../GetInstanceDownStreamResponse.java | 236 +++++++++ .../GetInstanceUpDownStreamRequest.java | 145 ++++++ .../GetInstanceUpDownStreamResponse.java | 183 +++++++ .../model/v20230630/GetMyRolesRequest.java | 51 ++ .../model/v20230630/GetMyRolesResponse.java | 130 +++++ .../model/v20230630/GetMyTenantsRequest.java | 68 +++ .../model/v20230630/GetMyTenantsResponse.java | 210 ++++++++ .../v20230630/GetNodeUpDownStreamRequest.java | 144 ++++++ .../GetNodeUpDownStreamResponse.java | 173 +++++++ .../GetOperationSubmitStatusRequest.java | 77 +++ .../GetOperationSubmitStatusResponse.java | 159 ++++++ .../GetPhysicalInstanceLogRequest.java | 90 ++++ .../GetPhysicalInstanceLogResponse.java | 160 ++++++ .../v20230630/GetPhysicalInstanceRequest.java | 90 ++++ .../GetPhysicalInstanceResponse.java | 462 +++++++++++++++++ .../GetPhysicalNodeByOutputNameRequest.java | 77 +++ .../GetPhysicalNodeByOutputNameResponse.java | 341 ++++++++++++ .../GetPhysicalNodeContentRequest.java | 77 +++ .../GetPhysicalNodeContentResponse.java | 129 +++++ .../GetPhysicalNodeOperationLogRequest.java | 77 +++ .../GetPhysicalNodeOperationLogResponse.java | 150 ++++++ .../v20230630/GetPhysicalNodeRequest.java | 77 +++ .../v20230630/GetPhysicalNodeResponse.java | 382 ++++++++++++++ .../GetProjectProduceUserRequest.java | 64 +++ .../GetProjectProduceUserResponse.java | 109 ++++ .../GetSupplementDagrunInstanceRequest.java | 77 +++ .../GetSupplementDagrunInstanceResponse.java | 472 +++++++++++++++++ .../v20230630/GetSupplementDagrunRequest.java | 77 +++ .../GetSupplementDagrunResponse.java | 170 ++++++ .../v20230630/GetUserBySourceIdRequest.java | 64 +++ .../v20230630/GetUserBySourceIdResponse.java | 119 +++++ .../model/v20230630/GetUserGroupRequest.java | 64 +++ .../model/v20230630/GetUserGroupResponse.java | 193 +++++++ ...UsersRequest.java => GetUsersRequest.java} | 12 +- ...ersResponse.java => GetUsersResponse.java} | 194 ++++--- .../GrantResourcePermissionRequest.java | 151 ++++++ .../GrantResourcePermissionResponse.java | 86 ++++ .../v20230630/ListAddableRolesRequest.java | 51 ++ .../v20230630/ListAddableRolesResponse.java | 120 +++++ ...uest.java => ListAddableUsersRequest.java} | 28 +- ...nse.java => ListAddableUsersResponse.java} | 192 ++++--- .../ListDataSourceWithConfigRequest.java | 148 ++++++ .../ListDataSourceWithConfigResponse.java | 455 ++++++++++++++++ .../model/v20230630/ListFilesRequest.java | 125 +++++ .../model/v20230630/ListFilesResponse.java | 210 ++++++++ .../model/v20230630/ListInstancesRequest.java | 282 ++++++++++ .../v20230630/ListInstancesResponse.java | 485 ++++++++++++++++++ .../v20230630/ListNodeDownStreamRequest.java | 189 +++++++ .../v20230630/ListNodeDownStreamResponse.java | 150 ++++++ .../model/v20230630/ListNodesRequest.java | 216 ++++++++ .../model/v20230630/ListNodesResponse.java | 415 +++++++++++++++ ...ResourcePermissionOperationLogRequest.java | 114 ++++ ...esourcePermissionOperationLogResponse.java | 461 +++++++++++++++++ ...va => ListResourcePermissionsRequest.java} | 39 +- .../ListResourcePermissionsResponse.java | 444 ++++++++++++++++ .../v20230630/ListTenantMembersRequest.java | 126 +++++ ...se.java => ListTenantMembersResponse.java} | 215 +++++--- .../ListUserGroupMembersRequest.java | 126 +++++ .../ListUserGroupMembersResponse.java | 249 +++++++++ .../v20230630/ListUserGroupsRequest.java | 137 +++++ .../v20230630/ListUserGroupsResponse.java | 216 ++++++++ .../v20230630/OperateInstanceRequest.java | 142 +++++ .../v20230630/OperateInstanceResponse.java | 170 ++++++ .../v20230630/PausePhysicalNodeRequest.java | 106 ++++ .../v20230630/PausePhysicalNodeResponse.java | 130 +++++ ...st.java => RemoveTenantMemberRequest.java} | 39 +- .../v20230630/RemoveTenantMemberResponse.java | 86 ++++ .../RemoveUserGroupMemberRequest.java | 93 ++++ ...ava => RemoveUserGroupMemberResponse.java} | 8 +- .../v20230630/ResumePhysicalNodeRequest.java | 106 ++++ .../v20230630/ResumePhysicalNodeResponse.java | 130 +++++ .../RevokeResourcePermissionRequest.java | 140 +++++ .../RevokeResourcePermissionResponse.java | 86 ++++ .../v20230630/UpdateAdHocFileRequest.java | 103 ++++ .../v20230630/UpdateAdHocFileResponse.java | 86 ++++ .../UpdateDataSourceBasicInfoRequest.java | 103 ++++ .../UpdateDataSourceBasicInfoResponse.java | 96 ++++ .../UpdateDataSourceConfigRequest.java | 118 +++++ .../UpdateDataSourceConfigResponse.java | 96 ++++ .../v20230630/UpdateFileDirectoryRequest.java | 90 ++++ .../UpdateFileDirectoryResponse.java | 86 ++++ .../v20230630/UpdateFileNameRequest.java | 90 ++++ .../v20230630/UpdateFileNameResponse.java | 86 ++++ ...st.java => UpdateTenantMemberRequest.java} | 64 +-- .../v20230630/UpdateTenantMemberResponse.java | 86 ++++ .../v20230630/UpdateUserGroupRequest.java | 115 +++++ .../v20230630/UpdateUserGroupResponse.java | 96 ++++ .../UpdateUserGroupSwitchRequest.java | 77 +++ .../UpdateUserGroupSwitchResponse.java | 96 ++++ ...mbersBySourceUserResponseUnmarshaller.java | 34 ++ .../AddTenantMembersResponseUnmarshaller.java | 34 ++ ...ddUserGroupMemberResponseUnmarshaller.java | 34 ++ ...chAddTenantMemberResponseUnmarshaller.java | 34 -- .../BatchGetUsersResponseUnmarshaller.java | 65 --- ...eConnectivityByIdResponseUnmarshaller.java | 34 ++ ...ourceConnectivityResponseUnmarshaller.java | 34 ++ ...esourcePermissionResponseUnmarshaller.java | 47 ++ .../CreateAdHocFileResponseUnmarshaller.java | 34 ++ .../CreateDataSourceResponseUnmarshaller.java | 39 ++ .../CreateDirectoryResponseUnmarshaller.java | 34 ++ ...ateNodeSupplementResponseUnmarshaller.java | 34 ++ .../CreateUserGroupResponseUnmarshaller.java | 34 ++ .../DeleteAdHocFileResponseUnmarshaller.java | 33 ++ .../DeleteDataSourceResponseUnmarshaller.java | 34 ++ .../DeleteDirectoryResponseUnmarshaller.java | 33 ++ .../DeleteUserGroupResponseUnmarshaller.java | 34 ++ ...ExecuteManualNodeResponseUnmarshaller.java | 34 ++ .../FixDataResponseUnmarshaller.java | 34 ++ .../GetAdHocFileResponseUnmarshaller.java | 44 ++ ...vObjectDependencyResponseUnmarshaller.java | 108 ++++ ...nstanceDownStreamResponseUnmarshaller.java | 69 +++ ...tanceUpDownStreamResponseUnmarshaller.java | 95 ++++ .../GetMyRolesResponseUnmarshaller.java | 48 ++ .../GetMyTenantsResponseUnmarshaller.java | 61 +++ ...tNodeUpDownStreamResponseUnmarshaller.java | 92 ++++ ...ationSubmitStatusResponseUnmarshaller.java | 43 ++ ...ysicalInstanceLogResponseUnmarshaller.java | 51 ++ ...tPhysicalInstanceResponseUnmarshaller.java | 112 ++++ ...lNodeByOutputNameResponseUnmarshaller.java | 72 +++ ...ysicalNodeContentResponseUnmarshaller.java | 40 ++ ...lNodeOperationLogResponseUnmarshaller.java | 50 ++ .../GetPhysicalNodeResponseUnmarshaller.java | 84 +++ ...rojectProduceUserResponseUnmarshaller.java | 38 ++ ...entDagrunInstanceResponseUnmarshaller.java | 118 +++++ ...tSupplementDagrunResponseUnmarshaller.java | 52 ++ ...GetUserBySourceIdResponseUnmarshaller.java | 39 ++ .../GetUserGroupResponseUnmarshaller.java | 57 ++ .../GetUsersResponseUnmarshaller.java | 64 +++ ...esourcePermissionResponseUnmarshaller.java | 33 ++ .../ListAddableRolesResponseUnmarshaller.java | 47 ++ .../ListAddableUsersResponseUnmarshaller.java | 69 +++ ...aSourceWithConfigResponseUnmarshaller.java | 104 ++++ .../ListFilesResponseUnmarshaller.java | 56 ++ .../ListInstancesResponseUnmarshaller.java | 122 +++++ ...istNodeDownStreamResponseUnmarshaller.java | 55 ++ .../ListNodesResponseUnmarshaller.java | 105 ++++ ...ssionOperationLogResponseUnmarshaller.java | 100 ++++ ...sourcePermissionsResponseUnmarshaller.java | 106 ++++ ...ListTenantMembersResponseUnmarshaller.java | 85 +++ ...tUserGroupMembersResponseUnmarshaller.java | 68 +++ .../ListUserGroupsResponseUnmarshaller.java | 67 +++ .../ListUsersResponseUnmarshaller.java | 63 --- .../OperateInstanceResponseUnmarshaller.java | 52 ++ ...PausePhysicalNodeResponseUnmarshaller.java | 48 ++ ...PagedAddableUsersResponseUnmarshaller.java | 64 --- ...emoveTenantMemberResponseUnmarshaller.java | 33 ++ ...veUserGroupMemberResponseUnmarshaller.java | 34 ++ .../RemoveUserResponseUnmarshaller.java | 34 -- ...esumePhysicalNodeResponseUnmarshaller.java | 48 ++ ...esourcePermissionResponseUnmarshaller.java | 33 ++ .../UpdateAdHocFileResponseUnmarshaller.java | 33 ++ ...taSourceBasicInfoResponseUnmarshaller.java | 34 ++ ...eDataSourceConfigResponseUnmarshaller.java | 34 ++ ...dateFileDirectoryResponseUnmarshaller.java | 33 ++ .../UpdateFileNameResponseUnmarshaller.java | 33 ++ ...pdateTenantMemberResponseUnmarshaller.java | 33 ++ ...dateTenantMembersResponseUnmarshaller.java | 34 -- .../UpdateUserGroupResponseUnmarshaller.java | 34 ++ ...teUserGroupSwitchResponseUnmarshaller.java | 34 ++ 201 files changed, 21387 insertions(+), 700 deletions(-) create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddTenantMembersBySourceUserRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddTenantMembersBySourceUserResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddTenantMembersRequest.java rename aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/{UpdateTenantMembersResponse.java => AddTenantMembersResponse.java} (82%) create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddUserGroupMemberRequest.java rename aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/{BatchAddTenantMemberResponse.java => AddUserGroupMemberResponse.java} (82%) delete mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/BatchAddTenantMemberRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityByIdRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityByIdResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckResourcePermissionRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckResourcePermissionResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateAdHocFileRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateAdHocFileResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDataSourceRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDataSourceResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDirectoryRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDirectoryResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateNodeSupplementRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateNodeSupplementResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateUserGroupRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateUserGroupResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteAdHocFileRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteAdHocFileResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDataSourceRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDataSourceResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDirectoryRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDirectoryResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteUserGroupRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteUserGroupResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ExecuteManualNodeRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ExecuteManualNodeResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/FixDataRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/FixDataResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocFileRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocFileResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDevObjectDependencyRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDevObjectDependencyResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceDownStreamRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceDownStreamResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceUpDownStreamRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceUpDownStreamResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyRolesRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyRolesResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyTenantsRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyTenantsResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetNodeUpDownStreamRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetNodeUpDownStreamResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetOperationSubmitStatusRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetOperationSubmitStatusResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceLogRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceLogResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeByOutputNameRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeByOutputNameResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeContentRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeContentResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeOperationLogRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeOperationLogResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetProjectProduceUserRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetProjectProduceUserResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunInstanceRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunInstanceResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserBySourceIdRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserBySourceIdResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserGroupRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserGroupResponse.java rename aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/{BatchGetUsersRequest.java => GetUsersRequest.java} (80%) rename aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/{BatchGetUsersResponse.java => GetUsersResponse.java} (60%) create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GrantResourcePermissionRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GrantResourcePermissionResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAddableRolesRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAddableRolesResponse.java rename aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/{ListUsersRequest.java => ListAddableUsersRequest.java} (71%) rename aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/{QueryPagedAddableUsersResponse.java => ListAddableUsersResponse.java} (62%) create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListDataSourceWithConfigRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListDataSourceWithConfigResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListFilesRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListFilesResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListInstancesRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListInstancesResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodeDownStreamRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodeDownStreamResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodesRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodesResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListResourcePermissionOperationLogRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListResourcePermissionOperationLogResponse.java rename aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/{QueryPagedAddableUsersRequest.java => ListResourcePermissionsRequest.java} (66%) create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListResourcePermissionsResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListTenantMembersRequest.java rename aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/{ListUsersResponse.java => ListTenantMembersResponse.java} (56%) create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupMembersRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupMembersResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupsRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupsResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OperateInstanceRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OperateInstanceResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/PausePhysicalNodeRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/PausePhysicalNodeResponse.java rename aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/{RemoveUserRequest.java => RemoveTenantMemberRequest.java} (59%) create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveTenantMemberResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveUserGroupMemberRequest.java rename aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/{RemoveUserResponse.java => RemoveUserGroupMemberResponse.java} (84%) create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ResumePhysicalNodeRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ResumePhysicalNodeResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RevokeResourcePermissionRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RevokeResourcePermissionResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateAdHocFileRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateAdHocFileResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceBasicInfoRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceBasicInfoResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceConfigRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceConfigResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileDirectoryRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileDirectoryResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileNameRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileNameResponse.java rename aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/{UpdateTenantMembersRequest.java => UpdateTenantMemberRequest.java} (55%) create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateTenantMemberResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupSwitchRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupSwitchResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/AddTenantMembersBySourceUserResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/AddTenantMembersResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/AddUserGroupMemberResponseUnmarshaller.java delete mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/BatchAddTenantMemberResponseUnmarshaller.java delete mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/BatchGetUsersResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CheckDataSourceConnectivityByIdResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CheckDataSourceConnectivityResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CheckResourcePermissionResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateAdHocFileResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateDataSourceResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateDirectoryResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateNodeSupplementResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateUserGroupResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteAdHocFileResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteDataSourceResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteDirectoryResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteUserGroupResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ExecuteManualNodeResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/FixDataResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAdHocFileResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetDevObjectDependencyResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetInstanceDownStreamResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetInstanceUpDownStreamResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetMyRolesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetMyTenantsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetNodeUpDownStreamResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetOperationSubmitStatusResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalInstanceLogResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalInstanceResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeByOutputNameResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeContentResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeOperationLogResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetProjectProduceUserResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetSupplementDagrunInstanceResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetSupplementDagrunResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetUserBySourceIdResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetUserGroupResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetUsersResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GrantResourcePermissionResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAddableRolesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAddableUsersResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListDataSourceWithConfigResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListFilesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListInstancesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListNodeDownStreamResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListNodesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListResourcePermissionOperationLogResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListResourcePermissionsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListTenantMembersResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListUserGroupMembersResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListUserGroupsResponseUnmarshaller.java delete mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListUsersResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OperateInstanceResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/PausePhysicalNodeResponseUnmarshaller.java delete mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/QueryPagedAddableUsersResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RemoveTenantMemberResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RemoveUserGroupMemberResponseUnmarshaller.java delete mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RemoveUserResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ResumePhysicalNodeResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RevokeResourcePermissionResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateAdHocFileResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateDataSourceBasicInfoResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateDataSourceConfigResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateFileDirectoryResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateFileNameResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateTenantMemberResponseUnmarshaller.java delete mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateTenantMembersResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateUserGroupResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateUserGroupSwitchResponseUnmarshaller.java diff --git a/aliyun-java-sdk-dataphin-public/ChangeLog.txt b/aliyun-java-sdk-dataphin-public/ChangeLog.txt index 29c2c2bb2d..766cc44a87 100644 --- a/aliyun-java-sdk-dataphin-public/ChangeLog.txt +++ b/aliyun-java-sdk-dataphin-public/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-10-11 Version: 1.0.2 +- Dataphin v4.3 openapi. + 2023-10-19 Version: 1.0.1 - Supported Apis for Dataphin V3_11_2. -Add Api ListUsers. diff --git a/aliyun-java-sdk-dataphin-public/pom.xml b/aliyun-java-sdk-dataphin-public/pom.xml index 65203a2823..63e53d98bd 100644 --- a/aliyun-java-sdk-dataphin-public/pom.xml +++ b/aliyun-java-sdk-dataphin-public/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-dataphin-public jar - 1.0.1 + 1.0.2 aliyun-java-sdk-dataphin-public http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddTenantMembersBySourceUserRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddTenantMembersBySourceUserRequest.java new file mode 100644 index 0000000000..f784985a7a --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddTenantMembersBySourceUserRequest.java @@ -0,0 +1,151 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class AddTenantMembersBySourceUserRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("addCommand") + private AddCommand addCommand; + public AddTenantMembersBySourceUserRequest() { + super("dataphin-public", "2023-06-30", "AddTenantMembersBySourceUser"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public AddCommand getAddCommand() { + return this.addCommand; + } + + public void setAddCommand(AddCommand addCommand) { + this.addCommand = addCommand; + if (addCommand != null) { + putBodyParameter("AddCommand" , new Gson().toJson(addCommand)); + } + } + + public static class AddCommand { + + @SerializedName("SourceUserList") + private List sourceUserList; + + public List getSourceUserList() { + return this.sourceUserList; + } + + public void setSourceUserList(List sourceUserList) { + this.sourceUserList = sourceUserList; + } + + public static class SourceUserListItem { + + @SerializedName("SourceId") + private String sourceId; + + @SerializedName("AccountName") + private String accountName; + + @SerializedName("Mail") + private String mail; + + @SerializedName("DisplayName") + private String displayName; + + @SerializedName("MobilePhone") + private String mobilePhone; + + @SerializedName("DingNumber") + private String dingNumber; + + public String getSourceId() { + return this.sourceId; + } + + public void setSourceId(String sourceId) { + this.sourceId = sourceId; + } + + public String getAccountName() { + return this.accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public String getMail() { + return this.mail; + } + + public void setMail(String mail) { + this.mail = mail; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getMobilePhone() { + return this.mobilePhone; + } + + public void setMobilePhone(String mobilePhone) { + this.mobilePhone = mobilePhone; + } + + public String getDingNumber() { + return this.dingNumber; + } + + public void setDingNumber(String dingNumber) { + this.dingNumber = dingNumber; + } + } + } + + @Override + public Class getResponseClass() { + return AddTenantMembersBySourceUserResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddTenantMembersBySourceUserResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddTenantMembersBySourceUserResponse.java new file mode 100644 index 0000000000..d67914f7be --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddTenantMembersBySourceUserResponse.java @@ -0,0 +1,96 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.AddTenantMembersBySourceUserResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class AddTenantMembersBySourceUserResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private Boolean data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getData() { + return this.data; + } + + public void setData(Boolean data) { + this.data = data; + } + + @Override + public AddTenantMembersBySourceUserResponse getInstance(UnmarshallerContext context) { + return AddTenantMembersBySourceUserResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddTenantMembersRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddTenantMembersRequest.java new file mode 100644 index 0000000000..cec0df634a --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddTenantMembersRequest.java @@ -0,0 +1,107 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class AddTenantMembersRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("addCommand") + private AddCommand addCommand; + public AddTenantMembersRequest() { + super("dataphin-public", "2023-06-30", "AddTenantMembers"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public AddCommand getAddCommand() { + return this.addCommand; + } + + public void setAddCommand(AddCommand addCommand) { + this.addCommand = addCommand; + if (addCommand != null) { + putBodyParameter("AddCommand" , new Gson().toJson(addCommand)); + } + } + + public static class AddCommand { + + @SerializedName("UserList") + private List userList; + + public List getUserList() { + return this.userList; + } + + public void setUserList(List userList) { + this.userList = userList; + } + + public static class UserListItem { + + @SerializedName("RoleList") + private List roleList; + + @SerializedName("Id") + private String id; + + public List getRoleList() { + return this.roleList; + } + + public void setRoleList(List roleList) { + this.roleList = roleList; + } + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + } + } + + @Override + public Class getResponseClass() { + return AddTenantMembersResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateTenantMembersResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddTenantMembersResponse.java similarity index 82% rename from aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateTenantMembersResponse.java rename to aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddTenantMembersResponse.java index 47846ecc52..fd67611aec 100644 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateTenantMembersResponse.java +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddTenantMembersResponse.java @@ -15,14 +15,14 @@ package com.aliyuncs.dataphin_public.model.v20230630; import com.aliyuncs.AcsResponse; -import com.aliyuncs.dataphin_public.transform.v20230630.UpdateTenantMembersResponseUnmarshaller; +import com.aliyuncs.dataphin_public.transform.v20230630.AddTenantMembersResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class UpdateTenantMembersResponse extends AcsResponse { +public class AddTenantMembersResponse extends AcsResponse { private String requestId; @@ -85,8 +85,8 @@ public void setData(Boolean data) { } @Override - public UpdateTenantMembersResponse getInstance(UnmarshallerContext context) { - return UpdateTenantMembersResponseUnmarshaller.unmarshall(this, context); + public AddTenantMembersResponse getInstance(UnmarshallerContext context) { + return AddTenantMembersResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddUserGroupMemberRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddUserGroupMemberRequest.java new file mode 100644 index 0000000000..5138a6bd2e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddUserGroupMemberRequest.java @@ -0,0 +1,93 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class AddUserGroupMemberRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("addCommand") + private AddCommand addCommand; + public AddUserGroupMemberRequest() { + super("dataphin-public", "2023-06-30", "AddUserGroupMember"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public AddCommand getAddCommand() { + return this.addCommand; + } + + public void setAddCommand(AddCommand addCommand) { + this.addCommand = addCommand; + if (addCommand != null) { + putBodyParameter("AddCommand" , new Gson().toJson(addCommand)); + } + } + + public static class AddCommand { + + @SerializedName("UserIdList") + private List userIdList; + + @SerializedName("UserGroupId") + private String userGroupId; + + public List getUserIdList() { + return this.userIdList; + } + + public void setUserIdList(List userIdList) { + this.userIdList = userIdList; + } + + public String getUserGroupId() { + return this.userGroupId; + } + + public void setUserGroupId(String userGroupId) { + this.userGroupId = userGroupId; + } + } + + @Override + public Class getResponseClass() { + return AddUserGroupMemberResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/BatchAddTenantMemberResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddUserGroupMemberResponse.java similarity index 82% rename from aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/BatchAddTenantMemberResponse.java rename to aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddUserGroupMemberResponse.java index b6a7b02095..f1539cb440 100644 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/BatchAddTenantMemberResponse.java +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/AddUserGroupMemberResponse.java @@ -15,14 +15,14 @@ package com.aliyuncs.dataphin_public.model.v20230630; import com.aliyuncs.AcsResponse; -import com.aliyuncs.dataphin_public.transform.v20230630.BatchAddTenantMemberResponseUnmarshaller; +import com.aliyuncs.dataphin_public.transform.v20230630.AddUserGroupMemberResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class BatchAddTenantMemberResponse extends AcsResponse { +public class AddUserGroupMemberResponse extends AcsResponse { private String requestId; @@ -85,8 +85,8 @@ public void setData(Boolean data) { } @Override - public BatchAddTenantMemberResponse getInstance(UnmarshallerContext context) { - return BatchAddTenantMemberResponseUnmarshaller.unmarshall(this, context); + public AddUserGroupMemberResponse getInstance(UnmarshallerContext context) { + return AddUserGroupMemberResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/BatchAddTenantMemberRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/BatchAddTenantMemberRequest.java deleted file mode 100644 index 7fa3dfa2c5..0000000000 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/BatchAddTenantMemberRequest.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Licensed 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. - */ - -package com.aliyuncs.dataphin_public.model.v20230630; - -import com.aliyuncs.RpcAcsRequest; -import java.util.List; -import com.google.gson.Gson; -import com.google.gson.annotations.SerializedName; -import com.aliyuncs.http.ProtocolType; -import com.aliyuncs.http.MethodType; - -/** - * @author auto create - * @version - */ -public class BatchAddTenantMemberRequest extends RpcAcsRequest { - - - private Long opTenantId; - - @SerializedName("batchAddTenantMemberCommand") - private BatchAddTenantMemberCommand batchAddTenantMemberCommand; - public BatchAddTenantMemberRequest() { - super("dataphin-public", "2023-06-30", "BatchAddTenantMember"); - setProtocol(ProtocolType.HTTPS); - setMethod(MethodType.POST); - } - - public Long getOpTenantId() { - return this.opTenantId; - } - - public void setOpTenantId(Long opTenantId) { - this.opTenantId = opTenantId; - if(opTenantId != null){ - putQueryParameter("OpTenantId", opTenantId.toString()); - } - } - - public BatchAddTenantMemberCommand getBatchAddTenantMemberCommand() { - return this.batchAddTenantMemberCommand; - } - - public void setBatchAddTenantMemberCommand(BatchAddTenantMemberCommand batchAddTenantMemberCommand) { - this.batchAddTenantMemberCommand = batchAddTenantMemberCommand; - if (batchAddTenantMemberCommand != null) { - putQueryParameter("BatchAddTenantMemberCommand" , new Gson().toJson(batchAddTenantMemberCommand)); - } - } - - public static class BatchAddTenantMemberCommand { - - @SerializedName("UserIds") - private List userIds; - - @SerializedName("MemberRoles") - private List memberRoles; - - public List getUserIds() { - return this.userIds; - } - - public void setUserIds(List userIds) { - this.userIds = userIds; - } - - public List getMemberRoles() { - return this.memberRoles; - } - - public void setMemberRoles(List memberRoles) { - this.memberRoles = memberRoles; - } - } - - @Override - public Class getResponseClass() { - return BatchAddTenantMemberResponse.class; - } - -} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityByIdRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityByIdRequest.java new file mode 100644 index 0000000000..2ed6a77eaa --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityByIdRequest.java @@ -0,0 +1,64 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CheckDataSourceConnectivityByIdRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long id; + public CheckDataSourceConnectivityByIdRequest() { + super("dataphin-public", "2023-06-30", "CheckDataSourceConnectivityById"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + if(id != null){ + putQueryParameter("Id", id.toString()); + } + } + + @Override + public Class getResponseClass() { + return CheckDataSourceConnectivityByIdResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityByIdResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityByIdResponse.java new file mode 100644 index 0000000000..d2ae107196 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityByIdResponse.java @@ -0,0 +1,96 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.CheckDataSourceConnectivityByIdResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CheckDataSourceConnectivityByIdResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private Boolean data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getData() { + return this.data; + } + + public void setData(Boolean data) { + this.data = data; + } + + @Override + public CheckDataSourceConnectivityByIdResponse getInstance(UnmarshallerContext context) { + return CheckDataSourceConnectivityByIdResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityRequest.java new file mode 100644 index 0000000000..df8c59e0b6 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityRequest.java @@ -0,0 +1,118 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CheckDataSourceConnectivityRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("checkCommand") + private CheckCommand checkCommand; + public CheckDataSourceConnectivityRequest() { + super("dataphin-public", "2023-06-30", "CheckDataSourceConnectivity"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public CheckCommand getCheckCommand() { + return this.checkCommand; + } + + public void setCheckCommand(CheckCommand checkCommand) { + this.checkCommand = checkCommand; + if (checkCommand != null) { + putBodyParameter("CheckCommand" , new Gson().toJson(checkCommand)); + } + } + + public static class CheckCommand { + + @SerializedName("ConfigItemList") + private List configItemList; + + @SerializedName("Type") + private String type; + + public List getConfigItemList() { + return this.configItemList; + } + + public void setConfigItemList(List configItemList) { + this.configItemList = configItemList; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public static class ConfigItemListItem { + + @SerializedName("Value") + private String value; + + @SerializedName("Key") + private String key; + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + } + } + + @Override + public Class getResponseClass() { + return CheckDataSourceConnectivityResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityResponse.java new file mode 100644 index 0000000000..39691c8d17 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckDataSourceConnectivityResponse.java @@ -0,0 +1,96 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.CheckDataSourceConnectivityResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CheckDataSourceConnectivityResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private Boolean data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getData() { + return this.data; + } + + public void setData(Boolean data) { + this.data = data; + } + + @Override + public CheckDataSourceConnectivityResponse getInstance(UnmarshallerContext context) { + return CheckDataSourceConnectivityResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckResourcePermissionRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckResourcePermissionRequest.java new file mode 100644 index 0000000000..01ba5e5dd5 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckResourcePermissionRequest.java @@ -0,0 +1,129 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CheckResourcePermissionRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("checkCommand") + private CheckCommand checkCommand; + public CheckResourcePermissionRequest() { + super("dataphin-public", "2023-06-30", "CheckResourcePermission"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public CheckCommand getCheckCommand() { + return this.checkCommand; + } + + public void setCheckCommand(CheckCommand checkCommand) { + this.checkCommand = checkCommand; + if (checkCommand != null) { + putBodyParameter("CheckCommand" , new Gson().toJson(checkCommand)); + } + } + + public static class CheckCommand { + + @SerializedName("Operate") + private String operate; + + @SerializedName("UserId") + private String userId; + + @SerializedName("ResourceType") + private String resourceType; + + @SerializedName("ResourceList") + private List resourceList; + + public String getOperate() { + return this.operate; + } + + public void setOperate(String operate) { + this.operate = operate; + } + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public String getResourceType() { + return this.resourceType; + } + + public void setResourceType(String resourceType) { + this.resourceType = resourceType; + } + + public List getResourceList() { + return this.resourceList; + } + + public void setResourceList(List resourceList) { + this.resourceList = resourceList; + } + + public static class ResourceListItem { + + @SerializedName("ResourceId") + private String resourceId; + + public String getResourceId() { + return this.resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + } + } + + @Override + public Class getResponseClass() { + return CheckResourcePermissionResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckResourcePermissionResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckResourcePermissionResponse.java new file mode 100644 index 0000000000..d726fdb2bc --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CheckResourcePermissionResponse.java @@ -0,0 +1,120 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.CheckResourcePermissionResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CheckResourcePermissionResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List resourcePermissionList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getResourcePermissionList() { + return this.resourcePermissionList; + } + + public void setResourcePermissionList(List resourcePermissionList) { + this.resourcePermissionList = resourcePermissionList; + } + + public static class ResourcePermission { + + private String resourceId; + + private Boolean hasPermission; + + public String getResourceId() { + return this.resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + + public Boolean getHasPermission() { + return this.hasPermission; + } + + public void setHasPermission(Boolean hasPermission) { + this.hasPermission = hasPermission; + } + } + + @Override + public CheckResourcePermissionResponse getInstance(UnmarshallerContext context) { + return CheckResourcePermissionResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateAdHocFileRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateAdHocFileRequest.java new file mode 100644 index 0000000000..5ffc8d3574 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateAdHocFileRequest.java @@ -0,0 +1,114 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateAdHocFileRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("createCommand") + private CreateCommand createCommand; + public CreateAdHocFileRequest() { + super("dataphin-public", "2023-06-30", "CreateAdHocFile"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public CreateCommand getCreateCommand() { + return this.createCommand; + } + + public void setCreateCommand(CreateCommand createCommand) { + this.createCommand = createCommand; + if (createCommand != null) { + putBodyParameter("CreateCommand" , new Gson().toJson(createCommand)); + } + } + + public static class CreateCommand { + + @SerializedName("Name") + private String name; + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("Directory") + private String directory; + + @SerializedName("Content") + private String content; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public String getDirectory() { + return this.directory; + } + + public void setDirectory(String directory) { + this.directory = directory; + } + + public String getContent() { + return this.content; + } + + public void setContent(String content) { + this.content = content; + } + } + + @Override + public Class getResponseClass() { + return CreateAdHocFileResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateAdHocFileResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateAdHocFileResponse.java new file mode 100644 index 0000000000..6a5a6cd550 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateAdHocFileResponse.java @@ -0,0 +1,96 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.CreateAdHocFileResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateAdHocFileResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private Long fileId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + } + + @Override + public CreateAdHocFileResponse getInstance(UnmarshallerContext context) { + return CreateAdHocFileResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDataSourceRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDataSourceRequest.java new file mode 100644 index 0000000000..6e73e9b831 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDataSourceRequest.java @@ -0,0 +1,284 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateDataSourceRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("createCommand") + private CreateCommand createCommand; + public CreateDataSourceRequest() { + super("dataphin-public", "2023-06-30", "CreateDataSource"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public CreateCommand getCreateCommand() { + return this.createCommand; + } + + public void setCreateCommand(CreateCommand createCommand) { + this.createCommand = createCommand; + if (createCommand != null) { + putBodyParameter("CreateCommand" , new Gson().toJson(createCommand)); + } + } + + public static class CreateCommand { + + @SerializedName("ProdDataSourceCreate") + private ProdDataSourceCreate prodDataSourceCreate; + + @SerializedName("DevDataSourceCreate") + private DevDataSourceCreate devDataSourceCreate; + + public ProdDataSourceCreate getProdDataSourceCreate() { + return this.prodDataSourceCreate; + } + + public void setProdDataSourceCreate(ProdDataSourceCreate prodDataSourceCreate) { + this.prodDataSourceCreate = prodDataSourceCreate; + } + + public DevDataSourceCreate getDevDataSourceCreate() { + return this.devDataSourceCreate; + } + + public void setDevDataSourceCreate(DevDataSourceCreate devDataSourceCreate) { + this.devDataSourceCreate = devDataSourceCreate; + } + + public static class ProdDataSourceCreate { + + @SerializedName("Name") + private String name; + + @SerializedName("ConfigItemList") + private List configItemList; + + @SerializedName("Description") + private String description; + + @SerializedName("CheckActivity") + private Boolean checkActivity; + + @SerializedName("Type") + private String type; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public List getConfigItemList() { + return this.configItemList; + } + + public void setConfigItemList(List configItemList) { + this.configItemList = configItemList; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Boolean getCheckActivity() { + return this.checkActivity; + } + + public void setCheckActivity(Boolean checkActivity) { + this.checkActivity = checkActivity; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public static class ConfigItemListItem { + + @SerializedName("Value") + private String value; + + @SerializedName("Key") + private String key; + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + } + } + + public static class DevDataSourceCreate { + + @SerializedName("ProdDataSourceId") + private Long prodDataSourceId; + + @SerializedName("DataSourceCreate") + private DataSourceCreate dataSourceCreate; + + public Long getProdDataSourceId() { + return this.prodDataSourceId; + } + + public void setProdDataSourceId(Long prodDataSourceId) { + this.prodDataSourceId = prodDataSourceId; + } + + public DataSourceCreate getDataSourceCreate() { + return this.dataSourceCreate; + } + + public void setDataSourceCreate(DataSourceCreate dataSourceCreate) { + this.dataSourceCreate = dataSourceCreate; + } + + public static class DataSourceCreate { + + @SerializedName("Name") + private String name; + + @SerializedName("ConfigItemList") + private List configItemList; + + @SerializedName("Description") + private String description; + + @SerializedName("CheckActivity") + private Boolean checkActivity; + + @SerializedName("Type") + private String type; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public List getConfigItemList() { + return this.configItemList; + } + + public void setConfigItemList(List configItemList) { + this.configItemList = configItemList; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Boolean getCheckActivity() { + return this.checkActivity; + } + + public void setCheckActivity(Boolean checkActivity) { + this.checkActivity = checkActivity; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public static class ConfigItemListItem { + + @SerializedName("Value") + private String value; + + @SerializedName("Key") + private String key; + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + } + } + } + } + + @Override + public Class getResponseClass() { + return CreateDataSourceResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDataSourceResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDataSourceResponse.java new file mode 100644 index 0000000000..e800b1356d --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDataSourceResponse.java @@ -0,0 +1,119 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.CreateDataSourceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateDataSourceResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private CreateResult createResult; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public CreateResult getCreateResult() { + return this.createResult; + } + + public void setCreateResult(CreateResult createResult) { + this.createResult = createResult; + } + + public static class CreateResult { + + private Long devDataSourceId; + + private Long prodDataSourceId; + + public Long getDevDataSourceId() { + return this.devDataSourceId; + } + + public void setDevDataSourceId(Long devDataSourceId) { + this.devDataSourceId = devDataSourceId; + } + + public Long getProdDataSourceId() { + return this.prodDataSourceId; + } + + public void setProdDataSourceId(Long prodDataSourceId) { + this.prodDataSourceId = prodDataSourceId; + } + } + + @Override + public CreateDataSourceResponse getInstance(UnmarshallerContext context) { + return CreateDataSourceResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDirectoryRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDirectoryRequest.java new file mode 100644 index 0000000000..0fa4a8368a --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDirectoryRequest.java @@ -0,0 +1,114 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateDirectoryRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("createCommand") + private CreateCommand createCommand; + public CreateDirectoryRequest() { + super("dataphin-public", "2023-06-30", "CreateDirectory"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public CreateCommand getCreateCommand() { + return this.createCommand; + } + + public void setCreateCommand(CreateCommand createCommand) { + this.createCommand = createCommand; + if (createCommand != null) { + putBodyParameter("CreateCommand" , new Gson().toJson(createCommand)); + } + } + + public static class CreateCommand { + + @SerializedName("Name") + private String name; + + @SerializedName("Category") + private String category; + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("Directory") + private String directory; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getCategory() { + return this.category; + } + + public void setCategory(String category) { + this.category = category; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public String getDirectory() { + return this.directory; + } + + public void setDirectory(String directory) { + this.directory = directory; + } + } + + @Override + public Class getResponseClass() { + return CreateDirectoryResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDirectoryResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDirectoryResponse.java new file mode 100644 index 0000000000..b2ed467b74 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDirectoryResponse.java @@ -0,0 +1,96 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.CreateDirectoryResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateDirectoryResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private Long fileId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + } + + @Override + public CreateDirectoryResponse getInstance(UnmarshallerContext context) { + return CreateDirectoryResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateNodeSupplementRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateNodeSupplementRequest.java new file mode 100644 index 0000000000..99b48d38d6 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateNodeSupplementRequest.java @@ -0,0 +1,388 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateNodeSupplementRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("createCommand") + private CreateCommand createCommand; + + private String env; + public CreateNodeSupplementRequest() { + super("dataphin-public", "2023-06-30", "CreateNodeSupplement"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public CreateCommand getCreateCommand() { + return this.createCommand; + } + + public void setCreateCommand(CreateCommand createCommand) { + this.createCommand = createCommand; + if (createCommand != null) { + putBodyParameter("CreateCommand" , new Gson().toJson(createCommand)); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public static class CreateCommand { + + @SerializedName("MaxDueTime") + private String maxDueTime; + + @SerializedName("ContainAllDownStream") + private Boolean containAllDownStream; + + @SerializedName("StartBizDate") + private String startBizDate; + + @SerializedName("Parallelism") + private Integer parallelism; + + @SerializedName("GlobalParamList") + private List globalParamList; + + @SerializedName("EndBizDate") + private String endBizDate; + + @SerializedName("FilterList") + private List filterList; + + @SerializedName("NodeParamsList") + private List nodeParamsList; + + @SerializedName("Name") + private String name; + + @SerializedName("MinDueTime") + private String minDueTime; + + @SerializedName("NodeIdList") + private List nodeIdList; + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("DownStreamNodeIdList") + private List downStreamNodeIdList; + + public String getMaxDueTime() { + return this.maxDueTime; + } + + public void setMaxDueTime(String maxDueTime) { + this.maxDueTime = maxDueTime; + } + + public Boolean getContainAllDownStream() { + return this.containAllDownStream; + } + + public void setContainAllDownStream(Boolean containAllDownStream) { + this.containAllDownStream = containAllDownStream; + } + + public String getStartBizDate() { + return this.startBizDate; + } + + public void setStartBizDate(String startBizDate) { + this.startBizDate = startBizDate; + } + + public Integer getParallelism() { + return this.parallelism; + } + + public void setParallelism(Integer parallelism) { + this.parallelism = parallelism; + } + + public List getGlobalParamList() { + return this.globalParamList; + } + + public void setGlobalParamList(List globalParamList) { + this.globalParamList = globalParamList; + } + + public String getEndBizDate() { + return this.endBizDate; + } + + public void setEndBizDate(String endBizDate) { + this.endBizDate = endBizDate; + } + + public List getFilterList() { + return this.filterList; + } + + public void setFilterList(List filterList) { + this.filterList = filterList; + } + + public List getNodeParamsList() { + return this.nodeParamsList; + } + + public void setNodeParamsList(List nodeParamsList) { + this.nodeParamsList = nodeParamsList; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getMinDueTime() { + return this.minDueTime; + } + + public void setMinDueTime(String minDueTime) { + this.minDueTime = minDueTime; + } + + public List getNodeIdList() { + return this.nodeIdList; + } + + public void setNodeIdList(List nodeIdList) { + this.nodeIdList = nodeIdList; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public List getDownStreamNodeIdList() { + return this.downStreamNodeIdList; + } + + public void setDownStreamNodeIdList(List downStreamNodeIdList) { + this.downStreamNodeIdList = downStreamNodeIdList; + } + + public static class GlobalParamListItem { + + @SerializedName("Value") + private String value; + + @SerializedName("Key") + private String key; + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + } + + public static class FilterListItem { + + @SerializedName("ValueList") + private List valueList; + + @SerializedName("Exclude") + private Boolean exclude; + + @SerializedName("Key") + private String key; + + public List getValueList() { + return this.valueList; + } + + public void setValueList(List valueList) { + this.valueList = valueList; + } + + public Boolean getExclude() { + return this.exclude; + } + + public void setExclude(Boolean exclude) { + this.exclude = exclude; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + } + + public static class NodeParamsListItem { + + @SerializedName("ParamList") + private List paramList; + + @SerializedName("NodeId") + private String nodeId; + + public List getParamList() { + return this.paramList; + } + + public void setParamList(List paramList) { + this.paramList = paramList; + } + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public static class ParamListItem { + + @SerializedName("Value") + private String value; + + @SerializedName("Key") + private String key; + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + } + } + + public static class NodeIdListItem { + + @SerializedName("Id") + private String id; + + @SerializedName("FieldIdList") + private List fieldIdList; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public List getFieldIdList() { + return this.fieldIdList; + } + + public void setFieldIdList(List fieldIdList) { + this.fieldIdList = fieldIdList; + } + } + + public static class DownStreamNodeIdListItem { + + @SerializedName("Id") + private String id; + + @SerializedName("FieldIdList") + private List fieldIdList; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public List getFieldIdList() { + return this.fieldIdList; + } + + public void setFieldIdList(List fieldIdList) { + this.fieldIdList = fieldIdList; + } + } + } + + @Override + public Class getResponseClass() { + return CreateNodeSupplementResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateNodeSupplementResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateNodeSupplementResponse.java new file mode 100644 index 0000000000..e82e534dec --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateNodeSupplementResponse.java @@ -0,0 +1,96 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.CreateNodeSupplementResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateNodeSupplementResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private String submitId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getSubmitId() { + return this.submitId; + } + + public void setSubmitId(String submitId) { + this.submitId = submitId; + } + + @Override + public CreateNodeSupplementResponse getInstance(UnmarshallerContext context) { + return CreateNodeSupplementResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateUserGroupRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateUserGroupRequest.java new file mode 100644 index 0000000000..99c077848e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateUserGroupRequest.java @@ -0,0 +1,115 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateUserGroupRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("createCommand") + private CreateCommand createCommand; + public CreateUserGroupRequest() { + super("dataphin-public", "2023-06-30", "CreateUserGroup"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public CreateCommand getCreateCommand() { + return this.createCommand; + } + + public void setCreateCommand(CreateCommand createCommand) { + this.createCommand = createCommand; + if (createCommand != null) { + putBodyParameter("CreateCommand" , new Gson().toJson(createCommand)); + } + } + + public static class CreateCommand { + + @SerializedName("Name") + private String name; + + @SerializedName("Description") + private String description; + + @SerializedName("Active") + private Boolean active; + + @SerializedName("AdminUserIdList") + private List adminUserIdList; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Boolean getActive() { + return this.active; + } + + public void setActive(Boolean active) { + this.active = active; + } + + public List getAdminUserIdList() { + return this.adminUserIdList; + } + + public void setAdminUserIdList(List adminUserIdList) { + this.adminUserIdList = adminUserIdList; + } + } + + @Override + public Class getResponseClass() { + return CreateUserGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateUserGroupResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateUserGroupResponse.java new file mode 100644 index 0000000000..ffe4221315 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateUserGroupResponse.java @@ -0,0 +1,96 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.CreateUserGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateUserGroupResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private String userGroupId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getUserGroupId() { + return this.userGroupId; + } + + public void setUserGroupId(String userGroupId) { + this.userGroupId = userGroupId; + } + + @Override + public CreateUserGroupResponse getInstance(UnmarshallerContext context) { + return CreateUserGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteAdHocFileRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteAdHocFileRequest.java new file mode 100644 index 0000000000..16ffd2fbf6 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteAdHocFileRequest.java @@ -0,0 +1,77 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteAdHocFileRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long projectId; + + private Long fileId; + public DeleteAdHocFileRequest() { + super("dataphin-public", "2023-06-30", "DeleteAdHocFile"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + if(projectId != null){ + putQueryParameter("ProjectId", projectId.toString()); + } + } + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + if(fileId != null){ + putQueryParameter("FileId", fileId.toString()); + } + } + + @Override + public Class getResponseClass() { + return DeleteAdHocFileResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteAdHocFileResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteAdHocFileResponse.java new file mode 100644 index 0000000000..95c52c8d5e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteAdHocFileResponse.java @@ -0,0 +1,86 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.DeleteAdHocFileResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteAdHocFileResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + @Override + public DeleteAdHocFileResponse getInstance(UnmarshallerContext context) { + return DeleteAdHocFileResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDataSourceRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDataSourceRequest.java new file mode 100644 index 0000000000..0e2874b8d1 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDataSourceRequest.java @@ -0,0 +1,92 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteDataSourceRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("deleteCommand") + private DeleteCommand deleteCommand; + public DeleteDataSourceRequest() { + super("dataphin-public", "2023-06-30", "DeleteDataSource"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public DeleteCommand getDeleteCommand() { + return this.deleteCommand; + } + + public void setDeleteCommand(DeleteCommand deleteCommand) { + this.deleteCommand = deleteCommand; + if (deleteCommand != null) { + putBodyParameter("DeleteCommand" , new Gson().toJson(deleteCommand)); + } + } + + public static class DeleteCommand { + + @SerializedName("Mode") + private String mode; + + @SerializedName("ProdDataSourceId") + private Long prodDataSourceId; + + public String getMode() { + return this.mode; + } + + public void setMode(String mode) { + this.mode = mode; + } + + public Long getProdDataSourceId() { + return this.prodDataSourceId; + } + + public void setProdDataSourceId(Long prodDataSourceId) { + this.prodDataSourceId = prodDataSourceId; + } + } + + @Override + public Class getResponseClass() { + return DeleteDataSourceResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDataSourceResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDataSourceResponse.java new file mode 100644 index 0000000000..cbaf39afbf --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDataSourceResponse.java @@ -0,0 +1,96 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.DeleteDataSourceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteDataSourceResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private Boolean data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getData() { + return this.data; + } + + public void setData(Boolean data) { + this.data = data; + } + + @Override + public DeleteDataSourceResponse getInstance(UnmarshallerContext context) { + return DeleteDataSourceResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDirectoryRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDirectoryRequest.java new file mode 100644 index 0000000000..308ca417ab --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDirectoryRequest.java @@ -0,0 +1,77 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteDirectoryRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long projectId; + + private Long fileId; + public DeleteDirectoryRequest() { + super("dataphin-public", "2023-06-30", "DeleteDirectory"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + if(projectId != null){ + putQueryParameter("ProjectId", projectId.toString()); + } + } + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + if(fileId != null){ + putQueryParameter("FileId", fileId.toString()); + } + } + + @Override + public Class getResponseClass() { + return DeleteDirectoryResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDirectoryResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDirectoryResponse.java new file mode 100644 index 0000000000..fdd6f890ba --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDirectoryResponse.java @@ -0,0 +1,86 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.DeleteDirectoryResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteDirectoryResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + @Override + public DeleteDirectoryResponse getInstance(UnmarshallerContext context) { + return DeleteDirectoryResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteUserGroupRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteUserGroupRequest.java new file mode 100644 index 0000000000..d2f88560ab --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteUserGroupRequest.java @@ -0,0 +1,64 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteUserGroupRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String userGroupId; + public DeleteUserGroupRequest() { + super("dataphin-public", "2023-06-30", "DeleteUserGroup"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getUserGroupId() { + return this.userGroupId; + } + + public void setUserGroupId(String userGroupId) { + this.userGroupId = userGroupId; + if(userGroupId != null){ + putQueryParameter("UserGroupId", userGroupId); + } + } + + @Override + public Class getResponseClass() { + return DeleteUserGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteUserGroupResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteUserGroupResponse.java new file mode 100644 index 0000000000..82f8c341f8 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteUserGroupResponse.java @@ -0,0 +1,96 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.DeleteUserGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteUserGroupResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private Boolean data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getData() { + return this.data; + } + + public void setData(Boolean data) { + this.data = data; + } + + @Override + public DeleteUserGroupResponse getInstance(UnmarshallerContext context) { + return DeleteUserGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ExecuteManualNodeRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ExecuteManualNodeRequest.java new file mode 100644 index 0000000000..822d7bcb48 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ExecuteManualNodeRequest.java @@ -0,0 +1,175 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ExecuteManualNodeRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("executeCommand") + private ExecuteCommand executeCommand; + + private String env; + public ExecuteManualNodeRequest() { + super("dataphin-public", "2023-06-30", "ExecuteManualNode"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public ExecuteCommand getExecuteCommand() { + return this.executeCommand; + } + + public void setExecuteCommand(ExecuteCommand executeCommand) { + this.executeCommand = executeCommand; + if (executeCommand != null) { + putBodyParameter("ExecuteCommand" , new Gson().toJson(executeCommand)); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public static class ExecuteCommand { + + @SerializedName("StartBizDate") + private String startBizDate; + + @SerializedName("FlowName") + private String flowName; + + @SerializedName("EndBizDate") + private String endBizDate; + + @SerializedName("ParamList") + private List paramList; + + @SerializedName("NodeId") + private String nodeId; + + @SerializedName("ProjectId") + private Long projectId; + + public String getStartBizDate() { + return this.startBizDate; + } + + public void setStartBizDate(String startBizDate) { + this.startBizDate = startBizDate; + } + + public String getFlowName() { + return this.flowName; + } + + public void setFlowName(String flowName) { + this.flowName = flowName; + } + + public String getEndBizDate() { + return this.endBizDate; + } + + public void setEndBizDate(String endBizDate) { + this.endBizDate = endBizDate; + } + + public List getParamList() { + return this.paramList; + } + + public void setParamList(List paramList) { + this.paramList = paramList; + } + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public static class ParamListItem { + + @SerializedName("Value") + private String value; + + @SerializedName("Key") + private String key; + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + } + } + + @Override + public Class getResponseClass() { + return ExecuteManualNodeResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ExecuteManualNodeResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ExecuteManualNodeResponse.java new file mode 100644 index 0000000000..083b35b1f7 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ExecuteManualNodeResponse.java @@ -0,0 +1,96 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.ExecuteManualNodeResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ExecuteManualNodeResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private String flowId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getFlowId() { + return this.flowId; + } + + public void setFlowId(String flowId) { + this.flowId = flowId; + } + + @Override + public ExecuteManualNodeResponse getInstance(UnmarshallerContext context) { + return ExecuteManualNodeResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/FixDataRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/FixDataRequest.java new file mode 100644 index 0000000000..55734f8c79 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/FixDataRequest.java @@ -0,0 +1,200 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class FixDataRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("fixDataCommand") + private FixDataCommand fixDataCommand; + + private String env; + public FixDataRequest() { + super("dataphin-public", "2023-06-30", "FixData"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public FixDataCommand getFixDataCommand() { + return this.fixDataCommand; + } + + public void setFixDataCommand(FixDataCommand fixDataCommand) { + this.fixDataCommand = fixDataCommand; + if (fixDataCommand != null) { + putBodyParameter("FixDataCommand" , new Gson().toJson(fixDataCommand)); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public static class FixDataCommand { + + @SerializedName("ForceRerun") + private Boolean forceRerun; + + @SerializedName("ContainRootInstance") + private Boolean containRootInstance; + + @SerializedName("DownstreamRange") + private String downstreamRange; + + @SerializedName("RootInstanceId") + private RootInstanceId rootInstanceId; + + @SerializedName("DownStreamInstanceIdList") + private List downStreamInstanceIdList; + + @SerializedName("ProjectId") + private Long projectId; + + public Boolean getForceRerun() { + return this.forceRerun; + } + + public void setForceRerun(Boolean forceRerun) { + this.forceRerun = forceRerun; + } + + public Boolean getContainRootInstance() { + return this.containRootInstance; + } + + public void setContainRootInstance(Boolean containRootInstance) { + this.containRootInstance = containRootInstance; + } + + public String getDownstreamRange() { + return this.downstreamRange; + } + + public void setDownstreamRange(String downstreamRange) { + this.downstreamRange = downstreamRange; + } + + public RootInstanceId getRootInstanceId() { + return this.rootInstanceId; + } + + public void setRootInstanceId(RootInstanceId rootInstanceId) { + this.rootInstanceId = rootInstanceId; + } + + public List getDownStreamInstanceIdList() { + return this.downStreamInstanceIdList; + } + + public void setDownStreamInstanceIdList(List downStreamInstanceIdList) { + this.downStreamInstanceIdList = downStreamInstanceIdList; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public static class RootInstanceId { + + @SerializedName("Id") + private String id; + + @SerializedName("FieldInstanceIdList") + private List fieldInstanceIdList; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public List getFieldInstanceIdList() { + return this.fieldInstanceIdList; + } + + public void setFieldInstanceIdList(List fieldInstanceIdList) { + this.fieldInstanceIdList = fieldInstanceIdList; + } + } + + public static class DownStreamInstanceIdListItem { + + @SerializedName("Id") + private String id; + + @SerializedName("FieldInstanceIdList") + private List fieldInstanceIdList; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public List getFieldInstanceIdList() { + return this.fieldInstanceIdList; + } + + public void setFieldInstanceIdList(List fieldInstanceIdList) { + this.fieldInstanceIdList = fieldInstanceIdList; + } + } + } + + @Override + public Class getResponseClass() { + return FixDataResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/FixDataResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/FixDataResponse.java new file mode 100644 index 0000000000..21156f34e0 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/FixDataResponse.java @@ -0,0 +1,96 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.FixDataResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class FixDataResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private String submitId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getSubmitId() { + return this.submitId; + } + + public void setSubmitId(String submitId) { + this.submitId = submitId; + } + + @Override + public FixDataResponse getInstance(UnmarshallerContext context) { + return FixDataResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocFileRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocFileRequest.java new file mode 100644 index 0000000000..53c2b21747 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocFileRequest.java @@ -0,0 +1,77 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetAdHocFileRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long projectId; + + private Long fileId; + public GetAdHocFileRequest() { + super("dataphin-public", "2023-06-30", "GetAdHocFile"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + if(projectId != null){ + putQueryParameter("ProjectId", projectId.toString()); + } + } + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + if(fileId != null){ + putQueryParameter("FileId", fileId.toString()); + } + } + + @Override + public Class getResponseClass() { + return GetAdHocFileResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocFileResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocFileResponse.java new file mode 100644 index 0000000000..81387680aa --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocFileResponse.java @@ -0,0 +1,169 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetAdHocFileResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetAdHocFileResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private FileInfo fileInfo; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public FileInfo getFileInfo() { + return this.fileInfo; + } + + public void setFileInfo(FileInfo fileInfo) { + this.fileInfo = fileInfo; + } + + public static class FileInfo { + + private Long id; + + private String name; + + private Long projectId; + + private String directory; + + private String content; + + private String creator; + + private String lastModifier; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public String getDirectory() { + return this.directory; + } + + public void setDirectory(String directory) { + this.directory = directory; + } + + public String getContent() { + return this.content; + } + + public void setContent(String content) { + this.content = content; + } + + public String getCreator() { + return this.creator; + } + + public void setCreator(String creator) { + this.creator = creator; + } + + public String getLastModifier() { + return this.lastModifier; + } + + public void setLastModifier(String lastModifier) { + this.lastModifier = lastModifier; + } + } + + @Override + public GetAdHocFileResponse getInstance(UnmarshallerContext context) { + return GetAdHocFileResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDevObjectDependencyRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDevObjectDependencyRequest.java new file mode 100644 index 0000000000..93c493a16d --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDevObjectDependencyRequest.java @@ -0,0 +1,103 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetDevObjectDependencyRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String objectFrom; + + private String objectType; + + private Long projectId; + + private String objectId; + public GetDevObjectDependencyRequest() { + super("dataphin-public", "2023-06-30", "GetDevObjectDependency"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getObjectFrom() { + return this.objectFrom; + } + + public void setObjectFrom(String objectFrom) { + this.objectFrom = objectFrom; + if(objectFrom != null){ + putQueryParameter("ObjectFrom", objectFrom); + } + } + + public String getObjectType() { + return this.objectType; + } + + public void setObjectType(String objectType) { + this.objectType = objectType; + if(objectType != null){ + putQueryParameter("ObjectType", objectType); + } + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + if(projectId != null){ + putQueryParameter("ProjectId", projectId.toString()); + } + } + + public String getObjectId() { + return this.objectId; + } + + public void setObjectId(String objectId) { + this.objectId = objectId; + if(objectId != null){ + putQueryParameter("ObjectId", objectId); + } + } + + @Override + public Class getResponseClass() { + return GetDevObjectDependencyResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDevObjectDependencyResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDevObjectDependencyResponse.java new file mode 100644 index 0000000000..4bca718b13 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDevObjectDependencyResponse.java @@ -0,0 +1,449 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetDevObjectDependencyResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetDevObjectDependencyResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List devObjectDependencyList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getDevObjectDependencyList() { + return this.devObjectDependencyList; + } + + public void setDevObjectDependencyList(List devObjectDependencyList) { + this.devObjectDependencyList = devObjectDependencyList; + } + + public static class DevObjectDependency { + + private String scheduleType; + + private String nodeName; + + private String projectName; + + private String nodeOutputTableName; + + private String nodeOutputName; + + private Boolean manuallyAdd; + + private String bizUnitId; + + private Boolean customCronExpression; + + private String dependencyStrategy; + + private String bizUnitName; + + private String cronExpression; + + private String subBizType; + + private Boolean dimMidNode; + + private Long projectId; + + private String bizType; + + private Boolean selfDepend; + + private String externalBizInfo; + + private Integer periodDiff; + + private Boolean valid; + + private String nodeType; + + private String nodeId; + + private Boolean autoParse; + + private List ownerList; + + private List outputContextParamList; + + private List effectFieldList; + + private List dependFieldList; + + private DependencyPeriod dependencyPeriod; + + public String getScheduleType() { + return this.scheduleType; + } + + public void setScheduleType(String scheduleType) { + this.scheduleType = scheduleType; + } + + public String getNodeName() { + return this.nodeName; + } + + public void setNodeName(String nodeName) { + this.nodeName = nodeName; + } + + public String getProjectName() { + return this.projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public String getNodeOutputTableName() { + return this.nodeOutputTableName; + } + + public void setNodeOutputTableName(String nodeOutputTableName) { + this.nodeOutputTableName = nodeOutputTableName; + } + + public String getNodeOutputName() { + return this.nodeOutputName; + } + + public void setNodeOutputName(String nodeOutputName) { + this.nodeOutputName = nodeOutputName; + } + + public Boolean getManuallyAdd() { + return this.manuallyAdd; + } + + public void setManuallyAdd(Boolean manuallyAdd) { + this.manuallyAdd = manuallyAdd; + } + + public String getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(String bizUnitId) { + this.bizUnitId = bizUnitId; + } + + public Boolean getCustomCronExpression() { + return this.customCronExpression; + } + + public void setCustomCronExpression(Boolean customCronExpression) { + this.customCronExpression = customCronExpression; + } + + public String getDependencyStrategy() { + return this.dependencyStrategy; + } + + public void setDependencyStrategy(String dependencyStrategy) { + this.dependencyStrategy = dependencyStrategy; + } + + public String getBizUnitName() { + return this.bizUnitName; + } + + public void setBizUnitName(String bizUnitName) { + this.bizUnitName = bizUnitName; + } + + public String getCronExpression() { + return this.cronExpression; + } + + public void setCronExpression(String cronExpression) { + this.cronExpression = cronExpression; + } + + public String getSubBizType() { + return this.subBizType; + } + + public void setSubBizType(String subBizType) { + this.subBizType = subBizType; + } + + public Boolean getDimMidNode() { + return this.dimMidNode; + } + + public void setDimMidNode(Boolean dimMidNode) { + this.dimMidNode = dimMidNode; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public String getBizType() { + return this.bizType; + } + + public void setBizType(String bizType) { + this.bizType = bizType; + } + + public Boolean getSelfDepend() { + return this.selfDepend; + } + + public void setSelfDepend(Boolean selfDepend) { + this.selfDepend = selfDepend; + } + + public String getExternalBizInfo() { + return this.externalBizInfo; + } + + public void setExternalBizInfo(String externalBizInfo) { + this.externalBizInfo = externalBizInfo; + } + + public Integer getPeriodDiff() { + return this.periodDiff; + } + + public void setPeriodDiff(Integer periodDiff) { + this.periodDiff = periodDiff; + } + + public Boolean getValid() { + return this.valid; + } + + public void setValid(Boolean valid) { + this.valid = valid; + } + + public String getNodeType() { + return this.nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public Boolean getAutoParse() { + return this.autoParse; + } + + public void setAutoParse(Boolean autoParse) { + this.autoParse = autoParse; + } + + public List getOwnerList() { + return this.ownerList; + } + + public void setOwnerList(List ownerList) { + this.ownerList = ownerList; + } + + public List getOutputContextParamList() { + return this.outputContextParamList; + } + + public void setOutputContextParamList(List outputContextParamList) { + this.outputContextParamList = outputContextParamList; + } + + public List getEffectFieldList() { + return this.effectFieldList; + } + + public void setEffectFieldList(List effectFieldList) { + this.effectFieldList = effectFieldList; + } + + public List getDependFieldList() { + return this.dependFieldList; + } + + public void setDependFieldList(List dependFieldList) { + this.dependFieldList = dependFieldList; + } + + public DependencyPeriod getDependencyPeriod() { + return this.dependencyPeriod; + } + + public void setDependencyPeriod(DependencyPeriod dependencyPeriod) { + this.dependencyPeriod = dependencyPeriod; + } + + public static class User { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class ContextParam { + + private String key; + + private String description; + + private String defaultValue; + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getDefaultValue() { + return this.defaultValue; + } + + public void setDefaultValue(String defaultValue) { + this.defaultValue = defaultValue; + } + } + + public static class DependencyPeriod { + + private String periodType; + + private Integer periodOffset; + + public String getPeriodType() { + return this.periodType; + } + + public void setPeriodType(String periodType) { + this.periodType = periodType; + } + + public Integer getPeriodOffset() { + return this.periodOffset; + } + + public void setPeriodOffset(Integer periodOffset) { + this.periodOffset = periodOffset; + } + } + } + + @Override + public GetDevObjectDependencyResponse getInstance(UnmarshallerContext context) { + return GetDevObjectDependencyResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceDownStreamRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceDownStreamRequest.java new file mode 100644 index 0000000000..6f543dcf95 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceDownStreamRequest.java @@ -0,0 +1,131 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetInstanceDownStreamRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String runStatus; + + @SerializedName("instanceGet") + private InstanceGet instanceGet; + + private String env; + + private Integer downStreamDepth; + public GetInstanceDownStreamRequest() { + super("dataphin-public", "2023-06-30", "GetInstanceDownStream"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getRunStatus() { + return this.runStatus; + } + + public void setRunStatus(String runStatus) { + this.runStatus = runStatus; + if(runStatus != null){ + putQueryParameter("RunStatus", runStatus); + } + } + + public InstanceGet getInstanceGet() { + return this.instanceGet; + } + + public void setInstanceGet(InstanceGet instanceGet) { + this.instanceGet = instanceGet; + if (instanceGet != null) { + putBodyParameter("InstanceGet" , new Gson().toJson(instanceGet)); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public Integer getDownStreamDepth() { + return this.downStreamDepth; + } + + public void setDownStreamDepth(Integer downStreamDepth) { + this.downStreamDepth = downStreamDepth; + if(downStreamDepth != null){ + putQueryParameter("DownStreamDepth", downStreamDepth.toString()); + } + } + + public static class InstanceGet { + + @SerializedName("InstanceId") + private String instanceId; + + @SerializedName("NodeType") + private String nodeType; + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + } + + public String getNodeType() { + return this.nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + } + + @Override + public Class getResponseClass() { + return GetInstanceDownStreamResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceDownStreamResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceDownStreamResponse.java new file mode 100644 index 0000000000..a5d8c1eb26 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceDownStreamResponse.java @@ -0,0 +1,236 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetInstanceDownStreamResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetInstanceDownStreamResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List instanceRelationList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getInstanceRelationList() { + return this.instanceRelationList; + } + + public void setInstanceRelationList(List instanceRelationList) { + this.instanceRelationList = instanceRelationList; + } + + public static class InstanceRelation { + + private String selectStatus; + + private String selectStatusCause; + + private String runStatus; + + private Integer downStreamDepth; + + private String extendInfo; + + private List fieldInstanceList; + + private InstanceInfo instanceInfo; + + public String getSelectStatus() { + return this.selectStatus; + } + + public void setSelectStatus(String selectStatus) { + this.selectStatus = selectStatus; + } + + public String getSelectStatusCause() { + return this.selectStatusCause; + } + + public void setSelectStatusCause(String selectStatusCause) { + this.selectStatusCause = selectStatusCause; + } + + public String getRunStatus() { + return this.runStatus; + } + + public void setRunStatus(String runStatus) { + this.runStatus = runStatus; + } + + public Integer getDownStreamDepth() { + return this.downStreamDepth; + } + + public void setDownStreamDepth(Integer downStreamDepth) { + this.downStreamDepth = downStreamDepth; + } + + public String getExtendInfo() { + return this.extendInfo; + } + + public void setExtendInfo(String extendInfo) { + this.extendInfo = extendInfo; + } + + public List getFieldInstanceList() { + return this.fieldInstanceList; + } + + public void setFieldInstanceList(List fieldInstanceList) { + this.fieldInstanceList = fieldInstanceList; + } + + public InstanceInfo getInstanceInfo() { + return this.instanceInfo; + } + + public void setInstanceInfo(InstanceInfo instanceInfo) { + this.instanceInfo = instanceInfo; + } + + public static class FieldInstance { + + private String selectStatus; + + private String fieldInstanceId; + + private String runStatus; + + public String getSelectStatus() { + return this.selectStatus; + } + + public void setSelectStatus(String selectStatus) { + this.selectStatus = selectStatus; + } + + public String getFieldInstanceId() { + return this.fieldInstanceId; + } + + public void setFieldInstanceId(String fieldInstanceId) { + this.fieldInstanceId = fieldInstanceId; + } + + public String getRunStatus() { + return this.runStatus; + } + + public void setRunStatus(String runStatus) { + this.runStatus = runStatus; + } + } + + public static class InstanceInfo { + + private String id; + + private String name; + + private String type; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + } + } + + @Override + public GetInstanceDownStreamResponse getInstance(UnmarshallerContext context) { + return GetInstanceDownStreamResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceUpDownStreamRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceUpDownStreamRequest.java new file mode 100644 index 0000000000..029cb7bd6d --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceUpDownStreamRequest.java @@ -0,0 +1,145 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetInstanceUpDownStreamRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Integer upStreamDepth; + + @SerializedName("instanceId") + private InstanceId instanceId; + + private String env; + + private Long projectId; + + private Integer downStreamDepth; + public GetInstanceUpDownStreamRequest() { + super("dataphin-public", "2023-06-30", "GetInstanceUpDownStream"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public Integer getUpStreamDepth() { + return this.upStreamDepth; + } + + public void setUpStreamDepth(Integer upStreamDepth) { + this.upStreamDepth = upStreamDepth; + if(upStreamDepth != null){ + putQueryParameter("UpStreamDepth", upStreamDepth.toString()); + } + } + + public InstanceId getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(InstanceId instanceId) { + this.instanceId = instanceId; + if (instanceId != null) { + putBodyParameter("InstanceId" , new Gson().toJson(instanceId)); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + if(projectId != null){ + putQueryParameter("ProjectId", projectId.toString()); + } + } + + public Integer getDownStreamDepth() { + return this.downStreamDepth; + } + + public void setDownStreamDepth(Integer downStreamDepth) { + this.downStreamDepth = downStreamDepth; + if(downStreamDepth != null){ + putQueryParameter("DownStreamDepth", downStreamDepth.toString()); + } + } + + public static class InstanceId { + + @SerializedName("Id") + private String id; + + @SerializedName("FieldInstanceIdList") + private List fieldInstanceIdList; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public List getFieldInstanceIdList() { + return this.fieldInstanceIdList; + } + + public void setFieldInstanceIdList(List fieldInstanceIdList) { + this.fieldInstanceIdList = fieldInstanceIdList; + } + } + + @Override + public Class getResponseClass() { + return GetInstanceUpDownStreamResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceUpDownStreamResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceUpDownStreamResponse.java new file mode 100644 index 0000000000..8cc0142eb5 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetInstanceUpDownStreamResponse.java @@ -0,0 +1,183 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetInstanceUpDownStreamResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetInstanceUpDownStreamResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private InstanceDagInfo instanceDagInfo; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public InstanceDagInfo getInstanceDagInfo() { + return this.instanceDagInfo; + } + + public void setInstanceDagInfo(InstanceDagInfo instanceDagInfo) { + this.instanceDagInfo = instanceDagInfo; + } + + public static class InstanceDagInfo { + + private List startInstanceList; + + private List upInstanceList; + + private List downInstanceList; + + public List getStartInstanceList() { + return this.startInstanceList; + } + + public void setStartInstanceList(List startInstanceList) { + this.startInstanceList = startInstanceList; + } + + public List getUpInstanceList() { + return this.upInstanceList; + } + + public void setUpInstanceList(List upInstanceList) { + this.upInstanceList = upInstanceList; + } + + public List getDownInstanceList() { + return this.downInstanceList; + } + + public void setDownInstanceList(List downInstanceList) { + this.downInstanceList = downInstanceList; + } + + public static class InstanceInfo { + + private String id; + + private String name; + + private String nodeId; + + private String nodeType; + + private List fieldInstanceIdList; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public String getNodeType() { + return this.nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + + public List getFieldInstanceIdList() { + return this.fieldInstanceIdList; + } + + public void setFieldInstanceIdList(List fieldInstanceIdList) { + this.fieldInstanceIdList = fieldInstanceIdList; + } + } + } + + @Override + public GetInstanceUpDownStreamResponse getInstance(UnmarshallerContext context) { + return GetInstanceUpDownStreamResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyRolesRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyRolesRequest.java new file mode 100644 index 0000000000..8abee9ef1d --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyRolesRequest.java @@ -0,0 +1,51 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetMyRolesRequest extends RpcAcsRequest { + + + private Long opTenantId; + public GetMyRolesRequest() { + super("dataphin-public", "2023-06-30", "GetMyRoles"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + @Override + public Class getResponseClass() { + return GetMyRolesResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyRolesResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyRolesResponse.java new file mode 100644 index 0000000000..8a9494a26e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyRolesResponse.java @@ -0,0 +1,130 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetMyRolesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetMyRolesResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List roleList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getRoleList() { + return this.roleList; + } + + public void setRoleList(List roleList) { + this.roleList = roleList; + } + + public static class Role { + + private Long id; + + private String name; + + private String description; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + } + + @Override + public GetMyRolesResponse getInstance(UnmarshallerContext context) { + return GetMyRolesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyTenantsRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyTenantsRequest.java new file mode 100644 index 0000000000..f952c0dcf8 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyTenantsRequest.java @@ -0,0 +1,68 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetMyTenantsRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("featureCodeList") + private List featureCodeList; + public GetMyTenantsRequest() { + super("dataphin-public", "2023-06-30", "GetMyTenants"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public List getFeatureCodeList() { + return this.featureCodeList; + } + + public void setFeatureCodeList(List featureCodeList) { + this.featureCodeList = featureCodeList; + if (featureCodeList != null) { + putBodyParameter("FeatureCodeList" , new Gson().toJson(featureCodeList)); + } + } + + @Override + public Class getResponseClass() { + return GetMyTenantsResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyTenantsResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyTenantsResponse.java new file mode 100644 index 0000000000..09ce113397 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetMyTenantsResponse.java @@ -0,0 +1,210 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetMyTenantsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetMyTenantsResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List tenantList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getTenantList() { + return this.tenantList; + } + + public void setTenantList(List tenantList) { + this.tenantList = tenantList; + } + + public static class TenantInfo { + + private Long id; + + private String name; + + private String ownerId; + + private String description; + + private Boolean deleted; + + private Long deleteTime; + + private String titleType; + + private Boolean opsTenant; + + private Boolean resourceLimited; + + private Boolean visible; + + private List tenantTypeList; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(String ownerId) { + this.ownerId = ownerId; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Boolean getDeleted() { + return this.deleted; + } + + public void setDeleted(Boolean deleted) { + this.deleted = deleted; + } + + public Long getDeleteTime() { + return this.deleteTime; + } + + public void setDeleteTime(Long deleteTime) { + this.deleteTime = deleteTime; + } + + public String getTitleType() { + return this.titleType; + } + + public void setTitleType(String titleType) { + this.titleType = titleType; + } + + public Boolean getOpsTenant() { + return this.opsTenant; + } + + public void setOpsTenant(Boolean opsTenant) { + this.opsTenant = opsTenant; + } + + public Boolean getResourceLimited() { + return this.resourceLimited; + } + + public void setResourceLimited(Boolean resourceLimited) { + this.resourceLimited = resourceLimited; + } + + public Boolean getVisible() { + return this.visible; + } + + public void setVisible(Boolean visible) { + this.visible = visible; + } + + public List getTenantTypeList() { + return this.tenantTypeList; + } + + public void setTenantTypeList(List tenantTypeList) { + this.tenantTypeList = tenantTypeList; + } + } + + @Override + public GetMyTenantsResponse getInstance(UnmarshallerContext context) { + return GetMyTenantsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetNodeUpDownStreamRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetNodeUpDownStreamRequest.java new file mode 100644 index 0000000000..147591aaf1 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetNodeUpDownStreamRequest.java @@ -0,0 +1,144 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetNodeUpDownStreamRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Integer upStreamDepth; + + private String env; + + private Long projectId; + + @SerializedName("nodeId") + private NodeId nodeId; + + private Integer downStreamDepth; + public GetNodeUpDownStreamRequest() { + super("dataphin-public", "2023-06-30", "GetNodeUpDownStream"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public Integer getUpStreamDepth() { + return this.upStreamDepth; + } + + public void setUpStreamDepth(Integer upStreamDepth) { + this.upStreamDepth = upStreamDepth; + if(upStreamDepth != null){ + putQueryParameter("UpStreamDepth", upStreamDepth.toString()); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + if(projectId != null){ + putQueryParameter("ProjectId", projectId.toString()); + } + } + + public NodeId getNodeId() { + return this.nodeId; + } + + public void setNodeId(NodeId nodeId) { + this.nodeId = nodeId; + if (nodeId != null) { + putBodyParameter("NodeId" , new Gson().toJson(nodeId)); + } + } + + public Integer getDownStreamDepth() { + return this.downStreamDepth; + } + + public void setDownStreamDepth(Integer downStreamDepth) { + this.downStreamDepth = downStreamDepth; + if(downStreamDepth != null){ + putQueryParameter("DownStreamDepth", downStreamDepth.toString()); + } + } + + public static class NodeId { + + @SerializedName("Id") + private String id; + + @SerializedName("FieldIdList") + private String fieldIdList; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getFieldIdList() { + return this.fieldIdList; + } + + public void setFieldIdList(String fieldIdList) { + this.fieldIdList = fieldIdList; + } + } + + @Override + public Class getResponseClass() { + return GetNodeUpDownStreamResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetNodeUpDownStreamResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetNodeUpDownStreamResponse.java new file mode 100644 index 0000000000..ff704f8e8f --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetNodeUpDownStreamResponse.java @@ -0,0 +1,173 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetNodeUpDownStreamResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetNodeUpDownStreamResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private NodeDagInfo nodeDagInfo; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public NodeDagInfo getNodeDagInfo() { + return this.nodeDagInfo; + } + + public void setNodeDagInfo(NodeDagInfo nodeDagInfo) { + this.nodeDagInfo = nodeDagInfo; + } + + public static class NodeDagInfo { + + private List startNodeList; + + private List upStreamNodeList; + + private List downStreamNodeList; + + public List getStartNodeList() { + return this.startNodeList; + } + + public void setStartNodeList(List startNodeList) { + this.startNodeList = startNodeList; + } + + public List getUpStreamNodeList() { + return this.upStreamNodeList; + } + + public void setUpStreamNodeList(List upStreamNodeList) { + this.upStreamNodeList = upStreamNodeList; + } + + public List getDownStreamNodeList() { + return this.downStreamNodeList; + } + + public void setDownStreamNodeList(List downStreamNodeList) { + this.downStreamNodeList = downStreamNodeList; + } + + public static class NodeInfo { + + private String id; + + private String name; + + private String type; + + private List fieldIdList; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public List getFieldIdList() { + return this.fieldIdList; + } + + public void setFieldIdList(List fieldIdList) { + this.fieldIdList = fieldIdList; + } + } + } + + @Override + public GetNodeUpDownStreamResponse getInstance(UnmarshallerContext context) { + return GetNodeUpDownStreamResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetOperationSubmitStatusRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetOperationSubmitStatusRequest.java new file mode 100644 index 0000000000..c1264f4e95 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetOperationSubmitStatusRequest.java @@ -0,0 +1,77 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetOperationSubmitStatusRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String jobId; + + private String env; + public GetOperationSubmitStatusRequest() { + super("dataphin-public", "2023-06-30", "GetOperationSubmitStatus"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getJobId() { + return this.jobId; + } + + public void setJobId(String jobId) { + this.jobId = jobId; + if(jobId != null){ + putQueryParameter("JobId", jobId); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + @Override + public Class getResponseClass() { + return GetOperationSubmitStatusResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetOperationSubmitStatusResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetOperationSubmitStatusResponse.java new file mode 100644 index 0000000000..f6924aa464 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetOperationSubmitStatusResponse.java @@ -0,0 +1,159 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetOperationSubmitStatusResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetOperationSubmitStatusResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private OperationSubmitJob operationSubmitJob; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public OperationSubmitJob getOperationSubmitJob() { + return this.operationSubmitJob; + } + + public void setOperationSubmitJob(OperationSubmitJob operationSubmitJob) { + this.operationSubmitJob = operationSubmitJob; + } + + public static class OperationSubmitJob { + + private String jobId; + + private String progress; + + private String operation; + + private String operationStatus; + + private String externalBizId; + + private String operator; + + public String getJobId() { + return this.jobId; + } + + public void setJobId(String jobId) { + this.jobId = jobId; + } + + public String getProgress() { + return this.progress; + } + + public void setProgress(String progress) { + this.progress = progress; + } + + public String getOperation() { + return this.operation; + } + + public void setOperation(String operation) { + this.operation = operation; + } + + public String getOperationStatus() { + return this.operationStatus; + } + + public void setOperationStatus(String operationStatus) { + this.operationStatus = operationStatus; + } + + public String getExternalBizId() { + return this.externalBizId; + } + + public void setExternalBizId(String externalBizId) { + this.externalBizId = externalBizId; + } + + public String getOperator() { + return this.operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + } + + @Override + public GetOperationSubmitStatusResponse getInstance(UnmarshallerContext context) { + return GetOperationSubmitStatusResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceLogRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceLogRequest.java new file mode 100644 index 0000000000..bda18e1898 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceLogRequest.java @@ -0,0 +1,90 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetPhysicalInstanceLogRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String instanceId; + + private String env; + + private Long projectId; + public GetPhysicalInstanceLogRequest() { + super("dataphin-public", "2023-06-30", "GetPhysicalInstanceLog"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + if(projectId != null){ + putQueryParameter("ProjectId", projectId.toString()); + } + } + + @Override + public Class getResponseClass() { + return GetPhysicalInstanceLogResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceLogResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceLogResponse.java new file mode 100644 index 0000000000..cdf98faf7d --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceLogResponse.java @@ -0,0 +1,160 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetPhysicalInstanceLogResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetPhysicalInstanceLogResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List taskrunLogList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getTaskrunLogList() { + return this.taskrunLogList; + } + + public void setTaskrunLogList(List taskrunLogList) { + this.taskrunLogList = taskrunLogList; + } + + public static class TaskrunLog { + + private String taskrunId; + + private String startTime; + + private String endTime; + + private String logContent; + + private String status; + + private String duration; + + public String getTaskrunId() { + return this.taskrunId; + } + + public void setTaskrunId(String taskrunId) { + this.taskrunId = taskrunId; + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public String getLogContent() { + return this.logContent; + } + + public void setLogContent(String logContent) { + this.logContent = logContent; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getDuration() { + return this.duration; + } + + public void setDuration(String duration) { + this.duration = duration; + } + } + + @Override + public GetPhysicalInstanceLogResponse getInstance(UnmarshallerContext context) { + return GetPhysicalInstanceLogResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceRequest.java new file mode 100644 index 0000000000..b812cc8601 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceRequest.java @@ -0,0 +1,90 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetPhysicalInstanceRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String instanceId; + + private String env; + + private Long projectId; + public GetPhysicalInstanceRequest() { + super("dataphin-public", "2023-06-30", "GetPhysicalInstance"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + if(projectId != null){ + putQueryParameter("ProjectId", projectId.toString()); + } + } + + @Override + public Class getResponseClass() { + return GetPhysicalInstanceResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceResponse.java new file mode 100644 index 0000000000..4f4a27340f --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalInstanceResponse.java @@ -0,0 +1,462 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetPhysicalInstanceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetPhysicalInstanceResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private Instance instance; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Instance getInstance() { + return this.instance; + } + + public void setInstance(Instance instance) { + this.instance = instance; + } + + public static class Instance { + + private String id; + + private String bizDate; + + private String dueTime; + + private Long startExecuteTime; + + private Long endExecuteTime; + + private String duration; + + private Integer index; + + private String extendInfo; + + private List statusList; + + private NodeInfo nodeInfo; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getBizDate() { + return this.bizDate; + } + + public void setBizDate(String bizDate) { + this.bizDate = bizDate; + } + + public String getDueTime() { + return this.dueTime; + } + + public void setDueTime(String dueTime) { + this.dueTime = dueTime; + } + + public Long getStartExecuteTime() { + return this.startExecuteTime; + } + + public void setStartExecuteTime(Long startExecuteTime) { + this.startExecuteTime = startExecuteTime; + } + + public Long getEndExecuteTime() { + return this.endExecuteTime; + } + + public void setEndExecuteTime(Long endExecuteTime) { + this.endExecuteTime = endExecuteTime; + } + + public String getDuration() { + return this.duration; + } + + public void setDuration(String duration) { + this.duration = duration; + } + + public Integer getIndex() { + return this.index; + } + + public void setIndex(Integer index) { + this.index = index; + } + + public String getExtendInfo() { + return this.extendInfo; + } + + public void setExtendInfo(String extendInfo) { + this.extendInfo = extendInfo; + } + + public List getStatusList() { + return this.statusList; + } + + public void setStatusList(List statusList) { + this.statusList = statusList; + } + + public NodeInfo getNodeInfo() { + return this.nodeInfo; + } + + public void setNodeInfo(NodeInfo nodeInfo) { + this.nodeInfo = nodeInfo; + } + + public static class NodeInfo { + + private String id; + + private String from; + + private String type; + + private String name; + + private String subDetailType; + + private String description; + + private Boolean dryRun; + + private Boolean schedulePaused; + + private Boolean hasProd; + + private Boolean hasDev; + + private String bizUnitName; + + private String createTime; + + private String lastModifiedTime; + + private List ownerList; + + private List priorityList; + + private List resourceGroupList; + + private List schedulePeriodList; + + private Creator creator; + + private Modifier modifier; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getFrom() { + return this.from; + } + + public void setFrom(String from) { + this.from = from; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getSubDetailType() { + return this.subDetailType; + } + + public void setSubDetailType(String subDetailType) { + this.subDetailType = subDetailType; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Boolean getDryRun() { + return this.dryRun; + } + + public void setDryRun(Boolean dryRun) { + this.dryRun = dryRun; + } + + public Boolean getSchedulePaused() { + return this.schedulePaused; + } + + public void setSchedulePaused(Boolean schedulePaused) { + this.schedulePaused = schedulePaused; + } + + public Boolean getHasProd() { + return this.hasProd; + } + + public void setHasProd(Boolean hasProd) { + this.hasProd = hasProd; + } + + public Boolean getHasDev() { + return this.hasDev; + } + + public void setHasDev(Boolean hasDev) { + this.hasDev = hasDev; + } + + public String getBizUnitName() { + return this.bizUnitName; + } + + public void setBizUnitName(String bizUnitName) { + this.bizUnitName = bizUnitName; + } + + public String getCreateTime() { + return this.createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public String getLastModifiedTime() { + return this.lastModifiedTime; + } + + public void setLastModifiedTime(String lastModifiedTime) { + this.lastModifiedTime = lastModifiedTime; + } + + public List getOwnerList() { + return this.ownerList; + } + + public void setOwnerList(List ownerList) { + this.ownerList = ownerList; + } + + public List getPriorityList() { + return this.priorityList; + } + + public void setPriorityList(List priorityList) { + this.priorityList = priorityList; + } + + public List getResourceGroupList() { + return this.resourceGroupList; + } + + public void setResourceGroupList(List resourceGroupList) { + this.resourceGroupList = resourceGroupList; + } + + public List getSchedulePeriodList() { + return this.schedulePeriodList; + } + + public void setSchedulePeriodList(List schedulePeriodList) { + this.schedulePeriodList = schedulePeriodList; + } + + public Creator getCreator() { + return this.creator; + } + + public void setCreator(Creator creator) { + this.creator = creator; + } + + public Modifier getModifier() { + return this.modifier; + } + + public void setModifier(Modifier modifier) { + this.modifier = modifier; + } + + public static class User { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class Creator { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class Modifier { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + } + } + + @Override + public GetPhysicalInstanceResponse getInstance(UnmarshallerContext context) { + return GetPhysicalInstanceResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeByOutputNameRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeByOutputNameRequest.java new file mode 100644 index 0000000000..22ea1706e1 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeByOutputNameRequest.java @@ -0,0 +1,77 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetPhysicalNodeByOutputNameRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String outputName; + + private String env; + public GetPhysicalNodeByOutputNameRequest() { + super("dataphin-public", "2023-06-30", "GetPhysicalNodeByOutputName"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getOutputName() { + return this.outputName; + } + + public void setOutputName(String outputName) { + this.outputName = outputName; + if(outputName != null){ + putQueryParameter("OutputName", outputName); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + @Override + public Class getResponseClass() { + return GetPhysicalNodeByOutputNameResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeByOutputNameResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeByOutputNameResponse.java new file mode 100644 index 0000000000..c5d2891d20 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeByOutputNameResponse.java @@ -0,0 +1,341 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetPhysicalNodeByOutputNameResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetPhysicalNodeByOutputNameResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private NodeInfo nodeInfo; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public NodeInfo getNodeInfo() { + return this.nodeInfo; + } + + public void setNodeInfo(NodeInfo nodeInfo) { + this.nodeInfo = nodeInfo; + } + + public static class NodeInfo { + + private String id; + + private String name; + + private String description; + + private String operatorType; + + private String scheduleType; + + private String priority; + + private Long createTime; + + private Long lastModifiedTime; + + private String status; + + private String triggerConfig; + + private String from; + + private ProjectInfo projectInfo; + + private Creator creator; + + private Owner owner; + + private Modifier modifier; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOperatorType() { + return this.operatorType; + } + + public void setOperatorType(String operatorType) { + this.operatorType = operatorType; + } + + public String getScheduleType() { + return this.scheduleType; + } + + public void setScheduleType(String scheduleType) { + this.scheduleType = scheduleType; + } + + public String getPriority() { + return this.priority; + } + + public void setPriority(String priority) { + this.priority = priority; + } + + public Long getCreateTime() { + return this.createTime; + } + + public void setCreateTime(Long createTime) { + this.createTime = createTime; + } + + public Long getLastModifiedTime() { + return this.lastModifiedTime; + } + + public void setLastModifiedTime(Long lastModifiedTime) { + this.lastModifiedTime = lastModifiedTime; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getTriggerConfig() { + return this.triggerConfig; + } + + public void setTriggerConfig(String triggerConfig) { + this.triggerConfig = triggerConfig; + } + + public String getFrom() { + return this.from; + } + + public void setFrom(String from) { + this.from = from; + } + + public ProjectInfo getProjectInfo() { + return this.projectInfo; + } + + public void setProjectInfo(ProjectInfo projectInfo) { + this.projectInfo = projectInfo; + } + + public Creator getCreator() { + return this.creator; + } + + public void setCreator(Creator creator) { + this.creator = creator; + } + + public Owner getOwner() { + return this.owner; + } + + public void setOwner(Owner owner) { + this.owner = owner; + } + + public Modifier getModifier() { + return this.modifier; + } + + public void setModifier(Modifier modifier) { + this.modifier = modifier; + } + + public static class ProjectInfo { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class Creator { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class Owner { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class Modifier { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + } + + @Override + public GetPhysicalNodeByOutputNameResponse getInstance(UnmarshallerContext context) { + return GetPhysicalNodeByOutputNameResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeContentRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeContentRequest.java new file mode 100644 index 0000000000..ceb45cfda8 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeContentRequest.java @@ -0,0 +1,77 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetPhysicalNodeContentRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String env; + + private String nodeId; + public GetPhysicalNodeContentRequest() { + super("dataphin-public", "2023-06-30", "GetPhysicalNodeContent"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + if(nodeId != null){ + putQueryParameter("NodeId", nodeId); + } + } + + @Override + public Class getResponseClass() { + return GetPhysicalNodeContentResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeContentResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeContentResponse.java new file mode 100644 index 0000000000..48b96b86c1 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeContentResponse.java @@ -0,0 +1,129 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetPhysicalNodeContentResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetPhysicalNodeContentResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String nodeId; + + private String nodeName; + + private String codeContent; + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public String getNodeName() { + return this.nodeName; + } + + public void setNodeName(String nodeName) { + this.nodeName = nodeName; + } + + public String getCodeContent() { + return this.codeContent; + } + + public void setCodeContent(String codeContent) { + this.codeContent = codeContent; + } + } + + @Override + public GetPhysicalNodeContentResponse getInstance(UnmarshallerContext context) { + return GetPhysicalNodeContentResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeOperationLogRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeOperationLogRequest.java new file mode 100644 index 0000000000..488913868f --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeOperationLogRequest.java @@ -0,0 +1,77 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetPhysicalNodeOperationLogRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String env; + + private String nodeId; + public GetPhysicalNodeOperationLogRequest() { + super("dataphin-public", "2023-06-30", "GetPhysicalNodeOperationLog"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + if(nodeId != null){ + putQueryParameter("NodeId", nodeId); + } + } + + @Override + public Class getResponseClass() { + return GetPhysicalNodeOperationLogResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeOperationLogResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeOperationLogResponse.java new file mode 100644 index 0000000000..c26058ef38 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeOperationLogResponse.java @@ -0,0 +1,150 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetPhysicalNodeOperationLogResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetPhysicalNodeOperationLogResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List operationLogList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getOperationLogList() { + return this.operationLogList; + } + + public void setOperationLogList(List operationLogList) { + this.operationLogList = operationLogList; + } + + public static class OperationLog { + + private String context; + + private String operationType; + + private String operator; + + private String operationTime; + + private String operatorName; + + public String getContext() { + return this.context; + } + + public void setContext(String context) { + this.context = context; + } + + public String getOperationType() { + return this.operationType; + } + + public void setOperationType(String operationType) { + this.operationType = operationType; + } + + public String getOperator() { + return this.operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + + public String getOperationTime() { + return this.operationTime; + } + + public void setOperationTime(String operationTime) { + this.operationTime = operationTime; + } + + public String getOperatorName() { + return this.operatorName; + } + + public void setOperatorName(String operatorName) { + this.operatorName = operatorName; + } + } + + @Override + public GetPhysicalNodeOperationLogResponse getInstance(UnmarshallerContext context) { + return GetPhysicalNodeOperationLogResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeRequest.java new file mode 100644 index 0000000000..5ec461ad2c --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeRequest.java @@ -0,0 +1,77 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetPhysicalNodeRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String env; + + private String nodeId; + public GetPhysicalNodeRequest() { + super("dataphin-public", "2023-06-30", "GetPhysicalNode"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + if(nodeId != null){ + putQueryParameter("NodeId", nodeId); + } + } + + @Override + public Class getResponseClass() { + return GetPhysicalNodeResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeResponse.java new file mode 100644 index 0000000000..6b151ce584 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetPhysicalNodeResponse.java @@ -0,0 +1,382 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetPhysicalNodeResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetPhysicalNodeResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private NodeInfo nodeInfo; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public NodeInfo getNodeInfo() { + return this.nodeInfo; + } + + public void setNodeInfo(NodeInfo nodeInfo) { + this.nodeInfo = nodeInfo; + } + + public static class NodeInfo { + + private String id; + + private String name; + + private String description; + + private String operatorType; + + private String scheduleType; + + private String priority; + + private Long createTime; + + private Long lastModifiedTime; + + private String status; + + private String triggerConfig; + + private String from; + + private String cronExpression; + + private Long dataSourceId; + + private String dataSourceSchema; + + private List outputNameList; + + private ProjectInfo projectInfo; + + private Creator creator; + + private Owner owner; + + private Modifier modifier; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOperatorType() { + return this.operatorType; + } + + public void setOperatorType(String operatorType) { + this.operatorType = operatorType; + } + + public String getScheduleType() { + return this.scheduleType; + } + + public void setScheduleType(String scheduleType) { + this.scheduleType = scheduleType; + } + + public String getPriority() { + return this.priority; + } + + public void setPriority(String priority) { + this.priority = priority; + } + + public Long getCreateTime() { + return this.createTime; + } + + public void setCreateTime(Long createTime) { + this.createTime = createTime; + } + + public Long getLastModifiedTime() { + return this.lastModifiedTime; + } + + public void setLastModifiedTime(Long lastModifiedTime) { + this.lastModifiedTime = lastModifiedTime; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getTriggerConfig() { + return this.triggerConfig; + } + + public void setTriggerConfig(String triggerConfig) { + this.triggerConfig = triggerConfig; + } + + public String getFrom() { + return this.from; + } + + public void setFrom(String from) { + this.from = from; + } + + public String getCronExpression() { + return this.cronExpression; + } + + public void setCronExpression(String cronExpression) { + this.cronExpression = cronExpression; + } + + public Long getDataSourceId() { + return this.dataSourceId; + } + + public void setDataSourceId(Long dataSourceId) { + this.dataSourceId = dataSourceId; + } + + public String getDataSourceSchema() { + return this.dataSourceSchema; + } + + public void setDataSourceSchema(String dataSourceSchema) { + this.dataSourceSchema = dataSourceSchema; + } + + public List getOutputNameList() { + return this.outputNameList; + } + + public void setOutputNameList(List outputNameList) { + this.outputNameList = outputNameList; + } + + public ProjectInfo getProjectInfo() { + return this.projectInfo; + } + + public void setProjectInfo(ProjectInfo projectInfo) { + this.projectInfo = projectInfo; + } + + public Creator getCreator() { + return this.creator; + } + + public void setCreator(Creator creator) { + this.creator = creator; + } + + public Owner getOwner() { + return this.owner; + } + + public void setOwner(Owner owner) { + this.owner = owner; + } + + public Modifier getModifier() { + return this.modifier; + } + + public void setModifier(Modifier modifier) { + this.modifier = modifier; + } + + public static class ProjectInfo { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class Creator { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class Owner { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class Modifier { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + } + + @Override + public GetPhysicalNodeResponse getInstance(UnmarshallerContext context) { + return GetPhysicalNodeResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetProjectProduceUserRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetProjectProduceUserRequest.java new file mode 100644 index 0000000000..ed084d1305 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetProjectProduceUserRequest.java @@ -0,0 +1,64 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetProjectProduceUserRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long projectId; + public GetProjectProduceUserRequest() { + super("dataphin-public", "2023-06-30", "GetProjectProduceUser"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + if(projectId != null){ + putQueryParameter("ProjectId", projectId.toString()); + } + } + + @Override + public Class getResponseClass() { + return GetProjectProduceUserResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetProjectProduceUserResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetProjectProduceUserResponse.java new file mode 100644 index 0000000000..4d7c3c49d7 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetProjectProduceUserResponse.java @@ -0,0 +1,109 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetProjectProduceUserResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetProjectProduceUserResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private User user; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public User getUser() { + return this.user; + } + + public void setUser(User user) { + this.user = user; + } + + public static class User { + + private String id; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + } + + @Override + public GetProjectProduceUserResponse getInstance(UnmarshallerContext context) { + return GetProjectProduceUserResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunInstanceRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunInstanceRequest.java new file mode 100644 index 0000000000..9f791fee9e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunInstanceRequest.java @@ -0,0 +1,77 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetSupplementDagrunInstanceRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String env; + + private String dagrunId; + public GetSupplementDagrunInstanceRequest() { + super("dataphin-public", "2023-06-30", "GetSupplementDagrunInstance"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public String getDagrunId() { + return this.dagrunId; + } + + public void setDagrunId(String dagrunId) { + this.dagrunId = dagrunId; + if(dagrunId != null){ + putQueryParameter("DagrunId", dagrunId); + } + } + + @Override + public Class getResponseClass() { + return GetSupplementDagrunInstanceResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunInstanceResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunInstanceResponse.java new file mode 100644 index 0000000000..1c7a2705b9 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunInstanceResponse.java @@ -0,0 +1,472 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetSupplementDagrunInstanceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetSupplementDagrunInstanceResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List instanceList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getInstanceList() { + return this.instanceList; + } + + public void setInstanceList(List instanceList) { + this.instanceList = instanceList; + } + + public static class Instance { + + private String id; + + private String type; + + private Long bizDate; + + private Long dueTime; + + private Long startExecuteTime; + + private Long endExecuteTime; + + private String duration; + + private Integer index; + + private String extendInfo; + + private List statusList; + + private NodeInfo nodeInfo; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public Long getBizDate() { + return this.bizDate; + } + + public void setBizDate(Long bizDate) { + this.bizDate = bizDate; + } + + public Long getDueTime() { + return this.dueTime; + } + + public void setDueTime(Long dueTime) { + this.dueTime = dueTime; + } + + public Long getStartExecuteTime() { + return this.startExecuteTime; + } + + public void setStartExecuteTime(Long startExecuteTime) { + this.startExecuteTime = startExecuteTime; + } + + public Long getEndExecuteTime() { + return this.endExecuteTime; + } + + public void setEndExecuteTime(Long endExecuteTime) { + this.endExecuteTime = endExecuteTime; + } + + public String getDuration() { + return this.duration; + } + + public void setDuration(String duration) { + this.duration = duration; + } + + public Integer getIndex() { + return this.index; + } + + public void setIndex(Integer index) { + this.index = index; + } + + public String getExtendInfo() { + return this.extendInfo; + } + + public void setExtendInfo(String extendInfo) { + this.extendInfo = extendInfo; + } + + public List getStatusList() { + return this.statusList; + } + + public void setStatusList(List statusList) { + this.statusList = statusList; + } + + public NodeInfo getNodeInfo() { + return this.nodeInfo; + } + + public void setNodeInfo(NodeInfo nodeInfo) { + this.nodeInfo = nodeInfo; + } + + public static class NodeInfo { + + private String id; + + private String name; + + private String type; + + private String from; + + private String subDetailType; + + private String description; + + private Boolean dryRun; + + private Boolean schedulePaused; + + private Boolean hasProd; + + private Boolean hasDev; + + private String bizUnitName; + + private String createTime; + + private String lastModifiedTime; + + private List ownerList; + + private List resourceGroupList; + + private List priorityList; + + private List schedulePeriodList; + + private Creator creator; + + private Modifier modifier; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getFrom() { + return this.from; + } + + public void setFrom(String from) { + this.from = from; + } + + public String getSubDetailType() { + return this.subDetailType; + } + + public void setSubDetailType(String subDetailType) { + this.subDetailType = subDetailType; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Boolean getDryRun() { + return this.dryRun; + } + + public void setDryRun(Boolean dryRun) { + this.dryRun = dryRun; + } + + public Boolean getSchedulePaused() { + return this.schedulePaused; + } + + public void setSchedulePaused(Boolean schedulePaused) { + this.schedulePaused = schedulePaused; + } + + public Boolean getHasProd() { + return this.hasProd; + } + + public void setHasProd(Boolean hasProd) { + this.hasProd = hasProd; + } + + public Boolean getHasDev() { + return this.hasDev; + } + + public void setHasDev(Boolean hasDev) { + this.hasDev = hasDev; + } + + public String getBizUnitName() { + return this.bizUnitName; + } + + public void setBizUnitName(String bizUnitName) { + this.bizUnitName = bizUnitName; + } + + public String getCreateTime() { + return this.createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public String getLastModifiedTime() { + return this.lastModifiedTime; + } + + public void setLastModifiedTime(String lastModifiedTime) { + this.lastModifiedTime = lastModifiedTime; + } + + public List getOwnerList() { + return this.ownerList; + } + + public void setOwnerList(List ownerList) { + this.ownerList = ownerList; + } + + public List getResourceGroupList() { + return this.resourceGroupList; + } + + public void setResourceGroupList(List resourceGroupList) { + this.resourceGroupList = resourceGroupList; + } + + public List getPriorityList() { + return this.priorityList; + } + + public void setPriorityList(List priorityList) { + this.priorityList = priorityList; + } + + public List getSchedulePeriodList() { + return this.schedulePeriodList; + } + + public void setSchedulePeriodList(List schedulePeriodList) { + this.schedulePeriodList = schedulePeriodList; + } + + public Creator getCreator() { + return this.creator; + } + + public void setCreator(Creator creator) { + this.creator = creator; + } + + public Modifier getModifier() { + return this.modifier; + } + + public void setModifier(Modifier modifier) { + this.modifier = modifier; + } + + public static class User { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class Creator { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class Modifier { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + } + } + + @Override + public GetSupplementDagrunInstanceResponse getInstance(UnmarshallerContext context) { + return GetSupplementDagrunInstanceResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunRequest.java new file mode 100644 index 0000000000..d1629e8525 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunRequest.java @@ -0,0 +1,77 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetSupplementDagrunRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String supplementId; + + private String env; + public GetSupplementDagrunRequest() { + super("dataphin-public", "2023-06-30", "GetSupplementDagrun"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getSupplementId() { + return this.supplementId; + } + + public void setSupplementId(String supplementId) { + this.supplementId = supplementId; + if(supplementId != null){ + putQueryParameter("SupplementId", supplementId); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + @Override + public Class getResponseClass() { + return GetSupplementDagrunResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunResponse.java new file mode 100644 index 0000000000..b620da579c --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetSupplementDagrunResponse.java @@ -0,0 +1,170 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetSupplementDagrunResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetSupplementDagrunResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List dagrunList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getDagrunList() { + return this.dagrunList; + } + + public void setDagrunList(List dagrunList) { + this.dagrunList = dagrunList; + } + + public static class DagrunInfo { + + private String id; + + private String bizDate; + + private String status; + + private Long startExecuteTime; + + private Long endExecuteTime; + + private String supplementId; + + private String duration; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getBizDate() { + return this.bizDate; + } + + public void setBizDate(String bizDate) { + this.bizDate = bizDate; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public Long getStartExecuteTime() { + return this.startExecuteTime; + } + + public void setStartExecuteTime(Long startExecuteTime) { + this.startExecuteTime = startExecuteTime; + } + + public Long getEndExecuteTime() { + return this.endExecuteTime; + } + + public void setEndExecuteTime(Long endExecuteTime) { + this.endExecuteTime = endExecuteTime; + } + + public String getSupplementId() { + return this.supplementId; + } + + public void setSupplementId(String supplementId) { + this.supplementId = supplementId; + } + + public String getDuration() { + return this.duration; + } + + public void setDuration(String duration) { + this.duration = duration; + } + } + + @Override + public GetSupplementDagrunResponse getInstance(UnmarshallerContext context) { + return GetSupplementDagrunResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserBySourceIdRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserBySourceIdRequest.java new file mode 100644 index 0000000000..f53e62f99e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserBySourceIdRequest.java @@ -0,0 +1,64 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetUserBySourceIdRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String sourceId; + public GetUserBySourceIdRequest() { + super("dataphin-public", "2023-06-30", "GetUserBySourceId"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getSourceId() { + return this.sourceId; + } + + public void setSourceId(String sourceId) { + this.sourceId = sourceId; + if(sourceId != null){ + putQueryParameter("SourceId", sourceId); + } + } + + @Override + public Class getResponseClass() { + return GetUserBySourceIdResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserBySourceIdResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserBySourceIdResponse.java new file mode 100644 index 0000000000..cff1415fc9 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserBySourceIdResponse.java @@ -0,0 +1,119 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetUserBySourceIdResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetUserBySourceIdResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private User user; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public User getUser() { + return this.user; + } + + public void setUser(User user) { + this.user = user; + } + + public static class User { + + private String id; + + private String displayName; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + } + + @Override + public GetUserBySourceIdResponse getInstance(UnmarshallerContext context) { + return GetUserBySourceIdResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserGroupRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserGroupRequest.java new file mode 100644 index 0000000000..aa753d27bb --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserGroupRequest.java @@ -0,0 +1,64 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetUserGroupRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String userGroupId; + public GetUserGroupRequest() { + super("dataphin-public", "2023-06-30", "GetUserGroup"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getUserGroupId() { + return this.userGroupId; + } + + public void setUserGroupId(String userGroupId) { + this.userGroupId = userGroupId; + if(userGroupId != null){ + putQueryParameter("UserGroupId", userGroupId); + } + } + + @Override + public Class getResponseClass() { + return GetUserGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserGroupResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserGroupResponse.java new file mode 100644 index 0000000000..014e669541 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUserGroupResponse.java @@ -0,0 +1,193 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GetUserGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetUserGroupResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private UserGroupInfo userGroupInfo; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public UserGroupInfo getUserGroupInfo() { + return this.userGroupInfo; + } + + public void setUserGroupInfo(UserGroupInfo userGroupInfo) { + this.userGroupInfo = userGroupInfo; + } + + public static class UserGroupInfo { + + private String id; + + private String name; + + private String description; + + private Boolean active; + + private String myRole; + + private List adminList; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Boolean getActive() { + return this.active; + } + + public void setActive(Boolean active) { + this.active = active; + } + + public String getMyRole() { + return this.myRole; + } + + public void setMyRole(String myRole) { + this.myRole = myRole; + } + + public List getAdminList() { + return this.adminList; + } + + public void setAdminList(List adminList) { + this.adminList = adminList; + } + + public static class User { + + private String id; + + private String displayName; + + private String accountName; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getAccountName() { + return this.accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + } + } + + @Override + public GetUserGroupResponse getInstance(UnmarshallerContext context) { + return GetUserGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/BatchGetUsersRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUsersRequest.java similarity index 80% rename from aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/BatchGetUsersRequest.java rename to aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUsersRequest.java index af21a18b4f..8f5467a07c 100644 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/BatchGetUsersRequest.java +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUsersRequest.java @@ -25,15 +25,15 @@ * @author auto create * @version */ -public class BatchGetUsersRequest extends RpcAcsRequest { +public class GetUsersRequest extends RpcAcsRequest { private Long opTenantId; @SerializedName("userIdList") private List userIdList; - public BatchGetUsersRequest() { - super("dataphin-public", "2023-06-30", "BatchGetUsers"); + public GetUsersRequest() { + super("dataphin-public", "2023-06-30", "GetUsers"); setProtocol(ProtocolType.HTTPS); setMethod(MethodType.POST); } @@ -56,13 +56,13 @@ public List getUserIdList() { public void setUserIdList(List userIdList) { this.userIdList = userIdList; if (userIdList != null) { - putQueryParameter("UserIdList" , new Gson().toJson(userIdList)); + putBodyParameter("UserIdList" , new Gson().toJson(userIdList)); } } @Override - public Class getResponseClass() { - return BatchGetUsersResponse.class; + public Class getResponseClass() { + return GetUsersResponse.class; } } diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/BatchGetUsersResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUsersResponse.java similarity index 60% rename from aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/BatchGetUsersResponse.java rename to aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUsersResponse.java index eac07bc0eb..4dd7a818e8 100644 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/BatchGetUsersResponse.java +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetUsersResponse.java @@ -16,14 +16,14 @@ import java.util.List; import com.aliyuncs.AcsResponse; -import com.aliyuncs.dataphin_public.transform.v20230630.BatchGetUsersResponseUnmarshaller; +import com.aliyuncs.dataphin_public.transform.v20230630.GetUsersResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class BatchGetUsersResponse extends AcsResponse { +public class GetUsersResponse extends AcsResponse { private String requestId; @@ -35,7 +35,7 @@ public class BatchGetUsersResponse extends AcsResponse { private String message; - private List data; + private List userList; public String getRequestId() { return this.requestId; @@ -77,100 +77,124 @@ public void setMessage(String message) { this.message = message; } - public List getData() { - return this.data; + public List getUserList() { + return this.userList; } - public void setData(List data) { - this.data = data; + public void setUserList(List userList) { + this.userList = userList; } public static class User { - private String accountName; + private String id; - private String dingNumber; + private String parentId; + + private String sourceType; + + private String sourceId; + + private String name; private String displayName; + private String displayNameWithoutStatus; + + private String accountName; + + private String realName; + + private String nickName; + private Long gmtCreate; - private Long gmtModified; + private String mobilePhone; private String mail; - private String mobilePhone; + private String dingNumber; - private String nickName; + private String weChatRobot; - private String realName; + private String feiShuRobot; - private String sourceType; + private String enableWhiteIp; - private String sourceUserId; + private String whiteIp; - private Long tenantId; + private Long gmtModified; - private String userId; + public String getId() { + return this.id; + } - private String userName; + public void setId(String id) { + this.id = id; + } - private List userTypes; + public String getParentId() { + return this.parentId; + } - public String getAccountName() { - return this.accountName; + public void setParentId(String parentId) { + this.parentId = parentId; } - public void setAccountName(String accountName) { - this.accountName = accountName; + public String getSourceType() { + return this.sourceType; } - public String getDingNumber() { - return this.dingNumber; + public void setSourceType(String sourceType) { + this.sourceType = sourceType; } - public void setDingNumber(String dingNumber) { - this.dingNumber = dingNumber; + public String getSourceId() { + return this.sourceId; } - public String getDisplayName() { - return this.displayName; + public void setSourceId(String sourceId) { + this.sourceId = sourceId; } - public void setDisplayName(String displayName) { - this.displayName = displayName; + public String getName() { + return this.name; } - public Long getGmtCreate() { - return this.gmtCreate; + public void setName(String name) { + this.name = name; } - public void setGmtCreate(Long gmtCreate) { - this.gmtCreate = gmtCreate; + public String getDisplayName() { + return this.displayName; } - public Long getGmtModified() { - return this.gmtModified; + public void setDisplayName(String displayName) { + this.displayName = displayName; } - public void setGmtModified(Long gmtModified) { - this.gmtModified = gmtModified; + public String getDisplayNameWithoutStatus() { + return this.displayNameWithoutStatus; } - public String getMail() { - return this.mail; + public void setDisplayNameWithoutStatus(String displayNameWithoutStatus) { + this.displayNameWithoutStatus = displayNameWithoutStatus; } - public void setMail(String mail) { - this.mail = mail; + public String getAccountName() { + return this.accountName; } - public String getMobilePhone() { - return this.mobilePhone; + public void setAccountName(String accountName) { + this.accountName = accountName; } - public void setMobilePhone(String mobilePhone) { - this.mobilePhone = mobilePhone; + public String getRealName() { + return this.realName; + } + + public void setRealName(String realName) { + this.realName = realName; } public String getNickName() { @@ -181,66 +205,82 @@ public void setNickName(String nickName) { this.nickName = nickName; } - public String getRealName() { - return this.realName; + public Long getGmtCreate() { + return this.gmtCreate; } - public void setRealName(String realName) { - this.realName = realName; + public void setGmtCreate(Long gmtCreate) { + this.gmtCreate = gmtCreate; } - public String getSourceType() { - return this.sourceType; + public String getMobilePhone() { + return this.mobilePhone; } - public void setSourceType(String sourceType) { - this.sourceType = sourceType; + public void setMobilePhone(String mobilePhone) { + this.mobilePhone = mobilePhone; + } + + public String getMail() { + return this.mail; + } + + public void setMail(String mail) { + this.mail = mail; } - public String getSourceUserId() { - return this.sourceUserId; + public String getDingNumber() { + return this.dingNumber; + } + + public void setDingNumber(String dingNumber) { + this.dingNumber = dingNumber; } - public void setSourceUserId(String sourceUserId) { - this.sourceUserId = sourceUserId; + public String getWeChatRobot() { + return this.weChatRobot; } - public Long getTenantId() { - return this.tenantId; + public void setWeChatRobot(String weChatRobot) { + this.weChatRobot = weChatRobot; } - public void setTenantId(Long tenantId) { - this.tenantId = tenantId; + public String getFeiShuRobot() { + return this.feiShuRobot; } - public String getUserId() { - return this.userId; + public void setFeiShuRobot(String feiShuRobot) { + this.feiShuRobot = feiShuRobot; } - public void setUserId(String userId) { - this.userId = userId; + public String getEnableWhiteIp() { + return this.enableWhiteIp; } - public String getUserName() { - return this.userName; + public void setEnableWhiteIp(String enableWhiteIp) { + this.enableWhiteIp = enableWhiteIp; } - public void setUserName(String userName) { - this.userName = userName; + public String getWhiteIp() { + return this.whiteIp; } - public List getUserTypes() { - return this.userTypes; + public void setWhiteIp(String whiteIp) { + this.whiteIp = whiteIp; } - public void setUserTypes(List userTypes) { - this.userTypes = userTypes; + public Long getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(Long gmtModified) { + this.gmtModified = gmtModified; } } @Override - public BatchGetUsersResponse getInstance(UnmarshallerContext context) { - return BatchGetUsersResponseUnmarshaller.unmarshall(this, context); + public GetUsersResponse getInstance(UnmarshallerContext context) { + return GetUsersResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GrantResourcePermissionRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GrantResourcePermissionRequest.java new file mode 100644 index 0000000000..170ec30fa9 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GrantResourcePermissionRequest.java @@ -0,0 +1,151 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GrantResourcePermissionRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("grantCommand") + private GrantCommand grantCommand; + public GrantResourcePermissionRequest() { + super("dataphin-public", "2023-06-30", "GrantResourcePermission"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public GrantCommand getGrantCommand() { + return this.grantCommand; + } + + public void setGrantCommand(GrantCommand grantCommand) { + this.grantCommand = grantCommand; + if (grantCommand != null) { + putBodyParameter("GrantCommand" , new Gson().toJson(grantCommand)); + } + } + + public static class GrantCommand { + + @SerializedName("Reason") + private String reason; + + @SerializedName("OperateList") + private List operateList; + + @SerializedName("UserIdList") + private List userIdList; + + @SerializedName("ResourceType") + private String resourceType; + + @SerializedName("ResourceList") + private List resourceList; + + @SerializedName("EffectiveEnd") + private String effectiveEnd; + + public String getReason() { + return this.reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public List getOperateList() { + return this.operateList; + } + + public void setOperateList(List operateList) { + this.operateList = operateList; + } + + public List getUserIdList() { + return this.userIdList; + } + + public void setUserIdList(List userIdList) { + this.userIdList = userIdList; + } + + public String getResourceType() { + return this.resourceType; + } + + public void setResourceType(String resourceType) { + this.resourceType = resourceType; + } + + public List getResourceList() { + return this.resourceList; + } + + public void setResourceList(List resourceList) { + this.resourceList = resourceList; + } + + public String getEffectiveEnd() { + return this.effectiveEnd; + } + + public void setEffectiveEnd(String effectiveEnd) { + this.effectiveEnd = effectiveEnd; + } + + public static class ResourceListItem { + + @SerializedName("ResourceId") + private String resourceId; + + public String getResourceId() { + return this.resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + } + } + + @Override + public Class getResponseClass() { + return GrantResourcePermissionResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GrantResourcePermissionResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GrantResourcePermissionResponse.java new file mode 100644 index 0000000000..ab016c8a4f --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GrantResourcePermissionResponse.java @@ -0,0 +1,86 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.GrantResourcePermissionResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GrantResourcePermissionResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + @Override + public GrantResourcePermissionResponse getInstance(UnmarshallerContext context) { + return GrantResourcePermissionResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAddableRolesRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAddableRolesRequest.java new file mode 100644 index 0000000000..b34fcbb3f4 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAddableRolesRequest.java @@ -0,0 +1,51 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListAddableRolesRequest extends RpcAcsRequest { + + + private Long opTenantId; + public ListAddableRolesRequest() { + super("dataphin-public", "2023-06-30", "ListAddableRoles"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + @Override + public Class getResponseClass() { + return ListAddableRolesResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAddableRolesResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAddableRolesResponse.java new file mode 100644 index 0000000000..f960362d57 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAddableRolesResponse.java @@ -0,0 +1,120 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.ListAddableRolesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListAddableRolesResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List roleList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getRoleList() { + return this.roleList; + } + + public void setRoleList(List roleList) { + this.roleList = roleList; + } + + public static class Role { + + private String code; + + private String name; + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + @Override + public ListAddableRolesResponse getInstance(UnmarshallerContext context) { + return ListAddableRolesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUsersRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAddableUsersRequest.java similarity index 71% rename from aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUsersRequest.java rename to aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAddableUsersRequest.java index ef0579b094..4962fc315b 100644 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUsersRequest.java +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAddableUsersRequest.java @@ -24,15 +24,15 @@ * @author auto create * @version */ -public class ListUsersRequest extends RpcAcsRequest { +public class ListAddableUsersRequest extends RpcAcsRequest { private Long opTenantId; - @SerializedName("userPagedQuery") - private UserPagedQuery userPagedQuery; - public ListUsersRequest() { - super("dataphin-public", "2023-06-30", "ListUsers"); + @SerializedName("listQuery") + private ListQuery listQuery; + public ListAddableUsersRequest() { + super("dataphin-public", "2023-06-30", "ListAddableUsers"); setProtocol(ProtocolType.HTTPS); setMethod(MethodType.POST); } @@ -48,18 +48,18 @@ public void setOpTenantId(Long opTenantId) { } } - public UserPagedQuery getUserPagedQuery() { - return this.userPagedQuery; + public ListQuery getListQuery() { + return this.listQuery; } - public void setUserPagedQuery(UserPagedQuery userPagedQuery) { - this.userPagedQuery = userPagedQuery; - if (userPagedQuery != null) { - putQueryParameter("UserPagedQuery" , new Gson().toJson(userPagedQuery)); + public void setListQuery(ListQuery listQuery) { + this.listQuery = listQuery; + if (listQuery != null) { + putBodyParameter("ListQuery" , new Gson().toJson(listQuery)); } } - public static class UserPagedQuery { + public static class ListQuery { @SerializedName("SearchText") private String searchText; @@ -96,8 +96,8 @@ public void setPage(Integer page) { } @Override - public Class getResponseClass() { - return ListUsersResponse.class; + public Class getResponseClass() { + return ListAddableUsersResponse.class; } } diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/QueryPagedAddableUsersResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAddableUsersResponse.java similarity index 62% rename from aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/QueryPagedAddableUsersResponse.java rename to aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAddableUsersResponse.java index 173883fa67..5eaa85ac43 100644 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/QueryPagedAddableUsersResponse.java +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAddableUsersResponse.java @@ -16,14 +16,14 @@ import java.util.List; import com.aliyuncs.AcsResponse; -import com.aliyuncs.dataphin_public.transform.v20230630.QueryPagedAddableUsersResponseUnmarshaller; +import com.aliyuncs.dataphin_public.transform.v20230630.ListAddableUsersResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class QueryPagedAddableUsersResponse extends AcsResponse { +public class ListAddableUsersResponse extends AcsResponse { private String requestId; @@ -35,7 +35,7 @@ public class QueryPagedAddableUsersResponse extends AcsResponse { private String message; - private Data data; + private PageResult pageResult; public String getRequestId() { return this.requestId; @@ -77,80 +77,114 @@ public void setMessage(String message) { this.message = message; } - public Data getData() { - return this.data; + public PageResult getPageResult() { + return this.pageResult; } - public void setData(Data data) { - this.data = data; + public void setPageResult(PageResult pageResult) { + this.pageResult = pageResult; } - public static class Data { + public static class PageResult { - private Long totalCount; + private Integer totalCount; - private List userList; + private List userList; - public Long getTotalCount() { + public Integer getTotalCount() { return this.totalCount; } - public void setTotalCount(Long totalCount) { + public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } - public List getUserList() { + public List getUserList() { return this.userList; } - public void setUserList(List userList) { + public void setUserList(List userList) { this.userList = userList; } - public static class UserDTO { + public static class User { - private String accountName; + private String id; - private String dingNumber; + private String parentId; + + private String sourceType; + + private String sourceId; + + private String name; private String displayName; private String displayNameWithoutStatus; + private String accountName; + + private String realName; + + private String nickName; + private Long gmtCreate; - private Long gmtModified; + private String mobilePhone; private String mail; - private String mobilePhone; + private String dingNumber; - private String nickName; + private String weChatRobot; - private String realName; + private String feiShuRobot; - private String sourceType; + private String enableWhiteIp; - private String sourceUserId; + private String whiteIp; - private String userId; + private Long gmtModified; - private String userName; + public String getId() { + return this.id; + } - public String getAccountName() { - return this.accountName; + public void setId(String id) { + this.id = id; } - public void setAccountName(String accountName) { - this.accountName = accountName; + public String getParentId() { + return this.parentId; } - public String getDingNumber() { - return this.dingNumber; + public void setParentId(String parentId) { + this.parentId = parentId; } - public void setDingNumber(String dingNumber) { - this.dingNumber = dingNumber; + public String getSourceType() { + return this.sourceType; + } + + public void setSourceType(String sourceType) { + this.sourceType = sourceType; + } + + public String getSourceId() { + return this.sourceId; + } + + public void setSourceId(String sourceId) { + this.sourceId = sourceId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; } public String getDisplayName() { @@ -169,28 +203,36 @@ public void setDisplayNameWithoutStatus(String displayNameWithoutStatus) { this.displayNameWithoutStatus = displayNameWithoutStatus; } - public Long getGmtCreate() { - return this.gmtCreate; + public String getAccountName() { + return this.accountName; } - public void setGmtCreate(Long gmtCreate) { - this.gmtCreate = gmtCreate; + public void setAccountName(String accountName) { + this.accountName = accountName; } - public Long getGmtModified() { - return this.gmtModified; + public String getRealName() { + return this.realName; } - public void setGmtModified(Long gmtModified) { - this.gmtModified = gmtModified; + public void setRealName(String realName) { + this.realName = realName; } - public String getMail() { - return this.mail; + public String getNickName() { + return this.nickName; } - public void setMail(String mail) { - this.mail = mail; + public void setNickName(String nickName) { + this.nickName = nickName; + } + + public Long getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(Long gmtCreate) { + this.gmtCreate = gmtCreate; } public String getMobilePhone() { @@ -201,59 +243,67 @@ public void setMobilePhone(String mobilePhone) { this.mobilePhone = mobilePhone; } - public String getNickName() { - return this.nickName; + public String getMail() { + return this.mail; } - public void setNickName(String nickName) { - this.nickName = nickName; + public void setMail(String mail) { + this.mail = mail; } - public String getRealName() { - return this.realName; + public String getDingNumber() { + return this.dingNumber; } - public void setRealName(String realName) { - this.realName = realName; + public void setDingNumber(String dingNumber) { + this.dingNumber = dingNumber; } - public String getSourceType() { - return this.sourceType; + public String getWeChatRobot() { + return this.weChatRobot; } - public void setSourceType(String sourceType) { - this.sourceType = sourceType; + public void setWeChatRobot(String weChatRobot) { + this.weChatRobot = weChatRobot; + } + + public String getFeiShuRobot() { + return this.feiShuRobot; } - public String getSourceUserId() { - return this.sourceUserId; + public void setFeiShuRobot(String feiShuRobot) { + this.feiShuRobot = feiShuRobot; } - public void setSourceUserId(String sourceUserId) { - this.sourceUserId = sourceUserId; + public String getEnableWhiteIp() { + return this.enableWhiteIp; } - public String getUserId() { - return this.userId; + public void setEnableWhiteIp(String enableWhiteIp) { + this.enableWhiteIp = enableWhiteIp; } - public void setUserId(String userId) { - this.userId = userId; + public String getWhiteIp() { + return this.whiteIp; } - public String getUserName() { - return this.userName; + public void setWhiteIp(String whiteIp) { + this.whiteIp = whiteIp; } - public void setUserName(String userName) { - this.userName = userName; + public Long getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(Long gmtModified) { + this.gmtModified = gmtModified; } } } @Override - public QueryPagedAddableUsersResponse getInstance(UnmarshallerContext context) { - return QueryPagedAddableUsersResponseUnmarshaller.unmarshall(this, context); + public ListAddableUsersResponse getInstance(UnmarshallerContext context) { + return ListAddableUsersResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListDataSourceWithConfigRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListDataSourceWithConfigRequest.java new file mode 100644 index 0000000000..0ff42727a8 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListDataSourceWithConfigRequest.java @@ -0,0 +1,148 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListDataSourceWithConfigRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("listQuery") + private ListQuery listQuery; + public ListDataSourceWithConfigRequest() { + super("dataphin-public", "2023-06-30", "ListDataSourceWithConfig"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public ListQuery getListQuery() { + return this.listQuery; + } + + public void setListQuery(ListQuery listQuery) { + this.listQuery = listQuery; + if (listQuery != null) { + putBodyParameter("ListQuery" , new Gson().toJson(listQuery)); + } + } + + public static class ListQuery { + + @SerializedName("TypeList") + private List typeList; + + @SerializedName("ScopeList") + private List scopeList; + + @SerializedName("Name") + private String name; + + @SerializedName("PageSize") + private Integer pageSize; + + @SerializedName("OwnerList") + private List ownerList; + + @SerializedName("Tag") + private String tag; + + @SerializedName("Page") + private Integer page; + + public List getTypeList() { + return this.typeList; + } + + public void setTypeList(List typeList) { + this.typeList = typeList; + } + + public List getScopeList() { + return this.scopeList; + } + + public void setScopeList(List scopeList) { + this.scopeList = scopeList; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public List getOwnerList() { + return this.ownerList; + } + + public void setOwnerList(List ownerList) { + this.ownerList = ownerList; + } + + public String getTag() { + return this.tag; + } + + public void setTag(String tag) { + this.tag = tag; + } + + public Integer getPage() { + return this.page; + } + + public void setPage(Integer page) { + this.page = page; + } + } + + @Override + public Class getResponseClass() { + return ListDataSourceWithConfigResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListDataSourceWithConfigResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListDataSourceWithConfigResponse.java new file mode 100644 index 0000000000..1c3e61eb45 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListDataSourceWithConfigResponse.java @@ -0,0 +1,455 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.ListDataSourceWithConfigResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListDataSourceWithConfigResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private PageResult pageResult; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public PageResult getPageResult() { + return this.pageResult; + } + + public void setPageResult(PageResult pageResult) { + this.pageResult = pageResult; + } + + public static class PageResult { + + private Long totalCount; + + private List dataSourceList; + + public Long getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Long totalCount) { + this.totalCount = totalCount; + } + + public List getDataSourceList() { + return this.dataSourceList; + } + + public void setDataSourceList(List dataSourceList) { + this.dataSourceList = dataSourceList; + } + + public static class DevProdDataSource { + + private ProdDataSourceInfo prodDataSourceInfo; + + private DevDataSourceInfo devDataSourceInfo; + + public ProdDataSourceInfo getProdDataSourceInfo() { + return this.prodDataSourceInfo; + } + + public void setProdDataSourceInfo(ProdDataSourceInfo prodDataSourceInfo) { + this.prodDataSourceInfo = prodDataSourceInfo; + } + + public DevDataSourceInfo getDevDataSourceInfo() { + return this.devDataSourceInfo; + } + + public void setDevDataSourceInfo(DevDataSourceInfo devDataSourceInfo) { + this.devDataSourceInfo = devDataSourceInfo; + } + + public static class ProdDataSourceInfo { + + private Long id; + + private String name; + + private String type; + + private String scope; + + private Long createTime; + + private Long modifyTime; + + private String creator; + + private String creatorName; + + private String owner; + + private String ownerName; + + private String description; + + private String env; + + private List configItemList; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getScope() { + return this.scope; + } + + public void setScope(String scope) { + this.scope = scope; + } + + public Long getCreateTime() { + return this.createTime; + } + + public void setCreateTime(Long createTime) { + this.createTime = createTime; + } + + public Long getModifyTime() { + return this.modifyTime; + } + + public void setModifyTime(Long modifyTime) { + this.modifyTime = modifyTime; + } + + public String getCreator() { + return this.creator; + } + + public void setCreator(String creator) { + this.creator = creator; + } + + public String getCreatorName() { + return this.creatorName; + } + + public void setCreatorName(String creatorName) { + this.creatorName = creatorName; + } + + public String getOwner() { + return this.owner; + } + + public void setOwner(String owner) { + this.owner = owner; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + } + + public List getConfigItemList() { + return this.configItemList; + } + + public void setConfigItemList(List configItemList) { + this.configItemList = configItemList; + } + + public static class ConfigItem { + + private String key; + + private String value; + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + } + } + + public static class DevDataSourceInfo { + + private Long id; + + private String name; + + private String type; + + private String scope; + + private Long createTime; + + private Long modifyTime; + + private String creator; + + private String creatorName; + + private String owner; + + private String ownerName; + + private String description; + + private String env; + + private List configItemList1; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getScope() { + return this.scope; + } + + public void setScope(String scope) { + this.scope = scope; + } + + public Long getCreateTime() { + return this.createTime; + } + + public void setCreateTime(Long createTime) { + this.createTime = createTime; + } + + public Long getModifyTime() { + return this.modifyTime; + } + + public void setModifyTime(Long modifyTime) { + this.modifyTime = modifyTime; + } + + public String getCreator() { + return this.creator; + } + + public void setCreator(String creator) { + this.creator = creator; + } + + public String getCreatorName() { + return this.creatorName; + } + + public void setCreatorName(String creatorName) { + this.creatorName = creatorName; + } + + public String getOwner() { + return this.owner; + } + + public void setOwner(String owner) { + this.owner = owner; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + } + + public List getConfigItemList1() { + return this.configItemList1; + } + + public void setConfigItemList1(List configItemList1) { + this.configItemList1 = configItemList1; + } + + public static class ConfigItem2 { + + private String key; + + private String value; + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + } + } + } + } + + @Override + public ListDataSourceWithConfigResponse getInstance(UnmarshallerContext context) { + return ListDataSourceWithConfigResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListFilesRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListFilesRequest.java new file mode 100644 index 0000000000..040e583120 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListFilesRequest.java @@ -0,0 +1,125 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListFilesRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("listQuery") + private ListQuery listQuery; + public ListFilesRequest() { + super("dataphin-public", "2023-06-30", "ListFiles"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public ListQuery getListQuery() { + return this.listQuery; + } + + public void setListQuery(ListQuery listQuery) { + this.listQuery = listQuery; + if (listQuery != null) { + putBodyParameter("ListQuery" , new Gson().toJson(listQuery)); + } + } + + public static class ListQuery { + + @SerializedName("Category") + private String category; + + @SerializedName("Env") + private String env; + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("Directory") + private String directory; + + @SerializedName("Recursive") + private Boolean recursive; + + public String getCategory() { + return this.category; + } + + public void setCategory(String category) { + this.category = category; + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public String getDirectory() { + return this.directory; + } + + public void setDirectory(String directory) { + this.directory = directory; + } + + public Boolean getRecursive() { + return this.recursive; + } + + public void setRecursive(Boolean recursive) { + this.recursive = recursive; + } + } + + @Override + public Class getResponseClass() { + return ListFilesResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListFilesResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListFilesResponse.java new file mode 100644 index 0000000000..c089716a1c --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListFilesResponse.java @@ -0,0 +1,210 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.ListFilesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListFilesResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List fileList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getFileList() { + return this.fileList; + } + + public void setFileList(List fileList) { + this.fileList = fileList; + } + + public static class File { + + private Long id; + + private String name; + + private Long projectId; + + private String category; + + private String fileType; + + private String directory; + + private String content; + + private Long gmtCreate; + + private Long gmtModified; + + private String creator; + + private String lastModifier; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public String getCategory() { + return this.category; + } + + public void setCategory(String category) { + this.category = category; + } + + public String getFileType() { + return this.fileType; + } + + public void setFileType(String fileType) { + this.fileType = fileType; + } + + public String getDirectory() { + return this.directory; + } + + public void setDirectory(String directory) { + this.directory = directory; + } + + public String getContent() { + return this.content; + } + + public void setContent(String content) { + this.content = content; + } + + public Long getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(Long gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public Long getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(Long gmtModified) { + this.gmtModified = gmtModified; + } + + public String getCreator() { + return this.creator; + } + + public void setCreator(String creator) { + this.creator = creator; + } + + public String getLastModifier() { + return this.lastModifier; + } + + public void setLastModifier(String lastModifier) { + this.lastModifier = lastModifier; + } + } + + @Override + public ListFilesResponse getInstance(UnmarshallerContext context) { + return ListFilesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListInstancesRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListInstancesRequest.java new file mode 100644 index 0000000000..0cab881a8d --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListInstancesRequest.java @@ -0,0 +1,282 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListInstancesRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("listQuery") + private ListQuery listQuery; + + private String env; + public ListInstancesRequest() { + super("dataphin-public", "2023-06-30", "ListInstances"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public ListQuery getListQuery() { + return this.listQuery; + } + + public void setListQuery(ListQuery listQuery) { + this.listQuery = listQuery; + if (listQuery != null) { + putBodyParameter("ListQuery" , new Gson().toJson(listQuery)); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public static class ListQuery { + + @SerializedName("SearchText") + private String searchText; + + @SerializedName("MinBizDate") + private String minBizDate; + + @SerializedName("ScheduleType") + private String scheduleType; + + @SerializedName("SubBizTypeList") + private List subBizTypeList; + + @SerializedName("MinRunDate") + private String minRunDate; + + @SerializedName("SchedulePeriodList") + private List schedulePeriodList; + + @SerializedName("MaxBizDate") + private String maxBizDate; + + @SerializedName("OwnerList") + private List ownerList; + + @SerializedName("SchedulePaused") + private Boolean schedulePaused; + + @SerializedName("BizType") + private String bizType; + + @SerializedName("PageSize") + private Integer pageSize; + + @SerializedName("RunStatusList") + private List runStatusList; + + @SerializedName("Page") + private Integer page; + + @SerializedName("NodeId") + private String nodeId; + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("BizUnitId") + private Long bizUnitId; + + @SerializedName("PriorityList") + private List priorityList; + + @SerializedName("MaxRunDate") + private String maxRunDate; + + public String getSearchText() { + return this.searchText; + } + + public void setSearchText(String searchText) { + this.searchText = searchText; + } + + public String getMinBizDate() { + return this.minBizDate; + } + + public void setMinBizDate(String minBizDate) { + this.minBizDate = minBizDate; + } + + public String getScheduleType() { + return this.scheduleType; + } + + public void setScheduleType(String scheduleType) { + this.scheduleType = scheduleType; + } + + public List getSubBizTypeList() { + return this.subBizTypeList; + } + + public void setSubBizTypeList(List subBizTypeList) { + this.subBizTypeList = subBizTypeList; + } + + public String getMinRunDate() { + return this.minRunDate; + } + + public void setMinRunDate(String minRunDate) { + this.minRunDate = minRunDate; + } + + public List getSchedulePeriodList() { + return this.schedulePeriodList; + } + + public void setSchedulePeriodList(List schedulePeriodList) { + this.schedulePeriodList = schedulePeriodList; + } + + public String getMaxBizDate() { + return this.maxBizDate; + } + + public void setMaxBizDate(String maxBizDate) { + this.maxBizDate = maxBizDate; + } + + public List getOwnerList() { + return this.ownerList; + } + + public void setOwnerList(List ownerList) { + this.ownerList = ownerList; + } + + public Boolean getSchedulePaused() { + return this.schedulePaused; + } + + public void setSchedulePaused(Boolean schedulePaused) { + this.schedulePaused = schedulePaused; + } + + public String getBizType() { + return this.bizType; + } + + public void setBizType(String bizType) { + this.bizType = bizType; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public List getRunStatusList() { + return this.runStatusList; + } + + public void setRunStatusList(List runStatusList) { + this.runStatusList = runStatusList; + } + + public Integer getPage() { + return this.page; + } + + public void setPage(Integer page) { + this.page = page; + } + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + } + + public List getPriorityList() { + return this.priorityList; + } + + public void setPriorityList(List priorityList) { + this.priorityList = priorityList; + } + + public String getMaxRunDate() { + return this.maxRunDate; + } + + public void setMaxRunDate(String maxRunDate) { + this.maxRunDate = maxRunDate; + } + } + + @Override + public Class getResponseClass() { + return ListInstancesResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListInstancesResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListInstancesResponse.java new file mode 100644 index 0000000000..a3c8c811e8 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListInstancesResponse.java @@ -0,0 +1,485 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.ListInstancesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListInstancesResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private PageResult pageResult; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public PageResult getPageResult() { + return this.pageResult; + } + + public void setPageResult(PageResult pageResult) { + this.pageResult = pageResult; + } + + public static class PageResult { + + private Integer totalCount; + + private List data; + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + public static class Instance { + + private String id; + + private String bizDate; + + private String dueTime; + + private Long startExecuteTime; + + private Long endExecuteTime; + + private String duration; + + private Integer index; + + private String extendInfo; + + private List statusList; + + private NodeInfo nodeInfo; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getBizDate() { + return this.bizDate; + } + + public void setBizDate(String bizDate) { + this.bizDate = bizDate; + } + + public String getDueTime() { + return this.dueTime; + } + + public void setDueTime(String dueTime) { + this.dueTime = dueTime; + } + + public Long getStartExecuteTime() { + return this.startExecuteTime; + } + + public void setStartExecuteTime(Long startExecuteTime) { + this.startExecuteTime = startExecuteTime; + } + + public Long getEndExecuteTime() { + return this.endExecuteTime; + } + + public void setEndExecuteTime(Long endExecuteTime) { + this.endExecuteTime = endExecuteTime; + } + + public String getDuration() { + return this.duration; + } + + public void setDuration(String duration) { + this.duration = duration; + } + + public Integer getIndex() { + return this.index; + } + + public void setIndex(Integer index) { + this.index = index; + } + + public String getExtendInfo() { + return this.extendInfo; + } + + public void setExtendInfo(String extendInfo) { + this.extendInfo = extendInfo; + } + + public List getStatusList() { + return this.statusList; + } + + public void setStatusList(List statusList) { + this.statusList = statusList; + } + + public NodeInfo getNodeInfo() { + return this.nodeInfo; + } + + public void setNodeInfo(NodeInfo nodeInfo) { + this.nodeInfo = nodeInfo; + } + + public static class NodeInfo { + + private String id; + + private String from; + + private String type; + + private String name; + + private String subDetailType; + + private String description; + + private Boolean dryRun; + + private Boolean schedulePaused; + + private Boolean hasProd; + + private Boolean hasDev; + + private String bizUnitName; + + private String createTime; + + private String lastModifiedTime; + + private List ownerList; + + private List priorityList; + + private List resourceGroupList; + + private List schedulePeriodList; + + private Creator creator; + + private Modifier modifier; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getFrom() { + return this.from; + } + + public void setFrom(String from) { + this.from = from; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getSubDetailType() { + return this.subDetailType; + } + + public void setSubDetailType(String subDetailType) { + this.subDetailType = subDetailType; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Boolean getDryRun() { + return this.dryRun; + } + + public void setDryRun(Boolean dryRun) { + this.dryRun = dryRun; + } + + public Boolean getSchedulePaused() { + return this.schedulePaused; + } + + public void setSchedulePaused(Boolean schedulePaused) { + this.schedulePaused = schedulePaused; + } + + public Boolean getHasProd() { + return this.hasProd; + } + + public void setHasProd(Boolean hasProd) { + this.hasProd = hasProd; + } + + public Boolean getHasDev() { + return this.hasDev; + } + + public void setHasDev(Boolean hasDev) { + this.hasDev = hasDev; + } + + public String getBizUnitName() { + return this.bizUnitName; + } + + public void setBizUnitName(String bizUnitName) { + this.bizUnitName = bizUnitName; + } + + public String getCreateTime() { + return this.createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public String getLastModifiedTime() { + return this.lastModifiedTime; + } + + public void setLastModifiedTime(String lastModifiedTime) { + this.lastModifiedTime = lastModifiedTime; + } + + public List getOwnerList() { + return this.ownerList; + } + + public void setOwnerList(List ownerList) { + this.ownerList = ownerList; + } + + public List getPriorityList() { + return this.priorityList; + } + + public void setPriorityList(List priorityList) { + this.priorityList = priorityList; + } + + public List getResourceGroupList() { + return this.resourceGroupList; + } + + public void setResourceGroupList(List resourceGroupList) { + this.resourceGroupList = resourceGroupList; + } + + public List getSchedulePeriodList() { + return this.schedulePeriodList; + } + + public void setSchedulePeriodList(List schedulePeriodList) { + this.schedulePeriodList = schedulePeriodList; + } + + public Creator getCreator() { + return this.creator; + } + + public void setCreator(Creator creator) { + this.creator = creator; + } + + public Modifier getModifier() { + return this.modifier; + } + + public void setModifier(Modifier modifier) { + this.modifier = modifier; + } + + public static class User { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class Creator { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class Modifier { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + } + } + } + + @Override + public ListInstancesResponse getInstance(UnmarshallerContext context) { + return ListInstancesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodeDownStreamRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodeDownStreamRequest.java new file mode 100644 index 0000000000..7d27e65ebb --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodeDownStreamRequest.java @@ -0,0 +1,189 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListNodeDownStreamRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("listQuery") + private ListQuery listQuery; + + private String env; + public ListNodeDownStreamRequest() { + super("dataphin-public", "2023-06-30", "ListNodeDownStream"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public ListQuery getListQuery() { + return this.listQuery; + } + + public void setListQuery(ListQuery listQuery) { + this.listQuery = listQuery; + if (listQuery != null) { + putBodyParameter("ListQuery" , new Gson().toJson(listQuery)); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public static class ListQuery { + + @SerializedName("NodeIdList") + private List nodeIdList; + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("DownStreamDepth") + private Integer downStreamDepth; + + @SerializedName("FilterList") + private List filterList; + + public List getNodeIdList() { + return this.nodeIdList; + } + + public void setNodeIdList(List nodeIdList) { + this.nodeIdList = nodeIdList; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public Integer getDownStreamDepth() { + return this.downStreamDepth; + } + + public void setDownStreamDepth(Integer downStreamDepth) { + this.downStreamDepth = downStreamDepth; + } + + public List getFilterList() { + return this.filterList; + } + + public void setFilterList(List filterList) { + this.filterList = filterList; + } + + public static class NodeIdListItem { + + @SerializedName("Id") + private String id; + + @SerializedName("FieldIdList") + private List fieldIdList; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public List getFieldIdList() { + return this.fieldIdList; + } + + public void setFieldIdList(List fieldIdList) { + this.fieldIdList = fieldIdList; + } + } + + public static class FilterListItem { + + @SerializedName("ValueList") + private List valueList; + + @SerializedName("Exclude") + private Boolean exclude; + + @SerializedName("Key") + private String key; + + public List getValueList() { + return this.valueList; + } + + public void setValueList(List valueList) { + this.valueList = valueList; + } + + public Boolean getExclude() { + return this.exclude; + } + + public void setExclude(Boolean exclude) { + this.exclude = exclude; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + } + } + + @Override + public Class getResponseClass() { + return ListNodeDownStreamResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodeDownStreamResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodeDownStreamResponse.java new file mode 100644 index 0000000000..a525d6123e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodeDownStreamResponse.java @@ -0,0 +1,150 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.ListNodeDownStreamResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListNodeDownStreamResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List nodeInfoList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getNodeInfoList() { + return this.nodeInfoList; + } + + public void setNodeInfoList(List nodeInfoList) { + this.nodeInfoList = nodeInfoList; + } + + public static class NodeInfo { + + private String id; + + private String name; + + private String type; + + private Integer depth; + + private List fieldIdList; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public Integer getDepth() { + return this.depth; + } + + public void setDepth(Integer depth) { + this.depth = depth; + } + + public List getFieldIdList() { + return this.fieldIdList; + } + + public void setFieldIdList(List fieldIdList) { + this.fieldIdList = fieldIdList; + } + } + + @Override + public ListNodeDownStreamResponse getInstance(UnmarshallerContext context) { + return ListNodeDownStreamResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodesRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodesRequest.java new file mode 100644 index 0000000000..7b2bc8316b --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodesRequest.java @@ -0,0 +1,216 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListNodesRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("listQuery") + private ListQuery listQuery; + + private String env; + public ListNodesRequest() { + super("dataphin-public", "2023-06-30", "ListNodes"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public ListQuery getListQuery() { + return this.listQuery; + } + + public void setListQuery(ListQuery listQuery) { + this.listQuery = listQuery; + if (listQuery != null) { + putBodyParameter("ListQuery" , new Gson().toJson(listQuery)); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public static class ListQuery { + + @SerializedName("SearchText") + private String searchText; + + @SerializedName("ScheduleType") + private String scheduleType; + + @SerializedName("DryRun") + private Boolean dryRun; + + @SerializedName("SchedulePeriodList") + private List schedulePeriodList; + + @SerializedName("NodeBizType") + private String nodeBizType; + + @SerializedName("NodeSubBizTypeList") + private List nodeSubBizTypeList; + + @SerializedName("PageSize") + private Integer pageSize; + + @SerializedName("OwnerList") + private List ownerList; + + @SerializedName("Page") + private Integer page; + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("PriorityList") + private List priorityList; + + @SerializedName("SchedulePaused") + private Boolean schedulePaused; + + public String getSearchText() { + return this.searchText; + } + + public void setSearchText(String searchText) { + this.searchText = searchText; + } + + public String getScheduleType() { + return this.scheduleType; + } + + public void setScheduleType(String scheduleType) { + this.scheduleType = scheduleType; + } + + public Boolean getDryRun() { + return this.dryRun; + } + + public void setDryRun(Boolean dryRun) { + this.dryRun = dryRun; + } + + public List getSchedulePeriodList() { + return this.schedulePeriodList; + } + + public void setSchedulePeriodList(List schedulePeriodList) { + this.schedulePeriodList = schedulePeriodList; + } + + public String getNodeBizType() { + return this.nodeBizType; + } + + public void setNodeBizType(String nodeBizType) { + this.nodeBizType = nodeBizType; + } + + public List getNodeSubBizTypeList() { + return this.nodeSubBizTypeList; + } + + public void setNodeSubBizTypeList(List nodeSubBizTypeList) { + this.nodeSubBizTypeList = nodeSubBizTypeList; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public List getOwnerList() { + return this.ownerList; + } + + public void setOwnerList(List ownerList) { + this.ownerList = ownerList; + } + + public Integer getPage() { + return this.page; + } + + public void setPage(Integer page) { + this.page = page; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public List getPriorityList() { + return this.priorityList; + } + + public void setPriorityList(List priorityList) { + this.priorityList = priorityList; + } + + public Boolean getSchedulePaused() { + return this.schedulePaused; + } + + public void setSchedulePaused(Boolean schedulePaused) { + this.schedulePaused = schedulePaused; + } + } + + @Override + public Class getResponseClass() { + return ListNodesResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodesResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodesResponse.java new file mode 100644 index 0000000000..1c10fa47f3 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListNodesResponse.java @@ -0,0 +1,415 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.ListNodesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListNodesResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private PageResult pageResult; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public PageResult getPageResult() { + return this.pageResult; + } + + public void setPageResult(PageResult pageResult) { + this.pageResult = pageResult; + } + + public static class PageResult { + + private Integer totalCount; + + private List nodeList; + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public List getNodeList() { + return this.nodeList; + } + + public void setNodeList(List nodeList) { + this.nodeList = nodeList; + } + + public static class NodeInfo { + + private String description; + + private String createTime; + + private Boolean dryRun; + + private String from; + + private String subDetailType; + + private String name; + + private Boolean hasProd; + + private String type; + + private Boolean hasDev; + + private Boolean schedulePaused; + + private String lastModifiedTime; + + private String bizUnitName; + + private String id; + + private String extendInfo; + + private List ownerList; + + private List priorityList; + + private List schedulePeriodList; + + private Creator creator; + + private ProjectInfo projectInfo; + + private Modifier modifier; + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getCreateTime() { + return this.createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public Boolean getDryRun() { + return this.dryRun; + } + + public void setDryRun(Boolean dryRun) { + this.dryRun = dryRun; + } + + public String getFrom() { + return this.from; + } + + public void setFrom(String from) { + this.from = from; + } + + public String getSubDetailType() { + return this.subDetailType; + } + + public void setSubDetailType(String subDetailType) { + this.subDetailType = subDetailType; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public Boolean getHasProd() { + return this.hasProd; + } + + public void setHasProd(Boolean hasProd) { + this.hasProd = hasProd; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public Boolean getHasDev() { + return this.hasDev; + } + + public void setHasDev(Boolean hasDev) { + this.hasDev = hasDev; + } + + public Boolean getSchedulePaused() { + return this.schedulePaused; + } + + public void setSchedulePaused(Boolean schedulePaused) { + this.schedulePaused = schedulePaused; + } + + public String getLastModifiedTime() { + return this.lastModifiedTime; + } + + public void setLastModifiedTime(String lastModifiedTime) { + this.lastModifiedTime = lastModifiedTime; + } + + public String getBizUnitName() { + return this.bizUnitName; + } + + public void setBizUnitName(String bizUnitName) { + this.bizUnitName = bizUnitName; + } + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getExtendInfo() { + return this.extendInfo; + } + + public void setExtendInfo(String extendInfo) { + this.extendInfo = extendInfo; + } + + public List getOwnerList() { + return this.ownerList; + } + + public void setOwnerList(List ownerList) { + this.ownerList = ownerList; + } + + public List getPriorityList() { + return this.priorityList; + } + + public void setPriorityList(List priorityList) { + this.priorityList = priorityList; + } + + public List getSchedulePeriodList() { + return this.schedulePeriodList; + } + + public void setSchedulePeriodList(List schedulePeriodList) { + this.schedulePeriodList = schedulePeriodList; + } + + public Creator getCreator() { + return this.creator; + } + + public void setCreator(Creator creator) { + this.creator = creator; + } + + public ProjectInfo getProjectInfo() { + return this.projectInfo; + } + + public void setProjectInfo(ProjectInfo projectInfo) { + this.projectInfo = projectInfo; + } + + public Modifier getModifier() { + return this.modifier; + } + + public void setModifier(Modifier modifier) { + this.modifier = modifier; + } + + public static class User { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class Creator { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class ProjectInfo { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class Modifier { + + private String id; + + private String name; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + } + } + + @Override + public ListNodesResponse getInstance(UnmarshallerContext context) { + return ListNodesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListResourcePermissionOperationLogRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListResourcePermissionOperationLogRequest.java new file mode 100644 index 0000000000..ea3bd17dae --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListResourcePermissionOperationLogRequest.java @@ -0,0 +1,114 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListResourcePermissionOperationLogRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("listQuery") + private ListQuery listQuery; + public ListResourcePermissionOperationLogRequest() { + super("dataphin-public", "2023-06-30", "ListResourcePermissionOperationLog"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public ListQuery getListQuery() { + return this.listQuery; + } + + public void setListQuery(ListQuery listQuery) { + this.listQuery = listQuery; + if (listQuery != null) { + putBodyParameter("ListQuery" , new Gson().toJson(listQuery)); + } + } + + public static class ListQuery { + + @SerializedName("SearchText") + private String searchText; + + @SerializedName("PageSize") + private Integer pageSize; + + @SerializedName("TabType") + private String tabType; + + @SerializedName("Page") + private Integer page; + + public String getSearchText() { + return this.searchText; + } + + public void setSearchText(String searchText) { + this.searchText = searchText; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public String getTabType() { + return this.tabType; + } + + public void setTabType(String tabType) { + this.tabType = tabType; + } + + public Integer getPage() { + return this.page; + } + + public void setPage(Integer page) { + this.page = page; + } + } + + @Override + public Class getResponseClass() { + return ListResourcePermissionOperationLogResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListResourcePermissionOperationLogResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListResourcePermissionOperationLogResponse.java new file mode 100644 index 0000000000..bcce71921b --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListResourcePermissionOperationLogResponse.java @@ -0,0 +1,461 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.ListResourcePermissionOperationLogResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListResourcePermissionOperationLogResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private PageResult pageResult; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public PageResult getPageResult() { + return this.pageResult; + } + + public void setPageResult(PageResult pageResult) { + this.pageResult = pageResult; + } + + public static class PageResult { + + private Long totalCount; + + private List data; + + public Long getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Long totalCount) { + this.totalCount = totalCount; + } + + public List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + public static class PermissionOperateLog { + + private Long operateId; + + private String operateType; + + private String reason; + + private Long operateTime; + + private String authScope; + + private ResourceInfo resourceInfo; + + private Account account; + + private TargetAccount targetAccount; + + private Period period; + + public Long getOperateId() { + return this.operateId; + } + + public void setOperateId(Long operateId) { + this.operateId = operateId; + } + + public String getOperateType() { + return this.operateType; + } + + public void setOperateType(String operateType) { + this.operateType = operateType; + } + + public String getReason() { + return this.reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public Long getOperateTime() { + return this.operateTime; + } + + public void setOperateTime(Long operateTime) { + this.operateTime = operateTime; + } + + public String getAuthScope() { + return this.authScope; + } + + public void setAuthScope(String authScope) { + this.authScope = authScope; + } + + public ResourceInfo getResourceInfo() { + return this.resourceInfo; + } + + public void setResourceInfo(ResourceInfo resourceInfo) { + this.resourceInfo = resourceInfo; + } + + public Account getAccount() { + return this.account; + } + + public void setAccount(Account account) { + this.account = account; + } + + public TargetAccount getTargetAccount() { + return this.targetAccount; + } + + public void setTargetAccount(TargetAccount targetAccount) { + this.targetAccount = targetAccount; + } + + public Period getPeriod() { + return this.period; + } + + public void setPeriod(Period period) { + this.period = period; + } + + public static class ResourceInfo { + + private String id; + + private String name; + + private String displayName; + + private String type; + + private String env; + + private BizUnitInfo bizUnitInfo; + + private ProjectInfo projectInfo; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + } + + public BizUnitInfo getBizUnitInfo() { + return this.bizUnitInfo; + } + + public void setBizUnitInfo(BizUnitInfo bizUnitInfo) { + this.bizUnitInfo = bizUnitInfo; + } + + public ProjectInfo getProjectInfo() { + return this.projectInfo; + } + + public void setProjectInfo(ProjectInfo projectInfo) { + this.projectInfo = projectInfo; + } + + public static class BizUnitInfo { + + private String id; + + private String name; + + private String displayName; + + private String env; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + } + } + + public static class ProjectInfo { + + private Long id; + + private String name; + + private String displayName; + + private String env; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + } + } + } + + public static class Account { + + private String id; + + private String name; + + private String type; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + } + + public static class TargetAccount { + + private String id; + + private String name; + + private String type; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + } + + public static class Period { + + private String type; + + private String endTime; + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + } + } + } + + @Override + public ListResourcePermissionOperationLogResponse getInstance(UnmarshallerContext context) { + return ListResourcePermissionOperationLogResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/QueryPagedAddableUsersRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListResourcePermissionsRequest.java similarity index 66% rename from aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/QueryPagedAddableUsersRequest.java rename to aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListResourcePermissionsRequest.java index 053df81fca..f3095a505e 100644 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/QueryPagedAddableUsersRequest.java +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListResourcePermissionsRequest.java @@ -24,15 +24,15 @@ * @author auto create * @version */ -public class QueryPagedAddableUsersRequest extends RpcAcsRequest { +public class ListResourcePermissionsRequest extends RpcAcsRequest { private Long opTenantId; - @SerializedName("addableUserPagedQuery") - private AddableUserPagedQuery addableUserPagedQuery; - public QueryPagedAddableUsersRequest() { - super("dataphin-public", "2023-06-30", "QueryPagedAddableUsers"); + @SerializedName("listQuery") + private ListQuery listQuery; + public ListResourcePermissionsRequest() { + super("dataphin-public", "2023-06-30", "ListResourcePermissions"); setProtocol(ProtocolType.HTTPS); setMethod(MethodType.POST); } @@ -48,18 +48,18 @@ public void setOpTenantId(Long opTenantId) { } } - public AddableUserPagedQuery getAddableUserPagedQuery() { - return this.addableUserPagedQuery; + public ListQuery getListQuery() { + return this.listQuery; } - public void setAddableUserPagedQuery(AddableUserPagedQuery addableUserPagedQuery) { - this.addableUserPagedQuery = addableUserPagedQuery; - if (addableUserPagedQuery != null) { - putQueryParameter("AddableUserPagedQuery" , new Gson().toJson(addableUserPagedQuery)); + public void setListQuery(ListQuery listQuery) { + this.listQuery = listQuery; + if (listQuery != null) { + putBodyParameter("ListQuery" , new Gson().toJson(listQuery)); } } - public static class AddableUserPagedQuery { + public static class ListQuery { @SerializedName("SearchText") private String searchText; @@ -67,6 +67,9 @@ public static class AddableUserPagedQuery { @SerializedName("PageSize") private Integer pageSize; + @SerializedName("TabType") + private String tabType; + @SerializedName("Page") private Integer page; @@ -86,6 +89,14 @@ public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } + public String getTabType() { + return this.tabType; + } + + public void setTabType(String tabType) { + this.tabType = tabType; + } + public Integer getPage() { return this.page; } @@ -96,8 +107,8 @@ public void setPage(Integer page) { } @Override - public Class getResponseClass() { - return QueryPagedAddableUsersResponse.class; + public Class getResponseClass() { + return ListResourcePermissionsResponse.class; } } diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListResourcePermissionsResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListResourcePermissionsResponse.java new file mode 100644 index 0000000000..4af8872e03 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListResourcePermissionsResponse.java @@ -0,0 +1,444 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.ListResourcePermissionsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListResourcePermissionsResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private PageResult pageResult; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public PageResult getPageResult() { + return this.pageResult; + } + + public void setPageResult(PageResult pageResult) { + this.pageResult = pageResult; + } + + public static class PageResult { + + private Long totalCount; + + private List data; + + public Long getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Long totalCount) { + this.totalCount = totalCount; + } + + public List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + public static class ResourcePermissionRecord { + + private String recordId; + + private String authScope; + + private List permissionPeriodList; + + private ResourceInfo resourceInfo; + + private TargetAccount targetAccount; + + private Period period; + + public String getRecordId() { + return this.recordId; + } + + public void setRecordId(String recordId) { + this.recordId = recordId; + } + + public String getAuthScope() { + return this.authScope; + } + + public void setAuthScope(String authScope) { + this.authScope = authScope; + } + + public List getPermissionPeriodList() { + return this.permissionPeriodList; + } + + public void setPermissionPeriodList(List permissionPeriodList) { + this.permissionPeriodList = permissionPeriodList; + } + + public ResourceInfo getResourceInfo() { + return this.resourceInfo; + } + + public void setResourceInfo(ResourceInfo resourceInfo) { + this.resourceInfo = resourceInfo; + } + + public TargetAccount getTargetAccount() { + return this.targetAccount; + } + + public void setTargetAccount(TargetAccount targetAccount) { + this.targetAccount = targetAccount; + } + + public Period getPeriod() { + return this.period; + } + + public void setPeriod(Period period) { + this.period = period; + } + + public static class PermissionPeriod { + + private String permissionType; + + private Period1 period1; + + public String getPermissionType() { + return this.permissionType; + } + + public void setPermissionType(String permissionType) { + this.permissionType = permissionType; + } + + public Period1 getPeriod1() { + return this.period1; + } + + public void setPeriod1(Period1 period1) { + this.period1 = period1; + } + + public static class Period1 { + + private String type; + + private String endTime; + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + } + } + + public static class ResourceInfo { + + private String id; + + private String name; + + private String displayName; + + private String type; + + private String env; + + private BizUnitInfo bizUnitInfo; + + private ProjectInfo projectInfo; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + } + + public BizUnitInfo getBizUnitInfo() { + return this.bizUnitInfo; + } + + public void setBizUnitInfo(BizUnitInfo bizUnitInfo) { + this.bizUnitInfo = bizUnitInfo; + } + + public ProjectInfo getProjectInfo() { + return this.projectInfo; + } + + public void setProjectInfo(ProjectInfo projectInfo) { + this.projectInfo = projectInfo; + } + + public static class BizUnitInfo { + + private String id; + + private String name; + + private String displayName; + + private String env; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + } + } + + public static class ProjectInfo { + + private Long id; + + private String name; + + private String displayName; + + private String env; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + } + } + } + + public static class TargetAccount { + + private String id; + + private String name; + + private String type; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + } + + public static class Period { + + private String type; + + private String endTime; + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + } + } + } + + @Override + public ListResourcePermissionsResponse getInstance(UnmarshallerContext context) { + return ListResourcePermissionsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListTenantMembersRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListTenantMembersRequest.java new file mode 100644 index 0000000000..3bc378f4ec --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListTenantMembersRequest.java @@ -0,0 +1,126 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListTenantMembersRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("listQuery") + private ListQuery listQuery; + public ListTenantMembersRequest() { + super("dataphin-public", "2023-06-30", "ListTenantMembers"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public ListQuery getListQuery() { + return this.listQuery; + } + + public void setListQuery(ListQuery listQuery) { + this.listQuery = listQuery; + if (listQuery != null) { + putBodyParameter("ListQuery" , new Gson().toJson(listQuery)); + } + } + + public static class ListQuery { + + @SerializedName("SearchText") + private String searchText; + + @SerializedName("UserGroupIdList") + private List userGroupIdList; + + @SerializedName("RoleList") + private List roleList; + + @SerializedName("PageSize") + private Integer pageSize; + + @SerializedName("Page") + private Integer page; + + public String getSearchText() { + return this.searchText; + } + + public void setSearchText(String searchText) { + this.searchText = searchText; + } + + public List getUserGroupIdList() { + return this.userGroupIdList; + } + + public void setUserGroupIdList(List userGroupIdList) { + this.userGroupIdList = userGroupIdList; + } + + public List getRoleList() { + return this.roleList; + } + + public void setRoleList(List roleList) { + this.roleList = roleList; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public Integer getPage() { + return this.page; + } + + public void setPage(Integer page) { + this.page = page; + } + } + + @Override + public Class getResponseClass() { + return ListTenantMembersResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUsersResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListTenantMembersResponse.java similarity index 56% rename from aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUsersResponse.java rename to aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListTenantMembersResponse.java index 508d7d1e07..b40c11b1c2 100644 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUsersResponse.java +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListTenantMembersResponse.java @@ -16,14 +16,14 @@ import java.util.List; import com.aliyuncs.AcsResponse; -import com.aliyuncs.dataphin_public.transform.v20230630.ListUsersResponseUnmarshaller; +import com.aliyuncs.dataphin_public.transform.v20230630.ListTenantMembersResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class ListUsersResponse extends AcsResponse { +public class ListTenantMembersResponse extends AcsResponse { private String requestId; @@ -35,7 +35,7 @@ public class ListUsersResponse extends AcsResponse { private String message; - private Data data; + private PageResult pageResult; public String getRequestId() { return this.requestId; @@ -77,15 +77,15 @@ public void setMessage(String message) { this.message = message; } - public Data getData() { - return this.data; + public PageResult getPageResult() { + return this.pageResult; } - public void setData(Data data) { - this.data = data; + public void setPageResult(PageResult pageResult) { + this.pageResult = pageResult; } - public static class Data { + public static class PageResult { private Integer totalCount; @@ -109,46 +109,72 @@ public void setUserList(List userList) { public static class User { - private String accountName; + private String id; - private String dingNumber; + private String sourceType; + + private String sourceId; + + private String name; private String displayName; + private String displayNameWithoutStatus; + + private String accountName; + + private String realName; + + private String nickName; + private Long gmtCreate; - private Long gmtModified; + private String mobilePhone; private String mail; - private String mobilePhone; + private String dingNumber; - private String nickName; + private String enableWhiteIp; - private String realName; + private String whiteIp; - private String sourceType; + private Long gmtModified; - private String sourceUserId; + private List userGroupList; - private String userId; + private List roleList; - private String userName; + public String getId() { + return this.id; + } - public String getAccountName() { - return this.accountName; + public void setId(String id) { + this.id = id; } - public void setAccountName(String accountName) { - this.accountName = accountName; + public String getSourceType() { + return this.sourceType; } - public String getDingNumber() { - return this.dingNumber; + public void setSourceType(String sourceType) { + this.sourceType = sourceType; } - public void setDingNumber(String dingNumber) { - this.dingNumber = dingNumber; + public String getSourceId() { + return this.sourceId; + } + + public void setSourceId(String sourceId) { + this.sourceId = sourceId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; } public String getDisplayName() { @@ -159,6 +185,38 @@ public void setDisplayName(String displayName) { this.displayName = displayName; } + public String getDisplayNameWithoutStatus() { + return this.displayNameWithoutStatus; + } + + public void setDisplayNameWithoutStatus(String displayNameWithoutStatus) { + this.displayNameWithoutStatus = displayNameWithoutStatus; + } + + public String getAccountName() { + return this.accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public String getRealName() { + return this.realName; + } + + public void setRealName(String realName) { + this.realName = realName; + } + + public String getNickName() { + return this.nickName; + } + + public void setNickName(String nickName) { + this.nickName = nickName; + } + public Long getGmtCreate() { return this.gmtCreate; } @@ -167,12 +225,12 @@ public void setGmtCreate(Long gmtCreate) { this.gmtCreate = gmtCreate; } - public Long getGmtModified() { - return this.gmtModified; + public String getMobilePhone() { + return this.mobilePhone; } - public void setGmtModified(Long gmtModified) { - this.gmtModified = gmtModified; + public void setMobilePhone(String mobilePhone) { + this.mobilePhone = mobilePhone; } public String getMail() { @@ -183,67 +241,102 @@ public void setMail(String mail) { this.mail = mail; } - public String getMobilePhone() { - return this.mobilePhone; + public String getDingNumber() { + return this.dingNumber; } - public void setMobilePhone(String mobilePhone) { - this.mobilePhone = mobilePhone; + public void setDingNumber(String dingNumber) { + this.dingNumber = dingNumber; } - public String getNickName() { - return this.nickName; + public String getEnableWhiteIp() { + return this.enableWhiteIp; } - public void setNickName(String nickName) { - this.nickName = nickName; + public void setEnableWhiteIp(String enableWhiteIp) { + this.enableWhiteIp = enableWhiteIp; } - public String getRealName() { - return this.realName; + public String getWhiteIp() { + return this.whiteIp; } - public void setRealName(String realName) { - this.realName = realName; + public void setWhiteIp(String whiteIp) { + this.whiteIp = whiteIp; } - public String getSourceType() { - return this.sourceType; + public Long getGmtModified() { + return this.gmtModified; } - public void setSourceType(String sourceType) { - this.sourceType = sourceType; + public void setGmtModified(Long gmtModified) { + this.gmtModified = gmtModified; } - public String getSourceUserId() { - return this.sourceUserId; + public List getUserGroupList() { + return this.userGroupList; } - public void setSourceUserId(String sourceUserId) { - this.sourceUserId = sourceUserId; + public void setUserGroupList(List userGroupList) { + this.userGroupList = userGroupList; } - public String getUserId() { - return this.userId; + public List getRoleList() { + return this.roleList; } - public void setUserId(String userId) { - this.userId = userId; + public void setRoleList(List roleList) { + this.roleList = roleList; } - public String getUserName() { - return this.userName; - } + public static class UserGroup { + + private String id; + + private String name; + + private String description; + + private Boolean active; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Boolean getActive() { + return this.active; + } - public void setUserName(String userName) { - this.userName = userName; + public void setActive(Boolean active) { + this.active = active; + } } } } @Override - public ListUsersResponse getInstance(UnmarshallerContext context) { - return ListUsersResponseUnmarshaller.unmarshall(this, context); + public ListTenantMembersResponse getInstance(UnmarshallerContext context) { + return ListTenantMembersResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupMembersRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupMembersRequest.java new file mode 100644 index 0000000000..957a90d998 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupMembersRequest.java @@ -0,0 +1,126 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListUserGroupMembersRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("listQuery") + private ListQuery listQuery; + public ListUserGroupMembersRequest() { + super("dataphin-public", "2023-06-30", "ListUserGroupMembers"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public ListQuery getListQuery() { + return this.listQuery; + } + + public void setListQuery(ListQuery listQuery) { + this.listQuery = listQuery; + if (listQuery != null) { + putBodyParameter("ListQuery" , new Gson().toJson(listQuery)); + } + } + + public static class ListQuery { + + @SerializedName("PageNo") + private Integer pageNo; + + @SerializedName("UserIdList") + private List userIdList; + + @SerializedName("PageSize") + private Integer pageSize; + + @SerializedName("UserGroupId") + private String userGroupId; + + @SerializedName("Keyword") + private String keyword; + + public Integer getPageNo() { + return this.pageNo; + } + + public void setPageNo(Integer pageNo) { + this.pageNo = pageNo; + } + + public List getUserIdList() { + return this.userIdList; + } + + public void setUserIdList(List userIdList) { + this.userIdList = userIdList; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public String getUserGroupId() { + return this.userGroupId; + } + + public void setUserGroupId(String userGroupId) { + this.userGroupId = userGroupId; + } + + public String getKeyword() { + return this.keyword; + } + + public void setKeyword(String keyword) { + this.keyword = keyword; + } + } + + @Override + public Class getResponseClass() { + return ListUserGroupMembersResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupMembersResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupMembersResponse.java new file mode 100644 index 0000000000..5a241587ed --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupMembersResponse.java @@ -0,0 +1,249 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.ListUserGroupMembersResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListUserGroupMembersResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private PageResult pageResult; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public PageResult getPageResult() { + return this.pageResult; + } + + public void setPageResult(PageResult pageResult) { + this.pageResult = pageResult; + } + + public static class PageResult { + + private Integer totalCount; + + private List memberList; + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public List getMemberList() { + return this.memberList; + } + + public void setMemberList(List memberList) { + this.memberList = memberList; + } + + public static class UserGroupMemberInfo { + + private String id; + + private String userGroupId; + + private String userRole; + + private Long gmtCreate; + + private UserInfo userInfo; + + private Creator creator; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getUserGroupId() { + return this.userGroupId; + } + + public void setUserGroupId(String userGroupId) { + this.userGroupId = userGroupId; + } + + public String getUserRole() { + return this.userRole; + } + + public void setUserRole(String userRole) { + this.userRole = userRole; + } + + public Long getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(Long gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public UserInfo getUserInfo() { + return this.userInfo; + } + + public void setUserInfo(UserInfo userInfo) { + this.userInfo = userInfo; + } + + public Creator getCreator() { + return this.creator; + } + + public void setCreator(Creator creator) { + this.creator = creator; + } + + public static class UserInfo { + + private String id; + + private String displayName; + + private String accountName; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getAccountName() { + return this.accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + } + + public static class Creator { + + private String id; + + private String displayName; + + private String accountName; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getAccountName() { + return this.accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + } + } + } + + @Override + public ListUserGroupMembersResponse getInstance(UnmarshallerContext context) { + return ListUserGroupMembersResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupsRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupsRequest.java new file mode 100644 index 0000000000..9279503342 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupsRequest.java @@ -0,0 +1,137 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListUserGroupsRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("listQuery") + private ListQuery listQuery; + public ListUserGroupsRequest() { + super("dataphin-public", "2023-06-30", "ListUserGroups"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public ListQuery getListQuery() { + return this.listQuery; + } + + public void setListQuery(ListQuery listQuery) { + this.listQuery = listQuery; + if (listQuery != null) { + putBodyParameter("ListQuery" , new Gson().toJson(listQuery)); + } + } + + public static class ListQuery { + + @SerializedName("FilterMine") + private Boolean filterMine; + + @SerializedName("PageNo") + private Integer pageNo; + + @SerializedName("PageSize") + private Integer pageSize; + + @SerializedName("Active") + private Boolean active; + + @SerializedName("Keyword") + private String keyword; + + @SerializedName("AdminIdList") + private List adminIdList; + + public Boolean getFilterMine() { + return this.filterMine; + } + + public void setFilterMine(Boolean filterMine) { + this.filterMine = filterMine; + } + + public Integer getPageNo() { + return this.pageNo; + } + + public void setPageNo(Integer pageNo) { + this.pageNo = pageNo; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public Boolean getActive() { + return this.active; + } + + public void setActive(Boolean active) { + this.active = active; + } + + public String getKeyword() { + return this.keyword; + } + + public void setKeyword(String keyword) { + this.keyword = keyword; + } + + public List getAdminIdList() { + return this.adminIdList; + } + + public void setAdminIdList(List adminIdList) { + this.adminIdList = adminIdList; + } + } + + @Override + public Class getResponseClass() { + return ListUserGroupsResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupsResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupsResponse.java new file mode 100644 index 0000000000..c94dd89ee4 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListUserGroupsResponse.java @@ -0,0 +1,216 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.ListUserGroupsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListUserGroupsResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private PageResult pageResult; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public PageResult getPageResult() { + return this.pageResult; + } + + public void setPageResult(PageResult pageResult) { + this.pageResult = pageResult; + } + + public static class PageResult { + + private Integer totalCount; + + private List userGroupList; + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public List getUserGroupList() { + return this.userGroupList; + } + + public void setUserGroupList(List userGroupList) { + this.userGroupList = userGroupList; + } + + public static class UserGroupInfo { + + private String id; + + private String name; + + private String description; + + private Boolean active; + + private String myRole; + + private List adminList; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Boolean getActive() { + return this.active; + } + + public void setActive(Boolean active) { + this.active = active; + } + + public String getMyRole() { + return this.myRole; + } + + public void setMyRole(String myRole) { + this.myRole = myRole; + } + + public List getAdminList() { + return this.adminList; + } + + public void setAdminList(List adminList) { + this.adminList = adminList; + } + + public static class User { + + private String id; + + private String displayName; + + private String accountName; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getAccountName() { + return this.accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + } + } + } + + @Override + public ListUserGroupsResponse getInstance(UnmarshallerContext context) { + return ListUserGroupsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OperateInstanceRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OperateInstanceRequest.java new file mode 100644 index 0000000000..f8c4263e15 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OperateInstanceRequest.java @@ -0,0 +1,142 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class OperateInstanceRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("operateCommand") + private OperateCommand operateCommand; + + private String env; + public OperateInstanceRequest() { + super("dataphin-public", "2023-06-30", "OperateInstance"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public OperateCommand getOperateCommand() { + return this.operateCommand; + } + + public void setOperateCommand(OperateCommand operateCommand) { + this.operateCommand = operateCommand; + if (operateCommand != null) { + putBodyParameter("OperateCommand" , new Gson().toJson(operateCommand)); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public static class OperateCommand { + + @SerializedName("InstanceIdList") + private List instanceIdList; + + @SerializedName("Operation") + private String operation; + + @SerializedName("ProjectId") + private Long projectId; + + public List getInstanceIdList() { + return this.instanceIdList; + } + + public void setInstanceIdList(List instanceIdList) { + this.instanceIdList = instanceIdList; + } + + public String getOperation() { + return this.operation; + } + + public void setOperation(String operation) { + this.operation = operation; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public static class InstanceIdListItem { + + @SerializedName("Id") + private String id; + + @SerializedName("FieldInstanceIdList") + private List fieldInstanceIdList; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public List getFieldInstanceIdList() { + return this.fieldInstanceIdList; + } + + public void setFieldInstanceIdList(List fieldInstanceIdList) { + this.fieldInstanceIdList = fieldInstanceIdList; + } + } + } + + @Override + public Class getResponseClass() { + return OperateInstanceResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OperateInstanceResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OperateInstanceResponse.java new file mode 100644 index 0000000000..3c6a41468e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OperateInstanceResponse.java @@ -0,0 +1,170 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.OperateInstanceResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class OperateInstanceResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List instanceStatusList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getInstanceStatusList() { + return this.instanceStatusList; + } + + public void setInstanceStatusList(List instanceStatusList) { + this.instanceStatusList = instanceStatusList; + } + + public static class InstanceStatus { + + private String id; + + private String name; + + private String displayName; + + private String status; + + private String errorMessage; + + private String ownerId; + + private String ownerName; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getErrorMessage() { + return this.errorMessage; + } + + public void setErrorMessage(String errorMessage) { + this.errorMessage = errorMessage; + } + + public String getOwnerId() { + return this.ownerId; + } + + public void setOwnerId(String ownerId) { + this.ownerId = ownerId; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + } + + @Override + public OperateInstanceResponse getInstance(UnmarshallerContext context) { + return OperateInstanceResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/PausePhysicalNodeRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/PausePhysicalNodeRequest.java new file mode 100644 index 0000000000..db33758be6 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/PausePhysicalNodeRequest.java @@ -0,0 +1,106 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class PausePhysicalNodeRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String env; + + @SerializedName("pauseCommand") + private PauseCommand pauseCommand; + public PausePhysicalNodeRequest() { + super("dataphin-public", "2023-06-30", "PausePhysicalNode"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public PauseCommand getPauseCommand() { + return this.pauseCommand; + } + + public void setPauseCommand(PauseCommand pauseCommand) { + this.pauseCommand = pauseCommand; + if (pauseCommand != null) { + putBodyParameter("PauseCommand" , new Gson().toJson(pauseCommand)); + } + } + + public static class PauseCommand { + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("NodeIdList") + private List nodeIdList; + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public List getNodeIdList() { + return this.nodeIdList; + } + + public void setNodeIdList(List nodeIdList) { + this.nodeIdList = nodeIdList; + } + } + + @Override + public Class getResponseClass() { + return PausePhysicalNodeResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/PausePhysicalNodeResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/PausePhysicalNodeResponse.java new file mode 100644 index 0000000000..fa27956f4d --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/PausePhysicalNodeResponse.java @@ -0,0 +1,130 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.PausePhysicalNodeResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class PausePhysicalNodeResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List nodeOperateResultList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getNodeOperateResultList() { + return this.nodeOperateResultList; + } + + public void setNodeOperateResultList(List nodeOperateResultList) { + this.nodeOperateResultList = nodeOperateResultList; + } + + public static class NodeOperateResult { + + private String nodeId; + + private String status; + + private String errorMessage; + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getErrorMessage() { + return this.errorMessage; + } + + public void setErrorMessage(String errorMessage) { + this.errorMessage = errorMessage; + } + } + + @Override + public PausePhysicalNodeResponse getInstance(UnmarshallerContext context) { + return PausePhysicalNodeResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveUserRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveTenantMemberRequest.java similarity index 59% rename from aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveUserRequest.java rename to aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveTenantMemberRequest.java index 2bca5c26cc..1fc78d42ab 100644 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveUserRequest.java +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveTenantMemberRequest.java @@ -24,15 +24,15 @@ * @author auto create * @version */ -public class RemoveUserRequest extends RpcAcsRequest { +public class RemoveTenantMemberRequest extends RpcAcsRequest { private Long opTenantId; - @SerializedName("removeUserCommand") - private RemoveUserCommand removeUserCommand; - public RemoveUserRequest() { - super("dataphin-public", "2023-06-30", "RemoveUser"); + @SerializedName("removeCommand") + private RemoveCommand removeCommand; + public RemoveTenantMemberRequest() { + super("dataphin-public", "2023-06-30", "RemoveTenantMember"); setProtocol(ProtocolType.HTTPS); setMethod(MethodType.POST); } @@ -48,25 +48,22 @@ public void setOpTenantId(Long opTenantId) { } } - public RemoveUserCommand getRemoveUserCommand() { - return this.removeUserCommand; + public RemoveCommand getRemoveCommand() { + return this.removeCommand; } - public void setRemoveUserCommand(RemoveUserCommand removeUserCommand) { - this.removeUserCommand = removeUserCommand; - if (removeUserCommand != null) { - putQueryParameter("RemoveUserCommand" , new Gson().toJson(removeUserCommand)); + public void setRemoveCommand(RemoveCommand removeCommand) { + this.removeCommand = removeCommand; + if (removeCommand != null) { + putBodyParameter("RemoveCommand" , new Gson().toJson(removeCommand)); } } - public static class RemoveUserCommand { + public static class RemoveCommand { @SerializedName("SourceId") private String sourceId; - @SerializedName("SourceType") - private String sourceType; - public String getSourceId() { return this.sourceId; } @@ -74,19 +71,11 @@ public String getSourceId() { public void setSourceId(String sourceId) { this.sourceId = sourceId; } - - public String getSourceType() { - return this.sourceType; - } - - public void setSourceType(String sourceType) { - this.sourceType = sourceType; - } } @Override - public Class getResponseClass() { - return RemoveUserResponse.class; + public Class getResponseClass() { + return RemoveTenantMemberResponse.class; } } diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveTenantMemberResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveTenantMemberResponse.java new file mode 100644 index 0000000000..01b9ce3eab --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveTenantMemberResponse.java @@ -0,0 +1,86 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.RemoveTenantMemberResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class RemoveTenantMemberResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + @Override + public RemoveTenantMemberResponse getInstance(UnmarshallerContext context) { + return RemoveTenantMemberResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveUserGroupMemberRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveUserGroupMemberRequest.java new file mode 100644 index 0000000000..6ec52f30bf --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveUserGroupMemberRequest.java @@ -0,0 +1,93 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class RemoveUserGroupMemberRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("removeCommand") + private RemoveCommand removeCommand; + public RemoveUserGroupMemberRequest() { + super("dataphin-public", "2023-06-30", "RemoveUserGroupMember"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public RemoveCommand getRemoveCommand() { + return this.removeCommand; + } + + public void setRemoveCommand(RemoveCommand removeCommand) { + this.removeCommand = removeCommand; + if (removeCommand != null) { + putBodyParameter("RemoveCommand" , new Gson().toJson(removeCommand)); + } + } + + public static class RemoveCommand { + + @SerializedName("UserIdList") + private List userIdList; + + @SerializedName("UserGroupId") + private String userGroupId; + + public List getUserIdList() { + return this.userIdList; + } + + public void setUserIdList(List userIdList) { + this.userIdList = userIdList; + } + + public String getUserGroupId() { + return this.userGroupId; + } + + public void setUserGroupId(String userGroupId) { + this.userGroupId = userGroupId; + } + } + + @Override + public Class getResponseClass() { + return RemoveUserGroupMemberResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveUserResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveUserGroupMemberResponse.java similarity index 84% rename from aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveUserResponse.java rename to aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveUserGroupMemberResponse.java index c5eeaa6964..96442eba18 100644 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveUserResponse.java +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RemoveUserGroupMemberResponse.java @@ -15,14 +15,14 @@ package com.aliyuncs.dataphin_public.model.v20230630; import com.aliyuncs.AcsResponse; -import com.aliyuncs.dataphin_public.transform.v20230630.RemoveUserResponseUnmarshaller; +import com.aliyuncs.dataphin_public.transform.v20230630.RemoveUserGroupMemberResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ -public class RemoveUserResponse extends AcsResponse { +public class RemoveUserGroupMemberResponse extends AcsResponse { private String requestId; @@ -85,8 +85,8 @@ public void setData(Boolean data) { } @Override - public RemoveUserResponse getInstance(UnmarshallerContext context) { - return RemoveUserResponseUnmarshaller.unmarshall(this, context); + public RemoveUserGroupMemberResponse getInstance(UnmarshallerContext context) { + return RemoveUserGroupMemberResponseUnmarshaller.unmarshall(this, context); } @Override diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ResumePhysicalNodeRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ResumePhysicalNodeRequest.java new file mode 100644 index 0000000000..456fce0ce8 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ResumePhysicalNodeRequest.java @@ -0,0 +1,106 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ResumePhysicalNodeRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("resumeCommand") + private ResumeCommand resumeCommand; + + private String env; + public ResumePhysicalNodeRequest() { + super("dataphin-public", "2023-06-30", "ResumePhysicalNode"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public ResumeCommand getResumeCommand() { + return this.resumeCommand; + } + + public void setResumeCommand(ResumeCommand resumeCommand) { + this.resumeCommand = resumeCommand; + if (resumeCommand != null) { + putBodyParameter("ResumeCommand" , new Gson().toJson(resumeCommand)); + } + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + if(env != null){ + putQueryParameter("Env", env); + } + } + + public static class ResumeCommand { + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("NodeIdList") + private List nodeIdList; + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public List getNodeIdList() { + return this.nodeIdList; + } + + public void setNodeIdList(List nodeIdList) { + this.nodeIdList = nodeIdList; + } + } + + @Override + public Class getResponseClass() { + return ResumePhysicalNodeResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ResumePhysicalNodeResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ResumePhysicalNodeResponse.java new file mode 100644 index 0000000000..bb162f17d3 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ResumePhysicalNodeResponse.java @@ -0,0 +1,130 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.ResumePhysicalNodeResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ResumePhysicalNodeResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List nodeOperateResultList; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public List getNodeOperateResultList() { + return this.nodeOperateResultList; + } + + public void setNodeOperateResultList(List nodeOperateResultList) { + this.nodeOperateResultList = nodeOperateResultList; + } + + public static class NodeOperateResult { + + private String nodeId; + + private String status; + + private String errorMessage; + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getErrorMessage() { + return this.errorMessage; + } + + public void setErrorMessage(String errorMessage) { + this.errorMessage = errorMessage; + } + } + + @Override + public ResumePhysicalNodeResponse getInstance(UnmarshallerContext context) { + return ResumePhysicalNodeResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RevokeResourcePermissionRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RevokeResourcePermissionRequest.java new file mode 100644 index 0000000000..6fccdfc526 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RevokeResourcePermissionRequest.java @@ -0,0 +1,140 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class RevokeResourcePermissionRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("revokeCommand") + private RevokeCommand revokeCommand; + public RevokeResourcePermissionRequest() { + super("dataphin-public", "2023-06-30", "RevokeResourcePermission"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public RevokeCommand getRevokeCommand() { + return this.revokeCommand; + } + + public void setRevokeCommand(RevokeCommand revokeCommand) { + this.revokeCommand = revokeCommand; + if (revokeCommand != null) { + putBodyParameter("RevokeCommand" , new Gson().toJson(revokeCommand)); + } + } + + public static class RevokeCommand { + + @SerializedName("Reason") + private String reason; + + @SerializedName("OperateList") + private List operateList; + + @SerializedName("ResourceType") + private String resourceType; + + @SerializedName("ResourceList") + private List resourceList; + + @SerializedName("UserId") + private String userId; + + public String getReason() { + return this.reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public List getOperateList() { + return this.operateList; + } + + public void setOperateList(List operateList) { + this.operateList = operateList; + } + + public String getResourceType() { + return this.resourceType; + } + + public void setResourceType(String resourceType) { + this.resourceType = resourceType; + } + + public List getResourceList() { + return this.resourceList; + } + + public void setResourceList(List resourceList) { + this.resourceList = resourceList; + } + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public static class ResourceListItem { + + @SerializedName("ResourceId") + private String resourceId; + + public String getResourceId() { + return this.resourceId; + } + + public void setResourceId(String resourceId) { + this.resourceId = resourceId; + } + } + } + + @Override + public Class getResponseClass() { + return RevokeResourcePermissionResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RevokeResourcePermissionResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RevokeResourcePermissionResponse.java new file mode 100644 index 0000000000..e3830c3049 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/RevokeResourcePermissionResponse.java @@ -0,0 +1,86 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.RevokeResourcePermissionResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class RevokeResourcePermissionResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + @Override + public RevokeResourcePermissionResponse getInstance(UnmarshallerContext context) { + return RevokeResourcePermissionResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateAdHocFileRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateAdHocFileRequest.java new file mode 100644 index 0000000000..252ca83b39 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateAdHocFileRequest.java @@ -0,0 +1,103 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UpdateAdHocFileRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("updateCommand") + private UpdateCommand updateCommand; + public UpdateAdHocFileRequest() { + super("dataphin-public", "2023-06-30", "UpdateAdHocFile"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public UpdateCommand getUpdateCommand() { + return this.updateCommand; + } + + public void setUpdateCommand(UpdateCommand updateCommand) { + this.updateCommand = updateCommand; + if (updateCommand != null) { + putBodyParameter("UpdateCommand" , new Gson().toJson(updateCommand)); + } + } + + public static class UpdateCommand { + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("Content") + private String content; + + @SerializedName("FileId") + private Long fileId; + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public String getContent() { + return this.content; + } + + public void setContent(String content) { + this.content = content; + } + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + } + } + + @Override + public Class getResponseClass() { + return UpdateAdHocFileResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateAdHocFileResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateAdHocFileResponse.java new file mode 100644 index 0000000000..9a35263da3 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateAdHocFileResponse.java @@ -0,0 +1,86 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.UpdateAdHocFileResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateAdHocFileResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + @Override + public UpdateAdHocFileResponse getInstance(UnmarshallerContext context) { + return UpdateAdHocFileResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceBasicInfoRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceBasicInfoRequest.java new file mode 100644 index 0000000000..9b29232581 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceBasicInfoRequest.java @@ -0,0 +1,103 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UpdateDataSourceBasicInfoRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("updateCommand") + private UpdateCommand updateCommand; + public UpdateDataSourceBasicInfoRequest() { + super("dataphin-public", "2023-06-30", "UpdateDataSourceBasicInfo"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public UpdateCommand getUpdateCommand() { + return this.updateCommand; + } + + public void setUpdateCommand(UpdateCommand updateCommand) { + this.updateCommand = updateCommand; + if (updateCommand != null) { + putBodyParameter("UpdateCommand" , new Gson().toJson(updateCommand)); + } + } + + public static class UpdateCommand { + + @SerializedName("Name") + private String name; + + @SerializedName("Description") + private String description; + + @SerializedName("Id") + private Long id; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + } + + @Override + public Class getResponseClass() { + return UpdateDataSourceBasicInfoResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceBasicInfoResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceBasicInfoResponse.java new file mode 100644 index 0000000000..fd91e37f88 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceBasicInfoResponse.java @@ -0,0 +1,96 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.UpdateDataSourceBasicInfoResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateDataSourceBasicInfoResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private Boolean data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getData() { + return this.data; + } + + public void setData(Boolean data) { + this.data = data; + } + + @Override + public UpdateDataSourceBasicInfoResponse getInstance(UnmarshallerContext context) { + return UpdateDataSourceBasicInfoResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceConfigRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceConfigRequest.java new file mode 100644 index 0000000000..a0621e00c3 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceConfigRequest.java @@ -0,0 +1,118 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UpdateDataSourceConfigRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("updateCommand") + private UpdateCommand updateCommand; + public UpdateDataSourceConfigRequest() { + super("dataphin-public", "2023-06-30", "UpdateDataSourceConfig"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public UpdateCommand getUpdateCommand() { + return this.updateCommand; + } + + public void setUpdateCommand(UpdateCommand updateCommand) { + this.updateCommand = updateCommand; + if (updateCommand != null) { + putBodyParameter("UpdateCommand" , new Gson().toJson(updateCommand)); + } + } + + public static class UpdateCommand { + + @SerializedName("ConfigItemList") + private List configItemList; + + @SerializedName("Id") + private Long id; + + public List getConfigItemList() { + return this.configItemList; + } + + public void setConfigItemList(List configItemList) { + this.configItemList = configItemList; + } + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public static class ConfigItemListItem { + + @SerializedName("Value") + private String value; + + @SerializedName("Key") + private String key; + + public String getValue() { + return this.value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getKey() { + return this.key; + } + + public void setKey(String key) { + this.key = key; + } + } + } + + @Override + public Class getResponseClass() { + return UpdateDataSourceConfigResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceConfigResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceConfigResponse.java new file mode 100644 index 0000000000..70424e76dd --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataSourceConfigResponse.java @@ -0,0 +1,96 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.UpdateDataSourceConfigResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateDataSourceConfigResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private Boolean data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getData() { + return this.data; + } + + public void setData(Boolean data) { + this.data = data; + } + + @Override + public UpdateDataSourceConfigResponse getInstance(UnmarshallerContext context) { + return UpdateDataSourceConfigResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileDirectoryRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileDirectoryRequest.java new file mode 100644 index 0000000000..ab72dea632 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileDirectoryRequest.java @@ -0,0 +1,90 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UpdateFileDirectoryRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long projectId; + + private String directory; + + private Long fileId; + public UpdateFileDirectoryRequest() { + super("dataphin-public", "2023-06-30", "UpdateFileDirectory"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + if(projectId != null){ + putQueryParameter("ProjectId", projectId.toString()); + } + } + + public String getDirectory() { + return this.directory; + } + + public void setDirectory(String directory) { + this.directory = directory; + if(directory != null){ + putQueryParameter("Directory", directory); + } + } + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + if(fileId != null){ + putQueryParameter("FileId", fileId.toString()); + } + } + + @Override + public Class getResponseClass() { + return UpdateFileDirectoryResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileDirectoryResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileDirectoryResponse.java new file mode 100644 index 0000000000..7713e8121b --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileDirectoryResponse.java @@ -0,0 +1,86 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.UpdateFileDirectoryResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateFileDirectoryResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + @Override + public UpdateFileDirectoryResponse getInstance(UnmarshallerContext context) { + return UpdateFileDirectoryResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileNameRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileNameRequest.java new file mode 100644 index 0000000000..a0ec9d15b2 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileNameRequest.java @@ -0,0 +1,90 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UpdateFileNameRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String name; + + private Long projectId; + + private Long fileId; + public UpdateFileNameRequest() { + super("dataphin-public", "2023-06-30", "UpdateFileName"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + if(name != null){ + putQueryParameter("Name", name); + } + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + if(projectId != null){ + putQueryParameter("ProjectId", projectId.toString()); + } + } + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + if(fileId != null){ + putQueryParameter("FileId", fileId.toString()); + } + } + + @Override + public Class getResponseClass() { + return UpdateFileNameResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileNameResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileNameResponse.java new file mode 100644 index 0000000000..ebc386c608 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateFileNameResponse.java @@ -0,0 +1,86 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.UpdateFileNameResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateFileNameResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + @Override + public UpdateFileNameResponse getInstance(UnmarshallerContext context) { + return UpdateFileNameResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateTenantMembersRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateTenantMemberRequest.java similarity index 55% rename from aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateTenantMembersRequest.java rename to aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateTenantMemberRequest.java index a102d5998a..f1b35dbe20 100644 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateTenantMembersRequest.java +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateTenantMemberRequest.java @@ -25,15 +25,15 @@ * @author auto create * @version */ -public class UpdateTenantMembersRequest extends RpcAcsRequest { +public class UpdateTenantMemberRequest extends RpcAcsRequest { private Long opTenantId; - @SerializedName("updateTenantMembersCommand") - private UpdateTenantMembersCommand updateTenantMembersCommand; - public UpdateTenantMembersRequest() { - super("dataphin-public", "2023-06-30", "UpdateTenantMembers"); + @SerializedName("updateCommand") + private UpdateCommand updateCommand; + public UpdateTenantMemberRequest() { + super("dataphin-public", "2023-06-30", "UpdateTenantMember"); setProtocol(ProtocolType.HTTPS); setMethod(MethodType.POST); } @@ -49,31 +49,34 @@ public void setOpTenantId(Long opTenantId) { } } - public UpdateTenantMembersCommand getUpdateTenantMembersCommand() { - return this.updateTenantMembersCommand; + public UpdateCommand getUpdateCommand() { + return this.updateCommand; } - public void setUpdateTenantMembersCommand(UpdateTenantMembersCommand updateTenantMembersCommand) { - this.updateTenantMembersCommand = updateTenantMembersCommand; - if (updateTenantMembersCommand != null) { - putQueryParameter("UpdateTenantMembersCommand" , new Gson().toJson(updateTenantMembersCommand)); + public void setUpdateCommand(UpdateCommand updateCommand) { + this.updateCommand = updateCommand; + if (updateCommand != null) { + putBodyParameter("UpdateCommand" , new Gson().toJson(updateCommand)); } } - public static class UpdateTenantMembersCommand { + public static class UpdateCommand { - @SerializedName("UserContactIncludeRolesList") - private List userContactIncludeRolesList; + @SerializedName("MemberList") + private List memberList; - public List getUserContactIncludeRolesList() { - return this.userContactIncludeRolesList; + public List getMemberList() { + return this.memberList; } - public void setUserContactIncludeRolesList(List userContactIncludeRolesList) { - this.userContactIncludeRolesList = userContactIncludeRolesList; + public void setMemberList(List memberList) { + this.memberList = memberList; } - public static class UserContactIncludeRolesListItem { + public static class MemberListItem { + + @SerializedName("RoleList") + private List roleList; @SerializedName("Mail") private String mail; @@ -84,12 +87,17 @@ public static class UserContactIncludeRolesListItem { @SerializedName("DingNumber") private String dingNumber; - @SerializedName("MemberRoles") - private List memberRoles; - @SerializedName("UserId") private String userId; + public List getRoleList() { + return this.roleList; + } + + public void setRoleList(List roleList) { + this.roleList = roleList; + } + public String getMail() { return this.mail; } @@ -114,14 +122,6 @@ public void setDingNumber(String dingNumber) { this.dingNumber = dingNumber; } - public List getMemberRoles() { - return this.memberRoles; - } - - public void setMemberRoles(List memberRoles) { - this.memberRoles = memberRoles; - } - public String getUserId() { return this.userId; } @@ -133,8 +133,8 @@ public void setUserId(String userId) { } @Override - public Class getResponseClass() { - return UpdateTenantMembersResponse.class; + public Class getResponseClass() { + return UpdateTenantMemberResponse.class; } } diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateTenantMemberResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateTenantMemberResponse.java new file mode 100644 index 0000000000..2728f8de61 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateTenantMemberResponse.java @@ -0,0 +1,86 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.UpdateTenantMemberResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateTenantMemberResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + @Override + public UpdateTenantMemberResponse getInstance(UnmarshallerContext context) { + return UpdateTenantMemberResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupRequest.java new file mode 100644 index 0000000000..d86a1f0aa2 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupRequest.java @@ -0,0 +1,115 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import java.util.List; +import com.google.gson.Gson; +import com.google.gson.annotations.SerializedName; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UpdateUserGroupRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("updateCommand") + private UpdateCommand updateCommand; + public UpdateUserGroupRequest() { + super("dataphin-public", "2023-06-30", "UpdateUserGroup"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public UpdateCommand getUpdateCommand() { + return this.updateCommand; + } + + public void setUpdateCommand(UpdateCommand updateCommand) { + this.updateCommand = updateCommand; + if (updateCommand != null) { + putBodyParameter("UpdateCommand" , new Gson().toJson(updateCommand)); + } + } + + public static class UpdateCommand { + + @SerializedName("Name") + private String name; + + @SerializedName("Description") + private String description; + + @SerializedName("Id") + private String id; + + @SerializedName("AdminUserIdList") + private List adminUserIdList; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public List getAdminUserIdList() { + return this.adminUserIdList; + } + + public void setAdminUserIdList(List adminUserIdList) { + this.adminUserIdList = adminUserIdList; + } + } + + @Override + public Class getResponseClass() { + return UpdateUserGroupResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupResponse.java new file mode 100644 index 0000000000..7349c86ced --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupResponse.java @@ -0,0 +1,96 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.UpdateUserGroupResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateUserGroupResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private Boolean data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getData() { + return this.data; + } + + public void setData(Boolean data) { + this.data = data; + } + + @Override + public UpdateUserGroupResponse getInstance(UnmarshallerContext context) { + return UpdateUserGroupResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupSwitchRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupSwitchRequest.java new file mode 100644 index 0000000000..5f0f28b6ec --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupSwitchRequest.java @@ -0,0 +1,77 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UpdateUserGroupSwitchRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String userGroupId; + + private Boolean active; + public UpdateUserGroupSwitchRequest() { + super("dataphin-public", "2023-06-30", "UpdateUserGroupSwitch"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getOpTenantId() { + return this.opTenantId; + } + + public void setOpTenantId(Long opTenantId) { + this.opTenantId = opTenantId; + if(opTenantId != null){ + putQueryParameter("OpTenantId", opTenantId.toString()); + } + } + + public String getUserGroupId() { + return this.userGroupId; + } + + public void setUserGroupId(String userGroupId) { + this.userGroupId = userGroupId; + if(userGroupId != null){ + putQueryParameter("UserGroupId", userGroupId); + } + } + + public Boolean getActive() { + return this.active; + } + + public void setActive(Boolean active) { + this.active = active; + if(active != null){ + putQueryParameter("Active", active.toString()); + } + } + + @Override + public Class getResponseClass() { + return UpdateUserGroupSwitchResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupSwitchResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupSwitchResponse.java new file mode 100644 index 0000000000..870fda4d74 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateUserGroupSwitchResponse.java @@ -0,0 +1,96 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.model.v20230630; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataphin_public.transform.v20230630.UpdateUserGroupSwitchResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateUserGroupSwitchResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private Boolean data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Integer getHttpStatusCode() { + return this.httpStatusCode; + } + + public void setHttpStatusCode(Integer httpStatusCode) { + this.httpStatusCode = httpStatusCode; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getData() { + return this.data; + } + + public void setData(Boolean data) { + this.data = data; + } + + @Override + public UpdateUserGroupSwitchResponse getInstance(UnmarshallerContext context) { + return UpdateUserGroupSwitchResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/AddTenantMembersBySourceUserResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/AddTenantMembersBySourceUserResponseUnmarshaller.java new file mode 100644 index 0000000000..c0f0e31603 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/AddTenantMembersBySourceUserResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.AddTenantMembersBySourceUserResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class AddTenantMembersBySourceUserResponseUnmarshaller { + + public static AddTenantMembersBySourceUserResponse unmarshall(AddTenantMembersBySourceUserResponse addTenantMembersBySourceUserResponse, UnmarshallerContext _ctx) { + + addTenantMembersBySourceUserResponse.setRequestId(_ctx.stringValue("AddTenantMembersBySourceUserResponse.RequestId")); + addTenantMembersBySourceUserResponse.setSuccess(_ctx.booleanValue("AddTenantMembersBySourceUserResponse.Success")); + addTenantMembersBySourceUserResponse.setHttpStatusCode(_ctx.integerValue("AddTenantMembersBySourceUserResponse.HttpStatusCode")); + addTenantMembersBySourceUserResponse.setCode(_ctx.stringValue("AddTenantMembersBySourceUserResponse.Code")); + addTenantMembersBySourceUserResponse.setMessage(_ctx.stringValue("AddTenantMembersBySourceUserResponse.Message")); + addTenantMembersBySourceUserResponse.setData(_ctx.booleanValue("AddTenantMembersBySourceUserResponse.Data")); + + return addTenantMembersBySourceUserResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/AddTenantMembersResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/AddTenantMembersResponseUnmarshaller.java new file mode 100644 index 0000000000..a5afcdd2e5 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/AddTenantMembersResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.AddTenantMembersResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class AddTenantMembersResponseUnmarshaller { + + public static AddTenantMembersResponse unmarshall(AddTenantMembersResponse addTenantMembersResponse, UnmarshallerContext _ctx) { + + addTenantMembersResponse.setRequestId(_ctx.stringValue("AddTenantMembersResponse.RequestId")); + addTenantMembersResponse.setSuccess(_ctx.booleanValue("AddTenantMembersResponse.Success")); + addTenantMembersResponse.setHttpStatusCode(_ctx.integerValue("AddTenantMembersResponse.HttpStatusCode")); + addTenantMembersResponse.setCode(_ctx.stringValue("AddTenantMembersResponse.Code")); + addTenantMembersResponse.setMessage(_ctx.stringValue("AddTenantMembersResponse.Message")); + addTenantMembersResponse.setData(_ctx.booleanValue("AddTenantMembersResponse.Data")); + + return addTenantMembersResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/AddUserGroupMemberResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/AddUserGroupMemberResponseUnmarshaller.java new file mode 100644 index 0000000000..37abba9b97 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/AddUserGroupMemberResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.AddUserGroupMemberResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class AddUserGroupMemberResponseUnmarshaller { + + public static AddUserGroupMemberResponse unmarshall(AddUserGroupMemberResponse addUserGroupMemberResponse, UnmarshallerContext _ctx) { + + addUserGroupMemberResponse.setRequestId(_ctx.stringValue("AddUserGroupMemberResponse.RequestId")); + addUserGroupMemberResponse.setSuccess(_ctx.booleanValue("AddUserGroupMemberResponse.Success")); + addUserGroupMemberResponse.setHttpStatusCode(_ctx.integerValue("AddUserGroupMemberResponse.HttpStatusCode")); + addUserGroupMemberResponse.setCode(_ctx.stringValue("AddUserGroupMemberResponse.Code")); + addUserGroupMemberResponse.setMessage(_ctx.stringValue("AddUserGroupMemberResponse.Message")); + addUserGroupMemberResponse.setData(_ctx.booleanValue("AddUserGroupMemberResponse.Data")); + + return addUserGroupMemberResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/BatchAddTenantMemberResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/BatchAddTenantMemberResponseUnmarshaller.java deleted file mode 100644 index 37041e4641..0000000000 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/BatchAddTenantMemberResponseUnmarshaller.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed 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. - */ - -package com.aliyuncs.dataphin_public.transform.v20230630; - -import com.aliyuncs.dataphin_public.model.v20230630.BatchAddTenantMemberResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class BatchAddTenantMemberResponseUnmarshaller { - - public static BatchAddTenantMemberResponse unmarshall(BatchAddTenantMemberResponse batchAddTenantMemberResponse, UnmarshallerContext _ctx) { - - batchAddTenantMemberResponse.setRequestId(_ctx.stringValue("BatchAddTenantMemberResponse.RequestId")); - batchAddTenantMemberResponse.setSuccess(_ctx.booleanValue("BatchAddTenantMemberResponse.Success")); - batchAddTenantMemberResponse.setHttpStatusCode(_ctx.integerValue("BatchAddTenantMemberResponse.HttpStatusCode")); - batchAddTenantMemberResponse.setCode(_ctx.stringValue("BatchAddTenantMemberResponse.Code")); - batchAddTenantMemberResponse.setMessage(_ctx.stringValue("BatchAddTenantMemberResponse.Message")); - batchAddTenantMemberResponse.setData(_ctx.booleanValue("BatchAddTenantMemberResponse.Data")); - - return batchAddTenantMemberResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/BatchGetUsersResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/BatchGetUsersResponseUnmarshaller.java deleted file mode 100644 index e7d2555f2d..0000000000 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/BatchGetUsersResponseUnmarshaller.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Licensed 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. - */ - -package com.aliyuncs.dataphin_public.transform.v20230630; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.dataphin_public.model.v20230630.BatchGetUsersResponse; -import com.aliyuncs.dataphin_public.model.v20230630.BatchGetUsersResponse.User; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class BatchGetUsersResponseUnmarshaller { - - public static BatchGetUsersResponse unmarshall(BatchGetUsersResponse batchGetUsersResponse, UnmarshallerContext _ctx) { - - batchGetUsersResponse.setRequestId(_ctx.stringValue("BatchGetUsersResponse.RequestId")); - batchGetUsersResponse.setSuccess(_ctx.booleanValue("BatchGetUsersResponse.Success")); - batchGetUsersResponse.setHttpStatusCode(_ctx.integerValue("BatchGetUsersResponse.HttpStatusCode")); - batchGetUsersResponse.setCode(_ctx.stringValue("BatchGetUsersResponse.Code")); - batchGetUsersResponse.setMessage(_ctx.stringValue("BatchGetUsersResponse.Message")); - - List data = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("BatchGetUsersResponse.Data.Length"); i++) { - User user = new User(); - user.setAccountName(_ctx.stringValue("BatchGetUsersResponse.Data["+ i +"].AccountName")); - user.setDingNumber(_ctx.stringValue("BatchGetUsersResponse.Data["+ i +"].DingNumber")); - user.setDisplayName(_ctx.stringValue("BatchGetUsersResponse.Data["+ i +"].DisplayName")); - user.setGmtCreate(_ctx.longValue("BatchGetUsersResponse.Data["+ i +"].GmtCreate")); - user.setGmtModified(_ctx.longValue("BatchGetUsersResponse.Data["+ i +"].GmtModified")); - user.setMail(_ctx.stringValue("BatchGetUsersResponse.Data["+ i +"].Mail")); - user.setMobilePhone(_ctx.stringValue("BatchGetUsersResponse.Data["+ i +"].MobilePhone")); - user.setNickName(_ctx.stringValue("BatchGetUsersResponse.Data["+ i +"].NickName")); - user.setRealName(_ctx.stringValue("BatchGetUsersResponse.Data["+ i +"].RealName")); - user.setSourceType(_ctx.stringValue("BatchGetUsersResponse.Data["+ i +"].SourceType")); - user.setSourceUserId(_ctx.stringValue("BatchGetUsersResponse.Data["+ i +"].SourceUserId")); - user.setTenantId(_ctx.longValue("BatchGetUsersResponse.Data["+ i +"].TenantId")); - user.setUserId(_ctx.stringValue("BatchGetUsersResponse.Data["+ i +"].UserId")); - user.setUserName(_ctx.stringValue("BatchGetUsersResponse.Data["+ i +"].UserName")); - - List userTypes = new ArrayList(); - for (int j = 0; j < _ctx.lengthValue("BatchGetUsersResponse.Data["+ i +"].UserTypes.Length"); j++) { - userTypes.add(_ctx.stringValue("BatchGetUsersResponse.Data["+ i +"].UserTypes["+ j +"]")); - } - user.setUserTypes(userTypes); - - data.add(user); - } - batchGetUsersResponse.setData(data); - - return batchGetUsersResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CheckDataSourceConnectivityByIdResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CheckDataSourceConnectivityByIdResponseUnmarshaller.java new file mode 100644 index 0000000000..12f746afe6 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CheckDataSourceConnectivityByIdResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.CheckDataSourceConnectivityByIdResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CheckDataSourceConnectivityByIdResponseUnmarshaller { + + public static CheckDataSourceConnectivityByIdResponse unmarshall(CheckDataSourceConnectivityByIdResponse checkDataSourceConnectivityByIdResponse, UnmarshallerContext _ctx) { + + checkDataSourceConnectivityByIdResponse.setRequestId(_ctx.stringValue("CheckDataSourceConnectivityByIdResponse.RequestId")); + checkDataSourceConnectivityByIdResponse.setSuccess(_ctx.booleanValue("CheckDataSourceConnectivityByIdResponse.Success")); + checkDataSourceConnectivityByIdResponse.setHttpStatusCode(_ctx.integerValue("CheckDataSourceConnectivityByIdResponse.HttpStatusCode")); + checkDataSourceConnectivityByIdResponse.setCode(_ctx.stringValue("CheckDataSourceConnectivityByIdResponse.Code")); + checkDataSourceConnectivityByIdResponse.setMessage(_ctx.stringValue("CheckDataSourceConnectivityByIdResponse.Message")); + checkDataSourceConnectivityByIdResponse.setData(_ctx.booleanValue("CheckDataSourceConnectivityByIdResponse.Data")); + + return checkDataSourceConnectivityByIdResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CheckDataSourceConnectivityResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CheckDataSourceConnectivityResponseUnmarshaller.java new file mode 100644 index 0000000000..c0a3b81d0a --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CheckDataSourceConnectivityResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.CheckDataSourceConnectivityResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CheckDataSourceConnectivityResponseUnmarshaller { + + public static CheckDataSourceConnectivityResponse unmarshall(CheckDataSourceConnectivityResponse checkDataSourceConnectivityResponse, UnmarshallerContext _ctx) { + + checkDataSourceConnectivityResponse.setRequestId(_ctx.stringValue("CheckDataSourceConnectivityResponse.RequestId")); + checkDataSourceConnectivityResponse.setSuccess(_ctx.booleanValue("CheckDataSourceConnectivityResponse.Success")); + checkDataSourceConnectivityResponse.setHttpStatusCode(_ctx.integerValue("CheckDataSourceConnectivityResponse.HttpStatusCode")); + checkDataSourceConnectivityResponse.setCode(_ctx.stringValue("CheckDataSourceConnectivityResponse.Code")); + checkDataSourceConnectivityResponse.setMessage(_ctx.stringValue("CheckDataSourceConnectivityResponse.Message")); + checkDataSourceConnectivityResponse.setData(_ctx.booleanValue("CheckDataSourceConnectivityResponse.Data")); + + return checkDataSourceConnectivityResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CheckResourcePermissionResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CheckResourcePermissionResponseUnmarshaller.java new file mode 100644 index 0000000000..18ffdd2659 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CheckResourcePermissionResponseUnmarshaller.java @@ -0,0 +1,47 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.CheckResourcePermissionResponse; +import com.aliyuncs.dataphin_public.model.v20230630.CheckResourcePermissionResponse.ResourcePermission; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CheckResourcePermissionResponseUnmarshaller { + + public static CheckResourcePermissionResponse unmarshall(CheckResourcePermissionResponse checkResourcePermissionResponse, UnmarshallerContext _ctx) { + + checkResourcePermissionResponse.setRequestId(_ctx.stringValue("CheckResourcePermissionResponse.RequestId")); + checkResourcePermissionResponse.setSuccess(_ctx.booleanValue("CheckResourcePermissionResponse.Success")); + checkResourcePermissionResponse.setHttpStatusCode(_ctx.integerValue("CheckResourcePermissionResponse.HttpStatusCode")); + checkResourcePermissionResponse.setCode(_ctx.stringValue("CheckResourcePermissionResponse.Code")); + checkResourcePermissionResponse.setMessage(_ctx.stringValue("CheckResourcePermissionResponse.Message")); + + List resourcePermissionList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("CheckResourcePermissionResponse.ResourcePermissionList.Length"); i++) { + ResourcePermission resourcePermission = new ResourcePermission(); + resourcePermission.setResourceId(_ctx.stringValue("CheckResourcePermissionResponse.ResourcePermissionList["+ i +"].ResourceId")); + resourcePermission.setHasPermission(_ctx.booleanValue("CheckResourcePermissionResponse.ResourcePermissionList["+ i +"].HasPermission")); + + resourcePermissionList.add(resourcePermission); + } + checkResourcePermissionResponse.setResourcePermissionList(resourcePermissionList); + + return checkResourcePermissionResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateAdHocFileResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateAdHocFileResponseUnmarshaller.java new file mode 100644 index 0000000000..1bbe00fcee --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateAdHocFileResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.CreateAdHocFileResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateAdHocFileResponseUnmarshaller { + + public static CreateAdHocFileResponse unmarshall(CreateAdHocFileResponse createAdHocFileResponse, UnmarshallerContext _ctx) { + + createAdHocFileResponse.setRequestId(_ctx.stringValue("CreateAdHocFileResponse.RequestId")); + createAdHocFileResponse.setSuccess(_ctx.booleanValue("CreateAdHocFileResponse.Success")); + createAdHocFileResponse.setHttpStatusCode(_ctx.integerValue("CreateAdHocFileResponse.HttpStatusCode")); + createAdHocFileResponse.setCode(_ctx.stringValue("CreateAdHocFileResponse.Code")); + createAdHocFileResponse.setMessage(_ctx.stringValue("CreateAdHocFileResponse.Message")); + createAdHocFileResponse.setFileId(_ctx.longValue("CreateAdHocFileResponse.FileId")); + + return createAdHocFileResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateDataSourceResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateDataSourceResponseUnmarshaller.java new file mode 100644 index 0000000000..f8a4527777 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateDataSourceResponseUnmarshaller.java @@ -0,0 +1,39 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.CreateDataSourceResponse; +import com.aliyuncs.dataphin_public.model.v20230630.CreateDataSourceResponse.CreateResult; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateDataSourceResponseUnmarshaller { + + public static CreateDataSourceResponse unmarshall(CreateDataSourceResponse createDataSourceResponse, UnmarshallerContext _ctx) { + + createDataSourceResponse.setRequestId(_ctx.stringValue("CreateDataSourceResponse.RequestId")); + createDataSourceResponse.setSuccess(_ctx.booleanValue("CreateDataSourceResponse.Success")); + createDataSourceResponse.setHttpStatusCode(_ctx.integerValue("CreateDataSourceResponse.HttpStatusCode")); + createDataSourceResponse.setCode(_ctx.stringValue("CreateDataSourceResponse.Code")); + createDataSourceResponse.setMessage(_ctx.stringValue("CreateDataSourceResponse.Message")); + + CreateResult createResult = new CreateResult(); + createResult.setDevDataSourceId(_ctx.longValue("CreateDataSourceResponse.CreateResult.DevDataSourceId")); + createResult.setProdDataSourceId(_ctx.longValue("CreateDataSourceResponse.CreateResult.ProdDataSourceId")); + createDataSourceResponse.setCreateResult(createResult); + + return createDataSourceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateDirectoryResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateDirectoryResponseUnmarshaller.java new file mode 100644 index 0000000000..33891bdb33 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateDirectoryResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.CreateDirectoryResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateDirectoryResponseUnmarshaller { + + public static CreateDirectoryResponse unmarshall(CreateDirectoryResponse createDirectoryResponse, UnmarshallerContext _ctx) { + + createDirectoryResponse.setRequestId(_ctx.stringValue("CreateDirectoryResponse.RequestId")); + createDirectoryResponse.setSuccess(_ctx.booleanValue("CreateDirectoryResponse.Success")); + createDirectoryResponse.setHttpStatusCode(_ctx.integerValue("CreateDirectoryResponse.HttpStatusCode")); + createDirectoryResponse.setCode(_ctx.stringValue("CreateDirectoryResponse.Code")); + createDirectoryResponse.setMessage(_ctx.stringValue("CreateDirectoryResponse.Message")); + createDirectoryResponse.setFileId(_ctx.longValue("CreateDirectoryResponse.FileId")); + + return createDirectoryResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateNodeSupplementResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateNodeSupplementResponseUnmarshaller.java new file mode 100644 index 0000000000..024c7dcb96 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateNodeSupplementResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.CreateNodeSupplementResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateNodeSupplementResponseUnmarshaller { + + public static CreateNodeSupplementResponse unmarshall(CreateNodeSupplementResponse createNodeSupplementResponse, UnmarshallerContext _ctx) { + + createNodeSupplementResponse.setRequestId(_ctx.stringValue("CreateNodeSupplementResponse.RequestId")); + createNodeSupplementResponse.setSuccess(_ctx.booleanValue("CreateNodeSupplementResponse.Success")); + createNodeSupplementResponse.setHttpStatusCode(_ctx.integerValue("CreateNodeSupplementResponse.HttpStatusCode")); + createNodeSupplementResponse.setCode(_ctx.stringValue("CreateNodeSupplementResponse.Code")); + createNodeSupplementResponse.setMessage(_ctx.stringValue("CreateNodeSupplementResponse.Message")); + createNodeSupplementResponse.setSubmitId(_ctx.stringValue("CreateNodeSupplementResponse.SubmitId")); + + return createNodeSupplementResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateUserGroupResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateUserGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..22ddb33eb8 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateUserGroupResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.CreateUserGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateUserGroupResponseUnmarshaller { + + public static CreateUserGroupResponse unmarshall(CreateUserGroupResponse createUserGroupResponse, UnmarshallerContext _ctx) { + + createUserGroupResponse.setRequestId(_ctx.stringValue("CreateUserGroupResponse.RequestId")); + createUserGroupResponse.setSuccess(_ctx.booleanValue("CreateUserGroupResponse.Success")); + createUserGroupResponse.setHttpStatusCode(_ctx.integerValue("CreateUserGroupResponse.HttpStatusCode")); + createUserGroupResponse.setCode(_ctx.stringValue("CreateUserGroupResponse.Code")); + createUserGroupResponse.setMessage(_ctx.stringValue("CreateUserGroupResponse.Message")); + createUserGroupResponse.setUserGroupId(_ctx.stringValue("CreateUserGroupResponse.UserGroupId")); + + return createUserGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteAdHocFileResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteAdHocFileResponseUnmarshaller.java new file mode 100644 index 0000000000..77bb6046b7 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteAdHocFileResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.DeleteAdHocFileResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteAdHocFileResponseUnmarshaller { + + public static DeleteAdHocFileResponse unmarshall(DeleteAdHocFileResponse deleteAdHocFileResponse, UnmarshallerContext _ctx) { + + deleteAdHocFileResponse.setRequestId(_ctx.stringValue("DeleteAdHocFileResponse.RequestId")); + deleteAdHocFileResponse.setSuccess(_ctx.booleanValue("DeleteAdHocFileResponse.Success")); + deleteAdHocFileResponse.setHttpStatusCode(_ctx.integerValue("DeleteAdHocFileResponse.HttpStatusCode")); + deleteAdHocFileResponse.setCode(_ctx.stringValue("DeleteAdHocFileResponse.Code")); + deleteAdHocFileResponse.setMessage(_ctx.stringValue("DeleteAdHocFileResponse.Message")); + + return deleteAdHocFileResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteDataSourceResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteDataSourceResponseUnmarshaller.java new file mode 100644 index 0000000000..a00c262856 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteDataSourceResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.DeleteDataSourceResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteDataSourceResponseUnmarshaller { + + public static DeleteDataSourceResponse unmarshall(DeleteDataSourceResponse deleteDataSourceResponse, UnmarshallerContext _ctx) { + + deleteDataSourceResponse.setRequestId(_ctx.stringValue("DeleteDataSourceResponse.RequestId")); + deleteDataSourceResponse.setSuccess(_ctx.booleanValue("DeleteDataSourceResponse.Success")); + deleteDataSourceResponse.setHttpStatusCode(_ctx.integerValue("DeleteDataSourceResponse.HttpStatusCode")); + deleteDataSourceResponse.setCode(_ctx.stringValue("DeleteDataSourceResponse.Code")); + deleteDataSourceResponse.setMessage(_ctx.stringValue("DeleteDataSourceResponse.Message")); + deleteDataSourceResponse.setData(_ctx.booleanValue("DeleteDataSourceResponse.Data")); + + return deleteDataSourceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteDirectoryResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteDirectoryResponseUnmarshaller.java new file mode 100644 index 0000000000..94719e6d04 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteDirectoryResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.DeleteDirectoryResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteDirectoryResponseUnmarshaller { + + public static DeleteDirectoryResponse unmarshall(DeleteDirectoryResponse deleteDirectoryResponse, UnmarshallerContext _ctx) { + + deleteDirectoryResponse.setRequestId(_ctx.stringValue("DeleteDirectoryResponse.RequestId")); + deleteDirectoryResponse.setSuccess(_ctx.booleanValue("DeleteDirectoryResponse.Success")); + deleteDirectoryResponse.setHttpStatusCode(_ctx.integerValue("DeleteDirectoryResponse.HttpStatusCode")); + deleteDirectoryResponse.setCode(_ctx.stringValue("DeleteDirectoryResponse.Code")); + deleteDirectoryResponse.setMessage(_ctx.stringValue("DeleteDirectoryResponse.Message")); + + return deleteDirectoryResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteUserGroupResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteUserGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..55995b98f5 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteUserGroupResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.DeleteUserGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteUserGroupResponseUnmarshaller { + + public static DeleteUserGroupResponse unmarshall(DeleteUserGroupResponse deleteUserGroupResponse, UnmarshallerContext _ctx) { + + deleteUserGroupResponse.setRequestId(_ctx.stringValue("DeleteUserGroupResponse.RequestId")); + deleteUserGroupResponse.setSuccess(_ctx.booleanValue("DeleteUserGroupResponse.Success")); + deleteUserGroupResponse.setHttpStatusCode(_ctx.integerValue("DeleteUserGroupResponse.HttpStatusCode")); + deleteUserGroupResponse.setCode(_ctx.stringValue("DeleteUserGroupResponse.Code")); + deleteUserGroupResponse.setMessage(_ctx.stringValue("DeleteUserGroupResponse.Message")); + deleteUserGroupResponse.setData(_ctx.booleanValue("DeleteUserGroupResponse.Data")); + + return deleteUserGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ExecuteManualNodeResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ExecuteManualNodeResponseUnmarshaller.java new file mode 100644 index 0000000000..c824ae4ba3 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ExecuteManualNodeResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.ExecuteManualNodeResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ExecuteManualNodeResponseUnmarshaller { + + public static ExecuteManualNodeResponse unmarshall(ExecuteManualNodeResponse executeManualNodeResponse, UnmarshallerContext _ctx) { + + executeManualNodeResponse.setRequestId(_ctx.stringValue("ExecuteManualNodeResponse.RequestId")); + executeManualNodeResponse.setSuccess(_ctx.booleanValue("ExecuteManualNodeResponse.Success")); + executeManualNodeResponse.setHttpStatusCode(_ctx.integerValue("ExecuteManualNodeResponse.HttpStatusCode")); + executeManualNodeResponse.setCode(_ctx.stringValue("ExecuteManualNodeResponse.Code")); + executeManualNodeResponse.setMessage(_ctx.stringValue("ExecuteManualNodeResponse.Message")); + executeManualNodeResponse.setFlowId(_ctx.stringValue("ExecuteManualNodeResponse.FlowId")); + + return executeManualNodeResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/FixDataResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/FixDataResponseUnmarshaller.java new file mode 100644 index 0000000000..923fff1c4b --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/FixDataResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.FixDataResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class FixDataResponseUnmarshaller { + + public static FixDataResponse unmarshall(FixDataResponse fixDataResponse, UnmarshallerContext _ctx) { + + fixDataResponse.setRequestId(_ctx.stringValue("FixDataResponse.RequestId")); + fixDataResponse.setSuccess(_ctx.booleanValue("FixDataResponse.Success")); + fixDataResponse.setHttpStatusCode(_ctx.integerValue("FixDataResponse.HttpStatusCode")); + fixDataResponse.setCode(_ctx.stringValue("FixDataResponse.Code")); + fixDataResponse.setMessage(_ctx.stringValue("FixDataResponse.Message")); + fixDataResponse.setSubmitId(_ctx.stringValue("FixDataResponse.SubmitId")); + + return fixDataResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAdHocFileResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAdHocFileResponseUnmarshaller.java new file mode 100644 index 0000000000..e1ebf921d6 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAdHocFileResponseUnmarshaller.java @@ -0,0 +1,44 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.GetAdHocFileResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetAdHocFileResponse.FileInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetAdHocFileResponseUnmarshaller { + + public static GetAdHocFileResponse unmarshall(GetAdHocFileResponse getAdHocFileResponse, UnmarshallerContext _ctx) { + + getAdHocFileResponse.setRequestId(_ctx.stringValue("GetAdHocFileResponse.RequestId")); + getAdHocFileResponse.setSuccess(_ctx.booleanValue("GetAdHocFileResponse.Success")); + getAdHocFileResponse.setHttpStatusCode(_ctx.integerValue("GetAdHocFileResponse.HttpStatusCode")); + getAdHocFileResponse.setCode(_ctx.stringValue("GetAdHocFileResponse.Code")); + getAdHocFileResponse.setMessage(_ctx.stringValue("GetAdHocFileResponse.Message")); + + FileInfo fileInfo = new FileInfo(); + fileInfo.setId(_ctx.longValue("GetAdHocFileResponse.FileInfo.Id")); + fileInfo.setName(_ctx.stringValue("GetAdHocFileResponse.FileInfo.Name")); + fileInfo.setProjectId(_ctx.longValue("GetAdHocFileResponse.FileInfo.ProjectId")); + fileInfo.setDirectory(_ctx.stringValue("GetAdHocFileResponse.FileInfo.Directory")); + fileInfo.setContent(_ctx.stringValue("GetAdHocFileResponse.FileInfo.Content")); + fileInfo.setCreator(_ctx.stringValue("GetAdHocFileResponse.FileInfo.Creator")); + fileInfo.setLastModifier(_ctx.stringValue("GetAdHocFileResponse.FileInfo.LastModifier")); + getAdHocFileResponse.setFileInfo(fileInfo); + + return getAdHocFileResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetDevObjectDependencyResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetDevObjectDependencyResponseUnmarshaller.java new file mode 100644 index 0000000000..260434eb19 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetDevObjectDependencyResponseUnmarshaller.java @@ -0,0 +1,108 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetDevObjectDependencyResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetDevObjectDependencyResponse.DevObjectDependency; +import com.aliyuncs.dataphin_public.model.v20230630.GetDevObjectDependencyResponse.DevObjectDependency.ContextParam; +import com.aliyuncs.dataphin_public.model.v20230630.GetDevObjectDependencyResponse.DevObjectDependency.DependencyPeriod; +import com.aliyuncs.dataphin_public.model.v20230630.GetDevObjectDependencyResponse.DevObjectDependency.User; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetDevObjectDependencyResponseUnmarshaller { + + public static GetDevObjectDependencyResponse unmarshall(GetDevObjectDependencyResponse getDevObjectDependencyResponse, UnmarshallerContext _ctx) { + + getDevObjectDependencyResponse.setRequestId(_ctx.stringValue("GetDevObjectDependencyResponse.RequestId")); + getDevObjectDependencyResponse.setSuccess(_ctx.booleanValue("GetDevObjectDependencyResponse.Success")); + getDevObjectDependencyResponse.setHttpStatusCode(_ctx.integerValue("GetDevObjectDependencyResponse.HttpStatusCode")); + getDevObjectDependencyResponse.setCode(_ctx.stringValue("GetDevObjectDependencyResponse.Code")); + getDevObjectDependencyResponse.setMessage(_ctx.stringValue("GetDevObjectDependencyResponse.Message")); + + List devObjectDependencyList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetDevObjectDependencyResponse.DevObjectDependencyList.Length"); i++) { + DevObjectDependency devObjectDependency = new DevObjectDependency(); + devObjectDependency.setScheduleType(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].ScheduleType")); + devObjectDependency.setNodeName(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].NodeName")); + devObjectDependency.setProjectName(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].ProjectName")); + devObjectDependency.setNodeOutputTableName(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].NodeOutputTableName")); + devObjectDependency.setNodeOutputName(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].NodeOutputName")); + devObjectDependency.setManuallyAdd(_ctx.booleanValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].ManuallyAdd")); + devObjectDependency.setBizUnitId(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].BizUnitId")); + devObjectDependency.setCustomCronExpression(_ctx.booleanValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].CustomCronExpression")); + devObjectDependency.setDependencyStrategy(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].DependencyStrategy")); + devObjectDependency.setBizUnitName(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].BizUnitName")); + devObjectDependency.setCronExpression(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].CronExpression")); + devObjectDependency.setSubBizType(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].SubBizType")); + devObjectDependency.setDimMidNode(_ctx.booleanValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].DimMidNode")); + devObjectDependency.setProjectId(_ctx.longValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].ProjectId")); + devObjectDependency.setBizType(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].BizType")); + devObjectDependency.setSelfDepend(_ctx.booleanValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].SelfDepend")); + devObjectDependency.setExternalBizInfo(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].ExternalBizInfo")); + devObjectDependency.setPeriodDiff(_ctx.integerValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].PeriodDiff")); + devObjectDependency.setValid(_ctx.booleanValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].Valid")); + devObjectDependency.setNodeType(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].NodeType")); + devObjectDependency.setNodeId(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].NodeId")); + devObjectDependency.setAutoParse(_ctx.booleanValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].AutoParse")); + + List effectFieldList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].EffectFieldList.Length"); j++) { + effectFieldList.add(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].EffectFieldList["+ j +"]")); + } + devObjectDependency.setEffectFieldList(effectFieldList); + + List dependFieldList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].DependFieldList.Length"); j++) { + dependFieldList.add(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].DependFieldList["+ j +"]")); + } + devObjectDependency.setDependFieldList(dependFieldList); + + DependencyPeriod dependencyPeriod = new DependencyPeriod(); + dependencyPeriod.setPeriodType(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].DependencyPeriod.PeriodType")); + dependencyPeriod.setPeriodOffset(_ctx.integerValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].DependencyPeriod.PeriodOffset")); + devObjectDependency.setDependencyPeriod(dependencyPeriod); + + List ownerList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].OwnerList.Length"); j++) { + User user = new User(); + user.setId(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].OwnerList["+ j +"].Id")); + user.setName(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].OwnerList["+ j +"].Name")); + + ownerList.add(user); + } + devObjectDependency.setOwnerList(ownerList); + + List outputContextParamList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].OutputContextParamList.Length"); j++) { + ContextParam contextParam = new ContextParam(); + contextParam.setKey(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].OutputContextParamList["+ j +"].Key")); + contextParam.setDescription(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].OutputContextParamList["+ j +"].Description")); + contextParam.setDefaultValue(_ctx.stringValue("GetDevObjectDependencyResponse.DevObjectDependencyList["+ i +"].OutputContextParamList["+ j +"].DefaultValue")); + + outputContextParamList.add(contextParam); + } + devObjectDependency.setOutputContextParamList(outputContextParamList); + + devObjectDependencyList.add(devObjectDependency); + } + getDevObjectDependencyResponse.setDevObjectDependencyList(devObjectDependencyList); + + return getDevObjectDependencyResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetInstanceDownStreamResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetInstanceDownStreamResponseUnmarshaller.java new file mode 100644 index 0000000000..f766eeaafb --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetInstanceDownStreamResponseUnmarshaller.java @@ -0,0 +1,69 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetInstanceDownStreamResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetInstanceDownStreamResponse.InstanceRelation; +import com.aliyuncs.dataphin_public.model.v20230630.GetInstanceDownStreamResponse.InstanceRelation.FieldInstance; +import com.aliyuncs.dataphin_public.model.v20230630.GetInstanceDownStreamResponse.InstanceRelation.InstanceInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetInstanceDownStreamResponseUnmarshaller { + + public static GetInstanceDownStreamResponse unmarshall(GetInstanceDownStreamResponse getInstanceDownStreamResponse, UnmarshallerContext _ctx) { + + getInstanceDownStreamResponse.setRequestId(_ctx.stringValue("GetInstanceDownStreamResponse.RequestId")); + getInstanceDownStreamResponse.setSuccess(_ctx.booleanValue("GetInstanceDownStreamResponse.Success")); + getInstanceDownStreamResponse.setHttpStatusCode(_ctx.integerValue("GetInstanceDownStreamResponse.HttpStatusCode")); + getInstanceDownStreamResponse.setCode(_ctx.stringValue("GetInstanceDownStreamResponse.Code")); + getInstanceDownStreamResponse.setMessage(_ctx.stringValue("GetInstanceDownStreamResponse.Message")); + + List instanceRelationList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetInstanceDownStreamResponse.InstanceRelationList.Length"); i++) { + InstanceRelation instanceRelation = new InstanceRelation(); + instanceRelation.setSelectStatus(_ctx.stringValue("GetInstanceDownStreamResponse.InstanceRelationList["+ i +"].SelectStatus")); + instanceRelation.setSelectStatusCause(_ctx.stringValue("GetInstanceDownStreamResponse.InstanceRelationList["+ i +"].SelectStatusCause")); + instanceRelation.setRunStatus(_ctx.stringValue("GetInstanceDownStreamResponse.InstanceRelationList["+ i +"].RunStatus")); + instanceRelation.setDownStreamDepth(_ctx.integerValue("GetInstanceDownStreamResponse.InstanceRelationList["+ i +"].DownStreamDepth")); + instanceRelation.setExtendInfo(_ctx.stringValue("GetInstanceDownStreamResponse.InstanceRelationList["+ i +"].ExtendInfo")); + + InstanceInfo instanceInfo = new InstanceInfo(); + instanceInfo.setId(_ctx.stringValue("GetInstanceDownStreamResponse.InstanceRelationList["+ i +"].InstanceInfo.Id")); + instanceInfo.setName(_ctx.stringValue("GetInstanceDownStreamResponse.InstanceRelationList["+ i +"].InstanceInfo.Name")); + instanceInfo.setType(_ctx.stringValue("GetInstanceDownStreamResponse.InstanceRelationList["+ i +"].InstanceInfo.Type")); + instanceRelation.setInstanceInfo(instanceInfo); + + List fieldInstanceList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetInstanceDownStreamResponse.InstanceRelationList["+ i +"].FieldInstanceList.Length"); j++) { + FieldInstance fieldInstance = new FieldInstance(); + fieldInstance.setSelectStatus(_ctx.stringValue("GetInstanceDownStreamResponse.InstanceRelationList["+ i +"].FieldInstanceList["+ j +"].SelectStatus")); + fieldInstance.setFieldInstanceId(_ctx.stringValue("GetInstanceDownStreamResponse.InstanceRelationList["+ i +"].FieldInstanceList["+ j +"].FieldInstanceId")); + fieldInstance.setRunStatus(_ctx.stringValue("GetInstanceDownStreamResponse.InstanceRelationList["+ i +"].FieldInstanceList["+ j +"].RunStatus")); + + fieldInstanceList.add(fieldInstance); + } + instanceRelation.setFieldInstanceList(fieldInstanceList); + + instanceRelationList.add(instanceRelation); + } + getInstanceDownStreamResponse.setInstanceRelationList(instanceRelationList); + + return getInstanceDownStreamResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetInstanceUpDownStreamResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetInstanceUpDownStreamResponseUnmarshaller.java new file mode 100644 index 0000000000..9802e737f0 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetInstanceUpDownStreamResponseUnmarshaller.java @@ -0,0 +1,95 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetInstanceUpDownStreamResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetInstanceUpDownStreamResponse.InstanceDagInfo; +import com.aliyuncs.dataphin_public.model.v20230630.GetInstanceUpDownStreamResponse.InstanceDagInfo.InstanceInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetInstanceUpDownStreamResponseUnmarshaller { + + public static GetInstanceUpDownStreamResponse unmarshall(GetInstanceUpDownStreamResponse getInstanceUpDownStreamResponse, UnmarshallerContext _ctx) { + + getInstanceUpDownStreamResponse.setRequestId(_ctx.stringValue("GetInstanceUpDownStreamResponse.RequestId")); + getInstanceUpDownStreamResponse.setSuccess(_ctx.booleanValue("GetInstanceUpDownStreamResponse.Success")); + getInstanceUpDownStreamResponse.setHttpStatusCode(_ctx.integerValue("GetInstanceUpDownStreamResponse.HttpStatusCode")); + getInstanceUpDownStreamResponse.setCode(_ctx.stringValue("GetInstanceUpDownStreamResponse.Code")); + getInstanceUpDownStreamResponse.setMessage(_ctx.stringValue("GetInstanceUpDownStreamResponse.Message")); + + InstanceDagInfo instanceDagInfo = new InstanceDagInfo(); + + List startInstanceList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.StartInstanceList.Length"); i++) { + InstanceInfo instanceInfo = new InstanceInfo(); + instanceInfo.setId(_ctx.stringValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.StartInstanceList["+ i +"].Id")); + instanceInfo.setName(_ctx.stringValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.StartInstanceList["+ i +"].Name")); + instanceInfo.setNodeId(_ctx.stringValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.StartInstanceList["+ i +"].NodeId")); + instanceInfo.setNodeType(_ctx.stringValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.StartInstanceList["+ i +"].NodeType")); + + List fieldInstanceIdList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.StartInstanceList["+ i +"].FieldInstanceIdList.Length"); j++) { + fieldInstanceIdList.add(_ctx.stringValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.StartInstanceList["+ i +"].FieldInstanceIdList["+ j +"]")); + } + instanceInfo.setFieldInstanceIdList(fieldInstanceIdList); + + startInstanceList.add(instanceInfo); + } + instanceDagInfo.setStartInstanceList(startInstanceList); + + List upInstanceList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.UpInstanceList.Length"); i++) { + InstanceInfo instanceInfo1 = new InstanceInfo(); + instanceInfo1.setId(_ctx.stringValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.UpInstanceList["+ i +"].Id")); + instanceInfo1.setName(_ctx.stringValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.UpInstanceList["+ i +"].Name")); + instanceInfo1.setNodeId(_ctx.stringValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.UpInstanceList["+ i +"].NodeId")); + instanceInfo1.setNodeType(_ctx.stringValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.UpInstanceList["+ i +"].NodeType")); + + List fieldInstanceIdList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.UpInstanceList["+ i +"].FieldInstanceIdList.Length"); j++) { + fieldInstanceIdList.add(_ctx.stringValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.UpInstanceList["+ i +"].FieldInstanceIdList["+ j +"]")); + } + instanceInfo1.setFieldInstanceIdList(fieldInstanceIdList); + + upInstanceList.add(instanceInfo1); + } + instanceDagInfo.setUpInstanceList(upInstanceList); + + List downInstanceList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.DownInstanceList.Length"); i++) { + InstanceInfo instanceInfo2 = new InstanceInfo(); + instanceInfo2.setId(_ctx.stringValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.DownInstanceList["+ i +"].Id")); + instanceInfo2.setName(_ctx.stringValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.DownInstanceList["+ i +"].Name")); + instanceInfo2.setNodeId(_ctx.stringValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.DownInstanceList["+ i +"].NodeId")); + instanceInfo2.setNodeType(_ctx.stringValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.DownInstanceList["+ i +"].NodeType")); + + List fieldInstanceIdList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.DownInstanceList["+ i +"].FieldInstanceIdList.Length"); j++) { + fieldInstanceIdList.add(_ctx.stringValue("GetInstanceUpDownStreamResponse.InstanceDagInfo.DownInstanceList["+ i +"].FieldInstanceIdList["+ j +"]")); + } + instanceInfo2.setFieldInstanceIdList(fieldInstanceIdList); + + downInstanceList.add(instanceInfo2); + } + instanceDagInfo.setDownInstanceList(downInstanceList); + getInstanceUpDownStreamResponse.setInstanceDagInfo(instanceDagInfo); + + return getInstanceUpDownStreamResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetMyRolesResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetMyRolesResponseUnmarshaller.java new file mode 100644 index 0000000000..552838d30d --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetMyRolesResponseUnmarshaller.java @@ -0,0 +1,48 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetMyRolesResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetMyRolesResponse.Role; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetMyRolesResponseUnmarshaller { + + public static GetMyRolesResponse unmarshall(GetMyRolesResponse getMyRolesResponse, UnmarshallerContext _ctx) { + + getMyRolesResponse.setRequestId(_ctx.stringValue("GetMyRolesResponse.RequestId")); + getMyRolesResponse.setSuccess(_ctx.booleanValue("GetMyRolesResponse.Success")); + getMyRolesResponse.setHttpStatusCode(_ctx.integerValue("GetMyRolesResponse.HttpStatusCode")); + getMyRolesResponse.setCode(_ctx.stringValue("GetMyRolesResponse.Code")); + getMyRolesResponse.setMessage(_ctx.stringValue("GetMyRolesResponse.Message")); + + List roleList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetMyRolesResponse.RoleList.Length"); i++) { + Role role = new Role(); + role.setId(_ctx.longValue("GetMyRolesResponse.RoleList["+ i +"].Id")); + role.setName(_ctx.stringValue("GetMyRolesResponse.RoleList["+ i +"].Name")); + role.setDescription(_ctx.stringValue("GetMyRolesResponse.RoleList["+ i +"].Description")); + + roleList.add(role); + } + getMyRolesResponse.setRoleList(roleList); + + return getMyRolesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetMyTenantsResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetMyTenantsResponseUnmarshaller.java new file mode 100644 index 0000000000..68423f170d --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetMyTenantsResponseUnmarshaller.java @@ -0,0 +1,61 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetMyTenantsResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetMyTenantsResponse.TenantInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetMyTenantsResponseUnmarshaller { + + public static GetMyTenantsResponse unmarshall(GetMyTenantsResponse getMyTenantsResponse, UnmarshallerContext _ctx) { + + getMyTenantsResponse.setRequestId(_ctx.stringValue("GetMyTenantsResponse.RequestId")); + getMyTenantsResponse.setSuccess(_ctx.booleanValue("GetMyTenantsResponse.Success")); + getMyTenantsResponse.setHttpStatusCode(_ctx.integerValue("GetMyTenantsResponse.HttpStatusCode")); + getMyTenantsResponse.setCode(_ctx.stringValue("GetMyTenantsResponse.Code")); + getMyTenantsResponse.setMessage(_ctx.stringValue("GetMyTenantsResponse.Message")); + + List tenantList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetMyTenantsResponse.TenantList.Length"); i++) { + TenantInfo tenantInfo = new TenantInfo(); + tenantInfo.setId(_ctx.longValue("GetMyTenantsResponse.TenantList["+ i +"].Id")); + tenantInfo.setName(_ctx.stringValue("GetMyTenantsResponse.TenantList["+ i +"].Name")); + tenantInfo.setOwnerId(_ctx.stringValue("GetMyTenantsResponse.TenantList["+ i +"].OwnerId")); + tenantInfo.setDescription(_ctx.stringValue("GetMyTenantsResponse.TenantList["+ i +"].Description")); + tenantInfo.setDeleted(_ctx.booleanValue("GetMyTenantsResponse.TenantList["+ i +"].Deleted")); + tenantInfo.setDeleteTime(_ctx.longValue("GetMyTenantsResponse.TenantList["+ i +"].DeleteTime")); + tenantInfo.setTitleType(_ctx.stringValue("GetMyTenantsResponse.TenantList["+ i +"].TitleType")); + tenantInfo.setOpsTenant(_ctx.booleanValue("GetMyTenantsResponse.TenantList["+ i +"].OpsTenant")); + tenantInfo.setResourceLimited(_ctx.booleanValue("GetMyTenantsResponse.TenantList["+ i +"].ResourceLimited")); + tenantInfo.setVisible(_ctx.booleanValue("GetMyTenantsResponse.TenantList["+ i +"].Visible")); + + List tenantTypeList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetMyTenantsResponse.TenantList["+ i +"].TenantTypeList.Length"); j++) { + tenantTypeList.add(_ctx.stringValue("GetMyTenantsResponse.TenantList["+ i +"].TenantTypeList["+ j +"]")); + } + tenantInfo.setTenantTypeList(tenantTypeList); + + tenantList.add(tenantInfo); + } + getMyTenantsResponse.setTenantList(tenantList); + + return getMyTenantsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetNodeUpDownStreamResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetNodeUpDownStreamResponseUnmarshaller.java new file mode 100644 index 0000000000..e5d260ac61 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetNodeUpDownStreamResponseUnmarshaller.java @@ -0,0 +1,92 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetNodeUpDownStreamResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetNodeUpDownStreamResponse.NodeDagInfo; +import com.aliyuncs.dataphin_public.model.v20230630.GetNodeUpDownStreamResponse.NodeDagInfo.NodeInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetNodeUpDownStreamResponseUnmarshaller { + + public static GetNodeUpDownStreamResponse unmarshall(GetNodeUpDownStreamResponse getNodeUpDownStreamResponse, UnmarshallerContext _ctx) { + + getNodeUpDownStreamResponse.setRequestId(_ctx.stringValue("GetNodeUpDownStreamResponse.RequestId")); + getNodeUpDownStreamResponse.setSuccess(_ctx.booleanValue("GetNodeUpDownStreamResponse.Success")); + getNodeUpDownStreamResponse.setHttpStatusCode(_ctx.integerValue("GetNodeUpDownStreamResponse.HttpStatusCode")); + getNodeUpDownStreamResponse.setCode(_ctx.stringValue("GetNodeUpDownStreamResponse.Code")); + getNodeUpDownStreamResponse.setMessage(_ctx.stringValue("GetNodeUpDownStreamResponse.Message")); + + NodeDagInfo nodeDagInfo = new NodeDagInfo(); + + List startNodeList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetNodeUpDownStreamResponse.NodeDagInfo.StartNodeList.Length"); i++) { + NodeInfo nodeInfo = new NodeInfo(); + nodeInfo.setId(_ctx.stringValue("GetNodeUpDownStreamResponse.NodeDagInfo.StartNodeList["+ i +"].Id")); + nodeInfo.setName(_ctx.stringValue("GetNodeUpDownStreamResponse.NodeDagInfo.StartNodeList["+ i +"].Name")); + nodeInfo.setType(_ctx.stringValue("GetNodeUpDownStreamResponse.NodeDagInfo.StartNodeList["+ i +"].Type")); + + List fieldIdList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetNodeUpDownStreamResponse.NodeDagInfo.StartNodeList["+ i +"].FieldIdList.Length"); j++) { + fieldIdList.add(_ctx.stringValue("GetNodeUpDownStreamResponse.NodeDagInfo.StartNodeList["+ i +"].FieldIdList["+ j +"]")); + } + nodeInfo.setFieldIdList(fieldIdList); + + startNodeList.add(nodeInfo); + } + nodeDagInfo.setStartNodeList(startNodeList); + + List upStreamNodeList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetNodeUpDownStreamResponse.NodeDagInfo.UpStreamNodeList.Length"); i++) { + NodeInfo nodeInfo1 = new NodeInfo(); + nodeInfo1.setId(_ctx.stringValue("GetNodeUpDownStreamResponse.NodeDagInfo.UpStreamNodeList["+ i +"].Id")); + nodeInfo1.setName(_ctx.stringValue("GetNodeUpDownStreamResponse.NodeDagInfo.UpStreamNodeList["+ i +"].Name")); + nodeInfo1.setType(_ctx.stringValue("GetNodeUpDownStreamResponse.NodeDagInfo.UpStreamNodeList["+ i +"].Type")); + + List fieldIdList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetNodeUpDownStreamResponse.NodeDagInfo.UpStreamNodeList["+ i +"].FieldIdList.Length"); j++) { + fieldIdList.add(_ctx.stringValue("GetNodeUpDownStreamResponse.NodeDagInfo.UpStreamNodeList["+ i +"].FieldIdList["+ j +"]")); + } + nodeInfo1.setFieldIdList(fieldIdList); + + upStreamNodeList.add(nodeInfo1); + } + nodeDagInfo.setUpStreamNodeList(upStreamNodeList); + + List downStreamNodeList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetNodeUpDownStreamResponse.NodeDagInfo.DownStreamNodeList.Length"); i++) { + NodeInfo nodeInfo2 = new NodeInfo(); + nodeInfo2.setId(_ctx.stringValue("GetNodeUpDownStreamResponse.NodeDagInfo.DownStreamNodeList["+ i +"].Id")); + nodeInfo2.setName(_ctx.stringValue("GetNodeUpDownStreamResponse.NodeDagInfo.DownStreamNodeList["+ i +"].Name")); + nodeInfo2.setType(_ctx.stringValue("GetNodeUpDownStreamResponse.NodeDagInfo.DownStreamNodeList["+ i +"].Type")); + + List fieldIdList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetNodeUpDownStreamResponse.NodeDagInfo.DownStreamNodeList["+ i +"].FieldIdList.Length"); j++) { + fieldIdList.add(_ctx.stringValue("GetNodeUpDownStreamResponse.NodeDagInfo.DownStreamNodeList["+ i +"].FieldIdList["+ j +"]")); + } + nodeInfo2.setFieldIdList(fieldIdList); + + downStreamNodeList.add(nodeInfo2); + } + nodeDagInfo.setDownStreamNodeList(downStreamNodeList); + getNodeUpDownStreamResponse.setNodeDagInfo(nodeDagInfo); + + return getNodeUpDownStreamResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetOperationSubmitStatusResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetOperationSubmitStatusResponseUnmarshaller.java new file mode 100644 index 0000000000..2dd6de17ca --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetOperationSubmitStatusResponseUnmarshaller.java @@ -0,0 +1,43 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.GetOperationSubmitStatusResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetOperationSubmitStatusResponse.OperationSubmitJob; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetOperationSubmitStatusResponseUnmarshaller { + + public static GetOperationSubmitStatusResponse unmarshall(GetOperationSubmitStatusResponse getOperationSubmitStatusResponse, UnmarshallerContext _ctx) { + + getOperationSubmitStatusResponse.setRequestId(_ctx.stringValue("GetOperationSubmitStatusResponse.RequestId")); + getOperationSubmitStatusResponse.setSuccess(_ctx.booleanValue("GetOperationSubmitStatusResponse.Success")); + getOperationSubmitStatusResponse.setHttpStatusCode(_ctx.integerValue("GetOperationSubmitStatusResponse.HttpStatusCode")); + getOperationSubmitStatusResponse.setCode(_ctx.stringValue("GetOperationSubmitStatusResponse.Code")); + getOperationSubmitStatusResponse.setMessage(_ctx.stringValue("GetOperationSubmitStatusResponse.Message")); + + OperationSubmitJob operationSubmitJob = new OperationSubmitJob(); + operationSubmitJob.setJobId(_ctx.stringValue("GetOperationSubmitStatusResponse.OperationSubmitJob.JobId")); + operationSubmitJob.setProgress(_ctx.stringValue("GetOperationSubmitStatusResponse.OperationSubmitJob.Progress")); + operationSubmitJob.setOperation(_ctx.stringValue("GetOperationSubmitStatusResponse.OperationSubmitJob.Operation")); + operationSubmitJob.setOperationStatus(_ctx.stringValue("GetOperationSubmitStatusResponse.OperationSubmitJob.OperationStatus")); + operationSubmitJob.setExternalBizId(_ctx.stringValue("GetOperationSubmitStatusResponse.OperationSubmitJob.ExternalBizId")); + operationSubmitJob.setOperator(_ctx.stringValue("GetOperationSubmitStatusResponse.OperationSubmitJob.Operator")); + getOperationSubmitStatusResponse.setOperationSubmitJob(operationSubmitJob); + + return getOperationSubmitStatusResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalInstanceLogResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalInstanceLogResponseUnmarshaller.java new file mode 100644 index 0000000000..339ce31686 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalInstanceLogResponseUnmarshaller.java @@ -0,0 +1,51 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalInstanceLogResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalInstanceLogResponse.TaskrunLog; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetPhysicalInstanceLogResponseUnmarshaller { + + public static GetPhysicalInstanceLogResponse unmarshall(GetPhysicalInstanceLogResponse getPhysicalInstanceLogResponse, UnmarshallerContext _ctx) { + + getPhysicalInstanceLogResponse.setRequestId(_ctx.stringValue("GetPhysicalInstanceLogResponse.RequestId")); + getPhysicalInstanceLogResponse.setSuccess(_ctx.booleanValue("GetPhysicalInstanceLogResponse.Success")); + getPhysicalInstanceLogResponse.setHttpStatusCode(_ctx.integerValue("GetPhysicalInstanceLogResponse.HttpStatusCode")); + getPhysicalInstanceLogResponse.setCode(_ctx.stringValue("GetPhysicalInstanceLogResponse.Code")); + getPhysicalInstanceLogResponse.setMessage(_ctx.stringValue("GetPhysicalInstanceLogResponse.Message")); + + List taskrunLogList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetPhysicalInstanceLogResponse.TaskrunLogList.Length"); i++) { + TaskrunLog taskrunLog = new TaskrunLog(); + taskrunLog.setTaskrunId(_ctx.stringValue("GetPhysicalInstanceLogResponse.TaskrunLogList["+ i +"].TaskrunId")); + taskrunLog.setStartTime(_ctx.stringValue("GetPhysicalInstanceLogResponse.TaskrunLogList["+ i +"].StartTime")); + taskrunLog.setEndTime(_ctx.stringValue("GetPhysicalInstanceLogResponse.TaskrunLogList["+ i +"].EndTime")); + taskrunLog.setLogContent(_ctx.stringValue("GetPhysicalInstanceLogResponse.TaskrunLogList["+ i +"].LogContent")); + taskrunLog.setStatus(_ctx.stringValue("GetPhysicalInstanceLogResponse.TaskrunLogList["+ i +"].Status")); + taskrunLog.setDuration(_ctx.stringValue("GetPhysicalInstanceLogResponse.TaskrunLogList["+ i +"].Duration")); + + taskrunLogList.add(taskrunLog); + } + getPhysicalInstanceLogResponse.setTaskrunLogList(taskrunLogList); + + return getPhysicalInstanceLogResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalInstanceResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalInstanceResponseUnmarshaller.java new file mode 100644 index 0000000000..aa9aa1565e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalInstanceResponseUnmarshaller.java @@ -0,0 +1,112 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalInstanceResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalInstanceResponse.Instance; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalInstanceResponse.Instance.NodeInfo; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalInstanceResponse.Instance.NodeInfo.Creator; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalInstanceResponse.Instance.NodeInfo.Modifier; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalInstanceResponse.Instance.NodeInfo.User; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetPhysicalInstanceResponseUnmarshaller { + + public static GetPhysicalInstanceResponse unmarshall(GetPhysicalInstanceResponse getPhysicalInstanceResponse, UnmarshallerContext _ctx) { + + getPhysicalInstanceResponse.setRequestId(_ctx.stringValue("GetPhysicalInstanceResponse.RequestId")); + getPhysicalInstanceResponse.setSuccess(_ctx.booleanValue("GetPhysicalInstanceResponse.Success")); + getPhysicalInstanceResponse.setHttpStatusCode(_ctx.integerValue("GetPhysicalInstanceResponse.HttpStatusCode")); + getPhysicalInstanceResponse.setCode(_ctx.stringValue("GetPhysicalInstanceResponse.Code")); + getPhysicalInstanceResponse.setMessage(_ctx.stringValue("GetPhysicalInstanceResponse.Message")); + + Instance instance = new Instance(); + instance.setId(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.Id")); + instance.setBizDate(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.BizDate")); + instance.setDueTime(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.DueTime")); + instance.setStartExecuteTime(_ctx.longValue("GetPhysicalInstanceResponse.Instance.StartExecuteTime")); + instance.setEndExecuteTime(_ctx.longValue("GetPhysicalInstanceResponse.Instance.EndExecuteTime")); + instance.setDuration(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.Duration")); + instance.setIndex(_ctx.integerValue("GetPhysicalInstanceResponse.Instance.Index")); + instance.setExtendInfo(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.ExtendInfo")); + + List statusList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetPhysicalInstanceResponse.Instance.StatusList.Length"); i++) { + statusList.add(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.StatusList["+ i +"]")); + } + instance.setStatusList(statusList); + + NodeInfo nodeInfo = new NodeInfo(); + nodeInfo.setId(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.Id")); + nodeInfo.setFrom(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.From")); + nodeInfo.setType(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.Type")); + nodeInfo.setName(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.Name")); + nodeInfo.setSubDetailType(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.SubDetailType")); + nodeInfo.setDescription(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.Description")); + nodeInfo.setDryRun(_ctx.booleanValue("GetPhysicalInstanceResponse.Instance.NodeInfo.DryRun")); + nodeInfo.setSchedulePaused(_ctx.booleanValue("GetPhysicalInstanceResponse.Instance.NodeInfo.SchedulePaused")); + nodeInfo.setHasProd(_ctx.booleanValue("GetPhysicalInstanceResponse.Instance.NodeInfo.HasProd")); + nodeInfo.setHasDev(_ctx.booleanValue("GetPhysicalInstanceResponse.Instance.NodeInfo.HasDev")); + nodeInfo.setBizUnitName(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.BizUnitName")); + nodeInfo.setCreateTime(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.CreateTime")); + nodeInfo.setLastModifiedTime(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.LastModifiedTime")); + + List priorityList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetPhysicalInstanceResponse.Instance.NodeInfo.PriorityList.Length"); i++) { + priorityList.add(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.PriorityList["+ i +"]")); + } + nodeInfo.setPriorityList(priorityList); + + List resourceGroupList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetPhysicalInstanceResponse.Instance.NodeInfo.ResourceGroupList.Length"); i++) { + resourceGroupList.add(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.ResourceGroupList["+ i +"]")); + } + nodeInfo.setResourceGroupList(resourceGroupList); + + List schedulePeriodList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetPhysicalInstanceResponse.Instance.NodeInfo.SchedulePeriodList.Length"); i++) { + schedulePeriodList.add(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.SchedulePeriodList["+ i +"]")); + } + nodeInfo.setSchedulePeriodList(schedulePeriodList); + + Creator creator = new Creator(); + creator.setId(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.Creator.Id")); + creator.setName(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.Creator.Name")); + nodeInfo.setCreator(creator); + + Modifier modifier = new Modifier(); + modifier.setId(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.Modifier.Id")); + modifier.setName(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.Modifier.Name")); + nodeInfo.setModifier(modifier); + + List ownerList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetPhysicalInstanceResponse.Instance.NodeInfo.OwnerList.Length"); i++) { + User user = new User(); + user.setId(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.OwnerList["+ i +"].Id")); + user.setName(_ctx.stringValue("GetPhysicalInstanceResponse.Instance.NodeInfo.OwnerList["+ i +"].Name")); + + ownerList.add(user); + } + nodeInfo.setOwnerList(ownerList); + instance.setNodeInfo(nodeInfo); + getPhysicalInstanceResponse.setInstance(instance); + + return getPhysicalInstanceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeByOutputNameResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeByOutputNameResponseUnmarshaller.java new file mode 100644 index 0000000000..d4cde9fbec --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeByOutputNameResponseUnmarshaller.java @@ -0,0 +1,72 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeByOutputNameResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeByOutputNameResponse.NodeInfo; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeByOutputNameResponse.NodeInfo.Creator; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeByOutputNameResponse.NodeInfo.Modifier; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeByOutputNameResponse.NodeInfo.Owner; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeByOutputNameResponse.NodeInfo.ProjectInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetPhysicalNodeByOutputNameResponseUnmarshaller { + + public static GetPhysicalNodeByOutputNameResponse unmarshall(GetPhysicalNodeByOutputNameResponse getPhysicalNodeByOutputNameResponse, UnmarshallerContext _ctx) { + + getPhysicalNodeByOutputNameResponse.setRequestId(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.RequestId")); + getPhysicalNodeByOutputNameResponse.setSuccess(_ctx.booleanValue("GetPhysicalNodeByOutputNameResponse.Success")); + getPhysicalNodeByOutputNameResponse.setHttpStatusCode(_ctx.integerValue("GetPhysicalNodeByOutputNameResponse.HttpStatusCode")); + getPhysicalNodeByOutputNameResponse.setCode(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.Code")); + getPhysicalNodeByOutputNameResponse.setMessage(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.Message")); + + NodeInfo nodeInfo = new NodeInfo(); + nodeInfo.setId(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.Id")); + nodeInfo.setName(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.Name")); + nodeInfo.setDescription(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.Description")); + nodeInfo.setOperatorType(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.OperatorType")); + nodeInfo.setScheduleType(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.ScheduleType")); + nodeInfo.setPriority(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.Priority")); + nodeInfo.setCreateTime(_ctx.longValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.CreateTime")); + nodeInfo.setLastModifiedTime(_ctx.longValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.LastModifiedTime")); + nodeInfo.setStatus(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.Status")); + nodeInfo.setTriggerConfig(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.TriggerConfig")); + nodeInfo.setFrom(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.From")); + + ProjectInfo projectInfo = new ProjectInfo(); + projectInfo.setId(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.ProjectInfo.Id")); + projectInfo.setName(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.ProjectInfo.Name")); + nodeInfo.setProjectInfo(projectInfo); + + Creator creator = new Creator(); + creator.setId(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.Creator.Id")); + creator.setName(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.Creator.Name")); + nodeInfo.setCreator(creator); + + Owner owner = new Owner(); + owner.setId(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.Owner.Id")); + owner.setName(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.Owner.Name")); + nodeInfo.setOwner(owner); + + Modifier modifier = new Modifier(); + modifier.setId(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.Modifier.Id")); + modifier.setName(_ctx.stringValue("GetPhysicalNodeByOutputNameResponse.NodeInfo.Modifier.Name")); + nodeInfo.setModifier(modifier); + getPhysicalNodeByOutputNameResponse.setNodeInfo(nodeInfo); + + return getPhysicalNodeByOutputNameResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeContentResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeContentResponseUnmarshaller.java new file mode 100644 index 0000000000..552bc97518 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeContentResponseUnmarshaller.java @@ -0,0 +1,40 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeContentResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeContentResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetPhysicalNodeContentResponseUnmarshaller { + + public static GetPhysicalNodeContentResponse unmarshall(GetPhysicalNodeContentResponse getPhysicalNodeContentResponse, UnmarshallerContext _ctx) { + + getPhysicalNodeContentResponse.setRequestId(_ctx.stringValue("GetPhysicalNodeContentResponse.RequestId")); + getPhysicalNodeContentResponse.setSuccess(_ctx.booleanValue("GetPhysicalNodeContentResponse.Success")); + getPhysicalNodeContentResponse.setHttpStatusCode(_ctx.integerValue("GetPhysicalNodeContentResponse.HttpStatusCode")); + getPhysicalNodeContentResponse.setCode(_ctx.stringValue("GetPhysicalNodeContentResponse.Code")); + getPhysicalNodeContentResponse.setMessage(_ctx.stringValue("GetPhysicalNodeContentResponse.Message")); + + Data data = new Data(); + data.setNodeId(_ctx.stringValue("GetPhysicalNodeContentResponse.Data.NodeId")); + data.setNodeName(_ctx.stringValue("GetPhysicalNodeContentResponse.Data.NodeName")); + data.setCodeContent(_ctx.stringValue("GetPhysicalNodeContentResponse.Data.CodeContent")); + getPhysicalNodeContentResponse.setData(data); + + return getPhysicalNodeContentResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeOperationLogResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeOperationLogResponseUnmarshaller.java new file mode 100644 index 0000000000..04a6ac16fc --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeOperationLogResponseUnmarshaller.java @@ -0,0 +1,50 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeOperationLogResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeOperationLogResponse.OperationLog; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetPhysicalNodeOperationLogResponseUnmarshaller { + + public static GetPhysicalNodeOperationLogResponse unmarshall(GetPhysicalNodeOperationLogResponse getPhysicalNodeOperationLogResponse, UnmarshallerContext _ctx) { + + getPhysicalNodeOperationLogResponse.setRequestId(_ctx.stringValue("GetPhysicalNodeOperationLogResponse.RequestId")); + getPhysicalNodeOperationLogResponse.setSuccess(_ctx.booleanValue("GetPhysicalNodeOperationLogResponse.Success")); + getPhysicalNodeOperationLogResponse.setHttpStatusCode(_ctx.integerValue("GetPhysicalNodeOperationLogResponse.HttpStatusCode")); + getPhysicalNodeOperationLogResponse.setCode(_ctx.stringValue("GetPhysicalNodeOperationLogResponse.Code")); + getPhysicalNodeOperationLogResponse.setMessage(_ctx.stringValue("GetPhysicalNodeOperationLogResponse.Message")); + + List operationLogList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetPhysicalNodeOperationLogResponse.OperationLogList.Length"); i++) { + OperationLog operationLog = new OperationLog(); + operationLog.setContext(_ctx.stringValue("GetPhysicalNodeOperationLogResponse.OperationLogList["+ i +"].Context")); + operationLog.setOperationType(_ctx.stringValue("GetPhysicalNodeOperationLogResponse.OperationLogList["+ i +"].OperationType")); + operationLog.setOperator(_ctx.stringValue("GetPhysicalNodeOperationLogResponse.OperationLogList["+ i +"].Operator")); + operationLog.setOperationTime(_ctx.stringValue("GetPhysicalNodeOperationLogResponse.OperationLogList["+ i +"].OperationTime")); + operationLog.setOperatorName(_ctx.stringValue("GetPhysicalNodeOperationLogResponse.OperationLogList["+ i +"].OperatorName")); + + operationLogList.add(operationLog); + } + getPhysicalNodeOperationLogResponse.setOperationLogList(operationLogList); + + return getPhysicalNodeOperationLogResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeResponseUnmarshaller.java new file mode 100644 index 0000000000..8155cd6df0 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetPhysicalNodeResponseUnmarshaller.java @@ -0,0 +1,84 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeResponse.NodeInfo; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeResponse.NodeInfo.Creator; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeResponse.NodeInfo.Modifier; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeResponse.NodeInfo.Owner; +import com.aliyuncs.dataphin_public.model.v20230630.GetPhysicalNodeResponse.NodeInfo.ProjectInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetPhysicalNodeResponseUnmarshaller { + + public static GetPhysicalNodeResponse unmarshall(GetPhysicalNodeResponse getPhysicalNodeResponse, UnmarshallerContext _ctx) { + + getPhysicalNodeResponse.setRequestId(_ctx.stringValue("GetPhysicalNodeResponse.RequestId")); + getPhysicalNodeResponse.setSuccess(_ctx.booleanValue("GetPhysicalNodeResponse.Success")); + getPhysicalNodeResponse.setHttpStatusCode(_ctx.integerValue("GetPhysicalNodeResponse.HttpStatusCode")); + getPhysicalNodeResponse.setCode(_ctx.stringValue("GetPhysicalNodeResponse.Code")); + getPhysicalNodeResponse.setMessage(_ctx.stringValue("GetPhysicalNodeResponse.Message")); + + NodeInfo nodeInfo = new NodeInfo(); + nodeInfo.setId(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.Id")); + nodeInfo.setName(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.Name")); + nodeInfo.setDescription(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.Description")); + nodeInfo.setOperatorType(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.OperatorType")); + nodeInfo.setScheduleType(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.ScheduleType")); + nodeInfo.setPriority(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.Priority")); + nodeInfo.setCreateTime(_ctx.longValue("GetPhysicalNodeResponse.NodeInfo.CreateTime")); + nodeInfo.setLastModifiedTime(_ctx.longValue("GetPhysicalNodeResponse.NodeInfo.LastModifiedTime")); + nodeInfo.setStatus(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.Status")); + nodeInfo.setTriggerConfig(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.TriggerConfig")); + nodeInfo.setFrom(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.From")); + nodeInfo.setCronExpression(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.CronExpression")); + nodeInfo.setDataSourceId(_ctx.longValue("GetPhysicalNodeResponse.NodeInfo.DataSourceId")); + nodeInfo.setDataSourceSchema(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.DataSourceSchema")); + + List outputNameList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetPhysicalNodeResponse.NodeInfo.OutputNameList.Length"); i++) { + outputNameList.add(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.OutputNameList["+ i +"]")); + } + nodeInfo.setOutputNameList(outputNameList); + + ProjectInfo projectInfo = new ProjectInfo(); + projectInfo.setId(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.ProjectInfo.Id")); + projectInfo.setName(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.ProjectInfo.Name")); + nodeInfo.setProjectInfo(projectInfo); + + Creator creator = new Creator(); + creator.setId(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.Creator.Id")); + creator.setName(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.Creator.Name")); + nodeInfo.setCreator(creator); + + Owner owner = new Owner(); + owner.setId(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.Owner.Id")); + owner.setName(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.Owner.Name")); + nodeInfo.setOwner(owner); + + Modifier modifier = new Modifier(); + modifier.setId(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.Modifier.Id")); + modifier.setName(_ctx.stringValue("GetPhysicalNodeResponse.NodeInfo.Modifier.Name")); + nodeInfo.setModifier(modifier); + getPhysicalNodeResponse.setNodeInfo(nodeInfo); + + return getPhysicalNodeResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetProjectProduceUserResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetProjectProduceUserResponseUnmarshaller.java new file mode 100644 index 0000000000..a786a76bd6 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetProjectProduceUserResponseUnmarshaller.java @@ -0,0 +1,38 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.GetProjectProduceUserResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetProjectProduceUserResponse.User; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetProjectProduceUserResponseUnmarshaller { + + public static GetProjectProduceUserResponse unmarshall(GetProjectProduceUserResponse getProjectProduceUserResponse, UnmarshallerContext _ctx) { + + getProjectProduceUserResponse.setRequestId(_ctx.stringValue("GetProjectProduceUserResponse.RequestId")); + getProjectProduceUserResponse.setSuccess(_ctx.booleanValue("GetProjectProduceUserResponse.Success")); + getProjectProduceUserResponse.setHttpStatusCode(_ctx.integerValue("GetProjectProduceUserResponse.HttpStatusCode")); + getProjectProduceUserResponse.setCode(_ctx.stringValue("GetProjectProduceUserResponse.Code")); + getProjectProduceUserResponse.setMessage(_ctx.stringValue("GetProjectProduceUserResponse.Message")); + + User user = new User(); + user.setId(_ctx.stringValue("GetProjectProduceUserResponse.User.Id")); + getProjectProduceUserResponse.setUser(user); + + return getProjectProduceUserResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetSupplementDagrunInstanceResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetSupplementDagrunInstanceResponseUnmarshaller.java new file mode 100644 index 0000000000..f55f4f43cd --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetSupplementDagrunInstanceResponseUnmarshaller.java @@ -0,0 +1,118 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetSupplementDagrunInstanceResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetSupplementDagrunInstanceResponse.Instance; +import com.aliyuncs.dataphin_public.model.v20230630.GetSupplementDagrunInstanceResponse.Instance.NodeInfo; +import com.aliyuncs.dataphin_public.model.v20230630.GetSupplementDagrunInstanceResponse.Instance.NodeInfo.Creator; +import com.aliyuncs.dataphin_public.model.v20230630.GetSupplementDagrunInstanceResponse.Instance.NodeInfo.Modifier; +import com.aliyuncs.dataphin_public.model.v20230630.GetSupplementDagrunInstanceResponse.Instance.NodeInfo.User; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetSupplementDagrunInstanceResponseUnmarshaller { + + public static GetSupplementDagrunInstanceResponse unmarshall(GetSupplementDagrunInstanceResponse getSupplementDagrunInstanceResponse, UnmarshallerContext _ctx) { + + getSupplementDagrunInstanceResponse.setRequestId(_ctx.stringValue("GetSupplementDagrunInstanceResponse.RequestId")); + getSupplementDagrunInstanceResponse.setSuccess(_ctx.booleanValue("GetSupplementDagrunInstanceResponse.Success")); + getSupplementDagrunInstanceResponse.setHttpStatusCode(_ctx.integerValue("GetSupplementDagrunInstanceResponse.HttpStatusCode")); + getSupplementDagrunInstanceResponse.setCode(_ctx.stringValue("GetSupplementDagrunInstanceResponse.Code")); + getSupplementDagrunInstanceResponse.setMessage(_ctx.stringValue("GetSupplementDagrunInstanceResponse.Message")); + + List instanceList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetSupplementDagrunInstanceResponse.InstanceList.Length"); i++) { + Instance instance = new Instance(); + instance.setId(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].Id")); + instance.setType(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].Type")); + instance.setBizDate(_ctx.longValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].BizDate")); + instance.setDueTime(_ctx.longValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].DueTime")); + instance.setStartExecuteTime(_ctx.longValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].StartExecuteTime")); + instance.setEndExecuteTime(_ctx.longValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].EndExecuteTime")); + instance.setDuration(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].Duration")); + instance.setIndex(_ctx.integerValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].Index")); + instance.setExtendInfo(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].ExtendInfo")); + + List statusList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].StatusList.Length"); j++) { + statusList.add(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].StatusList["+ j +"]")); + } + instance.setStatusList(statusList); + + NodeInfo nodeInfo = new NodeInfo(); + nodeInfo.setId(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.Id")); + nodeInfo.setName(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.Name")); + nodeInfo.setType(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.Type")); + nodeInfo.setFrom(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.From")); + nodeInfo.setSubDetailType(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.SubDetailType")); + nodeInfo.setDescription(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.Description")); + nodeInfo.setDryRun(_ctx.booleanValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.DryRun")); + nodeInfo.setSchedulePaused(_ctx.booleanValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.SchedulePaused")); + nodeInfo.setHasProd(_ctx.booleanValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.HasProd")); + nodeInfo.setHasDev(_ctx.booleanValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.HasDev")); + nodeInfo.setBizUnitName(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.BizUnitName")); + nodeInfo.setCreateTime(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.CreateTime")); + nodeInfo.setLastModifiedTime(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.LastModifiedTime")); + + List resourceGroupList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.ResourceGroupList.Length"); j++) { + resourceGroupList.add(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.ResourceGroupList["+ j +"]")); + } + nodeInfo.setResourceGroupList(resourceGroupList); + + List priorityList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.PriorityList.Length"); j++) { + priorityList.add(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.PriorityList["+ j +"]")); + } + nodeInfo.setPriorityList(priorityList); + + List schedulePeriodList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.SchedulePeriodList.Length"); j++) { + schedulePeriodList.add(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.SchedulePeriodList["+ j +"]")); + } + nodeInfo.setSchedulePeriodList(schedulePeriodList); + + Creator creator = new Creator(); + creator.setId(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.Creator.Id")); + creator.setName(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.Creator.Name")); + nodeInfo.setCreator(creator); + + Modifier modifier = new Modifier(); + modifier.setId(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.Modifier.Id")); + modifier.setName(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.Modifier.Name")); + nodeInfo.setModifier(modifier); + + List ownerList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.OwnerList.Length"); j++) { + User user = new User(); + user.setId(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.OwnerList["+ j +"].Id")); + user.setName(_ctx.stringValue("GetSupplementDagrunInstanceResponse.InstanceList["+ i +"].NodeInfo.OwnerList["+ j +"].Name")); + + ownerList.add(user); + } + nodeInfo.setOwnerList(ownerList); + instance.setNodeInfo(nodeInfo); + + instanceList.add(instance); + } + getSupplementDagrunInstanceResponse.setInstanceList(instanceList); + + return getSupplementDagrunInstanceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetSupplementDagrunResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetSupplementDagrunResponseUnmarshaller.java new file mode 100644 index 0000000000..22cd3e5ce2 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetSupplementDagrunResponseUnmarshaller.java @@ -0,0 +1,52 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetSupplementDagrunResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetSupplementDagrunResponse.DagrunInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetSupplementDagrunResponseUnmarshaller { + + public static GetSupplementDagrunResponse unmarshall(GetSupplementDagrunResponse getSupplementDagrunResponse, UnmarshallerContext _ctx) { + + getSupplementDagrunResponse.setRequestId(_ctx.stringValue("GetSupplementDagrunResponse.RequestId")); + getSupplementDagrunResponse.setSuccess(_ctx.booleanValue("GetSupplementDagrunResponse.Success")); + getSupplementDagrunResponse.setHttpStatusCode(_ctx.integerValue("GetSupplementDagrunResponse.HttpStatusCode")); + getSupplementDagrunResponse.setCode(_ctx.stringValue("GetSupplementDagrunResponse.Code")); + getSupplementDagrunResponse.setMessage(_ctx.stringValue("GetSupplementDagrunResponse.Message")); + + List dagrunList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetSupplementDagrunResponse.DagrunList.Length"); i++) { + DagrunInfo dagrunInfo = new DagrunInfo(); + dagrunInfo.setId(_ctx.stringValue("GetSupplementDagrunResponse.DagrunList["+ i +"].Id")); + dagrunInfo.setBizDate(_ctx.stringValue("GetSupplementDagrunResponse.DagrunList["+ i +"].BizDate")); + dagrunInfo.setStatus(_ctx.stringValue("GetSupplementDagrunResponse.DagrunList["+ i +"].Status")); + dagrunInfo.setStartExecuteTime(_ctx.longValue("GetSupplementDagrunResponse.DagrunList["+ i +"].StartExecuteTime")); + dagrunInfo.setEndExecuteTime(_ctx.longValue("GetSupplementDagrunResponse.DagrunList["+ i +"].EndExecuteTime")); + dagrunInfo.setSupplementId(_ctx.stringValue("GetSupplementDagrunResponse.DagrunList["+ i +"].SupplementId")); + dagrunInfo.setDuration(_ctx.stringValue("GetSupplementDagrunResponse.DagrunList["+ i +"].Duration")); + + dagrunList.add(dagrunInfo); + } + getSupplementDagrunResponse.setDagrunList(dagrunList); + + return getSupplementDagrunResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetUserBySourceIdResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetUserBySourceIdResponseUnmarshaller.java new file mode 100644 index 0000000000..958d5acc4a --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetUserBySourceIdResponseUnmarshaller.java @@ -0,0 +1,39 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.GetUserBySourceIdResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetUserBySourceIdResponse.User; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetUserBySourceIdResponseUnmarshaller { + + public static GetUserBySourceIdResponse unmarshall(GetUserBySourceIdResponse getUserBySourceIdResponse, UnmarshallerContext _ctx) { + + getUserBySourceIdResponse.setRequestId(_ctx.stringValue("GetUserBySourceIdResponse.RequestId")); + getUserBySourceIdResponse.setSuccess(_ctx.booleanValue("GetUserBySourceIdResponse.Success")); + getUserBySourceIdResponse.setHttpStatusCode(_ctx.integerValue("GetUserBySourceIdResponse.HttpStatusCode")); + getUserBySourceIdResponse.setCode(_ctx.stringValue("GetUserBySourceIdResponse.Code")); + getUserBySourceIdResponse.setMessage(_ctx.stringValue("GetUserBySourceIdResponse.Message")); + + User user = new User(); + user.setId(_ctx.stringValue("GetUserBySourceIdResponse.User.Id")); + user.setDisplayName(_ctx.stringValue("GetUserBySourceIdResponse.User.DisplayName")); + getUserBySourceIdResponse.setUser(user); + + return getUserBySourceIdResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetUserGroupResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetUserGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..6d281c43f6 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetUserGroupResponseUnmarshaller.java @@ -0,0 +1,57 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetUserGroupResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetUserGroupResponse.UserGroupInfo; +import com.aliyuncs.dataphin_public.model.v20230630.GetUserGroupResponse.UserGroupInfo.User; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetUserGroupResponseUnmarshaller { + + public static GetUserGroupResponse unmarshall(GetUserGroupResponse getUserGroupResponse, UnmarshallerContext _ctx) { + + getUserGroupResponse.setRequestId(_ctx.stringValue("GetUserGroupResponse.RequestId")); + getUserGroupResponse.setSuccess(_ctx.booleanValue("GetUserGroupResponse.Success")); + getUserGroupResponse.setHttpStatusCode(_ctx.integerValue("GetUserGroupResponse.HttpStatusCode")); + getUserGroupResponse.setCode(_ctx.stringValue("GetUserGroupResponse.Code")); + getUserGroupResponse.setMessage(_ctx.stringValue("GetUserGroupResponse.Message")); + + UserGroupInfo userGroupInfo = new UserGroupInfo(); + userGroupInfo.setId(_ctx.stringValue("GetUserGroupResponse.UserGroupInfo.Id")); + userGroupInfo.setName(_ctx.stringValue("GetUserGroupResponse.UserGroupInfo.Name")); + userGroupInfo.setDescription(_ctx.stringValue("GetUserGroupResponse.UserGroupInfo.Description")); + userGroupInfo.setActive(_ctx.booleanValue("GetUserGroupResponse.UserGroupInfo.Active")); + userGroupInfo.setMyRole(_ctx.stringValue("GetUserGroupResponse.UserGroupInfo.MyRole")); + + List adminList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetUserGroupResponse.UserGroupInfo.AdminList.Length"); i++) { + User user = new User(); + user.setId(_ctx.stringValue("GetUserGroupResponse.UserGroupInfo.AdminList["+ i +"].Id")); + user.setDisplayName(_ctx.stringValue("GetUserGroupResponse.UserGroupInfo.AdminList["+ i +"].DisplayName")); + user.setAccountName(_ctx.stringValue("GetUserGroupResponse.UserGroupInfo.AdminList["+ i +"].AccountName")); + + adminList.add(user); + } + userGroupInfo.setAdminList(adminList); + getUserGroupResponse.setUserGroupInfo(userGroupInfo); + + return getUserGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetUsersResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetUsersResponseUnmarshaller.java new file mode 100644 index 0000000000..1331c00f74 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetUsersResponseUnmarshaller.java @@ -0,0 +1,64 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetUsersResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetUsersResponse.User; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetUsersResponseUnmarshaller { + + public static GetUsersResponse unmarshall(GetUsersResponse getUsersResponse, UnmarshallerContext _ctx) { + + getUsersResponse.setRequestId(_ctx.stringValue("GetUsersResponse.RequestId")); + getUsersResponse.setSuccess(_ctx.booleanValue("GetUsersResponse.Success")); + getUsersResponse.setHttpStatusCode(_ctx.integerValue("GetUsersResponse.HttpStatusCode")); + getUsersResponse.setCode(_ctx.stringValue("GetUsersResponse.Code")); + getUsersResponse.setMessage(_ctx.stringValue("GetUsersResponse.Message")); + + List userList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetUsersResponse.UserList.Length"); i++) { + User user = new User(); + user.setId(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].Id")); + user.setParentId(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].ParentId")); + user.setSourceType(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].SourceType")); + user.setSourceId(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].SourceId")); + user.setName(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].Name")); + user.setDisplayName(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].DisplayName")); + user.setDisplayNameWithoutStatus(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].DisplayNameWithoutStatus")); + user.setAccountName(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].AccountName")); + user.setRealName(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].RealName")); + user.setNickName(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].NickName")); + user.setGmtCreate(_ctx.longValue("GetUsersResponse.UserList["+ i +"].GmtCreate")); + user.setMobilePhone(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].MobilePhone")); + user.setMail(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].Mail")); + user.setDingNumber(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].DingNumber")); + user.setWeChatRobot(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].WeChatRobot")); + user.setFeiShuRobot(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].FeiShuRobot")); + user.setEnableWhiteIp(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].EnableWhiteIp")); + user.setWhiteIp(_ctx.stringValue("GetUsersResponse.UserList["+ i +"].WhiteIp")); + user.setGmtModified(_ctx.longValue("GetUsersResponse.UserList["+ i +"].GmtModified")); + + userList.add(user); + } + getUsersResponse.setUserList(userList); + + return getUsersResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GrantResourcePermissionResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GrantResourcePermissionResponseUnmarshaller.java new file mode 100644 index 0000000000..1bbe2efb2c --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GrantResourcePermissionResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.GrantResourcePermissionResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GrantResourcePermissionResponseUnmarshaller { + + public static GrantResourcePermissionResponse unmarshall(GrantResourcePermissionResponse grantResourcePermissionResponse, UnmarshallerContext _ctx) { + + grantResourcePermissionResponse.setRequestId(_ctx.stringValue("GrantResourcePermissionResponse.RequestId")); + grantResourcePermissionResponse.setSuccess(_ctx.booleanValue("GrantResourcePermissionResponse.Success")); + grantResourcePermissionResponse.setHttpStatusCode(_ctx.integerValue("GrantResourcePermissionResponse.HttpStatusCode")); + grantResourcePermissionResponse.setCode(_ctx.stringValue("GrantResourcePermissionResponse.Code")); + grantResourcePermissionResponse.setMessage(_ctx.stringValue("GrantResourcePermissionResponse.Message")); + + return grantResourcePermissionResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAddableRolesResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAddableRolesResponseUnmarshaller.java new file mode 100644 index 0000000000..2b4a4c4f24 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAddableRolesResponseUnmarshaller.java @@ -0,0 +1,47 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.ListAddableRolesResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListAddableRolesResponse.Role; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListAddableRolesResponseUnmarshaller { + + public static ListAddableRolesResponse unmarshall(ListAddableRolesResponse listAddableRolesResponse, UnmarshallerContext _ctx) { + + listAddableRolesResponse.setRequestId(_ctx.stringValue("ListAddableRolesResponse.RequestId")); + listAddableRolesResponse.setSuccess(_ctx.booleanValue("ListAddableRolesResponse.Success")); + listAddableRolesResponse.setHttpStatusCode(_ctx.integerValue("ListAddableRolesResponse.HttpStatusCode")); + listAddableRolesResponse.setCode(_ctx.stringValue("ListAddableRolesResponse.Code")); + listAddableRolesResponse.setMessage(_ctx.stringValue("ListAddableRolesResponse.Message")); + + List roleList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListAddableRolesResponse.RoleList.Length"); i++) { + Role role = new Role(); + role.setCode(_ctx.stringValue("ListAddableRolesResponse.RoleList["+ i +"].Code")); + role.setName(_ctx.stringValue("ListAddableRolesResponse.RoleList["+ i +"].Name")); + + roleList.add(role); + } + listAddableRolesResponse.setRoleList(roleList); + + return listAddableRolesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAddableUsersResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAddableUsersResponseUnmarshaller.java new file mode 100644 index 0000000000..3955bfae0c --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAddableUsersResponseUnmarshaller.java @@ -0,0 +1,69 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.ListAddableUsersResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListAddableUsersResponse.PageResult; +import com.aliyuncs.dataphin_public.model.v20230630.ListAddableUsersResponse.PageResult.User; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListAddableUsersResponseUnmarshaller { + + public static ListAddableUsersResponse unmarshall(ListAddableUsersResponse listAddableUsersResponse, UnmarshallerContext _ctx) { + + listAddableUsersResponse.setRequestId(_ctx.stringValue("ListAddableUsersResponse.RequestId")); + listAddableUsersResponse.setSuccess(_ctx.booleanValue("ListAddableUsersResponse.Success")); + listAddableUsersResponse.setHttpStatusCode(_ctx.integerValue("ListAddableUsersResponse.HttpStatusCode")); + listAddableUsersResponse.setCode(_ctx.stringValue("ListAddableUsersResponse.Code")); + listAddableUsersResponse.setMessage(_ctx.stringValue("ListAddableUsersResponse.Message")); + + PageResult pageResult = new PageResult(); + pageResult.setTotalCount(_ctx.integerValue("ListAddableUsersResponse.PageResult.TotalCount")); + + List userList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListAddableUsersResponse.PageResult.UserList.Length"); i++) { + User user = new User(); + user.setId(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].Id")); + user.setParentId(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].ParentId")); + user.setSourceType(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].SourceType")); + user.setSourceId(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].SourceId")); + user.setName(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].Name")); + user.setDisplayName(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].DisplayName")); + user.setDisplayNameWithoutStatus(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].DisplayNameWithoutStatus")); + user.setAccountName(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].AccountName")); + user.setRealName(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].RealName")); + user.setNickName(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].NickName")); + user.setGmtCreate(_ctx.longValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].GmtCreate")); + user.setMobilePhone(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].MobilePhone")); + user.setMail(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].Mail")); + user.setDingNumber(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].DingNumber")); + user.setWeChatRobot(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].WeChatRobot")); + user.setFeiShuRobot(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].FeiShuRobot")); + user.setEnableWhiteIp(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].EnableWhiteIp")); + user.setWhiteIp(_ctx.stringValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].WhiteIp")); + user.setGmtModified(_ctx.longValue("ListAddableUsersResponse.PageResult.UserList["+ i +"].GmtModified")); + + userList.add(user); + } + pageResult.setUserList(userList); + listAddableUsersResponse.setPageResult(pageResult); + + return listAddableUsersResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListDataSourceWithConfigResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListDataSourceWithConfigResponseUnmarshaller.java new file mode 100644 index 0000000000..82eab1832d --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListDataSourceWithConfigResponseUnmarshaller.java @@ -0,0 +1,104 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.ListDataSourceWithConfigResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListDataSourceWithConfigResponse.PageResult; +import com.aliyuncs.dataphin_public.model.v20230630.ListDataSourceWithConfigResponse.PageResult.DevProdDataSource; +import com.aliyuncs.dataphin_public.model.v20230630.ListDataSourceWithConfigResponse.PageResult.DevProdDataSource.DevDataSourceInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListDataSourceWithConfigResponse.PageResult.DevProdDataSource.DevDataSourceInfo.ConfigItem2; +import com.aliyuncs.dataphin_public.model.v20230630.ListDataSourceWithConfigResponse.PageResult.DevProdDataSource.ProdDataSourceInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListDataSourceWithConfigResponse.PageResult.DevProdDataSource.ProdDataSourceInfo.ConfigItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListDataSourceWithConfigResponseUnmarshaller { + + public static ListDataSourceWithConfigResponse unmarshall(ListDataSourceWithConfigResponse listDataSourceWithConfigResponse, UnmarshallerContext _ctx) { + + listDataSourceWithConfigResponse.setRequestId(_ctx.stringValue("ListDataSourceWithConfigResponse.RequestId")); + listDataSourceWithConfigResponse.setSuccess(_ctx.booleanValue("ListDataSourceWithConfigResponse.Success")); + listDataSourceWithConfigResponse.setHttpStatusCode(_ctx.integerValue("ListDataSourceWithConfigResponse.HttpStatusCode")); + listDataSourceWithConfigResponse.setCode(_ctx.stringValue("ListDataSourceWithConfigResponse.Code")); + listDataSourceWithConfigResponse.setMessage(_ctx.stringValue("ListDataSourceWithConfigResponse.Message")); + + PageResult pageResult = new PageResult(); + pageResult.setTotalCount(_ctx.longValue("ListDataSourceWithConfigResponse.PageResult.TotalCount")); + + List dataSourceList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList.Length"); i++) { + DevProdDataSource devProdDataSource = new DevProdDataSource(); + + ProdDataSourceInfo prodDataSourceInfo = new ProdDataSourceInfo(); + prodDataSourceInfo.setId(_ctx.longValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].ProdDataSourceInfo.Id")); + prodDataSourceInfo.setName(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].ProdDataSourceInfo.Name")); + prodDataSourceInfo.setType(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].ProdDataSourceInfo.Type")); + prodDataSourceInfo.setScope(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].ProdDataSourceInfo.Scope")); + prodDataSourceInfo.setCreateTime(_ctx.longValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].ProdDataSourceInfo.CreateTime")); + prodDataSourceInfo.setModifyTime(_ctx.longValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].ProdDataSourceInfo.ModifyTime")); + prodDataSourceInfo.setCreator(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].ProdDataSourceInfo.Creator")); + prodDataSourceInfo.setCreatorName(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].ProdDataSourceInfo.CreatorName")); + prodDataSourceInfo.setOwner(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].ProdDataSourceInfo.Owner")); + prodDataSourceInfo.setOwnerName(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].ProdDataSourceInfo.OwnerName")); + prodDataSourceInfo.setDescription(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].ProdDataSourceInfo.Description")); + prodDataSourceInfo.setEnv(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].ProdDataSourceInfo.Env")); + + List configItemList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].ProdDataSourceInfo.ConfigItemList.Length"); j++) { + ConfigItem configItem = new ConfigItem(); + configItem.setKey(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].ProdDataSourceInfo.ConfigItemList["+ j +"].Key")); + configItem.setValue(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].ProdDataSourceInfo.ConfigItemList["+ j +"].Value")); + + configItemList.add(configItem); + } + prodDataSourceInfo.setConfigItemList(configItemList); + devProdDataSource.setProdDataSourceInfo(prodDataSourceInfo); + + DevDataSourceInfo devDataSourceInfo = new DevDataSourceInfo(); + devDataSourceInfo.setId(_ctx.longValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].DevDataSourceInfo.Id")); + devDataSourceInfo.setName(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].DevDataSourceInfo.Name")); + devDataSourceInfo.setType(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].DevDataSourceInfo.Type")); + devDataSourceInfo.setScope(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].DevDataSourceInfo.Scope")); + devDataSourceInfo.setCreateTime(_ctx.longValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].DevDataSourceInfo.CreateTime")); + devDataSourceInfo.setModifyTime(_ctx.longValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].DevDataSourceInfo.ModifyTime")); + devDataSourceInfo.setCreator(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].DevDataSourceInfo.Creator")); + devDataSourceInfo.setCreatorName(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].DevDataSourceInfo.CreatorName")); + devDataSourceInfo.setOwner(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].DevDataSourceInfo.Owner")); + devDataSourceInfo.setOwnerName(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].DevDataSourceInfo.OwnerName")); + devDataSourceInfo.setDescription(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].DevDataSourceInfo.Description")); + devDataSourceInfo.setEnv(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].DevDataSourceInfo.Env")); + + List configItemList1 = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].DevDataSourceInfo.ConfigItemList.Length"); j++) { + ConfigItem2 configItem2 = new ConfigItem2(); + configItem2.setKey(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].DevDataSourceInfo.ConfigItemList["+ j +"].Key")); + configItem2.setValue(_ctx.stringValue("ListDataSourceWithConfigResponse.PageResult.DataSourceList["+ i +"].DevDataSourceInfo.ConfigItemList["+ j +"].Value")); + + configItemList1.add(configItem2); + } + devDataSourceInfo.setConfigItemList1(configItemList1); + devProdDataSource.setDevDataSourceInfo(devDataSourceInfo); + + dataSourceList.add(devProdDataSource); + } + pageResult.setDataSourceList(dataSourceList); + listDataSourceWithConfigResponse.setPageResult(pageResult); + + return listDataSourceWithConfigResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListFilesResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListFilesResponseUnmarshaller.java new file mode 100644 index 0000000000..8673e984d5 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListFilesResponseUnmarshaller.java @@ -0,0 +1,56 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.ListFilesResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListFilesResponse.File; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListFilesResponseUnmarshaller { + + public static ListFilesResponse unmarshall(ListFilesResponse listFilesResponse, UnmarshallerContext _ctx) { + + listFilesResponse.setRequestId(_ctx.stringValue("ListFilesResponse.RequestId")); + listFilesResponse.setSuccess(_ctx.booleanValue("ListFilesResponse.Success")); + listFilesResponse.setHttpStatusCode(_ctx.integerValue("ListFilesResponse.HttpStatusCode")); + listFilesResponse.setCode(_ctx.stringValue("ListFilesResponse.Code")); + listFilesResponse.setMessage(_ctx.stringValue("ListFilesResponse.Message")); + + List fileList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListFilesResponse.FileList.Length"); i++) { + File file = new File(); + file.setId(_ctx.longValue("ListFilesResponse.FileList["+ i +"].Id")); + file.setName(_ctx.stringValue("ListFilesResponse.FileList["+ i +"].Name")); + file.setProjectId(_ctx.longValue("ListFilesResponse.FileList["+ i +"].ProjectId")); + file.setCategory(_ctx.stringValue("ListFilesResponse.FileList["+ i +"].Category")); + file.setFileType(_ctx.stringValue("ListFilesResponse.FileList["+ i +"].FileType")); + file.setDirectory(_ctx.stringValue("ListFilesResponse.FileList["+ i +"].Directory")); + file.setContent(_ctx.stringValue("ListFilesResponse.FileList["+ i +"].Content")); + file.setGmtCreate(_ctx.longValue("ListFilesResponse.FileList["+ i +"].GmtCreate")); + file.setGmtModified(_ctx.longValue("ListFilesResponse.FileList["+ i +"].GmtModified")); + file.setCreator(_ctx.stringValue("ListFilesResponse.FileList["+ i +"].Creator")); + file.setLastModifier(_ctx.stringValue("ListFilesResponse.FileList["+ i +"].LastModifier")); + + fileList.add(file); + } + listFilesResponse.setFileList(fileList); + + return listFilesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListInstancesResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListInstancesResponseUnmarshaller.java new file mode 100644 index 0000000000..224ee4fc92 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListInstancesResponseUnmarshaller.java @@ -0,0 +1,122 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.ListInstancesResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListInstancesResponse.PageResult; +import com.aliyuncs.dataphin_public.model.v20230630.ListInstancesResponse.PageResult.Instance; +import com.aliyuncs.dataphin_public.model.v20230630.ListInstancesResponse.PageResult.Instance.NodeInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListInstancesResponse.PageResult.Instance.NodeInfo.Creator; +import com.aliyuncs.dataphin_public.model.v20230630.ListInstancesResponse.PageResult.Instance.NodeInfo.Modifier; +import com.aliyuncs.dataphin_public.model.v20230630.ListInstancesResponse.PageResult.Instance.NodeInfo.User; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListInstancesResponseUnmarshaller { + + public static ListInstancesResponse unmarshall(ListInstancesResponse listInstancesResponse, UnmarshallerContext _ctx) { + + listInstancesResponse.setRequestId(_ctx.stringValue("ListInstancesResponse.RequestId")); + listInstancesResponse.setSuccess(_ctx.booleanValue("ListInstancesResponse.Success")); + listInstancesResponse.setHttpStatusCode(_ctx.integerValue("ListInstancesResponse.HttpStatusCode")); + listInstancesResponse.setCode(_ctx.stringValue("ListInstancesResponse.Code")); + listInstancesResponse.setMessage(_ctx.stringValue("ListInstancesResponse.Message")); + + PageResult pageResult = new PageResult(); + pageResult.setTotalCount(_ctx.integerValue("ListInstancesResponse.PageResult.TotalCount")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListInstancesResponse.PageResult.Data.Length"); i++) { + Instance instance = new Instance(); + instance.setId(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].Id")); + instance.setBizDate(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].BizDate")); + instance.setDueTime(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].DueTime")); + instance.setStartExecuteTime(_ctx.longValue("ListInstancesResponse.PageResult.Data["+ i +"].StartExecuteTime")); + instance.setEndExecuteTime(_ctx.longValue("ListInstancesResponse.PageResult.Data["+ i +"].EndExecuteTime")); + instance.setDuration(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].Duration")); + instance.setIndex(_ctx.integerValue("ListInstancesResponse.PageResult.Data["+ i +"].Index")); + instance.setExtendInfo(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].ExtendInfo")); + + List statusList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListInstancesResponse.PageResult.Data["+ i +"].StatusList.Length"); j++) { + statusList.add(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].StatusList["+ j +"]")); + } + instance.setStatusList(statusList); + + NodeInfo nodeInfo = new NodeInfo(); + nodeInfo.setId(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.Id")); + nodeInfo.setFrom(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.From")); + nodeInfo.setType(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.Type")); + nodeInfo.setName(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.Name")); + nodeInfo.setSubDetailType(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.SubDetailType")); + nodeInfo.setDescription(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.Description")); + nodeInfo.setDryRun(_ctx.booleanValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.DryRun")); + nodeInfo.setSchedulePaused(_ctx.booleanValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.SchedulePaused")); + nodeInfo.setHasProd(_ctx.booleanValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.HasProd")); + nodeInfo.setHasDev(_ctx.booleanValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.HasDev")); + nodeInfo.setBizUnitName(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.BizUnitName")); + nodeInfo.setCreateTime(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.CreateTime")); + nodeInfo.setLastModifiedTime(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.LastModifiedTime")); + + List priorityList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.PriorityList.Length"); j++) { + priorityList.add(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.PriorityList["+ j +"]")); + } + nodeInfo.setPriorityList(priorityList); + + List resourceGroupList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.ResourceGroupList.Length"); j++) { + resourceGroupList.add(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.ResourceGroupList["+ j +"]")); + } + nodeInfo.setResourceGroupList(resourceGroupList); + + List schedulePeriodList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.SchedulePeriodList.Length"); j++) { + schedulePeriodList.add(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.SchedulePeriodList["+ j +"]")); + } + nodeInfo.setSchedulePeriodList(schedulePeriodList); + + Creator creator = new Creator(); + creator.setId(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.Creator.Id")); + creator.setName(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.Creator.Name")); + nodeInfo.setCreator(creator); + + Modifier modifier = new Modifier(); + modifier.setId(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.Modifier.Id")); + modifier.setName(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.Modifier.Name")); + nodeInfo.setModifier(modifier); + + List ownerList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.OwnerList.Length"); j++) { + User user = new User(); + user.setId(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.OwnerList["+ j +"].Id")); + user.setName(_ctx.stringValue("ListInstancesResponse.PageResult.Data["+ i +"].NodeInfo.OwnerList["+ j +"].Name")); + + ownerList.add(user); + } + nodeInfo.setOwnerList(ownerList); + instance.setNodeInfo(nodeInfo); + + data.add(instance); + } + pageResult.setData(data); + listInstancesResponse.setPageResult(pageResult); + + return listInstancesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListNodeDownStreamResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListNodeDownStreamResponseUnmarshaller.java new file mode 100644 index 0000000000..cab7113736 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListNodeDownStreamResponseUnmarshaller.java @@ -0,0 +1,55 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.ListNodeDownStreamResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListNodeDownStreamResponse.NodeInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListNodeDownStreamResponseUnmarshaller { + + public static ListNodeDownStreamResponse unmarshall(ListNodeDownStreamResponse listNodeDownStreamResponse, UnmarshallerContext _ctx) { + + listNodeDownStreamResponse.setRequestId(_ctx.stringValue("ListNodeDownStreamResponse.RequestId")); + listNodeDownStreamResponse.setSuccess(_ctx.booleanValue("ListNodeDownStreamResponse.Success")); + listNodeDownStreamResponse.setHttpStatusCode(_ctx.integerValue("ListNodeDownStreamResponse.HttpStatusCode")); + listNodeDownStreamResponse.setCode(_ctx.stringValue("ListNodeDownStreamResponse.Code")); + listNodeDownStreamResponse.setMessage(_ctx.stringValue("ListNodeDownStreamResponse.Message")); + + List nodeInfoList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListNodeDownStreamResponse.NodeInfoList.Length"); i++) { + NodeInfo nodeInfo = new NodeInfo(); + nodeInfo.setId(_ctx.stringValue("ListNodeDownStreamResponse.NodeInfoList["+ i +"].Id")); + nodeInfo.setName(_ctx.stringValue("ListNodeDownStreamResponse.NodeInfoList["+ i +"].Name")); + nodeInfo.setType(_ctx.stringValue("ListNodeDownStreamResponse.NodeInfoList["+ i +"].Type")); + nodeInfo.setDepth(_ctx.integerValue("ListNodeDownStreamResponse.NodeInfoList["+ i +"].Depth")); + + List fieldIdList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListNodeDownStreamResponse.NodeInfoList["+ i +"].FieldIdList.Length"); j++) { + fieldIdList.add(_ctx.stringValue("ListNodeDownStreamResponse.NodeInfoList["+ i +"].FieldIdList["+ j +"]")); + } + nodeInfo.setFieldIdList(fieldIdList); + + nodeInfoList.add(nodeInfo); + } + listNodeDownStreamResponse.setNodeInfoList(nodeInfoList); + + return listNodeDownStreamResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListNodesResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListNodesResponseUnmarshaller.java new file mode 100644 index 0000000000..0b0a3b18c4 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListNodesResponseUnmarshaller.java @@ -0,0 +1,105 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.ListNodesResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListNodesResponse.PageResult; +import com.aliyuncs.dataphin_public.model.v20230630.ListNodesResponse.PageResult.NodeInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListNodesResponse.PageResult.NodeInfo.Creator; +import com.aliyuncs.dataphin_public.model.v20230630.ListNodesResponse.PageResult.NodeInfo.Modifier; +import com.aliyuncs.dataphin_public.model.v20230630.ListNodesResponse.PageResult.NodeInfo.ProjectInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListNodesResponse.PageResult.NodeInfo.User; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListNodesResponseUnmarshaller { + + public static ListNodesResponse unmarshall(ListNodesResponse listNodesResponse, UnmarshallerContext _ctx) { + + listNodesResponse.setRequestId(_ctx.stringValue("ListNodesResponse.RequestId")); + listNodesResponse.setSuccess(_ctx.booleanValue("ListNodesResponse.Success")); + listNodesResponse.setHttpStatusCode(_ctx.integerValue("ListNodesResponse.HttpStatusCode")); + listNodesResponse.setCode(_ctx.stringValue("ListNodesResponse.Code")); + listNodesResponse.setMessage(_ctx.stringValue("ListNodesResponse.Message")); + + PageResult pageResult = new PageResult(); + pageResult.setTotalCount(_ctx.integerValue("ListNodesResponse.PageResult.TotalCount")); + + List nodeList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListNodesResponse.PageResult.NodeList.Length"); i++) { + NodeInfo nodeInfo = new NodeInfo(); + nodeInfo.setDescription(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].Description")); + nodeInfo.setCreateTime(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].CreateTime")); + nodeInfo.setDryRun(_ctx.booleanValue("ListNodesResponse.PageResult.NodeList["+ i +"].DryRun")); + nodeInfo.setFrom(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].From")); + nodeInfo.setSubDetailType(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].SubDetailType")); + nodeInfo.setName(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].Name")); + nodeInfo.setHasProd(_ctx.booleanValue("ListNodesResponse.PageResult.NodeList["+ i +"].HasProd")); + nodeInfo.setType(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].Type")); + nodeInfo.setHasDev(_ctx.booleanValue("ListNodesResponse.PageResult.NodeList["+ i +"].HasDev")); + nodeInfo.setSchedulePaused(_ctx.booleanValue("ListNodesResponse.PageResult.NodeList["+ i +"].SchedulePaused")); + nodeInfo.setLastModifiedTime(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].LastModifiedTime")); + nodeInfo.setBizUnitName(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].BizUnitName")); + nodeInfo.setId(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].Id")); + nodeInfo.setExtendInfo(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].ExtendInfo")); + + List priorityList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListNodesResponse.PageResult.NodeList["+ i +"].PriorityList.Length"); j++) { + priorityList.add(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].PriorityList["+ j +"]")); + } + nodeInfo.setPriorityList(priorityList); + + List schedulePeriodList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListNodesResponse.PageResult.NodeList["+ i +"].SchedulePeriodList.Length"); j++) { + schedulePeriodList.add(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].SchedulePeriodList["+ j +"]")); + } + nodeInfo.setSchedulePeriodList(schedulePeriodList); + + Creator creator = new Creator(); + creator.setId(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].Creator.Id")); + creator.setName(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].Creator.Name")); + nodeInfo.setCreator(creator); + + ProjectInfo projectInfo = new ProjectInfo(); + projectInfo.setId(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].ProjectInfo.Id")); + projectInfo.setName(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].ProjectInfo.Name")); + nodeInfo.setProjectInfo(projectInfo); + + Modifier modifier = new Modifier(); + modifier.setId(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].Modifier.Id")); + modifier.setName(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].Modifier.Name")); + nodeInfo.setModifier(modifier); + + List ownerList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListNodesResponse.PageResult.NodeList["+ i +"].OwnerList.Length"); j++) { + User user = new User(); + user.setId(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].OwnerList["+ j +"].Id")); + user.setName(_ctx.stringValue("ListNodesResponse.PageResult.NodeList["+ i +"].OwnerList["+ j +"].Name")); + + ownerList.add(user); + } + nodeInfo.setOwnerList(ownerList); + + nodeList.add(nodeInfo); + } + pageResult.setNodeList(nodeList); + listNodesResponse.setPageResult(pageResult); + + return listNodesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListResourcePermissionOperationLogResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListResourcePermissionOperationLogResponseUnmarshaller.java new file mode 100644 index 0000000000..5636b6b527 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListResourcePermissionOperationLogResponseUnmarshaller.java @@ -0,0 +1,100 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionOperationLogResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionOperationLogResponse.PageResult; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionOperationLogResponse.PageResult.PermissionOperateLog; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionOperationLogResponse.PageResult.PermissionOperateLog.Account; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionOperationLogResponse.PageResult.PermissionOperateLog.Period; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionOperationLogResponse.PageResult.PermissionOperateLog.ResourceInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionOperationLogResponse.PageResult.PermissionOperateLog.ResourceInfo.BizUnitInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionOperationLogResponse.PageResult.PermissionOperateLog.ResourceInfo.ProjectInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionOperationLogResponse.PageResult.PermissionOperateLog.TargetAccount; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListResourcePermissionOperationLogResponseUnmarshaller { + + public static ListResourcePermissionOperationLogResponse unmarshall(ListResourcePermissionOperationLogResponse listResourcePermissionOperationLogResponse, UnmarshallerContext _ctx) { + + listResourcePermissionOperationLogResponse.setRequestId(_ctx.stringValue("ListResourcePermissionOperationLogResponse.RequestId")); + listResourcePermissionOperationLogResponse.setSuccess(_ctx.booleanValue("ListResourcePermissionOperationLogResponse.Success")); + listResourcePermissionOperationLogResponse.setHttpStatusCode(_ctx.integerValue("ListResourcePermissionOperationLogResponse.HttpStatusCode")); + listResourcePermissionOperationLogResponse.setCode(_ctx.stringValue("ListResourcePermissionOperationLogResponse.Code")); + listResourcePermissionOperationLogResponse.setMessage(_ctx.stringValue("ListResourcePermissionOperationLogResponse.Message")); + + PageResult pageResult = new PageResult(); + pageResult.setTotalCount(_ctx.longValue("ListResourcePermissionOperationLogResponse.PageResult.TotalCount")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListResourcePermissionOperationLogResponse.PageResult.Data.Length"); i++) { + PermissionOperateLog permissionOperateLog = new PermissionOperateLog(); + permissionOperateLog.setOperateId(_ctx.longValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].OperateId")); + permissionOperateLog.setOperateType(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].OperateType")); + permissionOperateLog.setReason(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].Reason")); + permissionOperateLog.setOperateTime(_ctx.longValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].OperateTime")); + permissionOperateLog.setAuthScope(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].AuthScope")); + + ResourceInfo resourceInfo = new ResourceInfo(); + resourceInfo.setId(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].ResourceInfo.Id")); + resourceInfo.setName(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].ResourceInfo.Name")); + resourceInfo.setDisplayName(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].ResourceInfo.DisplayName")); + resourceInfo.setType(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].ResourceInfo.Type")); + resourceInfo.setEnv(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].ResourceInfo.Env")); + + BizUnitInfo bizUnitInfo = new BizUnitInfo(); + bizUnitInfo.setId(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].ResourceInfo.BizUnitInfo.Id")); + bizUnitInfo.setName(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].ResourceInfo.BizUnitInfo.Name")); + bizUnitInfo.setDisplayName(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].ResourceInfo.BizUnitInfo.DisplayName")); + bizUnitInfo.setEnv(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].ResourceInfo.BizUnitInfo.Env")); + resourceInfo.setBizUnitInfo(bizUnitInfo); + + ProjectInfo projectInfo = new ProjectInfo(); + projectInfo.setId(_ctx.longValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].ResourceInfo.ProjectInfo.Id")); + projectInfo.setName(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].ResourceInfo.ProjectInfo.Name")); + projectInfo.setDisplayName(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].ResourceInfo.ProjectInfo.DisplayName")); + projectInfo.setEnv(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].ResourceInfo.ProjectInfo.Env")); + resourceInfo.setProjectInfo(projectInfo); + permissionOperateLog.setResourceInfo(resourceInfo); + + Account account = new Account(); + account.setId(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].Account.Id")); + account.setName(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].Account.Name")); + account.setType(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].Account.Type")); + permissionOperateLog.setAccount(account); + + TargetAccount targetAccount = new TargetAccount(); + targetAccount.setId(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].TargetAccount.Id")); + targetAccount.setName(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].TargetAccount.Name")); + targetAccount.setType(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].TargetAccount.Type")); + permissionOperateLog.setTargetAccount(targetAccount); + + Period period = new Period(); + period.setType(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].Period.Type")); + period.setEndTime(_ctx.stringValue("ListResourcePermissionOperationLogResponse.PageResult.Data["+ i +"].Period.EndTime")); + permissionOperateLog.setPeriod(period); + + data.add(permissionOperateLog); + } + pageResult.setData(data); + listResourcePermissionOperationLogResponse.setPageResult(pageResult); + + return listResourcePermissionOperationLogResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListResourcePermissionsResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListResourcePermissionsResponseUnmarshaller.java new file mode 100644 index 0000000000..12aa676b3e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListResourcePermissionsResponseUnmarshaller.java @@ -0,0 +1,106 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionsResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionsResponse.PageResult; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionsResponse.PageResult.ResourcePermissionRecord; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionsResponse.PageResult.ResourcePermissionRecord.Period; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionsResponse.PageResult.ResourcePermissionRecord.PermissionPeriod; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionsResponse.PageResult.ResourcePermissionRecord.PermissionPeriod.Period1; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionsResponse.PageResult.ResourcePermissionRecord.ResourceInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionsResponse.PageResult.ResourcePermissionRecord.ResourceInfo.BizUnitInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionsResponse.PageResult.ResourcePermissionRecord.ResourceInfo.ProjectInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListResourcePermissionsResponse.PageResult.ResourcePermissionRecord.TargetAccount; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListResourcePermissionsResponseUnmarshaller { + + public static ListResourcePermissionsResponse unmarshall(ListResourcePermissionsResponse listResourcePermissionsResponse, UnmarshallerContext _ctx) { + + listResourcePermissionsResponse.setRequestId(_ctx.stringValue("ListResourcePermissionsResponse.RequestId")); + listResourcePermissionsResponse.setSuccess(_ctx.booleanValue("ListResourcePermissionsResponse.Success")); + listResourcePermissionsResponse.setHttpStatusCode(_ctx.integerValue("ListResourcePermissionsResponse.HttpStatusCode")); + listResourcePermissionsResponse.setCode(_ctx.stringValue("ListResourcePermissionsResponse.Code")); + listResourcePermissionsResponse.setMessage(_ctx.stringValue("ListResourcePermissionsResponse.Message")); + + PageResult pageResult = new PageResult(); + pageResult.setTotalCount(_ctx.longValue("ListResourcePermissionsResponse.PageResult.TotalCount")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListResourcePermissionsResponse.PageResult.Data.Length"); i++) { + ResourcePermissionRecord resourcePermissionRecord = new ResourcePermissionRecord(); + resourcePermissionRecord.setRecordId(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].RecordId")); + resourcePermissionRecord.setAuthScope(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].AuthScope")); + + ResourceInfo resourceInfo = new ResourceInfo(); + resourceInfo.setId(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].ResourceInfo.Id")); + resourceInfo.setName(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].ResourceInfo.Name")); + resourceInfo.setDisplayName(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].ResourceInfo.DisplayName")); + resourceInfo.setType(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].ResourceInfo.Type")); + resourceInfo.setEnv(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].ResourceInfo.Env")); + + BizUnitInfo bizUnitInfo = new BizUnitInfo(); + bizUnitInfo.setId(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].ResourceInfo.BizUnitInfo.Id")); + bizUnitInfo.setName(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].ResourceInfo.BizUnitInfo.Name")); + bizUnitInfo.setDisplayName(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].ResourceInfo.BizUnitInfo.DisplayName")); + bizUnitInfo.setEnv(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].ResourceInfo.BizUnitInfo.Env")); + resourceInfo.setBizUnitInfo(bizUnitInfo); + + ProjectInfo projectInfo = new ProjectInfo(); + projectInfo.setId(_ctx.longValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].ResourceInfo.ProjectInfo.Id")); + projectInfo.setName(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].ResourceInfo.ProjectInfo.Name")); + projectInfo.setDisplayName(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].ResourceInfo.ProjectInfo.DisplayName")); + projectInfo.setEnv(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].ResourceInfo.ProjectInfo.Env")); + resourceInfo.setProjectInfo(projectInfo); + resourcePermissionRecord.setResourceInfo(resourceInfo); + + TargetAccount targetAccount = new TargetAccount(); + targetAccount.setId(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].TargetAccount.Id")); + targetAccount.setName(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].TargetAccount.Name")); + targetAccount.setType(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].TargetAccount.Type")); + resourcePermissionRecord.setTargetAccount(targetAccount); + + Period period = new Period(); + period.setType(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].Period.Type")); + period.setEndTime(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].Period.EndTime")); + resourcePermissionRecord.setPeriod(period); + + List permissionPeriodList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].PermissionPeriodList.Length"); j++) { + PermissionPeriod permissionPeriod = new PermissionPeriod(); + permissionPeriod.setPermissionType(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].PermissionPeriodList["+ j +"].PermissionType")); + + Period1 period1 = new Period1(); + period1.setType(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].PermissionPeriodList["+ j +"].Period.Type")); + period1.setEndTime(_ctx.stringValue("ListResourcePermissionsResponse.PageResult.Data["+ i +"].PermissionPeriodList["+ j +"].Period.EndTime")); + permissionPeriod.setPeriod1(period1); + + permissionPeriodList.add(permissionPeriod); + } + resourcePermissionRecord.setPermissionPeriodList(permissionPeriodList); + + data.add(resourcePermissionRecord); + } + pageResult.setData(data); + listResourcePermissionsResponse.setPageResult(pageResult); + + return listResourcePermissionsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListTenantMembersResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListTenantMembersResponseUnmarshaller.java new file mode 100644 index 0000000000..ed2f5a6bbb --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListTenantMembersResponseUnmarshaller.java @@ -0,0 +1,85 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.ListTenantMembersResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListTenantMembersResponse.PageResult; +import com.aliyuncs.dataphin_public.model.v20230630.ListTenantMembersResponse.PageResult.User; +import com.aliyuncs.dataphin_public.model.v20230630.ListTenantMembersResponse.PageResult.User.UserGroup; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListTenantMembersResponseUnmarshaller { + + public static ListTenantMembersResponse unmarshall(ListTenantMembersResponse listTenantMembersResponse, UnmarshallerContext _ctx) { + + listTenantMembersResponse.setRequestId(_ctx.stringValue("ListTenantMembersResponse.RequestId")); + listTenantMembersResponse.setSuccess(_ctx.booleanValue("ListTenantMembersResponse.Success")); + listTenantMembersResponse.setHttpStatusCode(_ctx.integerValue("ListTenantMembersResponse.HttpStatusCode")); + listTenantMembersResponse.setCode(_ctx.stringValue("ListTenantMembersResponse.Code")); + listTenantMembersResponse.setMessage(_ctx.stringValue("ListTenantMembersResponse.Message")); + + PageResult pageResult = new PageResult(); + pageResult.setTotalCount(_ctx.integerValue("ListTenantMembersResponse.PageResult.TotalCount")); + + List userList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListTenantMembersResponse.PageResult.UserList.Length"); i++) { + User user = new User(); + user.setId(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].Id")); + user.setSourceType(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].SourceType")); + user.setSourceId(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].SourceId")); + user.setName(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].Name")); + user.setDisplayName(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].DisplayName")); + user.setDisplayNameWithoutStatus(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].DisplayNameWithoutStatus")); + user.setAccountName(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].AccountName")); + user.setRealName(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].RealName")); + user.setNickName(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].NickName")); + user.setGmtCreate(_ctx.longValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].GmtCreate")); + user.setMobilePhone(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].MobilePhone")); + user.setMail(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].Mail")); + user.setDingNumber(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].DingNumber")); + user.setEnableWhiteIp(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].EnableWhiteIp")); + user.setWhiteIp(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].WhiteIp")); + user.setGmtModified(_ctx.longValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].GmtModified")); + + List roleList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].RoleList.Length"); j++) { + roleList.add(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].RoleList["+ j +"]")); + } + user.setRoleList(roleList); + + List userGroupList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].UserGroupList.Length"); j++) { + UserGroup userGroup = new UserGroup(); + userGroup.setId(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].UserGroupList["+ j +"].Id")); + userGroup.setName(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].UserGroupList["+ j +"].Name")); + userGroup.setDescription(_ctx.stringValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].UserGroupList["+ j +"].Description")); + userGroup.setActive(_ctx.booleanValue("ListTenantMembersResponse.PageResult.UserList["+ i +"].UserGroupList["+ j +"].Active")); + + userGroupList.add(userGroup); + } + user.setUserGroupList(userGroupList); + + userList.add(user); + } + pageResult.setUserList(userList); + listTenantMembersResponse.setPageResult(pageResult); + + return listTenantMembersResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListUserGroupMembersResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListUserGroupMembersResponseUnmarshaller.java new file mode 100644 index 0000000000..88d4a26f75 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListUserGroupMembersResponseUnmarshaller.java @@ -0,0 +1,68 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.ListUserGroupMembersResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListUserGroupMembersResponse.PageResult; +import com.aliyuncs.dataphin_public.model.v20230630.ListUserGroupMembersResponse.PageResult.UserGroupMemberInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListUserGroupMembersResponse.PageResult.UserGroupMemberInfo.Creator; +import com.aliyuncs.dataphin_public.model.v20230630.ListUserGroupMembersResponse.PageResult.UserGroupMemberInfo.UserInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListUserGroupMembersResponseUnmarshaller { + + public static ListUserGroupMembersResponse unmarshall(ListUserGroupMembersResponse listUserGroupMembersResponse, UnmarshallerContext _ctx) { + + listUserGroupMembersResponse.setRequestId(_ctx.stringValue("ListUserGroupMembersResponse.RequestId")); + listUserGroupMembersResponse.setSuccess(_ctx.booleanValue("ListUserGroupMembersResponse.Success")); + listUserGroupMembersResponse.setHttpStatusCode(_ctx.integerValue("ListUserGroupMembersResponse.HttpStatusCode")); + listUserGroupMembersResponse.setCode(_ctx.stringValue("ListUserGroupMembersResponse.Code")); + listUserGroupMembersResponse.setMessage(_ctx.stringValue("ListUserGroupMembersResponse.Message")); + + PageResult pageResult = new PageResult(); + pageResult.setTotalCount(_ctx.integerValue("ListUserGroupMembersResponse.PageResult.TotalCount")); + + List memberList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListUserGroupMembersResponse.PageResult.MemberList.Length"); i++) { + UserGroupMemberInfo userGroupMemberInfo = new UserGroupMemberInfo(); + userGroupMemberInfo.setId(_ctx.stringValue("ListUserGroupMembersResponse.PageResult.MemberList["+ i +"].Id")); + userGroupMemberInfo.setUserGroupId(_ctx.stringValue("ListUserGroupMembersResponse.PageResult.MemberList["+ i +"].UserGroupId")); + userGroupMemberInfo.setUserRole(_ctx.stringValue("ListUserGroupMembersResponse.PageResult.MemberList["+ i +"].UserRole")); + userGroupMemberInfo.setGmtCreate(_ctx.longValue("ListUserGroupMembersResponse.PageResult.MemberList["+ i +"].GmtCreate")); + + UserInfo userInfo = new UserInfo(); + userInfo.setId(_ctx.stringValue("ListUserGroupMembersResponse.PageResult.MemberList["+ i +"].UserInfo.Id")); + userInfo.setDisplayName(_ctx.stringValue("ListUserGroupMembersResponse.PageResult.MemberList["+ i +"].UserInfo.DisplayName")); + userInfo.setAccountName(_ctx.stringValue("ListUserGroupMembersResponse.PageResult.MemberList["+ i +"].UserInfo.AccountName")); + userGroupMemberInfo.setUserInfo(userInfo); + + Creator creator = new Creator(); + creator.setId(_ctx.stringValue("ListUserGroupMembersResponse.PageResult.MemberList["+ i +"].Creator.Id")); + creator.setDisplayName(_ctx.stringValue("ListUserGroupMembersResponse.PageResult.MemberList["+ i +"].Creator.DisplayName")); + creator.setAccountName(_ctx.stringValue("ListUserGroupMembersResponse.PageResult.MemberList["+ i +"].Creator.AccountName")); + userGroupMemberInfo.setCreator(creator); + + memberList.add(userGroupMemberInfo); + } + pageResult.setMemberList(memberList); + listUserGroupMembersResponse.setPageResult(pageResult); + + return listUserGroupMembersResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListUserGroupsResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListUserGroupsResponseUnmarshaller.java new file mode 100644 index 0000000000..315ba25762 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListUserGroupsResponseUnmarshaller.java @@ -0,0 +1,67 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.ListUserGroupsResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListUserGroupsResponse.PageResult; +import com.aliyuncs.dataphin_public.model.v20230630.ListUserGroupsResponse.PageResult.UserGroupInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListUserGroupsResponse.PageResult.UserGroupInfo.User; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListUserGroupsResponseUnmarshaller { + + public static ListUserGroupsResponse unmarshall(ListUserGroupsResponse listUserGroupsResponse, UnmarshallerContext _ctx) { + + listUserGroupsResponse.setRequestId(_ctx.stringValue("ListUserGroupsResponse.RequestId")); + listUserGroupsResponse.setSuccess(_ctx.booleanValue("ListUserGroupsResponse.Success")); + listUserGroupsResponse.setHttpStatusCode(_ctx.integerValue("ListUserGroupsResponse.HttpStatusCode")); + listUserGroupsResponse.setCode(_ctx.stringValue("ListUserGroupsResponse.Code")); + listUserGroupsResponse.setMessage(_ctx.stringValue("ListUserGroupsResponse.Message")); + + PageResult pageResult = new PageResult(); + pageResult.setTotalCount(_ctx.integerValue("ListUserGroupsResponse.PageResult.TotalCount")); + + List userGroupList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListUserGroupsResponse.PageResult.UserGroupList.Length"); i++) { + UserGroupInfo userGroupInfo = new UserGroupInfo(); + userGroupInfo.setId(_ctx.stringValue("ListUserGroupsResponse.PageResult.UserGroupList["+ i +"].Id")); + userGroupInfo.setName(_ctx.stringValue("ListUserGroupsResponse.PageResult.UserGroupList["+ i +"].Name")); + userGroupInfo.setDescription(_ctx.stringValue("ListUserGroupsResponse.PageResult.UserGroupList["+ i +"].Description")); + userGroupInfo.setActive(_ctx.booleanValue("ListUserGroupsResponse.PageResult.UserGroupList["+ i +"].Active")); + userGroupInfo.setMyRole(_ctx.stringValue("ListUserGroupsResponse.PageResult.UserGroupList["+ i +"].MyRole")); + + List adminList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListUserGroupsResponse.PageResult.UserGroupList["+ i +"].AdminList.Length"); j++) { + User user = new User(); + user.setId(_ctx.stringValue("ListUserGroupsResponse.PageResult.UserGroupList["+ i +"].AdminList["+ j +"].Id")); + user.setDisplayName(_ctx.stringValue("ListUserGroupsResponse.PageResult.UserGroupList["+ i +"].AdminList["+ j +"].DisplayName")); + user.setAccountName(_ctx.stringValue("ListUserGroupsResponse.PageResult.UserGroupList["+ i +"].AdminList["+ j +"].AccountName")); + + adminList.add(user); + } + userGroupInfo.setAdminList(adminList); + + userGroupList.add(userGroupInfo); + } + pageResult.setUserGroupList(userGroupList); + listUserGroupsResponse.setPageResult(pageResult); + + return listUserGroupsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListUsersResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListUsersResponseUnmarshaller.java deleted file mode 100644 index ab7716ca2c..0000000000 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListUsersResponseUnmarshaller.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Licensed 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. - */ - -package com.aliyuncs.dataphin_public.transform.v20230630; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.dataphin_public.model.v20230630.ListUsersResponse; -import com.aliyuncs.dataphin_public.model.v20230630.ListUsersResponse.Data; -import com.aliyuncs.dataphin_public.model.v20230630.ListUsersResponse.Data.User; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class ListUsersResponseUnmarshaller { - - public static ListUsersResponse unmarshall(ListUsersResponse listUsersResponse, UnmarshallerContext _ctx) { - - listUsersResponse.setRequestId(_ctx.stringValue("ListUsersResponse.RequestId")); - listUsersResponse.setSuccess(_ctx.booleanValue("ListUsersResponse.Success")); - listUsersResponse.setHttpStatusCode(_ctx.integerValue("ListUsersResponse.HttpStatusCode")); - listUsersResponse.setCode(_ctx.stringValue("ListUsersResponse.Code")); - listUsersResponse.setMessage(_ctx.stringValue("ListUsersResponse.Message")); - - Data data = new Data(); - data.setTotalCount(_ctx.integerValue("ListUsersResponse.Data.TotalCount")); - - List userList = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("ListUsersResponse.Data.UserList.Length"); i++) { - User user = new User(); - user.setAccountName(_ctx.stringValue("ListUsersResponse.Data.UserList["+ i +"].AccountName")); - user.setDingNumber(_ctx.stringValue("ListUsersResponse.Data.UserList["+ i +"].DingNumber")); - user.setDisplayName(_ctx.stringValue("ListUsersResponse.Data.UserList["+ i +"].DisplayName")); - user.setGmtCreate(_ctx.longValue("ListUsersResponse.Data.UserList["+ i +"].GmtCreate")); - user.setGmtModified(_ctx.longValue("ListUsersResponse.Data.UserList["+ i +"].GmtModified")); - user.setMail(_ctx.stringValue("ListUsersResponse.Data.UserList["+ i +"].Mail")); - user.setMobilePhone(_ctx.stringValue("ListUsersResponse.Data.UserList["+ i +"].MobilePhone")); - user.setNickName(_ctx.stringValue("ListUsersResponse.Data.UserList["+ i +"].NickName")); - user.setRealName(_ctx.stringValue("ListUsersResponse.Data.UserList["+ i +"].RealName")); - user.setSourceType(_ctx.stringValue("ListUsersResponse.Data.UserList["+ i +"].SourceType")); - user.setSourceUserId(_ctx.stringValue("ListUsersResponse.Data.UserList["+ i +"].SourceUserId")); - user.setUserId(_ctx.stringValue("ListUsersResponse.Data.UserList["+ i +"].UserId")); - user.setUserName(_ctx.stringValue("ListUsersResponse.Data.UserList["+ i +"].UserName")); - - userList.add(user); - } - data.setUserList(userList); - listUsersResponse.setData(data); - - return listUsersResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OperateInstanceResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OperateInstanceResponseUnmarshaller.java new file mode 100644 index 0000000000..c3896da177 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OperateInstanceResponseUnmarshaller.java @@ -0,0 +1,52 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.OperateInstanceResponse; +import com.aliyuncs.dataphin_public.model.v20230630.OperateInstanceResponse.InstanceStatus; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class OperateInstanceResponseUnmarshaller { + + public static OperateInstanceResponse unmarshall(OperateInstanceResponse operateInstanceResponse, UnmarshallerContext _ctx) { + + operateInstanceResponse.setRequestId(_ctx.stringValue("OperateInstanceResponse.RequestId")); + operateInstanceResponse.setSuccess(_ctx.booleanValue("OperateInstanceResponse.Success")); + operateInstanceResponse.setHttpStatusCode(_ctx.integerValue("OperateInstanceResponse.HttpStatusCode")); + operateInstanceResponse.setCode(_ctx.stringValue("OperateInstanceResponse.Code")); + operateInstanceResponse.setMessage(_ctx.stringValue("OperateInstanceResponse.Message")); + + List instanceStatusList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("OperateInstanceResponse.InstanceStatusList.Length"); i++) { + InstanceStatus instanceStatus = new InstanceStatus(); + instanceStatus.setId(_ctx.stringValue("OperateInstanceResponse.InstanceStatusList["+ i +"].Id")); + instanceStatus.setName(_ctx.stringValue("OperateInstanceResponse.InstanceStatusList["+ i +"].Name")); + instanceStatus.setDisplayName(_ctx.stringValue("OperateInstanceResponse.InstanceStatusList["+ i +"].DisplayName")); + instanceStatus.setStatus(_ctx.stringValue("OperateInstanceResponse.InstanceStatusList["+ i +"].Status")); + instanceStatus.setErrorMessage(_ctx.stringValue("OperateInstanceResponse.InstanceStatusList["+ i +"].ErrorMessage")); + instanceStatus.setOwnerId(_ctx.stringValue("OperateInstanceResponse.InstanceStatusList["+ i +"].OwnerId")); + instanceStatus.setOwnerName(_ctx.stringValue("OperateInstanceResponse.InstanceStatusList["+ i +"].OwnerName")); + + instanceStatusList.add(instanceStatus); + } + operateInstanceResponse.setInstanceStatusList(instanceStatusList); + + return operateInstanceResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/PausePhysicalNodeResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/PausePhysicalNodeResponseUnmarshaller.java new file mode 100644 index 0000000000..de7695325e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/PausePhysicalNodeResponseUnmarshaller.java @@ -0,0 +1,48 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.PausePhysicalNodeResponse; +import com.aliyuncs.dataphin_public.model.v20230630.PausePhysicalNodeResponse.NodeOperateResult; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class PausePhysicalNodeResponseUnmarshaller { + + public static PausePhysicalNodeResponse unmarshall(PausePhysicalNodeResponse pausePhysicalNodeResponse, UnmarshallerContext _ctx) { + + pausePhysicalNodeResponse.setRequestId(_ctx.stringValue("PausePhysicalNodeResponse.RequestId")); + pausePhysicalNodeResponse.setSuccess(_ctx.booleanValue("PausePhysicalNodeResponse.Success")); + pausePhysicalNodeResponse.setHttpStatusCode(_ctx.integerValue("PausePhysicalNodeResponse.HttpStatusCode")); + pausePhysicalNodeResponse.setCode(_ctx.stringValue("PausePhysicalNodeResponse.Code")); + pausePhysicalNodeResponse.setMessage(_ctx.stringValue("PausePhysicalNodeResponse.Message")); + + List nodeOperateResultList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("PausePhysicalNodeResponse.NodeOperateResultList.Length"); i++) { + NodeOperateResult nodeOperateResult = new NodeOperateResult(); + nodeOperateResult.setNodeId(_ctx.stringValue("PausePhysicalNodeResponse.NodeOperateResultList["+ i +"].NodeId")); + nodeOperateResult.setStatus(_ctx.stringValue("PausePhysicalNodeResponse.NodeOperateResultList["+ i +"].Status")); + nodeOperateResult.setErrorMessage(_ctx.stringValue("PausePhysicalNodeResponse.NodeOperateResultList["+ i +"].ErrorMessage")); + + nodeOperateResultList.add(nodeOperateResult); + } + pausePhysicalNodeResponse.setNodeOperateResultList(nodeOperateResultList); + + return pausePhysicalNodeResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/QueryPagedAddableUsersResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/QueryPagedAddableUsersResponseUnmarshaller.java deleted file mode 100644 index 26179a0fbf..0000000000 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/QueryPagedAddableUsersResponseUnmarshaller.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Licensed 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. - */ - -package com.aliyuncs.dataphin_public.transform.v20230630; - -import java.util.ArrayList; -import java.util.List; - -import com.aliyuncs.dataphin_public.model.v20230630.QueryPagedAddableUsersResponse; -import com.aliyuncs.dataphin_public.model.v20230630.QueryPagedAddableUsersResponse.Data; -import com.aliyuncs.dataphin_public.model.v20230630.QueryPagedAddableUsersResponse.Data.UserDTO; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class QueryPagedAddableUsersResponseUnmarshaller { - - public static QueryPagedAddableUsersResponse unmarshall(QueryPagedAddableUsersResponse queryPagedAddableUsersResponse, UnmarshallerContext _ctx) { - - queryPagedAddableUsersResponse.setRequestId(_ctx.stringValue("QueryPagedAddableUsersResponse.RequestId")); - queryPagedAddableUsersResponse.setSuccess(_ctx.booleanValue("QueryPagedAddableUsersResponse.Success")); - queryPagedAddableUsersResponse.setHttpStatusCode(_ctx.integerValue("QueryPagedAddableUsersResponse.HttpStatusCode")); - queryPagedAddableUsersResponse.setCode(_ctx.stringValue("QueryPagedAddableUsersResponse.Code")); - queryPagedAddableUsersResponse.setMessage(_ctx.stringValue("QueryPagedAddableUsersResponse.Message")); - - Data data = new Data(); - data.setTotalCount(_ctx.longValue("QueryPagedAddableUsersResponse.Data.TotalCount")); - - List userList = new ArrayList(); - for (int i = 0; i < _ctx.lengthValue("QueryPagedAddableUsersResponse.Data.UserList.Length"); i++) { - UserDTO userDTO = new UserDTO(); - userDTO.setAccountName(_ctx.stringValue("QueryPagedAddableUsersResponse.Data.UserList["+ i +"].AccountName")); - userDTO.setDingNumber(_ctx.stringValue("QueryPagedAddableUsersResponse.Data.UserList["+ i +"].DingNumber")); - userDTO.setDisplayName(_ctx.stringValue("QueryPagedAddableUsersResponse.Data.UserList["+ i +"].DisplayName")); - userDTO.setDisplayNameWithoutStatus(_ctx.stringValue("QueryPagedAddableUsersResponse.Data.UserList["+ i +"].DisplayNameWithoutStatus")); - userDTO.setGmtCreate(_ctx.longValue("QueryPagedAddableUsersResponse.Data.UserList["+ i +"].GmtCreate")); - userDTO.setGmtModified(_ctx.longValue("QueryPagedAddableUsersResponse.Data.UserList["+ i +"].GmtModified")); - userDTO.setMail(_ctx.stringValue("QueryPagedAddableUsersResponse.Data.UserList["+ i +"].Mail")); - userDTO.setMobilePhone(_ctx.stringValue("QueryPagedAddableUsersResponse.Data.UserList["+ i +"].MobilePhone")); - userDTO.setNickName(_ctx.stringValue("QueryPagedAddableUsersResponse.Data.UserList["+ i +"].NickName")); - userDTO.setRealName(_ctx.stringValue("QueryPagedAddableUsersResponse.Data.UserList["+ i +"].RealName")); - userDTO.setSourceType(_ctx.stringValue("QueryPagedAddableUsersResponse.Data.UserList["+ i +"].SourceType")); - userDTO.setSourceUserId(_ctx.stringValue("QueryPagedAddableUsersResponse.Data.UserList["+ i +"].SourceUserId")); - userDTO.setUserId(_ctx.stringValue("QueryPagedAddableUsersResponse.Data.UserList["+ i +"].UserId")); - userDTO.setUserName(_ctx.stringValue("QueryPagedAddableUsersResponse.Data.UserList["+ i +"].UserName")); - - userList.add(userDTO); - } - data.setUserList(userList); - queryPagedAddableUsersResponse.setData(data); - - return queryPagedAddableUsersResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RemoveTenantMemberResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RemoveTenantMemberResponseUnmarshaller.java new file mode 100644 index 0000000000..ecd43f2267 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RemoveTenantMemberResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.RemoveTenantMemberResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class RemoveTenantMemberResponseUnmarshaller { + + public static RemoveTenantMemberResponse unmarshall(RemoveTenantMemberResponse removeTenantMemberResponse, UnmarshallerContext _ctx) { + + removeTenantMemberResponse.setRequestId(_ctx.stringValue("RemoveTenantMemberResponse.RequestId")); + removeTenantMemberResponse.setSuccess(_ctx.booleanValue("RemoveTenantMemberResponse.Success")); + removeTenantMemberResponse.setHttpStatusCode(_ctx.integerValue("RemoveTenantMemberResponse.HttpStatusCode")); + removeTenantMemberResponse.setCode(_ctx.stringValue("RemoveTenantMemberResponse.Code")); + removeTenantMemberResponse.setMessage(_ctx.stringValue("RemoveTenantMemberResponse.Message")); + + return removeTenantMemberResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RemoveUserGroupMemberResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RemoveUserGroupMemberResponseUnmarshaller.java new file mode 100644 index 0000000000..aa588605ff --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RemoveUserGroupMemberResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.RemoveUserGroupMemberResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class RemoveUserGroupMemberResponseUnmarshaller { + + public static RemoveUserGroupMemberResponse unmarshall(RemoveUserGroupMemberResponse removeUserGroupMemberResponse, UnmarshallerContext _ctx) { + + removeUserGroupMemberResponse.setRequestId(_ctx.stringValue("RemoveUserGroupMemberResponse.RequestId")); + removeUserGroupMemberResponse.setSuccess(_ctx.booleanValue("RemoveUserGroupMemberResponse.Success")); + removeUserGroupMemberResponse.setHttpStatusCode(_ctx.integerValue("RemoveUserGroupMemberResponse.HttpStatusCode")); + removeUserGroupMemberResponse.setCode(_ctx.stringValue("RemoveUserGroupMemberResponse.Code")); + removeUserGroupMemberResponse.setMessage(_ctx.stringValue("RemoveUserGroupMemberResponse.Message")); + removeUserGroupMemberResponse.setData(_ctx.booleanValue("RemoveUserGroupMemberResponse.Data")); + + return removeUserGroupMemberResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RemoveUserResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RemoveUserResponseUnmarshaller.java deleted file mode 100644 index a63dcafa6e..0000000000 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RemoveUserResponseUnmarshaller.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed 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. - */ - -package com.aliyuncs.dataphin_public.transform.v20230630; - -import com.aliyuncs.dataphin_public.model.v20230630.RemoveUserResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class RemoveUserResponseUnmarshaller { - - public static RemoveUserResponse unmarshall(RemoveUserResponse removeUserResponse, UnmarshallerContext _ctx) { - - removeUserResponse.setRequestId(_ctx.stringValue("RemoveUserResponse.RequestId")); - removeUserResponse.setSuccess(_ctx.booleanValue("RemoveUserResponse.Success")); - removeUserResponse.setHttpStatusCode(_ctx.integerValue("RemoveUserResponse.HttpStatusCode")); - removeUserResponse.setCode(_ctx.stringValue("RemoveUserResponse.Code")); - removeUserResponse.setMessage(_ctx.stringValue("RemoveUserResponse.Message")); - removeUserResponse.setData(_ctx.booleanValue("RemoveUserResponse.Data")); - - return removeUserResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ResumePhysicalNodeResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ResumePhysicalNodeResponseUnmarshaller.java new file mode 100644 index 0000000000..540776a20c --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ResumePhysicalNodeResponseUnmarshaller.java @@ -0,0 +1,48 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.ResumePhysicalNodeResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ResumePhysicalNodeResponse.NodeOperateResult; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ResumePhysicalNodeResponseUnmarshaller { + + public static ResumePhysicalNodeResponse unmarshall(ResumePhysicalNodeResponse resumePhysicalNodeResponse, UnmarshallerContext _ctx) { + + resumePhysicalNodeResponse.setRequestId(_ctx.stringValue("ResumePhysicalNodeResponse.RequestId")); + resumePhysicalNodeResponse.setSuccess(_ctx.booleanValue("ResumePhysicalNodeResponse.Success")); + resumePhysicalNodeResponse.setHttpStatusCode(_ctx.integerValue("ResumePhysicalNodeResponse.HttpStatusCode")); + resumePhysicalNodeResponse.setCode(_ctx.stringValue("ResumePhysicalNodeResponse.Code")); + resumePhysicalNodeResponse.setMessage(_ctx.stringValue("ResumePhysicalNodeResponse.Message")); + + List nodeOperateResultList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ResumePhysicalNodeResponse.NodeOperateResultList.Length"); i++) { + NodeOperateResult nodeOperateResult = new NodeOperateResult(); + nodeOperateResult.setNodeId(_ctx.stringValue("ResumePhysicalNodeResponse.NodeOperateResultList["+ i +"].NodeId")); + nodeOperateResult.setStatus(_ctx.stringValue("ResumePhysicalNodeResponse.NodeOperateResultList["+ i +"].Status")); + nodeOperateResult.setErrorMessage(_ctx.stringValue("ResumePhysicalNodeResponse.NodeOperateResultList["+ i +"].ErrorMessage")); + + nodeOperateResultList.add(nodeOperateResult); + } + resumePhysicalNodeResponse.setNodeOperateResultList(nodeOperateResultList); + + return resumePhysicalNodeResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RevokeResourcePermissionResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RevokeResourcePermissionResponseUnmarshaller.java new file mode 100644 index 0000000000..42afe6b8dc --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/RevokeResourcePermissionResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.RevokeResourcePermissionResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class RevokeResourcePermissionResponseUnmarshaller { + + public static RevokeResourcePermissionResponse unmarshall(RevokeResourcePermissionResponse revokeResourcePermissionResponse, UnmarshallerContext _ctx) { + + revokeResourcePermissionResponse.setRequestId(_ctx.stringValue("RevokeResourcePermissionResponse.RequestId")); + revokeResourcePermissionResponse.setSuccess(_ctx.booleanValue("RevokeResourcePermissionResponse.Success")); + revokeResourcePermissionResponse.setHttpStatusCode(_ctx.integerValue("RevokeResourcePermissionResponse.HttpStatusCode")); + revokeResourcePermissionResponse.setCode(_ctx.stringValue("RevokeResourcePermissionResponse.Code")); + revokeResourcePermissionResponse.setMessage(_ctx.stringValue("RevokeResourcePermissionResponse.Message")); + + return revokeResourcePermissionResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateAdHocFileResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateAdHocFileResponseUnmarshaller.java new file mode 100644 index 0000000000..806d9a7757 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateAdHocFileResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.UpdateAdHocFileResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateAdHocFileResponseUnmarshaller { + + public static UpdateAdHocFileResponse unmarshall(UpdateAdHocFileResponse updateAdHocFileResponse, UnmarshallerContext _ctx) { + + updateAdHocFileResponse.setRequestId(_ctx.stringValue("UpdateAdHocFileResponse.RequestId")); + updateAdHocFileResponse.setSuccess(_ctx.booleanValue("UpdateAdHocFileResponse.Success")); + updateAdHocFileResponse.setHttpStatusCode(_ctx.integerValue("UpdateAdHocFileResponse.HttpStatusCode")); + updateAdHocFileResponse.setCode(_ctx.stringValue("UpdateAdHocFileResponse.Code")); + updateAdHocFileResponse.setMessage(_ctx.stringValue("UpdateAdHocFileResponse.Message")); + + return updateAdHocFileResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateDataSourceBasicInfoResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateDataSourceBasicInfoResponseUnmarshaller.java new file mode 100644 index 0000000000..b765d45362 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateDataSourceBasicInfoResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.UpdateDataSourceBasicInfoResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateDataSourceBasicInfoResponseUnmarshaller { + + public static UpdateDataSourceBasicInfoResponse unmarshall(UpdateDataSourceBasicInfoResponse updateDataSourceBasicInfoResponse, UnmarshallerContext _ctx) { + + updateDataSourceBasicInfoResponse.setRequestId(_ctx.stringValue("UpdateDataSourceBasicInfoResponse.RequestId")); + updateDataSourceBasicInfoResponse.setSuccess(_ctx.booleanValue("UpdateDataSourceBasicInfoResponse.Success")); + updateDataSourceBasicInfoResponse.setHttpStatusCode(_ctx.integerValue("UpdateDataSourceBasicInfoResponse.HttpStatusCode")); + updateDataSourceBasicInfoResponse.setCode(_ctx.stringValue("UpdateDataSourceBasicInfoResponse.Code")); + updateDataSourceBasicInfoResponse.setMessage(_ctx.stringValue("UpdateDataSourceBasicInfoResponse.Message")); + updateDataSourceBasicInfoResponse.setData(_ctx.booleanValue("UpdateDataSourceBasicInfoResponse.Data")); + + return updateDataSourceBasicInfoResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateDataSourceConfigResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateDataSourceConfigResponseUnmarshaller.java new file mode 100644 index 0000000000..3262ac47a0 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateDataSourceConfigResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.UpdateDataSourceConfigResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateDataSourceConfigResponseUnmarshaller { + + public static UpdateDataSourceConfigResponse unmarshall(UpdateDataSourceConfigResponse updateDataSourceConfigResponse, UnmarshallerContext _ctx) { + + updateDataSourceConfigResponse.setRequestId(_ctx.stringValue("UpdateDataSourceConfigResponse.RequestId")); + updateDataSourceConfigResponse.setSuccess(_ctx.booleanValue("UpdateDataSourceConfigResponse.Success")); + updateDataSourceConfigResponse.setHttpStatusCode(_ctx.integerValue("UpdateDataSourceConfigResponse.HttpStatusCode")); + updateDataSourceConfigResponse.setCode(_ctx.stringValue("UpdateDataSourceConfigResponse.Code")); + updateDataSourceConfigResponse.setMessage(_ctx.stringValue("UpdateDataSourceConfigResponse.Message")); + updateDataSourceConfigResponse.setData(_ctx.booleanValue("UpdateDataSourceConfigResponse.Data")); + + return updateDataSourceConfigResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateFileDirectoryResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateFileDirectoryResponseUnmarshaller.java new file mode 100644 index 0000000000..639139ac45 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateFileDirectoryResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.UpdateFileDirectoryResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateFileDirectoryResponseUnmarshaller { + + public static UpdateFileDirectoryResponse unmarshall(UpdateFileDirectoryResponse updateFileDirectoryResponse, UnmarshallerContext _ctx) { + + updateFileDirectoryResponse.setRequestId(_ctx.stringValue("UpdateFileDirectoryResponse.RequestId")); + updateFileDirectoryResponse.setSuccess(_ctx.booleanValue("UpdateFileDirectoryResponse.Success")); + updateFileDirectoryResponse.setHttpStatusCode(_ctx.integerValue("UpdateFileDirectoryResponse.HttpStatusCode")); + updateFileDirectoryResponse.setCode(_ctx.stringValue("UpdateFileDirectoryResponse.Code")); + updateFileDirectoryResponse.setMessage(_ctx.stringValue("UpdateFileDirectoryResponse.Message")); + + return updateFileDirectoryResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateFileNameResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateFileNameResponseUnmarshaller.java new file mode 100644 index 0000000000..0a8faf9fb6 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateFileNameResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.UpdateFileNameResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateFileNameResponseUnmarshaller { + + public static UpdateFileNameResponse unmarshall(UpdateFileNameResponse updateFileNameResponse, UnmarshallerContext _ctx) { + + updateFileNameResponse.setRequestId(_ctx.stringValue("UpdateFileNameResponse.RequestId")); + updateFileNameResponse.setSuccess(_ctx.booleanValue("UpdateFileNameResponse.Success")); + updateFileNameResponse.setHttpStatusCode(_ctx.integerValue("UpdateFileNameResponse.HttpStatusCode")); + updateFileNameResponse.setCode(_ctx.stringValue("UpdateFileNameResponse.Code")); + updateFileNameResponse.setMessage(_ctx.stringValue("UpdateFileNameResponse.Message")); + + return updateFileNameResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateTenantMemberResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateTenantMemberResponseUnmarshaller.java new file mode 100644 index 0000000000..584f2c8098 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateTenantMemberResponseUnmarshaller.java @@ -0,0 +1,33 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.UpdateTenantMemberResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateTenantMemberResponseUnmarshaller { + + public static UpdateTenantMemberResponse unmarshall(UpdateTenantMemberResponse updateTenantMemberResponse, UnmarshallerContext _ctx) { + + updateTenantMemberResponse.setRequestId(_ctx.stringValue("UpdateTenantMemberResponse.RequestId")); + updateTenantMemberResponse.setSuccess(_ctx.booleanValue("UpdateTenantMemberResponse.Success")); + updateTenantMemberResponse.setHttpStatusCode(_ctx.integerValue("UpdateTenantMemberResponse.HttpStatusCode")); + updateTenantMemberResponse.setCode(_ctx.stringValue("UpdateTenantMemberResponse.Code")); + updateTenantMemberResponse.setMessage(_ctx.stringValue("UpdateTenantMemberResponse.Message")); + + return updateTenantMemberResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateTenantMembersResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateTenantMembersResponseUnmarshaller.java deleted file mode 100644 index 7be15bfb21..0000000000 --- a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateTenantMembersResponseUnmarshaller.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed 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. - */ - -package com.aliyuncs.dataphin_public.transform.v20230630; - -import com.aliyuncs.dataphin_public.model.v20230630.UpdateTenantMembersResponse; -import com.aliyuncs.transform.UnmarshallerContext; - - -public class UpdateTenantMembersResponseUnmarshaller { - - public static UpdateTenantMembersResponse unmarshall(UpdateTenantMembersResponse updateTenantMembersResponse, UnmarshallerContext _ctx) { - - updateTenantMembersResponse.setRequestId(_ctx.stringValue("UpdateTenantMembersResponse.RequestId")); - updateTenantMembersResponse.setSuccess(_ctx.booleanValue("UpdateTenantMembersResponse.Success")); - updateTenantMembersResponse.setHttpStatusCode(_ctx.integerValue("UpdateTenantMembersResponse.HttpStatusCode")); - updateTenantMembersResponse.setCode(_ctx.stringValue("UpdateTenantMembersResponse.Code")); - updateTenantMembersResponse.setMessage(_ctx.stringValue("UpdateTenantMembersResponse.Message")); - updateTenantMembersResponse.setData(_ctx.booleanValue("UpdateTenantMembersResponse.Data")); - - return updateTenantMembersResponse; - } -} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateUserGroupResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateUserGroupResponseUnmarshaller.java new file mode 100644 index 0000000000..6df3d2eea7 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateUserGroupResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.UpdateUserGroupResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateUserGroupResponseUnmarshaller { + + public static UpdateUserGroupResponse unmarshall(UpdateUserGroupResponse updateUserGroupResponse, UnmarshallerContext _ctx) { + + updateUserGroupResponse.setRequestId(_ctx.stringValue("UpdateUserGroupResponse.RequestId")); + updateUserGroupResponse.setSuccess(_ctx.booleanValue("UpdateUserGroupResponse.Success")); + updateUserGroupResponse.setHttpStatusCode(_ctx.integerValue("UpdateUserGroupResponse.HttpStatusCode")); + updateUserGroupResponse.setCode(_ctx.stringValue("UpdateUserGroupResponse.Code")); + updateUserGroupResponse.setMessage(_ctx.stringValue("UpdateUserGroupResponse.Message")); + updateUserGroupResponse.setData(_ctx.booleanValue("UpdateUserGroupResponse.Data")); + + return updateUserGroupResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateUserGroupSwitchResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateUserGroupSwitchResponseUnmarshaller.java new file mode 100644 index 0000000000..cc1423176c --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateUserGroupSwitchResponseUnmarshaller.java @@ -0,0 +1,34 @@ +/* + * Licensed 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. + */ + +package com.aliyuncs.dataphin_public.transform.v20230630; + +import com.aliyuncs.dataphin_public.model.v20230630.UpdateUserGroupSwitchResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateUserGroupSwitchResponseUnmarshaller { + + public static UpdateUserGroupSwitchResponse unmarshall(UpdateUserGroupSwitchResponse updateUserGroupSwitchResponse, UnmarshallerContext _ctx) { + + updateUserGroupSwitchResponse.setRequestId(_ctx.stringValue("UpdateUserGroupSwitchResponse.RequestId")); + updateUserGroupSwitchResponse.setSuccess(_ctx.booleanValue("UpdateUserGroupSwitchResponse.Success")); + updateUserGroupSwitchResponse.setHttpStatusCode(_ctx.integerValue("UpdateUserGroupSwitchResponse.HttpStatusCode")); + updateUserGroupSwitchResponse.setCode(_ctx.stringValue("UpdateUserGroupSwitchResponse.Code")); + updateUserGroupSwitchResponse.setMessage(_ctx.stringValue("UpdateUserGroupSwitchResponse.Message")); + updateUserGroupSwitchResponse.setData(_ctx.booleanValue("UpdateUserGroupSwitchResponse.Data")); + + return updateUserGroupSwitchResponse; + } +} \ No newline at end of file