From a2281a39b1be007976f7412b8f274234d7c9ba70 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 30 Dec 2024 06:38:41 +0000 Subject: [PATCH] Dataphin openapi start. --- aliyun-java-sdk-dataphin-public/ChangeLog.txt | 3 + aliyun-java-sdk-dataphin-public/pom.xml | 2 +- .../v20230630/CreateBatchTaskRequest.java | 192 +++++ .../v20230630/CreateBatchTaskResponse.java | 109 +++ .../v20230630/CreateBizEntityRequest.java | 297 ++++++++ .../v20230630/CreateBizEntityResponse.java | 109 +++ .../model/v20230630/CreateBizUnitRequest.java | 151 ++++ .../v20230630/CreateBizUnitResponse.java | 109 +++ .../v20230630/CreateDataDomainRequest.java | 136 ++++ .../v20230630/CreateDataDomainResponse.java | 109 +++ .../v20230630/CreatePipelineNodeRequest.java | 161 +++++ .../v20230630/CreatePipelineNodeResponse.java | 130 ++++ .../CreateStreamBatchJobMappingRequest.java | 180 +++++ .../CreateStreamBatchJobMappingResponse.java | 119 ++++ .../v20230630/DeleteBatchTaskRequest.java | 103 +++ .../v20230630/DeleteBatchTaskResponse.java | 86 +++ .../v20230630/DeleteBizEntityRequest.java | 90 +++ .../v20230630/DeleteBizEntityResponse.java | 86 +++ .../model/v20230630/DeleteBizUnitRequest.java | 64 ++ .../v20230630/DeleteBizUnitResponse.java | 86 +++ .../v20230630/DeleteDataDomainRequest.java | 77 ++ .../v20230630/DeleteDataDomainResponse.java | 86 +++ .../v20230630/ExecuteAdHocTaskRequest.java | 173 +++++ .../v20230630/ExecuteAdHocTaskResponse.java | 119 ++++ .../v20230630/GetAdHocTaskLogRequest.java | 103 +++ .../v20230630/GetAdHocTaskLogResponse.java | 169 +++++ .../v20230630/GetAdHocTaskResultRequest.java | 90 +++ .../v20230630/GetAdHocTaskResultResponse.java | 129 ++++ .../model/v20230630/GetAlertEventRequest.java | 64 ++ .../v20230630/GetAlertEventResponse.java | 441 ++++++++++++ .../GetBatchTaskInfoByVersionRequest.java | 90 +++ .../GetBatchTaskInfoByVersionResponse.java | 655 ++++++++++++++++++ .../v20230630/GetBatchTaskInfoRequest.java | 103 +++ .../v20230630/GetBatchTaskInfoResponse.java | 655 ++++++++++++++++++ .../GetBatchTaskUdfLineagesRequest.java | 77 ++ .../GetBatchTaskUdfLineagesResponse.java | 339 +++++++++ .../GetBatchTaskVersionsRequest.java | 77 ++ .../GetBatchTaskVersionsResponse.java | 203 ++++++ .../GetBizEntityInfoByVersionRequest.java | 90 +++ .../GetBizEntityInfoByVersionResponse.java | 556 +++++++++++++++ .../v20230630/GetBizEntityInfoRequest.java | 77 ++ .../v20230630/GetBizEntityInfoResponse.java | 556 +++++++++++++++ .../v20230630/GetBizUnitInfoRequest.java | 64 ++ .../v20230630/GetBizUnitInfoResponse.java | 336 +++++++++ .../GetClusterQueueInfoByEnvRequest.java | 90 +++ .../GetClusterQueueInfoByEnvResponse.java | 250 +++++++ .../v20230630/GetDataDomainInfoRequest.java | 64 ++ .../v20230630/GetDataDomainInfoResponse.java | 229 ++++++ .../v20230630/GetDirectoryTreeRequest.java | 77 ++ .../v20230630/GetDirectoryTreeResponse.java | 406 +++++++++++ .../GetLatestSubmitDetailRequest.java | 92 +++ .../GetLatestSubmitDetailResponse.java | 245 +++++++ .../GetQueueEngineVersionByEnvRequest.java | 116 ++++ .../GetQueueEngineVersionByEnvResponse.java | 97 +++ .../v20230630/ListAlertEventsRequest.java | 214 ++++++ .../v20230630/ListAlertEventsResponse.java | 464 +++++++++++++ .../ListAlertNotificationsRequest.java | 203 ++++++ .../ListAlertNotificationsResponse.java | 391 +++++++++++ .../v20230630/ListBizEntitiesRequest.java | 206 ++++++ .../v20230630/ListBizEntitiesResponse.java | 353 ++++++++++ .../model/v20230630/ListBizUnitsRequest.java | 51 ++ .../model/v20230630/ListBizUnitsResponse.java | 266 +++++++ .../v20230630/ListDataDomainsRequest.java | 104 +++ .../v20230630/ListDataDomainsResponse.java | 243 +++++++ .../v20230630/ListPublishRecordsRequest.java | 184 +++++ .../v20230630/ListPublishRecordsResponse.java | 283 ++++++++ .../v20230630/ListSubmitRecordsRequest.java | 173 +++++ .../v20230630/ListSubmitRecordsResponse.java | 253 +++++++ .../v20230630/OfflineBatchTaskRequest.java | 90 +++ .../v20230630/OfflineBatchTaskResponse.java | 109 +++ .../v20230630/OfflineBizEntityRequest.java | 114 +++ .../v20230630/OfflineBizEntityResponse.java | 86 +++ .../v20230630/OnlineBizEntityRequest.java | 114 +++ .../v20230630/OnlineBizEntityResponse.java | 86 +++ .../ParseBatchTaskDependencyRequest.java | 158 +++++ .../ParseBatchTaskDependencyResponse.java | 206 ++++++ .../v20230630/PublishObjectListRequest.java | 104 +++ .../v20230630/PublishObjectListResponse.java | 110 +++ .../model/v20230630/StopAdHocTaskRequest.java | 77 ++ .../v20230630/StopAdHocTaskResponse.java | 86 +++ .../v20230630/SubmitBatchTaskRequest.java | 482 +++++++++++++ .../v20230630/SubmitBatchTaskResponse.java | 119 ++++ .../v20230630/UpdateBatchTaskRequest.java | 515 ++++++++++++++ .../v20230630/UpdateBatchTaskResponse.java | 109 +++ .../UpdateBatchTaskUdfLineagesRequest.java | 223 ++++++ .../UpdateBatchTaskUdfLineagesResponse.java | 86 +++ .../v20230630/UpdateBizEntityRequest.java | 286 ++++++++ .../v20230630/UpdateBizEntityResponse.java | 86 +++ .../model/v20230630/UpdateBizUnitRequest.java | 151 ++++ .../v20230630/UpdateBizUnitResponse.java | 86 +++ .../v20230630/UpdateDataDomainRequest.java | 147 ++++ .../v20230630/UpdateDataDomainResponse.java | 86 +++ .../CreateBatchTaskResponseUnmarshaller.java | 38 + .../CreateBizEntityResponseUnmarshaller.java | 38 + .../CreateBizUnitResponseUnmarshaller.java | 38 + .../CreateDataDomainResponseUnmarshaller.java | 38 + ...reatePipelineNodeResponseUnmarshaller.java | 53 ++ ...amBatchJobMappingResponseUnmarshaller.java | 39 ++ .../DeleteBatchTaskResponseUnmarshaller.java | 33 + .../DeleteBizEntityResponseUnmarshaller.java | 33 + .../DeleteBizUnitResponseUnmarshaller.java | 33 + .../DeleteDataDomainResponseUnmarshaller.java | 33 + .../ExecuteAdHocTaskResponseUnmarshaller.java | 39 ++ .../GetAdHocTaskLogResponseUnmarshaller.java | 44 ++ ...etAdHocTaskResultResponseUnmarshaller.java | 40 ++ .../GetAlertEventResponseUnmarshaller.java | 118 ++++ ...TaskInfoByVersionResponseUnmarshaller.java | 129 ++++ .../GetBatchTaskInfoResponseUnmarshaller.java | 129 ++++ ...chTaskUdfLineagesResponseUnmarshaller.java | 121 ++++ ...BatchTaskVersionsResponseUnmarshaller.java | 58 ++ ...tityInfoByVersionResponseUnmarshaller.java | 116 ++++ .../GetBizEntityInfoResponseUnmarshaller.java | 116 ++++ .../GetBizUnitInfoResponseUnmarshaller.java | 95 +++ ...terQueueInfoByEnvResponseUnmarshaller.java | 60 ++ ...GetDataDomainInfoResponseUnmarshaller.java | 50 ++ .../GetDirectoryTreeResponseUnmarshaller.java | 81 +++ ...atestSubmitDetailResponseUnmarshaller.java | 57 ++ ...ngineVersionByEnvResponseUnmarshaller.java | 42 ++ .../ListAlertEventsResponseUnmarshaller.java | 128 ++++ ...lertNotificationsResponseUnmarshaller.java | 98 +++ .../ListBizEntitiesResponseUnmarshaller.java | 93 +++ .../ListBizUnitsResponseUnmarshaller.java | 72 ++ .../ListDataDomainsResponseUnmarshaller.java | 62 ++ ...istPublishRecordsResponseUnmarshaller.java | 66 ++ ...ListSubmitRecordsResponseUnmarshaller.java | 63 ++ .../OfflineBatchTaskResponseUnmarshaller.java | 38 + .../OfflineBizEntityResponseUnmarshaller.java | 33 + .../OnlineBizEntityResponseUnmarshaller.java | 33 + ...tchTaskDependencyResponseUnmarshaller.java | 71 ++ ...PublishObjectListResponseUnmarshaller.java | 46 ++ .../StopAdHocTaskResponseUnmarshaller.java | 33 + .../SubmitBatchTaskResponseUnmarshaller.java | 39 ++ .../UpdateBatchTaskResponseUnmarshaller.java | 38 + ...chTaskUdfLineagesResponseUnmarshaller.java | 33 + .../UpdateBizEntityResponseUnmarshaller.java | 33 + .../UpdateBizUnitResponseUnmarshaller.java | 33 + .../UpdateDataDomainResponseUnmarshaller.java | 33 + 137 files changed, 19136 insertions(+), 1 deletion(-) create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBatchTaskRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBatchTaskResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBizEntityRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBizEntityResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBizUnitRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBizUnitResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDataDomainRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDataDomainResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreatePipelineNodeRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreatePipelineNodeResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateStreamBatchJobMappingRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateStreamBatchJobMappingResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBatchTaskRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBatchTaskResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBizEntityRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBizEntityResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBizUnitRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBizUnitResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDataDomainRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDataDomainResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ExecuteAdHocTaskRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ExecuteAdHocTaskResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocTaskLogRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocTaskLogResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocTaskResultRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocTaskResultResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAlertEventRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAlertEventResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskInfoByVersionRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskInfoByVersionResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskInfoRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskInfoResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskUdfLineagesRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskUdfLineagesResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskVersionsRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskVersionsResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizEntityInfoByVersionRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizEntityInfoByVersionResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizEntityInfoRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizEntityInfoResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizUnitInfoRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizUnitInfoResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetClusterQueueInfoByEnvRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetClusterQueueInfoByEnvResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDataDomainInfoRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDataDomainInfoResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDirectoryTreeRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDirectoryTreeResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetLatestSubmitDetailRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetLatestSubmitDetailResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetQueueEngineVersionByEnvRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetQueueEngineVersionByEnvResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAlertEventsRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAlertEventsResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAlertNotificationsRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAlertNotificationsResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListBizEntitiesRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListBizEntitiesResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListBizUnitsRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListBizUnitsResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListDataDomainsRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListDataDomainsResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListPublishRecordsRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListPublishRecordsResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListSubmitRecordsRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListSubmitRecordsResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OfflineBatchTaskRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OfflineBatchTaskResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OfflineBizEntityRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OfflineBizEntityResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OnlineBizEntityRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OnlineBizEntityResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ParseBatchTaskDependencyRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ParseBatchTaskDependencyResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/PublishObjectListRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/PublishObjectListResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/StopAdHocTaskRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/StopAdHocTaskResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/SubmitBatchTaskRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/SubmitBatchTaskResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBatchTaskRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBatchTaskResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBatchTaskUdfLineagesRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBatchTaskUdfLineagesResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBizEntityRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBizEntityResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBizUnitRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBizUnitResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataDomainRequest.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataDomainResponse.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateBatchTaskResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateBizEntityResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateBizUnitResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateDataDomainResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreatePipelineNodeResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateStreamBatchJobMappingResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteBatchTaskResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteBizEntityResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteBizUnitResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteDataDomainResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ExecuteAdHocTaskResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAdHocTaskLogResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAdHocTaskResultResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAlertEventResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskInfoByVersionResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskInfoResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskUdfLineagesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskVersionsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBizEntityInfoByVersionResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBizEntityInfoResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBizUnitInfoResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetClusterQueueInfoByEnvResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetDataDomainInfoResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetDirectoryTreeResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetLatestSubmitDetailResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetQueueEngineVersionByEnvResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAlertEventsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAlertNotificationsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListBizEntitiesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListBizUnitsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListDataDomainsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListPublishRecordsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListSubmitRecordsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OfflineBatchTaskResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OfflineBizEntityResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OnlineBizEntityResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ParseBatchTaskDependencyResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/PublishObjectListResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/StopAdHocTaskResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/SubmitBatchTaskResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBatchTaskResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBatchTaskUdfLineagesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBizEntityResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBizUnitResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateDataDomainResponseUnmarshaller.java diff --git a/aliyun-java-sdk-dataphin-public/ChangeLog.txt b/aliyun-java-sdk-dataphin-public/ChangeLog.txt index 766cc44a87..567eb45051 100644 --- a/aliyun-java-sdk-dataphin-public/ChangeLog.txt +++ b/aliyun-java-sdk-dataphin-public/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-12-30 Version: 1.0.3 +- Dataphin openapi start. + 2024-10-11 Version: 1.0.2 - Dataphin v4.3 openapi. diff --git a/aliyun-java-sdk-dataphin-public/pom.xml b/aliyun-java-sdk-dataphin-public/pom.xml index 63e53d98bd..d819890e4b 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.2 + 1.0.3 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/CreateBatchTaskRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBatchTaskRequest.java new file mode 100644 index 0000000000..fba78243c6 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBatchTaskRequest.java @@ -0,0 +1,192 @@ +/* + * 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 CreateBatchTaskRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("createCommand") + private CreateCommand createCommand; + public CreateBatchTaskRequest() { + super("dataphin-public", "2023-06-30", "CreateBatchTask"); + 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("ScheduleType") + private Integer scheduleType; + + @SerializedName("TaskType") + private Integer taskType; + + @SerializedName("Engine") + private String engine; + + @SerializedName("Name") + private String name; + + @SerializedName("DataSourceId") + private String dataSourceId; + + @SerializedName("DataSourceSchema") + private String dataSourceSchema; + + @SerializedName("Description") + private String description; + + @SerializedName("DataSourceCatalog") + private String dataSourceCatalog; + + @SerializedName("Directory") + private String directory; + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("PythonModuleList") + private List pythonModuleList; + + public Integer getScheduleType() { + return this.scheduleType; + } + + public void setScheduleType(Integer scheduleType) { + this.scheduleType = scheduleType; + } + + public Integer getTaskType() { + return this.taskType; + } + + public void setTaskType(Integer taskType) { + this.taskType = taskType; + } + + public String getEngine() { + return this.engine; + } + + public void setEngine(String engine) { + this.engine = engine; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDataSourceId() { + return this.dataSourceId; + } + + public void setDataSourceId(String dataSourceId) { + this.dataSourceId = dataSourceId; + } + + public String getDataSourceSchema() { + return this.dataSourceSchema; + } + + public void setDataSourceSchema(String dataSourceSchema) { + this.dataSourceSchema = dataSourceSchema; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getDataSourceCatalog() { + return this.dataSourceCatalog; + } + + public void setDataSourceCatalog(String dataSourceCatalog) { + this.dataSourceCatalog = dataSourceCatalog; + } + + public String getDirectory() { + return this.directory; + } + + public void setDirectory(String directory) { + this.directory = directory; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public List getPythonModuleList() { + return this.pythonModuleList; + } + + public void setPythonModuleList(List pythonModuleList) { + this.pythonModuleList = pythonModuleList; + } + } + + @Override + public Class getResponseClass() { + return CreateBatchTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBatchTaskResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBatchTaskResponse.java new file mode 100644 index 0000000000..a3da633fca --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBatchTaskResponse.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.CreateBatchTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateBatchTaskResponse 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 fileId; + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + } + } + + @Override + public CreateBatchTaskResponse getInstance(UnmarshallerContext context) { + return CreateBatchTaskResponseUnmarshaller.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/CreateBizEntityRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBizEntityRequest.java new file mode 100644 index 0000000000..a7424b0fd8 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBizEntityRequest.java @@ -0,0 +1,297 @@ +/* + * 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 CreateBizEntityRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("createCommand") + private CreateCommand createCommand; + public CreateBizEntityRequest() { + super("dataphin-public", "2023-06-30", "CreateBizEntity"); + 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("BizObject") + private BizObject bizObject; + + @SerializedName("BizProcess") + private BizProcess bizProcess; + + @SerializedName("DataDomainId") + private Long dataDomainId; + + @SerializedName("Type") + private String type; + + @SerializedName("BizUnitId") + private Long bizUnitId; + + public BizObject getBizObject() { + return this.bizObject; + } + + public void setBizObject(BizObject bizObject) { + this.bizObject = bizObject; + } + + public BizProcess getBizProcess() { + return this.bizProcess; + } + + public void setBizProcess(BizProcess bizProcess) { + this.bizProcess = bizProcess; + } + + public Long getDataDomainId() { + return this.dataDomainId; + } + + public void setDataDomainId(Long dataDomainId) { + this.dataDomainId = dataDomainId; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + } + + public static class BizObject { + + @SerializedName("OwnerUserId") + private String ownerUserId; + + @SerializedName("DisplayName") + private String displayName; + + @SerializedName("Name") + private String name; + + @SerializedName("Description") + private String description; + + @SerializedName("Type") + private String type; + + @SerializedName("RefBizEntityIdList") + private List refBizEntityIdList; + + @SerializedName("ParentId") + private Long parentId; + + public String getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + 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 getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public List getRefBizEntityIdList() { + return this.refBizEntityIdList; + } + + public void setRefBizEntityIdList(List refBizEntityIdList) { + this.refBizEntityIdList = refBizEntityIdList; + } + + public Long getParentId() { + return this.parentId; + } + + public void setParentId(Long parentId) { + this.parentId = parentId; + } + } + + public static class BizProcess { + + @SerializedName("OwnerUserId") + private String ownerUserId; + + @SerializedName("DisplayName") + private String displayName; + + @SerializedName("Name") + private String name; + + @SerializedName("PreBizProcessIdList") + private List preBizProcessIdList; + + @SerializedName("Description") + private String description; + + @SerializedName("BizEventEntityIdList") + private List bizEventEntityIdList; + + @SerializedName("Type") + private String type; + + @SerializedName("RefBizEntityIdList") + private List refBizEntityIdList; + + public String getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public List getPreBizProcessIdList() { + return this.preBizProcessIdList; + } + + public void setPreBizProcessIdList(List preBizProcessIdList) { + this.preBizProcessIdList = preBizProcessIdList; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public List getBizEventEntityIdList() { + return this.bizEventEntityIdList; + } + + public void setBizEventEntityIdList(List bizEventEntityIdList) { + this.bizEventEntityIdList = bizEventEntityIdList; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public List getRefBizEntityIdList() { + return this.refBizEntityIdList; + } + + public void setRefBizEntityIdList(List refBizEntityIdList) { + this.refBizEntityIdList = refBizEntityIdList; + } + } + } + + @Override + public Class getResponseClass() { + return CreateBizEntityResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBizEntityResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBizEntityResponse.java new file mode 100644 index 0000000000..79acc6c53a --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBizEntityResponse.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.CreateBizEntityResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateBizEntityResponse 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 bizEntityId; + + public Long getBizEntityId() { + return this.bizEntityId; + } + + public void setBizEntityId(Long bizEntityId) { + this.bizEntityId = bizEntityId; + } + } + + @Override + public CreateBizEntityResponse getInstance(UnmarshallerContext context) { + return CreateBizEntityResponseUnmarshaller.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/CreateBizUnitRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBizUnitRequest.java new file mode 100644 index 0000000000..84c0c7cf26 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBizUnitRequest.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 CreateBizUnitRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("createCommand") + private CreateCommand createCommand; + public CreateBizUnitRequest() { + super("dataphin-public", "2023-06-30", "CreateBizUnit"); + 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("Mode") + private String mode; + + @SerializedName("BizUnitAccountList") + private List bizUnitAccountList; + + @SerializedName("DisplayName") + private String displayName; + + @SerializedName("Name") + private String name; + + @SerializedName("Icon") + private String icon; + + @SerializedName("Description") + private String description; + + public String getMode() { + return this.mode; + } + + public void setMode(String mode) { + this.mode = mode; + } + + public List getBizUnitAccountList() { + return this.bizUnitAccountList; + } + + public void setBizUnitAccountList(List bizUnitAccountList) { + this.bizUnitAccountList = bizUnitAccountList; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getIcon() { + return this.icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public static class BizUnitAccountListItem { + + @SerializedName("UserId") + private String userId; + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + } + } + + @Override + public Class getResponseClass() { + return CreateBizUnitResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBizUnitResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBizUnitResponse.java new file mode 100644 index 0000000000..ecffd88841 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateBizUnitResponse.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.CreateBizUnitResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateBizUnitResponse 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 bizUnitId; + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + } + } + + @Override + public CreateBizUnitResponse getInstance(UnmarshallerContext context) { + return CreateBizUnitResponseUnmarshaller.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/CreateDataDomainRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDataDomainRequest.java new file mode 100644 index 0000000000..dd7a2c79b8 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDataDomainRequest.java @@ -0,0 +1,136 @@ +/* + * 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 CreateDataDomainRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("createCommand") + private CreateCommand createCommand; + public CreateDataDomainRequest() { + super("dataphin-public", "2023-06-30", "CreateDataDomain"); + 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("DisplayName") + private String displayName; + + @SerializedName("Name") + private String name; + + @SerializedName("Description") + private String description; + + @SerializedName("Abbreviation") + private String abbreviation; + + @SerializedName("BizUnitId") + private Long bizUnitId; + + @SerializedName("ParentId") + private Long parentId; + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + 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 getAbbreviation() { + return this.abbreviation; + } + + public void setAbbreviation(String abbreviation) { + this.abbreviation = abbreviation; + } + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + } + + public Long getParentId() { + return this.parentId; + } + + public void setParentId(Long parentId) { + this.parentId = parentId; + } + } + + @Override + public Class getResponseClass() { + return CreateDataDomainResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDataDomainResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDataDomainResponse.java new file mode 100644 index 0000000000..5c5eb38709 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateDataDomainResponse.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.CreateDataDomainResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateDataDomainResponse 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 dataDomainId; + + public Long getDataDomainId() { + return this.dataDomainId; + } + + public void setDataDomainId(Long dataDomainId) { + this.dataDomainId = dataDomainId; + } + } + + @Override + public CreateDataDomainResponse getInstance(UnmarshallerContext context) { + return CreateDataDomainResponseUnmarshaller.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/CreatePipelineNodeRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreatePipelineNodeRequest.java new file mode 100644 index 0000000000..4f410a2a2b --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreatePipelineNodeRequest.java @@ -0,0 +1,161 @@ +/* + * 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 CreatePipelineNodeRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("createPipelineNodeCommand") + private CreatePipelineNodeCommand createPipelineNodeCommand; + public CreatePipelineNodeRequest() { + super("dataphin-public", "2023-06-30", "CreatePipelineNode"); + 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 CreatePipelineNodeCommand getCreatePipelineNodeCommand() { + return this.createPipelineNodeCommand; + } + + public void setCreatePipelineNodeCommand(CreatePipelineNodeCommand createPipelineNodeCommand) { + this.createPipelineNodeCommand = createPipelineNodeCommand; + if (createPipelineNodeCommand != null) { + putBodyParameter("CreatePipelineNodeCommand" , new Gson().toJson(createPipelineNodeCommand)); + } + } + + public static class CreatePipelineNodeCommand { + + @SerializedName("PipelineName") + private String pipelineName; + + @SerializedName("PipelineType") + private String pipelineType; + + @SerializedName("NodeType") + private String nodeType; + + @SerializedName("FileInfo") + private FileInfo fileInfo; + + @SerializedName("ProjectId") + private Long projectId; + + public String getPipelineName() { + return this.pipelineName; + } + + public void setPipelineName(String pipelineName) { + this.pipelineName = pipelineName; + } + + public String getPipelineType() { + return this.pipelineType; + } + + public void setPipelineType(String pipelineType) { + this.pipelineType = pipelineType; + } + + public String getNodeType() { + return this.nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + + public FileInfo getFileInfo() { + return this.fileInfo; + } + + public void setFileInfo(FileInfo fileInfo) { + this.fileInfo = fileInfo; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public static class FileInfo { + + @SerializedName("FileName") + private String fileName; + + @SerializedName("Description") + private String description; + + @SerializedName("Directory") + private String directory; + + public String getFileName() { + return this.fileName; + } + + public void setFileName(String fileName) { + this.fileName = fileName; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getDirectory() { + return this.directory; + } + + public void setDirectory(String directory) { + this.directory = directory; + } + } + } + + @Override + public Class getResponseClass() { + return CreatePipelineNodeResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreatePipelineNodeResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreatePipelineNodeResponse.java new file mode 100644 index 0000000000..0c6b5b5603 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreatePipelineNodeResponse.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.CreatePipelineNodeResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreatePipelineNodeResponse 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 Long pipelineId; + + private List errorCodeList; + + private List errorMessageList; + + public Long getPipelineId() { + return this.pipelineId; + } + + public void setPipelineId(Long pipelineId) { + this.pipelineId = pipelineId; + } + + public List getErrorCodeList() { + return this.errorCodeList; + } + + public void setErrorCodeList(List errorCodeList) { + this.errorCodeList = errorCodeList; + } + + public List getErrorMessageList() { + return this.errorMessageList; + } + + public void setErrorMessageList(List errorMessageList) { + this.errorMessageList = errorMessageList; + } + } + + @Override + public CreatePipelineNodeResponse getInstance(UnmarshallerContext context) { + return CreatePipelineNodeResponseUnmarshaller.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/CreateStreamBatchJobMappingRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateStreamBatchJobMappingRequest.java new file mode 100644 index 0000000000..8a05abe3a4 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateStreamBatchJobMappingRequest.java @@ -0,0 +1,180 @@ +/* + * 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 CreateStreamBatchJobMappingRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("streamBatchJobMappingCreateCommand") + private StreamBatchJobMappingCreateCommand streamBatchJobMappingCreateCommand; + public CreateStreamBatchJobMappingRequest() { + super("dataphin-public", "2023-06-30", "CreateStreamBatchJobMapping"); + 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 StreamBatchJobMappingCreateCommand getStreamBatchJobMappingCreateCommand() { + return this.streamBatchJobMappingCreateCommand; + } + + public void setStreamBatchJobMappingCreateCommand(StreamBatchJobMappingCreateCommand streamBatchJobMappingCreateCommand) { + this.streamBatchJobMappingCreateCommand = streamBatchJobMappingCreateCommand; + if (streamBatchJobMappingCreateCommand != null) { + putBodyParameter("StreamBatchJobMappingCreateCommand" , new Gson().toJson(streamBatchJobMappingCreateCommand)); + } + } + + public static class StreamBatchJobMappingCreateCommand { + + @SerializedName("QueueName") + private String queueName; + + @SerializedName("FileType") + private String fileType; + + @SerializedName("FileName") + private String fileName; + + @SerializedName("VvpClusterType") + private String vvpClusterType; + + @SerializedName("Description") + private String description; + + @SerializedName("EngineVersion") + private String engineVersion; + + @SerializedName("ClusterId") + private String clusterId; + + @SerializedName("Env") + private String env; + + @SerializedName("Directory") + private String directory; + + @SerializedName("ProjectId") + private Long projectId; + + public String getQueueName() { + return this.queueName; + } + + public void setQueueName(String queueName) { + this.queueName = queueName; + } + + public String getFileType() { + return this.fileType; + } + + public void setFileType(String fileType) { + this.fileType = fileType; + } + + public String getFileName() { + return this.fileName; + } + + public void setFileName(String fileName) { + this.fileName = fileName; + } + + public String getVvpClusterType() { + return this.vvpClusterType; + } + + public void setVvpClusterType(String vvpClusterType) { + this.vvpClusterType = vvpClusterType; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getEngineVersion() { + return this.engineVersion; + } + + public void setEngineVersion(String engineVersion) { + this.engineVersion = engineVersion; + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + } + + public String getDirectory() { + return this.directory; + } + + public void setDirectory(String directory) { + this.directory = directory; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + } + + @Override + public Class getResponseClass() { + return CreateStreamBatchJobMappingResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateStreamBatchJobMappingResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateStreamBatchJobMappingResponse.java new file mode 100644 index 0000000000..6b6229507f --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/CreateStreamBatchJobMappingResponse.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.CreateStreamBatchJobMappingResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateStreamBatchJobMappingResponse 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 fileId; + + private String url; + + public String getFileId() { + return this.fileId; + } + + public void setFileId(String fileId) { + this.fileId = fileId; + } + + public String getUrl() { + return this.url; + } + + public void setUrl(String url) { + this.url = url; + } + } + + @Override + public CreateStreamBatchJobMappingResponse getInstance(UnmarshallerContext context) { + return CreateStreamBatchJobMappingResponseUnmarshaller.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/DeleteBatchTaskRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBatchTaskRequest.java new file mode 100644 index 0000000000..5ac451ea8a --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBatchTaskRequest.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 DeleteBatchTaskRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("deleteCommand") + private DeleteCommand deleteCommand; + public DeleteBatchTaskRequest() { + super("dataphin-public", "2023-06-30", "DeleteBatchTask"); + 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("Comment") + private String comment; + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("FileId") + private Long fileId; + + public String getComment() { + return this.comment; + } + + public void setComment(String comment) { + this.comment = comment; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + } + } + + @Override + public Class getResponseClass() { + return DeleteBatchTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBatchTaskResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBatchTaskResponse.java new file mode 100644 index 0000000000..7368fc8181 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBatchTaskResponse.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.DeleteBatchTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteBatchTaskResponse 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 DeleteBatchTaskResponse getInstance(UnmarshallerContext context) { + return DeleteBatchTaskResponseUnmarshaller.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/DeleteBizEntityRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBizEntityRequest.java new file mode 100644 index 0000000000..322da6404e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBizEntityRequest.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 DeleteBizEntityRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long id; + + private String type; + + private Long bizUnitId; + public DeleteBizEntityRequest() { + super("dataphin-public", "2023-06-30", "DeleteBizEntity"); + 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()); + } + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + if(type != null){ + putQueryParameter("Type", type); + } + } + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + if(bizUnitId != null){ + putQueryParameter("BizUnitId", bizUnitId.toString()); + } + } + + @Override + public Class getResponseClass() { + return DeleteBizEntityResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBizEntityResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBizEntityResponse.java new file mode 100644 index 0000000000..3278481770 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBizEntityResponse.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.DeleteBizEntityResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteBizEntityResponse 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 DeleteBizEntityResponse getInstance(UnmarshallerContext context) { + return DeleteBizEntityResponseUnmarshaller.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/DeleteBizUnitRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBizUnitRequest.java new file mode 100644 index 0000000000..cf27502b71 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBizUnitRequest.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 DeleteBizUnitRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long id; + public DeleteBizUnitRequest() { + super("dataphin-public", "2023-06-30", "DeleteBizUnit"); + 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 DeleteBizUnitResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBizUnitResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBizUnitResponse.java new file mode 100644 index 0000000000..a3480ae00b --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteBizUnitResponse.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.DeleteBizUnitResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteBizUnitResponse 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 DeleteBizUnitResponse getInstance(UnmarshallerContext context) { + return DeleteBizUnitResponseUnmarshaller.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/DeleteDataDomainRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDataDomainRequest.java new file mode 100644 index 0000000000..42e3e21ad7 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDataDomainRequest.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 DeleteDataDomainRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long id; + + private Long bizUnitId; + public DeleteDataDomainRequest() { + super("dataphin-public", "2023-06-30", "DeleteDataDomain"); + 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()); + } + } + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + if(bizUnitId != null){ + putQueryParameter("BizUnitId", bizUnitId.toString()); + } + } + + @Override + public Class getResponseClass() { + return DeleteDataDomainResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDataDomainResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDataDomainResponse.java new file mode 100644 index 0000000000..97df5a803c --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/DeleteDataDomainResponse.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.DeleteDataDomainResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteDataDomainResponse 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 DeleteDataDomainResponse getInstance(UnmarshallerContext context) { + return DeleteDataDomainResponseUnmarshaller.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/ExecuteAdHocTaskRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ExecuteAdHocTaskRequest.java new file mode 100644 index 0000000000..2e024b0c1f --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ExecuteAdHocTaskRequest.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 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 ExecuteAdHocTaskRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("executeCommand") + private ExecuteCommand executeCommand; + public ExecuteAdHocTaskRequest() { + super("dataphin-public", "2023-06-30", "ExecuteAdHocTask"); + 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 static class ExecuteCommand { + + @SerializedName("Code") + private String code; + + @SerializedName("DataSourceId") + private Long dataSourceId; + + @SerializedName("DataSourceSchema") + private String dataSourceSchema; + + @SerializedName("ParamList") + private List paramList; + + @SerializedName("DataSourceCatalog") + private String dataSourceCatalog; + + @SerializedName("OperatorType") + private String operatorType; + + @SerializedName("ProjectId") + private Long projectId; + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + 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 getParamList() { + return this.paramList; + } + + public void setParamList(List paramList) { + this.paramList = paramList; + } + + public String getDataSourceCatalog() { + return this.dataSourceCatalog; + } + + public void setDataSourceCatalog(String dataSourceCatalog) { + this.dataSourceCatalog = dataSourceCatalog; + } + + public String getOperatorType() { + return this.operatorType; + } + + public void setOperatorType(String operatorType) { + this.operatorType = operatorType; + } + + 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 ExecuteAdHocTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ExecuteAdHocTaskResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ExecuteAdHocTaskResponse.java new file mode 100644 index 0000000000..54c7746346 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ExecuteAdHocTaskResponse.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.ExecuteAdHocTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ExecuteAdHocTaskResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private ExecuteResult executeResult; + + 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 ExecuteResult getExecuteResult() { + return this.executeResult; + } + + public void setExecuteResult(ExecuteResult executeResult) { + this.executeResult = executeResult; + } + + public static class ExecuteResult { + + private String taskId; + + private Integer subTaskCount; + + public String getTaskId() { + return this.taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + } + + public Integer getSubTaskCount() { + return this.subTaskCount; + } + + public void setSubTaskCount(Integer subTaskCount) { + this.subTaskCount = subTaskCount; + } + } + + @Override + public ExecuteAdHocTaskResponse getInstance(UnmarshallerContext context) { + return ExecuteAdHocTaskResponseUnmarshaller.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/GetAdHocTaskLogRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocTaskLogRequest.java new file mode 100644 index 0000000000..2b5f7c7970 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocTaskLogRequest.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 GetAdHocTaskLogRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Integer offset; + + private Integer subTaskId; + + private Long projectId; + + private String taskId; + public GetAdHocTaskLogRequest() { + super("dataphin-public", "2023-06-30", "GetAdHocTaskLog"); + 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 getOffset() { + return this.offset; + } + + public void setOffset(Integer offset) { + this.offset = offset; + if(offset != null){ + putQueryParameter("Offset", offset.toString()); + } + } + + public Integer getSubTaskId() { + return this.subTaskId; + } + + public void setSubTaskId(Integer subTaskId) { + this.subTaskId = subTaskId; + if(subTaskId != null){ + putQueryParameter("SubTaskId", subTaskId.toString()); + } + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + if(projectId != null){ + putQueryParameter("ProjectId", projectId.toString()); + } + } + + public String getTaskId() { + return this.taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + if(taskId != null){ + putQueryParameter("TaskId", taskId); + } + } + + @Override + public Class getResponseClass() { + return GetAdHocTaskLogResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocTaskLogResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocTaskLogResponse.java new file mode 100644 index 0000000000..0a3c9da796 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocTaskLogResponse.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.GetAdHocTaskLogResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetAdHocTaskLogResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private LogInfo logInfo; + + 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 LogInfo getLogInfo() { + return this.logInfo; + } + + public void setLogInfo(LogInfo logInfo) { + this.logInfo = logInfo; + } + + public static class LogInfo { + + private String taskId; + + private Integer subTaskId; + + private String taskStatus; + + private Boolean hasNext; + + private Boolean hasResult; + + private Integer nextOffset; + + private String content; + + public String getTaskId() { + return this.taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + } + + public Integer getSubTaskId() { + return this.subTaskId; + } + + public void setSubTaskId(Integer subTaskId) { + this.subTaskId = subTaskId; + } + + public String getTaskStatus() { + return this.taskStatus; + } + + public void setTaskStatus(String taskStatus) { + this.taskStatus = taskStatus; + } + + public Boolean getHasNext() { + return this.hasNext; + } + + public void setHasNext(Boolean hasNext) { + this.hasNext = hasNext; + } + + public Boolean getHasResult() { + return this.hasResult; + } + + public void setHasResult(Boolean hasResult) { + this.hasResult = hasResult; + } + + public Integer getNextOffset() { + return this.nextOffset; + } + + public void setNextOffset(Integer nextOffset) { + this.nextOffset = nextOffset; + } + + public String getContent() { + return this.content; + } + + public void setContent(String content) { + this.content = content; + } + } + + @Override + public GetAdHocTaskLogResponse getInstance(UnmarshallerContext context) { + return GetAdHocTaskLogResponseUnmarshaller.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/GetAdHocTaskResultRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocTaskResultRequest.java new file mode 100644 index 0000000000..f15e30def5 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocTaskResultRequest.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 GetAdHocTaskResultRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Integer subTaskId; + + private Long projectId; + + private String taskId; + public GetAdHocTaskResultRequest() { + super("dataphin-public", "2023-06-30", "GetAdHocTaskResult"); + 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 getSubTaskId() { + return this.subTaskId; + } + + public void setSubTaskId(Integer subTaskId) { + this.subTaskId = subTaskId; + if(subTaskId != null){ + putQueryParameter("SubTaskId", subTaskId.toString()); + } + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + if(projectId != null){ + putQueryParameter("ProjectId", projectId.toString()); + } + } + + public String getTaskId() { + return this.taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + if(taskId != null){ + putQueryParameter("TaskId", taskId); + } + } + + @Override + public Class getResponseClass() { + return GetAdHocTaskResultResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocTaskResultResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocTaskResultResponse.java new file mode 100644 index 0000000000..6e9cecd484 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAdHocTaskResultResponse.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.GetAdHocTaskResultResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetAdHocTaskResultResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private ExecuteResult executeResult; + + 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 ExecuteResult getExecuteResult() { + return this.executeResult; + } + + public void setExecuteResult(ExecuteResult executeResult) { + this.executeResult = executeResult; + } + + public static class ExecuteResult { + + private String taskId; + + private String scheduleTaskId; + + private String result; + + public String getTaskId() { + return this.taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + } + + public String getScheduleTaskId() { + return this.scheduleTaskId; + } + + public void setScheduleTaskId(String scheduleTaskId) { + this.scheduleTaskId = scheduleTaskId; + } + + public String getResult() { + return this.result; + } + + public void setResult(String result) { + this.result = result; + } + } + + @Override + public GetAdHocTaskResultResponse getInstance(UnmarshallerContext context) { + return GetAdHocTaskResultResponseUnmarshaller.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/GetAlertEventRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAlertEventRequest.java new file mode 100644 index 0000000000..2b7ecbd2f6 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAlertEventRequest.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 GetAlertEventRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long id; + public GetAlertEventRequest() { + super("dataphin-public", "2023-06-30", "GetAlertEvent"); + 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 GetAlertEventResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAlertEventResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAlertEventResponse.java new file mode 100644 index 0000000000..60f5121383 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetAlertEventResponse.java @@ -0,0 +1,441 @@ +/* + * 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.GetAlertEventResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetAlertEventResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private AlertEventInfo alertEventInfo; + + 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 AlertEventInfo getAlertEventInfo() { + return this.alertEventInfo; + } + + public void setAlertEventInfo(AlertEventInfo alertEventInfo) { + this.alertEventInfo = alertEventInfo; + } + + public static class AlertEventInfo { + + private Long id; + + private String latestAlertTime; + + private String firstAlertTime; + + private String status; + + private String alertFrequency; + + private Long totalAlertTimes; + + private String doNotDisturbEndTime; + + private List alertReceiverList; + + private AlertObject alertObject; + + private AlertReason alertReason; + + private BelongProject belongProject; + + private UrlConfig urlConfig; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getLatestAlertTime() { + return this.latestAlertTime; + } + + public void setLatestAlertTime(String latestAlertTime) { + this.latestAlertTime = latestAlertTime; + } + + public String getFirstAlertTime() { + return this.firstAlertTime; + } + + public void setFirstAlertTime(String firstAlertTime) { + this.firstAlertTime = firstAlertTime; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getAlertFrequency() { + return this.alertFrequency; + } + + public void setAlertFrequency(String alertFrequency) { + this.alertFrequency = alertFrequency; + } + + public Long getTotalAlertTimes() { + return this.totalAlertTimes; + } + + public void setTotalAlertTimes(Long totalAlertTimes) { + this.totalAlertTimes = totalAlertTimes; + } + + public String getDoNotDisturbEndTime() { + return this.doNotDisturbEndTime; + } + + public void setDoNotDisturbEndTime(String doNotDisturbEndTime) { + this.doNotDisturbEndTime = doNotDisturbEndTime; + } + + public List getAlertReceiverList() { + return this.alertReceiverList; + } + + public void setAlertReceiverList(List alertReceiverList) { + this.alertReceiverList = alertReceiverList; + } + + public AlertObject getAlertObject() { + return this.alertObject; + } + + public void setAlertObject(AlertObject alertObject) { + this.alertObject = alertObject; + } + + public AlertReason getAlertReason() { + return this.alertReason; + } + + public void setAlertReason(AlertReason alertReason) { + this.alertReason = alertReason; + } + + public BelongProject getBelongProject() { + return this.belongProject; + } + + public void setBelongProject(BelongProject belongProject) { + this.belongProject = belongProject; + } + + public UrlConfig getUrlConfig() { + return this.urlConfig; + } + + public void setUrlConfig(UrlConfig urlConfig) { + this.urlConfig = urlConfig; + } + + public static class AlertReceiver { + + private String type; + + private String onCallTableName; + + private List userList; + + private List alertChannelTypeList; + + private List customAlertChannelIdList; + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getOnCallTableName() { + return this.onCallTableName; + } + + public void setOnCallTableName(String onCallTableName) { + this.onCallTableName = onCallTableName; + } + + public List getUserList() { + return this.userList; + } + + public void setUserList(List userList) { + this.userList = userList; + } + + public List getAlertChannelTypeList() { + return this.alertChannelTypeList; + } + + public void setAlertChannelTypeList(List alertChannelTypeList) { + this.alertChannelTypeList = alertChannelTypeList; + } + + public List getCustomAlertChannelIdList() { + return this.customAlertChannelIdList; + } + + public void setCustomAlertChannelIdList(List customAlertChannelIdList) { + this.customAlertChannelIdList = customAlertChannelIdList; + } + + public static class User { + + private String name; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + } + + public static class AlertObject { + + private String sourceSystemType; + + private String name; + + private String type; + + public String getSourceSystemType() { + return this.sourceSystemType; + } + + public void setSourceSystemType(String sourceSystemType) { + this.sourceSystemType = sourceSystemType; + } + + 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 AlertReason { + + private String type; + + private String bizDate; + + private String uniqueKey; + + private List alertReasonParamList; + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getBizDate() { + return this.bizDate; + } + + public void setBizDate(String bizDate) { + this.bizDate = bizDate; + } + + public String getUniqueKey() { + return this.uniqueKey; + } + + public void setUniqueKey(String uniqueKey) { + this.uniqueKey = uniqueKey; + } + + public List getAlertReasonParamList() { + return this.alertReasonParamList; + } + + public void setAlertReasonParamList(List alertReasonParamList) { + this.alertReasonParamList = alertReasonParamList; + } + + public static class AlertReasonParam { + + 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 BelongProject { + + private String projectName; + + private String bizName; + + public String getProjectName() { + return this.projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public String getBizName() { + return this.bizName; + } + + public void setBizName(String bizName) { + this.bizName = bizName; + } + } + + public static class UrlConfig { + + private String objectUrl; + + private String logUrl; + + private String alertConfigUrl; + + public String getObjectUrl() { + return this.objectUrl; + } + + public void setObjectUrl(String objectUrl) { + this.objectUrl = objectUrl; + } + + public String getLogUrl() { + return this.logUrl; + } + + public void setLogUrl(String logUrl) { + this.logUrl = logUrl; + } + + public String getAlertConfigUrl() { + return this.alertConfigUrl; + } + + public void setAlertConfigUrl(String alertConfigUrl) { + this.alertConfigUrl = alertConfigUrl; + } + } + } + + @Override + public GetAlertEventResponse getInstance(UnmarshallerContext context) { + return GetAlertEventResponseUnmarshaller.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/GetBatchTaskInfoByVersionRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskInfoByVersionRequest.java new file mode 100644 index 0000000000..1ddcf94673 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskInfoByVersionRequest.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 GetBatchTaskInfoByVersionRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long versionId; + + private Long projectId; + + private Long fileId; + public GetBatchTaskInfoByVersionRequest() { + super("dataphin-public", "2023-06-30", "GetBatchTaskInfoByVersion"); + 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 getVersionId() { + return this.versionId; + } + + public void setVersionId(Long versionId) { + this.versionId = versionId; + if(versionId != null){ + putQueryParameter("VersionId", versionId.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 GetBatchTaskInfoByVersionResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskInfoByVersionResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskInfoByVersionResponse.java new file mode 100644 index 0000000000..25ac514f02 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskInfoByVersionResponse.java @@ -0,0 +1,655 @@ +/* + * 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.GetBatchTaskInfoByVersionResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetBatchTaskInfoByVersionResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private TaskInfo taskInfo; + + 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 TaskInfo getTaskInfo() { + return this.taskInfo; + } + + public void setTaskInfo(TaskInfo taskInfo) { + this.taskInfo = taskInfo; + } + + public static class TaskInfo { + + private Long fileId; + + private String name; + + private String status; + + private Boolean published; + + private Boolean needPublish; + + private Boolean hasDevNode; + + private String nodeId; + + private String nodeName; + + private String ownerUserId; + + private String ownerName; + + private String operatorUserId; + + private String nodeDescription; + + private Integer taskType; + + private Integer scheduleType; + + private String schedulePeriod; + + private String cronExpression; + + private String code; + + private String remark; + + private String dagId; + + private Boolean rerunable; + + private Integer priority; + + private Integer nodeStatus; + + private Boolean paused; + + private String nodeFrom; + + private Long projectId; + + private String dataSourceId; + + private String dataSourceCatalog; + + private String dataSourceSchema; + + private List paramList; + + private List upStreamList; + + private List nodeOutputNameList; + + private CustomScheduleConfig customScheduleConfig; + + private SparkClientInfo sparkClientInfo; + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public Boolean getPublished() { + return this.published; + } + + public void setPublished(Boolean published) { + this.published = published; + } + + public Boolean getNeedPublish() { + return this.needPublish; + } + + public void setNeedPublish(Boolean needPublish) { + this.needPublish = needPublish; + } + + public Boolean getHasDevNode() { + return this.hasDevNode; + } + + public void setHasDevNode(Boolean hasDevNode) { + this.hasDevNode = hasDevNode; + } + + 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 getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + public String getOperatorUserId() { + return this.operatorUserId; + } + + public void setOperatorUserId(String operatorUserId) { + this.operatorUserId = operatorUserId; + } + + public String getNodeDescription() { + return this.nodeDescription; + } + + public void setNodeDescription(String nodeDescription) { + this.nodeDescription = nodeDescription; + } + + public Integer getTaskType() { + return this.taskType; + } + + public void setTaskType(Integer taskType) { + this.taskType = taskType; + } + + public Integer getScheduleType() { + return this.scheduleType; + } + + public void setScheduleType(Integer scheduleType) { + this.scheduleType = scheduleType; + } + + public String getSchedulePeriod() { + return this.schedulePeriod; + } + + public void setSchedulePeriod(String schedulePeriod) { + this.schedulePeriod = schedulePeriod; + } + + public String getCronExpression() { + return this.cronExpression; + } + + public void setCronExpression(String cronExpression) { + this.cronExpression = cronExpression; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getRemark() { + return this.remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + public String getDagId() { + return this.dagId; + } + + public void setDagId(String dagId) { + this.dagId = dagId; + } + + public Boolean getRerunable() { + return this.rerunable; + } + + public void setRerunable(Boolean rerunable) { + this.rerunable = rerunable; + } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + public Integer getNodeStatus() { + return this.nodeStatus; + } + + public void setNodeStatus(Integer nodeStatus) { + this.nodeStatus = nodeStatus; + } + + public Boolean getPaused() { + return this.paused; + } + + public void setPaused(Boolean paused) { + this.paused = paused; + } + + public String getNodeFrom() { + return this.nodeFrom; + } + + public void setNodeFrom(String nodeFrom) { + this.nodeFrom = nodeFrom; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public String getDataSourceId() { + return this.dataSourceId; + } + + public void setDataSourceId(String dataSourceId) { + this.dataSourceId = dataSourceId; + } + + public String getDataSourceCatalog() { + return this.dataSourceCatalog; + } + + public void setDataSourceCatalog(String dataSourceCatalog) { + this.dataSourceCatalog = dataSourceCatalog; + } + + public String getDataSourceSchema() { + return this.dataSourceSchema; + } + + public void setDataSourceSchema(String dataSourceSchema) { + this.dataSourceSchema = dataSourceSchema; + } + + public List getParamList() { + return this.paramList; + } + + public void setParamList(List paramList) { + this.paramList = paramList; + } + + public List getUpStreamList() { + return this.upStreamList; + } + + public void setUpStreamList(List upStreamList) { + this.upStreamList = upStreamList; + } + + public List getNodeOutputNameList() { + return this.nodeOutputNameList; + } + + public void setNodeOutputNameList(List nodeOutputNameList) { + this.nodeOutputNameList = nodeOutputNameList; + } + + public CustomScheduleConfig getCustomScheduleConfig() { + return this.customScheduleConfig; + } + + public void setCustomScheduleConfig(CustomScheduleConfig customScheduleConfig) { + this.customScheduleConfig = customScheduleConfig; + } + + public SparkClientInfo getSparkClientInfo() { + return this.sparkClientInfo; + } + + public void setSparkClientInfo(SparkClientInfo sparkClientInfo) { + this.sparkClientInfo = sparkClientInfo; + } + + public static class Param { + + 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 NodeRelation { + + private String nodeType; + + private String sourceNodeId; + + private String sourceNodeName; + + private String sourceNodeUserName; + + private String sourceNodeOutputName; + + private String sourceTableName; + + private Integer periodDiff; + + private String dependStrategy; + + private Boolean sourceNodeEnabled; + + private List fieldList; + + private DependPeriod dependPeriod; + + public String getNodeType() { + return this.nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + + public String getSourceNodeId() { + return this.sourceNodeId; + } + + public void setSourceNodeId(String sourceNodeId) { + this.sourceNodeId = sourceNodeId; + } + + public String getSourceNodeName() { + return this.sourceNodeName; + } + + public void setSourceNodeName(String sourceNodeName) { + this.sourceNodeName = sourceNodeName; + } + + public String getSourceNodeUserName() { + return this.sourceNodeUserName; + } + + public void setSourceNodeUserName(String sourceNodeUserName) { + this.sourceNodeUserName = sourceNodeUserName; + } + + public String getSourceNodeOutputName() { + return this.sourceNodeOutputName; + } + + public void setSourceNodeOutputName(String sourceNodeOutputName) { + this.sourceNodeOutputName = sourceNodeOutputName; + } + + public String getSourceTableName() { + return this.sourceTableName; + } + + public void setSourceTableName(String sourceTableName) { + this.sourceTableName = sourceTableName; + } + + public Integer getPeriodDiff() { + return this.periodDiff; + } + + public void setPeriodDiff(Integer periodDiff) { + this.periodDiff = periodDiff; + } + + public String getDependStrategy() { + return this.dependStrategy; + } + + public void setDependStrategy(String dependStrategy) { + this.dependStrategy = dependStrategy; + } + + public Boolean getSourceNodeEnabled() { + return this.sourceNodeEnabled; + } + + public void setSourceNodeEnabled(Boolean sourceNodeEnabled) { + this.sourceNodeEnabled = sourceNodeEnabled; + } + + public List getFieldList() { + return this.fieldList; + } + + public void setFieldList(List fieldList) { + this.fieldList = fieldList; + } + + public DependPeriod getDependPeriod() { + return this.dependPeriod; + } + + public void setDependPeriod(DependPeriod dependPeriod) { + this.dependPeriod = dependPeriod; + } + + public static class DependPeriod { + + 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; + } + } + } + + public static class CustomScheduleConfig { + + private String schedulePeriod; + + private Integer interval; + + private String intervalUnit; + + private String startTime; + + private String endTime; + + public String getSchedulePeriod() { + return this.schedulePeriod; + } + + public void setSchedulePeriod(String schedulePeriod) { + this.schedulePeriod = schedulePeriod; + } + + public Integer getInterval() { + return this.interval; + } + + public void setInterval(Integer interval) { + this.interval = interval; + } + + public String getIntervalUnit() { + return this.intervalUnit; + } + + public void setIntervalUnit(String intervalUnit) { + this.intervalUnit = intervalUnit; + } + + 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 static class SparkClientInfo { + + private String sparkClientVersion; + + public String getSparkClientVersion() { + return this.sparkClientVersion; + } + + public void setSparkClientVersion(String sparkClientVersion) { + this.sparkClientVersion = sparkClientVersion; + } + } + } + + @Override + public GetBatchTaskInfoByVersionResponse getInstance(UnmarshallerContext context) { + return GetBatchTaskInfoByVersionResponseUnmarshaller.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/GetBatchTaskInfoRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskInfoRequest.java new file mode 100644 index 0000000000..5aa3fd878e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskInfoRequest.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 GetBatchTaskInfoRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Boolean includeAllUpStreams; + + private String env; + + private Long projectId; + + private Long fileId; + public GetBatchTaskInfoRequest() { + super("dataphin-public", "2023-06-30", "GetBatchTaskInfo"); + 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 Boolean getIncludeAllUpStreams() { + return this.includeAllUpStreams; + } + + public void setIncludeAllUpStreams(Boolean includeAllUpStreams) { + this.includeAllUpStreams = includeAllUpStreams; + if(includeAllUpStreams != null){ + putQueryParameter("IncludeAllUpStreams", includeAllUpStreams.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 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 GetBatchTaskInfoResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskInfoResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskInfoResponse.java new file mode 100644 index 0000000000..b3ba22e548 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskInfoResponse.java @@ -0,0 +1,655 @@ +/* + * 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.GetBatchTaskInfoResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetBatchTaskInfoResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private TaskInfo taskInfo; + + 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 TaskInfo getTaskInfo() { + return this.taskInfo; + } + + public void setTaskInfo(TaskInfo taskInfo) { + this.taskInfo = taskInfo; + } + + public static class TaskInfo { + + private Long fileId; + + private String name; + + private String status; + + private Boolean published; + + private Boolean needPublish; + + private Boolean hasDevNode; + + private String nodeId; + + private String nodeName; + + private String ownerUserId; + + private String ownerName; + + private String operatorUserId; + + private String nodeDescription; + + private Integer taskType; + + private Integer scheduleType; + + private String schedulePeriod; + + private String cronExpression; + + private String code; + + private String remark; + + private String dagId; + + private Boolean rerunable; + + private Integer priority; + + private Integer nodeStatus; + + private Boolean paused; + + private String nodeFrom; + + private Long projectId; + + private String dataSourceId; + + private String dataSourceCatalog; + + private String dataSourceSchema; + + private List paramList; + + private List upStreamList; + + private List nodeOutputNameList; + + private CustomScheduleConfig customScheduleConfig; + + private SparkClientInfo sparkClientInfo; + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public Boolean getPublished() { + return this.published; + } + + public void setPublished(Boolean published) { + this.published = published; + } + + public Boolean getNeedPublish() { + return this.needPublish; + } + + public void setNeedPublish(Boolean needPublish) { + this.needPublish = needPublish; + } + + public Boolean getHasDevNode() { + return this.hasDevNode; + } + + public void setHasDevNode(Boolean hasDevNode) { + this.hasDevNode = hasDevNode; + } + + 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 getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + public String getOperatorUserId() { + return this.operatorUserId; + } + + public void setOperatorUserId(String operatorUserId) { + this.operatorUserId = operatorUserId; + } + + public String getNodeDescription() { + return this.nodeDescription; + } + + public void setNodeDescription(String nodeDescription) { + this.nodeDescription = nodeDescription; + } + + public Integer getTaskType() { + return this.taskType; + } + + public void setTaskType(Integer taskType) { + this.taskType = taskType; + } + + public Integer getScheduleType() { + return this.scheduleType; + } + + public void setScheduleType(Integer scheduleType) { + this.scheduleType = scheduleType; + } + + public String getSchedulePeriod() { + return this.schedulePeriod; + } + + public void setSchedulePeriod(String schedulePeriod) { + this.schedulePeriod = schedulePeriod; + } + + public String getCronExpression() { + return this.cronExpression; + } + + public void setCronExpression(String cronExpression) { + this.cronExpression = cronExpression; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getRemark() { + return this.remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + public String getDagId() { + return this.dagId; + } + + public void setDagId(String dagId) { + this.dagId = dagId; + } + + public Boolean getRerunable() { + return this.rerunable; + } + + public void setRerunable(Boolean rerunable) { + this.rerunable = rerunable; + } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + public Integer getNodeStatus() { + return this.nodeStatus; + } + + public void setNodeStatus(Integer nodeStatus) { + this.nodeStatus = nodeStatus; + } + + public Boolean getPaused() { + return this.paused; + } + + public void setPaused(Boolean paused) { + this.paused = paused; + } + + public String getNodeFrom() { + return this.nodeFrom; + } + + public void setNodeFrom(String nodeFrom) { + this.nodeFrom = nodeFrom; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public String getDataSourceId() { + return this.dataSourceId; + } + + public void setDataSourceId(String dataSourceId) { + this.dataSourceId = dataSourceId; + } + + public String getDataSourceCatalog() { + return this.dataSourceCatalog; + } + + public void setDataSourceCatalog(String dataSourceCatalog) { + this.dataSourceCatalog = dataSourceCatalog; + } + + public String getDataSourceSchema() { + return this.dataSourceSchema; + } + + public void setDataSourceSchema(String dataSourceSchema) { + this.dataSourceSchema = dataSourceSchema; + } + + public List getParamList() { + return this.paramList; + } + + public void setParamList(List paramList) { + this.paramList = paramList; + } + + public List getUpStreamList() { + return this.upStreamList; + } + + public void setUpStreamList(List upStreamList) { + this.upStreamList = upStreamList; + } + + public List getNodeOutputNameList() { + return this.nodeOutputNameList; + } + + public void setNodeOutputNameList(List nodeOutputNameList) { + this.nodeOutputNameList = nodeOutputNameList; + } + + public CustomScheduleConfig getCustomScheduleConfig() { + return this.customScheduleConfig; + } + + public void setCustomScheduleConfig(CustomScheduleConfig customScheduleConfig) { + this.customScheduleConfig = customScheduleConfig; + } + + public SparkClientInfo getSparkClientInfo() { + return this.sparkClientInfo; + } + + public void setSparkClientInfo(SparkClientInfo sparkClientInfo) { + this.sparkClientInfo = sparkClientInfo; + } + + public static class Param { + + 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 NodeRelation { + + private String nodeType; + + private String sourceNodeId; + + private String sourceNodeName; + + private String sourceNodeUserName; + + private String sourceNodeOutputName; + + private String sourceTableName; + + private Integer periodDiff; + + private String dependStrategy; + + private Boolean sourceNodeEnabled; + + private List fieldList; + + private DependPeriod dependPeriod; + + public String getNodeType() { + return this.nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + + public String getSourceNodeId() { + return this.sourceNodeId; + } + + public void setSourceNodeId(String sourceNodeId) { + this.sourceNodeId = sourceNodeId; + } + + public String getSourceNodeName() { + return this.sourceNodeName; + } + + public void setSourceNodeName(String sourceNodeName) { + this.sourceNodeName = sourceNodeName; + } + + public String getSourceNodeUserName() { + return this.sourceNodeUserName; + } + + public void setSourceNodeUserName(String sourceNodeUserName) { + this.sourceNodeUserName = sourceNodeUserName; + } + + public String getSourceNodeOutputName() { + return this.sourceNodeOutputName; + } + + public void setSourceNodeOutputName(String sourceNodeOutputName) { + this.sourceNodeOutputName = sourceNodeOutputName; + } + + public String getSourceTableName() { + return this.sourceTableName; + } + + public void setSourceTableName(String sourceTableName) { + this.sourceTableName = sourceTableName; + } + + public Integer getPeriodDiff() { + return this.periodDiff; + } + + public void setPeriodDiff(Integer periodDiff) { + this.periodDiff = periodDiff; + } + + public String getDependStrategy() { + return this.dependStrategy; + } + + public void setDependStrategy(String dependStrategy) { + this.dependStrategy = dependStrategy; + } + + public Boolean getSourceNodeEnabled() { + return this.sourceNodeEnabled; + } + + public void setSourceNodeEnabled(Boolean sourceNodeEnabled) { + this.sourceNodeEnabled = sourceNodeEnabled; + } + + public List getFieldList() { + return this.fieldList; + } + + public void setFieldList(List fieldList) { + this.fieldList = fieldList; + } + + public DependPeriod getDependPeriod() { + return this.dependPeriod; + } + + public void setDependPeriod(DependPeriod dependPeriod) { + this.dependPeriod = dependPeriod; + } + + public static class DependPeriod { + + 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; + } + } + } + + public static class CustomScheduleConfig { + + private String schedulePeriod; + + private Integer interval; + + private String intervalUnit; + + private String startTime; + + private String endTime; + + public String getSchedulePeriod() { + return this.schedulePeriod; + } + + public void setSchedulePeriod(String schedulePeriod) { + this.schedulePeriod = schedulePeriod; + } + + public Integer getInterval() { + return this.interval; + } + + public void setInterval(Integer interval) { + this.interval = interval; + } + + public String getIntervalUnit() { + return this.intervalUnit; + } + + public void setIntervalUnit(String intervalUnit) { + this.intervalUnit = intervalUnit; + } + + 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 static class SparkClientInfo { + + private String sparkClientVersion; + + public String getSparkClientVersion() { + return this.sparkClientVersion; + } + + public void setSparkClientVersion(String sparkClientVersion) { + this.sparkClientVersion = sparkClientVersion; + } + } + } + + @Override + public GetBatchTaskInfoResponse getInstance(UnmarshallerContext context) { + return GetBatchTaskInfoResponseUnmarshaller.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/GetBatchTaskUdfLineagesRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskUdfLineagesRequest.java new file mode 100644 index 0000000000..917a5f9722 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskUdfLineagesRequest.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 GetBatchTaskUdfLineagesRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long projectId; + + private Long fileId; + public GetBatchTaskUdfLineagesRequest() { + super("dataphin-public", "2023-06-30", "GetBatchTaskUdfLineages"); + 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 GetBatchTaskUdfLineagesResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskUdfLineagesResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskUdfLineagesResponse.java new file mode 100644 index 0000000000..915827a2f0 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskUdfLineagesResponse.java @@ -0,0 +1,339 @@ +/* + * 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.GetBatchTaskUdfLineagesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetBatchTaskUdfLineagesResponse 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 List lineageGroupList; + + public List getLineageGroupList() { + return this.lineageGroupList; + } + + public void setLineageGroupList(List lineageGroupList) { + this.lineageGroupList = lineageGroupList; + } + + public static class LineageGroup { + + private List inputLineageList; + + private List outputLineageList; + + public List getInputLineageList() { + return this.inputLineageList; + } + + public void setInputLineageList(List inputLineageList) { + this.inputLineageList = inputLineageList; + } + + public List getOutputLineageList() { + return this.outputLineageList; + } + + public void setOutputLineageList(List outputLineageList) { + this.outputLineageList = outputLineageList; + } + + public static class LineageTable { + + private String name; + + private String displayName; + + private String guid; + + private String description; + + private String ownerName; + + private String ownerUserId; + + private String projectName; + + private String projectId; + + private String bizUnitId; + + private String bizUnitName; + + private String env; + + private String subType; + + private Boolean fullTable; + + private List columnList; + + 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 getGuid() { + return this.guid; + } + + public void setGuid(String guid) { + this.guid = guid; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + public String getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getProjectName() { + return this.projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public String getProjectId() { + return this.projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(String bizUnitId) { + this.bizUnitId = bizUnitId; + } + + public String getBizUnitName() { + return this.bizUnitName; + } + + public void setBizUnitName(String bizUnitName) { + this.bizUnitName = bizUnitName; + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + } + + public String getSubType() { + return this.subType; + } + + public void setSubType(String subType) { + this.subType = subType; + } + + public Boolean getFullTable() { + return this.fullTable; + } + + public void setFullTable(Boolean fullTable) { + this.fullTable = fullTable; + } + + public List getColumnList() { + return this.columnList; + } + + public void setColumnList(List columnList) { + this.columnList = columnList; + } + + public static class LineageColumn { + + private String id; + + private String name; + + private String description; + + private String dataType; + + private Boolean partitionKey; + + private Boolean primaryKey; + + 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 getDataType() { + return this.dataType; + } + + public void setDataType(String dataType) { + this.dataType = dataType; + } + + public Boolean getPartitionKey() { + return this.partitionKey; + } + + public void setPartitionKey(Boolean partitionKey) { + this.partitionKey = partitionKey; + } + + public Boolean getPrimaryKey() { + return this.primaryKey; + } + + public void setPrimaryKey(Boolean primaryKey) { + this.primaryKey = primaryKey; + } + } + } + } + } + + @Override + public GetBatchTaskUdfLineagesResponse getInstance(UnmarshallerContext context) { + return GetBatchTaskUdfLineagesResponseUnmarshaller.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/GetBatchTaskVersionsRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskVersionsRequest.java new file mode 100644 index 0000000000..800bf9d52a --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskVersionsRequest.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 GetBatchTaskVersionsRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long projectId; + + private Long fileId; + public GetBatchTaskVersionsRequest() { + super("dataphin-public", "2023-06-30", "GetBatchTaskVersions"); + 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 GetBatchTaskVersionsResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskVersionsResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskVersionsResponse.java new file mode 100644 index 0000000000..a4fd7cf81b --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBatchTaskVersionsResponse.java @@ -0,0 +1,203 @@ +/* + * 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.GetBatchTaskVersionsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetBatchTaskVersionsResponse 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 List batchTaskVersionList; + + public List getBatchTaskVersionList() { + return this.batchTaskVersionList; + } + + public void setBatchTaskVersionList(List batchTaskVersionList) { + this.batchTaskVersionList = batchTaskVersionList; + } + + public static class BatchTaskVersion { + + private String nodeId; + + private String version; + + private String userId; + + private String userName; + + private String comment; + + private Boolean published; + + private Long projectId; + + private String gmtCreate; + + private String gmtModified; + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + } + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public String getUserName() { + return this.userName; + } + + public void setUserName(String userName) { + this.userName = userName; + } + + public String getComment() { + return this.comment; + } + + public void setComment(String comment) { + this.comment = comment; + } + + public Boolean getPublished() { + return this.published; + } + + public void setPublished(Boolean published) { + this.published = published; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public String getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + } + } + + @Override + public GetBatchTaskVersionsResponse getInstance(UnmarshallerContext context) { + return GetBatchTaskVersionsResponseUnmarshaller.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/GetBizEntityInfoByVersionRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizEntityInfoByVersionRequest.java new file mode 100644 index 0000000000..3f8e942f1c --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizEntityInfoByVersionRequest.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 GetBizEntityInfoByVersionRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long versionId; + + private Long id; + + private String type; + public GetBizEntityInfoByVersionRequest() { + super("dataphin-public", "2023-06-30", "GetBizEntityInfoByVersion"); + 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 getVersionId() { + return this.versionId; + } + + public void setVersionId(Long versionId) { + this.versionId = versionId; + if(versionId != null){ + putQueryParameter("VersionId", versionId.toString()); + } + } + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + if(id != null){ + putQueryParameter("Id", id.toString()); + } + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + if(type != null){ + putQueryParameter("Type", type); + } + } + + @Override + public Class getResponseClass() { + return GetBizEntityInfoByVersionResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizEntityInfoByVersionResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizEntityInfoByVersionResponse.java new file mode 100644 index 0000000000..ec7c631c0e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizEntityInfoByVersionResponse.java @@ -0,0 +1,556 @@ +/* + * 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.GetBizEntityInfoByVersionResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetBizEntityInfoByVersionResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private BizEntityInfo bizEntityInfo; + + 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 BizEntityInfo getBizEntityInfo() { + return this.bizEntityInfo; + } + + public void setBizEntityInfo(BizEntityInfo bizEntityInfo) { + this.bizEntityInfo = bizEntityInfo; + } + + public static class BizEntityInfo { + + private String type; + + private Long dataDomainId; + + private Long bizUnitId; + + private BizObject bizObject; + + private BizProcess bizProcess; + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public Long getDataDomainId() { + return this.dataDomainId; + } + + public void setDataDomainId(Long dataDomainId) { + this.dataDomainId = dataDomainId; + } + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + } + + public BizObject getBizObject() { + return this.bizObject; + } + + public void setBizObject(BizObject bizObject) { + this.bizObject = bizObject; + } + + public BizProcess getBizProcess() { + return this.bizProcess; + } + + public void setBizProcess(BizProcess bizProcess) { + this.bizProcess = bizProcess; + } + + public static class BizObject { + + private Long id; + + private String name; + + private String displayName; + + private String description; + + private String ownerUserId; + + private String ownerName; + + private String type; + + private Long parentId; + + private String gmtCreate; + + private String gmtModified; + + private String lastModifier; + + private String lastModifierName; + + private Integer refDimTableCount; + + private Integer refSummaryTableCount; + + private String onlineStatus; + + private String status; + + private String approvalId; + + private String approvalStatus; + + private List refBizEntityIdList; + + private List childBizEntityIdList; + + 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 getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public Long getParentId() { + return this.parentId; + } + + public void setParentId(Long parentId) { + this.parentId = parentId; + } + + public String getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public String getLastModifier() { + return this.lastModifier; + } + + public void setLastModifier(String lastModifier) { + this.lastModifier = lastModifier; + } + + public String getLastModifierName() { + return this.lastModifierName; + } + + public void setLastModifierName(String lastModifierName) { + this.lastModifierName = lastModifierName; + } + + public Integer getRefDimTableCount() { + return this.refDimTableCount; + } + + public void setRefDimTableCount(Integer refDimTableCount) { + this.refDimTableCount = refDimTableCount; + } + + public Integer getRefSummaryTableCount() { + return this.refSummaryTableCount; + } + + public void setRefSummaryTableCount(Integer refSummaryTableCount) { + this.refSummaryTableCount = refSummaryTableCount; + } + + public String getOnlineStatus() { + return this.onlineStatus; + } + + public void setOnlineStatus(String onlineStatus) { + this.onlineStatus = onlineStatus; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getApprovalId() { + return this.approvalId; + } + + public void setApprovalId(String approvalId) { + this.approvalId = approvalId; + } + + public String getApprovalStatus() { + return this.approvalStatus; + } + + public void setApprovalStatus(String approvalStatus) { + this.approvalStatus = approvalStatus; + } + + public List getRefBizEntityIdList() { + return this.refBizEntityIdList; + } + + public void setRefBizEntityIdList(List refBizEntityIdList) { + this.refBizEntityIdList = refBizEntityIdList; + } + + public List getChildBizEntityIdList() { + return this.childBizEntityIdList; + } + + public void setChildBizEntityIdList(List childBizEntityIdList) { + this.childBizEntityIdList = childBizEntityIdList; + } + } + + public static class BizProcess { + + private Long id; + + private String name; + + private String displayName; + + private String description; + + private String ownerUserId; + + private String ownerName; + + private String type; + + private String gmtCreate; + + private String gmtModified; + + private String lastModifier; + + private String lastModifierName; + + private Boolean hasDependent; + + private String onlineStatus; + + private String status; + + private String approvalId; + + private String approvalStatus; + + private Integer refFactTableCount; + + private List refBizEntityIdList1; + + private List bizEventEntityIdList; + + private List preBizProcessIdList; + + 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 getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public String getLastModifier() { + return this.lastModifier; + } + + public void setLastModifier(String lastModifier) { + this.lastModifier = lastModifier; + } + + public String getLastModifierName() { + return this.lastModifierName; + } + + public void setLastModifierName(String lastModifierName) { + this.lastModifierName = lastModifierName; + } + + public Boolean getHasDependent() { + return this.hasDependent; + } + + public void setHasDependent(Boolean hasDependent) { + this.hasDependent = hasDependent; + } + + public String getOnlineStatus() { + return this.onlineStatus; + } + + public void setOnlineStatus(String onlineStatus) { + this.onlineStatus = onlineStatus; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getApprovalId() { + return this.approvalId; + } + + public void setApprovalId(String approvalId) { + this.approvalId = approvalId; + } + + public String getApprovalStatus() { + return this.approvalStatus; + } + + public void setApprovalStatus(String approvalStatus) { + this.approvalStatus = approvalStatus; + } + + public Integer getRefFactTableCount() { + return this.refFactTableCount; + } + + public void setRefFactTableCount(Integer refFactTableCount) { + this.refFactTableCount = refFactTableCount; + } + + public List getRefBizEntityIdList1() { + return this.refBizEntityIdList1; + } + + public void setRefBizEntityIdList1(List refBizEntityIdList1) { + this.refBizEntityIdList1 = refBizEntityIdList1; + } + + public List getBizEventEntityIdList() { + return this.bizEventEntityIdList; + } + + public void setBizEventEntityIdList(List bizEventEntityIdList) { + this.bizEventEntityIdList = bizEventEntityIdList; + } + + public List getPreBizProcessIdList() { + return this.preBizProcessIdList; + } + + public void setPreBizProcessIdList(List preBizProcessIdList) { + this.preBizProcessIdList = preBizProcessIdList; + } + } + } + + @Override + public GetBizEntityInfoByVersionResponse getInstance(UnmarshallerContext context) { + return GetBizEntityInfoByVersionResponseUnmarshaller.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/GetBizEntityInfoRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizEntityInfoRequest.java new file mode 100644 index 0000000000..0695064214 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizEntityInfoRequest.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 GetBizEntityInfoRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long id; + + private String type; + public GetBizEntityInfoRequest() { + super("dataphin-public", "2023-06-30", "GetBizEntityInfo"); + 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()); + } + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + if(type != null){ + putQueryParameter("Type", type); + } + } + + @Override + public Class getResponseClass() { + return GetBizEntityInfoResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizEntityInfoResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizEntityInfoResponse.java new file mode 100644 index 0000000000..e95f55b12f --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizEntityInfoResponse.java @@ -0,0 +1,556 @@ +/* + * 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.GetBizEntityInfoResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetBizEntityInfoResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private BizEntityInfo bizEntityInfo; + + 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 BizEntityInfo getBizEntityInfo() { + return this.bizEntityInfo; + } + + public void setBizEntityInfo(BizEntityInfo bizEntityInfo) { + this.bizEntityInfo = bizEntityInfo; + } + + public static class BizEntityInfo { + + private String type; + + private Long dataDomainId; + + private Long bizUnitId; + + private BizObject bizObject; + + private BizProcess bizProcess; + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public Long getDataDomainId() { + return this.dataDomainId; + } + + public void setDataDomainId(Long dataDomainId) { + this.dataDomainId = dataDomainId; + } + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + } + + public BizObject getBizObject() { + return this.bizObject; + } + + public void setBizObject(BizObject bizObject) { + this.bizObject = bizObject; + } + + public BizProcess getBizProcess() { + return this.bizProcess; + } + + public void setBizProcess(BizProcess bizProcess) { + this.bizProcess = bizProcess; + } + + public static class BizObject { + + private Long id; + + private String name; + + private String displayName; + + private String description; + + private String ownerUserId; + + private String ownerName; + + private String type; + + private Long parentId; + + private String gmtCreate; + + private String gmtModified; + + private String lastModifier; + + private String lastModifierName; + + private Integer refDimTableCount; + + private Integer refSummaryTableCount; + + private String onlineStatus; + + private String status; + + private String approvalId; + + private String approvalStatus; + + private List refBizEntityIdList; + + private List childBizEntityIdList; + + 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 getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public Long getParentId() { + return this.parentId; + } + + public void setParentId(Long parentId) { + this.parentId = parentId; + } + + public String getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public String getLastModifier() { + return this.lastModifier; + } + + public void setLastModifier(String lastModifier) { + this.lastModifier = lastModifier; + } + + public String getLastModifierName() { + return this.lastModifierName; + } + + public void setLastModifierName(String lastModifierName) { + this.lastModifierName = lastModifierName; + } + + public Integer getRefDimTableCount() { + return this.refDimTableCount; + } + + public void setRefDimTableCount(Integer refDimTableCount) { + this.refDimTableCount = refDimTableCount; + } + + public Integer getRefSummaryTableCount() { + return this.refSummaryTableCount; + } + + public void setRefSummaryTableCount(Integer refSummaryTableCount) { + this.refSummaryTableCount = refSummaryTableCount; + } + + public String getOnlineStatus() { + return this.onlineStatus; + } + + public void setOnlineStatus(String onlineStatus) { + this.onlineStatus = onlineStatus; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getApprovalId() { + return this.approvalId; + } + + public void setApprovalId(String approvalId) { + this.approvalId = approvalId; + } + + public String getApprovalStatus() { + return this.approvalStatus; + } + + public void setApprovalStatus(String approvalStatus) { + this.approvalStatus = approvalStatus; + } + + public List getRefBizEntityIdList() { + return this.refBizEntityIdList; + } + + public void setRefBizEntityIdList(List refBizEntityIdList) { + this.refBizEntityIdList = refBizEntityIdList; + } + + public List getChildBizEntityIdList() { + return this.childBizEntityIdList; + } + + public void setChildBizEntityIdList(List childBizEntityIdList) { + this.childBizEntityIdList = childBizEntityIdList; + } + } + + public static class BizProcess { + + private Long id; + + private String name; + + private String displayName; + + private String description; + + private String ownerUserId; + + private String ownerName; + + private String type; + + private String gmtCreate; + + private String gmtModified; + + private String lastModifier; + + private String lastModifierName; + + private Boolean hasDependent; + + private String onlineStatus; + + private String status; + + private String approvalId; + + private String approvalStatus; + + private Integer refFactTableCount; + + private List refBizEntityIdList1; + + private List bizEventEntityIdList; + + private List preBizProcessIdList; + + 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 getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public String getLastModifier() { + return this.lastModifier; + } + + public void setLastModifier(String lastModifier) { + this.lastModifier = lastModifier; + } + + public String getLastModifierName() { + return this.lastModifierName; + } + + public void setLastModifierName(String lastModifierName) { + this.lastModifierName = lastModifierName; + } + + public Boolean getHasDependent() { + return this.hasDependent; + } + + public void setHasDependent(Boolean hasDependent) { + this.hasDependent = hasDependent; + } + + public String getOnlineStatus() { + return this.onlineStatus; + } + + public void setOnlineStatus(String onlineStatus) { + this.onlineStatus = onlineStatus; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getApprovalId() { + return this.approvalId; + } + + public void setApprovalId(String approvalId) { + this.approvalId = approvalId; + } + + public String getApprovalStatus() { + return this.approvalStatus; + } + + public void setApprovalStatus(String approvalStatus) { + this.approvalStatus = approvalStatus; + } + + public Integer getRefFactTableCount() { + return this.refFactTableCount; + } + + public void setRefFactTableCount(Integer refFactTableCount) { + this.refFactTableCount = refFactTableCount; + } + + public List getRefBizEntityIdList1() { + return this.refBizEntityIdList1; + } + + public void setRefBizEntityIdList1(List refBizEntityIdList1) { + this.refBizEntityIdList1 = refBizEntityIdList1; + } + + public List getBizEventEntityIdList() { + return this.bizEventEntityIdList; + } + + public void setBizEventEntityIdList(List bizEventEntityIdList) { + this.bizEventEntityIdList = bizEventEntityIdList; + } + + public List getPreBizProcessIdList() { + return this.preBizProcessIdList; + } + + public void setPreBizProcessIdList(List preBizProcessIdList) { + this.preBizProcessIdList = preBizProcessIdList; + } + } + } + + @Override + public GetBizEntityInfoResponse getInstance(UnmarshallerContext context) { + return GetBizEntityInfoResponseUnmarshaller.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/GetBizUnitInfoRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizUnitInfoRequest.java new file mode 100644 index 0000000000..859caad475 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizUnitInfoRequest.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 GetBizUnitInfoRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long id; + public GetBizUnitInfoRequest() { + super("dataphin-public", "2023-06-30", "GetBizUnitInfo"); + 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 GetBizUnitInfoResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizUnitInfoResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizUnitInfoResponse.java new file mode 100644 index 0000000000..e55a60f0e8 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetBizUnitInfoResponse.java @@ -0,0 +1,336 @@ +/* + * 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.GetBizUnitInfoResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetBizUnitInfoResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private BizUnitInfo bizUnitInfo; + + 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 BizUnitInfo getBizUnitInfo() { + return this.bizUnitInfo; + } + + public void setBizUnitInfo(BizUnitInfo bizUnitInfo) { + this.bizUnitInfo = bizUnitInfo; + } + + public static class BizUnitInfo { + + private Long id; + + private String name; + + private String displayName; + + private String description; + + private String ownerUserId; + + private String ownerName; + + private String gmtCreate; + + private String gmtModified; + + private String lastModifier; + + private String lastModifierName; + + private String icon; + + private String mode; + + private Integer dataDomainCount; + + private Integer bizObjectCount; + + private Integer bizProcessCount; + + private List envList; + + private List accountList; + + private List businessLeaderList; + + private List dataLeaderList; + + 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 getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + public String getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public String getLastModifier() { + return this.lastModifier; + } + + public void setLastModifier(String lastModifier) { + this.lastModifier = lastModifier; + } + + public String getLastModifierName() { + return this.lastModifierName; + } + + public void setLastModifierName(String lastModifierName) { + this.lastModifierName = lastModifierName; + } + + public String getIcon() { + return this.icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public String getMode() { + return this.mode; + } + + public void setMode(String mode) { + this.mode = mode; + } + + public Integer getDataDomainCount() { + return this.dataDomainCount; + } + + public void setDataDomainCount(Integer dataDomainCount) { + this.dataDomainCount = dataDomainCount; + } + + public Integer getBizObjectCount() { + return this.bizObjectCount; + } + + public void setBizObjectCount(Integer bizObjectCount) { + this.bizObjectCount = bizObjectCount; + } + + public Integer getBizProcessCount() { + return this.bizProcessCount; + } + + public void setBizProcessCount(Integer bizProcessCount) { + this.bizProcessCount = bizProcessCount; + } + + public List getEnvList() { + return this.envList; + } + + public void setEnvList(List envList) { + this.envList = envList; + } + + public List getAccountList() { + return this.accountList; + } + + public void setAccountList(List accountList) { + this.accountList = accountList; + } + + public List getBusinessLeaderList() { + return this.businessLeaderList; + } + + public void setBusinessLeaderList(List businessLeaderList) { + this.businessLeaderList = businessLeaderList; + } + + public List getDataLeaderList() { + return this.dataLeaderList; + } + + public void setDataLeaderList(List dataLeaderList) { + this.dataLeaderList = dataLeaderList; + } + + public static class EnvName { + + private String envName; + + private String name; + + private String displayName; + + public String getEnvName() { + return this.envName; + } + + public void setEnvName(String envName) { + this.envName = envName; + } + + 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 static class User { + + private String id; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + } + } + + @Override + public GetBizUnitInfoResponse getInstance(UnmarshallerContext context) { + return GetBizUnitInfoResponseUnmarshaller.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/GetClusterQueueInfoByEnvRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetClusterQueueInfoByEnvRequest.java new file mode 100644 index 0000000000..5dd52ccdeb --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetClusterQueueInfoByEnvRequest.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 GetClusterQueueInfoByEnvRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String env; + + private Long projectId; + + private String streamBatchMode; + public GetClusterQueueInfoByEnvRequest() { + super("dataphin-public", "2023-06-30", "GetClusterQueueInfoByEnv"); + 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 Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + if(projectId != null){ + putQueryParameter("ProjectId", projectId.toString()); + } + } + + public String getStreamBatchMode() { + return this.streamBatchMode; + } + + public void setStreamBatchMode(String streamBatchMode) { + this.streamBatchMode = streamBatchMode; + if(streamBatchMode != null){ + putQueryParameter("StreamBatchMode", streamBatchMode); + } + } + + @Override + public Class getResponseClass() { + return GetClusterQueueInfoByEnvResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetClusterQueueInfoByEnvResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetClusterQueueInfoByEnvResponse.java new file mode 100644 index 0000000000..3aa26c9255 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetClusterQueueInfoByEnvResponse.java @@ -0,0 +1,250 @@ +/* + * 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.GetClusterQueueInfoByEnvResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetClusterQueueInfoByEnvResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List 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 List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + public static class DataItem { + + private String clusterId; + + private String queueName; + + private String maxVcore; + + private String namespace; + + private String createAt; + + private String modifiedAt; + + private String annotations; + + private String labels; + + private String resourceVersion; + + private String spec; + + private String vvpClusterType; + + private String flinkVersion; + + private String flinkImageRegistry; + + private String flinkImageRepository; + + private String flinkImageTag; + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + } + + public String getQueueName() { + return this.queueName; + } + + public void setQueueName(String queueName) { + this.queueName = queueName; + } + + public String getMaxVcore() { + return this.maxVcore; + } + + public void setMaxVcore(String maxVcore) { + this.maxVcore = maxVcore; + } + + public String getNamespace() { + return this.namespace; + } + + public void setNamespace(String namespace) { + this.namespace = namespace; + } + + public String getCreateAt() { + return this.createAt; + } + + public void setCreateAt(String createAt) { + this.createAt = createAt; + } + + public String getModifiedAt() { + return this.modifiedAt; + } + + public void setModifiedAt(String modifiedAt) { + this.modifiedAt = modifiedAt; + } + + public String getAnnotations() { + return this.annotations; + } + + public void setAnnotations(String annotations) { + this.annotations = annotations; + } + + public String getLabels() { + return this.labels; + } + + public void setLabels(String labels) { + this.labels = labels; + } + + public String getResourceVersion() { + return this.resourceVersion; + } + + public void setResourceVersion(String resourceVersion) { + this.resourceVersion = resourceVersion; + } + + public String getSpec() { + return this.spec; + } + + public void setSpec(String spec) { + this.spec = spec; + } + + public String getVvpClusterType() { + return this.vvpClusterType; + } + + public void setVvpClusterType(String vvpClusterType) { + this.vvpClusterType = vvpClusterType; + } + + public String getFlinkVersion() { + return this.flinkVersion; + } + + public void setFlinkVersion(String flinkVersion) { + this.flinkVersion = flinkVersion; + } + + public String getFlinkImageRegistry() { + return this.flinkImageRegistry; + } + + public void setFlinkImageRegistry(String flinkImageRegistry) { + this.flinkImageRegistry = flinkImageRegistry; + } + + public String getFlinkImageRepository() { + return this.flinkImageRepository; + } + + public void setFlinkImageRepository(String flinkImageRepository) { + this.flinkImageRepository = flinkImageRepository; + } + + public String getFlinkImageTag() { + return this.flinkImageTag; + } + + public void setFlinkImageTag(String flinkImageTag) { + this.flinkImageTag = flinkImageTag; + } + } + + @Override + public GetClusterQueueInfoByEnvResponse getInstance(UnmarshallerContext context) { + return GetClusterQueueInfoByEnvResponseUnmarshaller.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/GetDataDomainInfoRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDataDomainInfoRequest.java new file mode 100644 index 0000000000..6a45c6ee26 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDataDomainInfoRequest.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 GetDataDomainInfoRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long id; + public GetDataDomainInfoRequest() { + super("dataphin-public", "2023-06-30", "GetDataDomainInfo"); + 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 GetDataDomainInfoResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDataDomainInfoResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDataDomainInfoResponse.java new file mode 100644 index 0000000000..3815508e9e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDataDomainInfoResponse.java @@ -0,0 +1,229 @@ +/* + * 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.GetDataDomainInfoResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetDataDomainInfoResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private DataDomainInfo dataDomainInfo; + + 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 DataDomainInfo getDataDomainInfo() { + return this.dataDomainInfo; + } + + public void setDataDomainInfo(DataDomainInfo dataDomainInfo) { + this.dataDomainInfo = dataDomainInfo; + } + + public static class DataDomainInfo { + + private Long id; + + private Long bizUnitId; + + private String name; + + private String displayName; + + private String abbreviation; + + private String description; + + private String ownerUserId; + + private String ownerName; + + private String gmtCreate; + + private String gmtModified; + + private String lastModifier; + + private String lastModifierName; + + private Long parentId; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + } + + 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 getAbbreviation() { + return this.abbreviation; + } + + public void setAbbreviation(String abbreviation) { + this.abbreviation = abbreviation; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + public String getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public String getLastModifier() { + return this.lastModifier; + } + + public void setLastModifier(String lastModifier) { + this.lastModifier = lastModifier; + } + + public String getLastModifierName() { + return this.lastModifierName; + } + + public void setLastModifierName(String lastModifierName) { + this.lastModifierName = lastModifierName; + } + + public Long getParentId() { + return this.parentId; + } + + public void setParentId(Long parentId) { + this.parentId = parentId; + } + } + + @Override + public GetDataDomainInfoResponse getInstance(UnmarshallerContext context) { + return GetDataDomainInfoResponseUnmarshaller.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/GetDirectoryTreeRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDirectoryTreeRequest.java new file mode 100644 index 0000000000..feddaf8a33 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDirectoryTreeRequest.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 GetDirectoryTreeRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String category; + + private Long projectId; + public GetDirectoryTreeRequest() { + super("dataphin-public", "2023-06-30", "GetDirectoryTree"); + 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 getCategory() { + return this.category; + } + + public void setCategory(String category) { + this.category = category; + if(category != null){ + putQueryParameter("Category", category); + } + } + + 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 GetDirectoryTreeResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDirectoryTreeResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDirectoryTreeResponse.java new file mode 100644 index 0000000000..6dcf532540 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetDirectoryTreeResponse.java @@ -0,0 +1,406 @@ +/* + * 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.GetDirectoryTreeResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetDirectoryTreeResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List 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 List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + public static class DataItem { + + private Parent parent; + + private Children children; + + public Parent getParent() { + return this.parent; + } + + public void setParent(Parent parent) { + this.parent = parent; + } + + public Children getChildren() { + return this.children; + } + + public void setChildren(Children children) { + this.children = children; + } + + public static class Parent { + + private Long id; + + private String stringId; + + private Long projectId; + + private String categoryType; + + private Long dataCellId; + + private String dirName; + + private String name; + + private String type; + + private String creator; + + private String creatorName; + + private String gmtCreate; + + private String gmtModified; + + private String lastModifier; + + private String lastModifierName; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getStringId() { + return this.stringId; + } + + public void setStringId(String stringId) { + this.stringId = stringId; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public String getCategoryType() { + return this.categoryType; + } + + public void setCategoryType(String categoryType) { + this.categoryType = categoryType; + } + + public Long getDataCellId() { + return this.dataCellId; + } + + public void setDataCellId(Long dataCellId) { + this.dataCellId = dataCellId; + } + + public String getDirName() { + return this.dirName; + } + + public void setDirName(String dirName) { + this.dirName = dirName; + } + + 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 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 getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public String getLastModifier() { + return this.lastModifier; + } + + public void setLastModifier(String lastModifier) { + this.lastModifier = lastModifier; + } + + public String getLastModifierName() { + return this.lastModifierName; + } + + public void setLastModifierName(String lastModifierName) { + this.lastModifierName = lastModifierName; + } + } + + public static class Children { + + private Long id; + + private String stringId; + + private Long projectId; + + private String categoryType; + + private Long dataCellId; + + private String dirName; + + private String name; + + private String type; + + private String creator; + + private String creatorName; + + private String gmtCreate; + + private String gmtModified; + + private String lastModifier; + + private String lastModifierName; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getStringId() { + return this.stringId; + } + + public void setStringId(String stringId) { + this.stringId = stringId; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public String getCategoryType() { + return this.categoryType; + } + + public void setCategoryType(String categoryType) { + this.categoryType = categoryType; + } + + public Long getDataCellId() { + return this.dataCellId; + } + + public void setDataCellId(Long dataCellId) { + this.dataCellId = dataCellId; + } + + public String getDirName() { + return this.dirName; + } + + public void setDirName(String dirName) { + this.dirName = dirName; + } + + 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 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 getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public String getLastModifier() { + return this.lastModifier; + } + + public void setLastModifier(String lastModifier) { + this.lastModifier = lastModifier; + } + + public String getLastModifierName() { + return this.lastModifierName; + } + + public void setLastModifierName(String lastModifierName) { + this.lastModifierName = lastModifierName; + } + } + } + + @Override + public GetDirectoryTreeResponse getInstance(UnmarshallerContext context) { + return GetDirectoryTreeResponseUnmarshaller.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/GetLatestSubmitDetailRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetLatestSubmitDetailRequest.java new file mode 100644 index 0000000000..eac9a2d799 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetLatestSubmitDetailRequest.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 GetLatestSubmitDetailRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("submitDetailQuery") + private SubmitDetailQuery submitDetailQuery; + public GetLatestSubmitDetailRequest() { + super("dataphin-public", "2023-06-30", "GetLatestSubmitDetail"); + 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 SubmitDetailQuery getSubmitDetailQuery() { + return this.submitDetailQuery; + } + + public void setSubmitDetailQuery(SubmitDetailQuery submitDetailQuery) { + this.submitDetailQuery = submitDetailQuery; + if (submitDetailQuery != null) { + putBodyParameter("SubmitDetailQuery" , new Gson().toJson(submitDetailQuery)); + } + } + + public static class SubmitDetailQuery { + + @SerializedName("ObjectType") + private String objectType; + + @SerializedName("ObjectId") + private String objectId; + + public String getObjectType() { + return this.objectType; + } + + public void setObjectType(String objectType) { + this.objectType = objectType; + } + + public String getObjectId() { + return this.objectId; + } + + public void setObjectId(String objectId) { + this.objectId = objectId; + } + } + + @Override + public Class getResponseClass() { + return GetLatestSubmitDetailResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetLatestSubmitDetailResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetLatestSubmitDetailResponse.java new file mode 100644 index 0000000000..7af8e5bc28 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetLatestSubmitDetailResponse.java @@ -0,0 +1,245 @@ +/* + * 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.GetLatestSubmitDetailResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetLatestSubmitDetailResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private SubmitDetailResult submitDetailResult; + + 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 SubmitDetailResult getSubmitDetailResult() { + return this.submitDetailResult; + } + + public void setSubmitDetailResult(SubmitDetailResult submitDetailResult) { + this.submitDetailResult = submitDetailResult; + } + + public static class SubmitDetailResult { + + private Long id; + + private String submitStatus; + + private String publishStatus; + + private String tag; + + private ReleaseObject releaseObject; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getSubmitStatus() { + return this.submitStatus; + } + + public void setSubmitStatus(String submitStatus) { + this.submitStatus = submitStatus; + } + + public String getPublishStatus() { + return this.publishStatus; + } + + public void setPublishStatus(String publishStatus) { + this.publishStatus = publishStatus; + } + + public String getTag() { + return this.tag; + } + + public void setTag(String tag) { + this.tag = tag; + } + + public ReleaseObject getReleaseObject() { + return this.releaseObject; + } + + public void setReleaseObject(ReleaseObject releaseObject) { + this.releaseObject = releaseObject; + } + + public static class ReleaseObject { + + private String objectVersion; + + private String changeType; + + private Long projectId; + + private String nodeId; + + private String submitComment; + + private SubmitObject submitObject; + + public String getObjectVersion() { + return this.objectVersion; + } + + public void setObjectVersion(String objectVersion) { + this.objectVersion = objectVersion; + } + + public String getChangeType() { + return this.changeType; + } + + public void setChangeType(String changeType) { + this.changeType = changeType; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public String getSubmitComment() { + return this.submitComment; + } + + public void setSubmitComment(String submitComment) { + this.submitComment = submitComment; + } + + public SubmitObject getSubmitObject() { + return this.submitObject; + } + + public void setSubmitObject(SubmitObject submitObject) { + this.submitObject = submitObject; + } + + public static class SubmitObject { + + private String objectId; + + private String objectType; + + private String objectName; + + public String getObjectId() { + return this.objectId; + } + + public void setObjectId(String objectId) { + this.objectId = objectId; + } + + public String getObjectType() { + return this.objectType; + } + + public void setObjectType(String objectType) { + this.objectType = objectType; + } + + public String getObjectName() { + return this.objectName; + } + + public void setObjectName(String objectName) { + this.objectName = objectName; + } + } + } + } + + @Override + public GetLatestSubmitDetailResponse getInstance(UnmarshallerContext context) { + return GetLatestSubmitDetailResponseUnmarshaller.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/GetQueueEngineVersionByEnvRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetQueueEngineVersionByEnvRequest.java new file mode 100644 index 0000000000..d396502272 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetQueueEngineVersionByEnvRequest.java @@ -0,0 +1,116 @@ +/* + * 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 GetQueueEngineVersionByEnvRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String queueName; + + private String clusterId; + + private String env; + + private Long projectId; + + private String streamBatchMode; + public GetQueueEngineVersionByEnvRequest() { + super("dataphin-public", "2023-06-30", "GetQueueEngineVersionByEnv"); + 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 getQueueName() { + return this.queueName; + } + + public void setQueueName(String queueName) { + this.queueName = queueName; + if(queueName != null){ + putQueryParameter("QueueName", queueName); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + 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 String getStreamBatchMode() { + return this.streamBatchMode; + } + + public void setStreamBatchMode(String streamBatchMode) { + this.streamBatchMode = streamBatchMode; + if(streamBatchMode != null){ + putQueryParameter("StreamBatchMode", streamBatchMode); + } + } + + @Override + public Class getResponseClass() { + return GetQueueEngineVersionByEnvResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetQueueEngineVersionByEnvResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetQueueEngineVersionByEnvResponse.java new file mode 100644 index 0000000000..7562418e20 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/GetQueueEngineVersionByEnvResponse.java @@ -0,0 +1,97 @@ +/* + * 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.GetQueueEngineVersionByEnvResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetQueueEngineVersionByEnvResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private List 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 List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + @Override + public GetQueueEngineVersionByEnvResponse getInstance(UnmarshallerContext context) { + return GetQueueEngineVersionByEnvResponseUnmarshaller.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/ListAlertEventsRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAlertEventsRequest.java new file mode 100644 index 0000000000..d1318bd465 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAlertEventsRequest.java @@ -0,0 +1,214 @@ +/* + * 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 ListAlertEventsRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("listQuery") + private ListQuery listQuery; + public ListAlertEventsRequest() { + super("dataphin-public", "2023-06-30", "ListAlertEvents"); + 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("StatusList") + private List statusList; + + @SerializedName("AlertEndTime") + private String alertEndTime; + + @SerializedName("ProjectNameList") + private List projectNameList; + + @SerializedName("UserIdList") + private List userIdList; + + @SerializedName("AlertObjectTypeList") + private List alertObjectTypeList; + + @SerializedName("SourceSystem") + private String sourceSystem; + + @SerializedName("BizNameList") + private List bizNameList; + + @SerializedName("PageSize") + private Integer pageSize; + + @SerializedName("AlertStartTime") + private String alertStartTime; + + @SerializedName("Page") + private Integer page; + + @SerializedName("MonitoredItemIdList") + private List monitoredItemIdList; + + @SerializedName("Keyword") + private String keyword; + + @SerializedName("AlertReasonList") + private List alertReasonList; + + public List getStatusList() { + return this.statusList; + } + + public void setStatusList(List statusList) { + this.statusList = statusList; + } + + public String getAlertEndTime() { + return this.alertEndTime; + } + + public void setAlertEndTime(String alertEndTime) { + this.alertEndTime = alertEndTime; + } + + public List getProjectNameList() { + return this.projectNameList; + } + + public void setProjectNameList(List projectNameList) { + this.projectNameList = projectNameList; + } + + public List getUserIdList() { + return this.userIdList; + } + + public void setUserIdList(List userIdList) { + this.userIdList = userIdList; + } + + public List getAlertObjectTypeList() { + return this.alertObjectTypeList; + } + + public void setAlertObjectTypeList(List alertObjectTypeList) { + this.alertObjectTypeList = alertObjectTypeList; + } + + public String getSourceSystem() { + return this.sourceSystem; + } + + public void setSourceSystem(String sourceSystem) { + this.sourceSystem = sourceSystem; + } + + public List getBizNameList() { + return this.bizNameList; + } + + public void setBizNameList(List bizNameList) { + this.bizNameList = bizNameList; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public String getAlertStartTime() { + return this.alertStartTime; + } + + public void setAlertStartTime(String alertStartTime) { + this.alertStartTime = alertStartTime; + } + + public Integer getPage() { + return this.page; + } + + public void setPage(Integer page) { + this.page = page; + } + + public List getMonitoredItemIdList() { + return this.monitoredItemIdList; + } + + public void setMonitoredItemIdList(List monitoredItemIdList) { + this.monitoredItemIdList = monitoredItemIdList; + } + + public String getKeyword() { + return this.keyword; + } + + public void setKeyword(String keyword) { + this.keyword = keyword; + } + + public List getAlertReasonList() { + return this.alertReasonList; + } + + public void setAlertReasonList(List alertReasonList) { + this.alertReasonList = alertReasonList; + } + } + + @Override + public Class getResponseClass() { + return ListAlertEventsResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAlertEventsResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAlertEventsResponse.java new file mode 100644 index 0000000000..21243af803 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAlertEventsResponse.java @@ -0,0 +1,464 @@ +/* + * 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.ListAlertEventsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListAlertEventsResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private ListResult listResult; + + 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 ListResult getListResult() { + return this.listResult; + } + + public void setListResult(ListResult listResult) { + this.listResult = listResult; + } + + public static class ListResult { + + 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 AlertEventInfo { + + private String id; + + private String latestAlertTime; + + private String firstAlertTime; + + private String status; + + private String alertFrequency; + + private Long totalAlertTimes; + + private String doNotDisturbEndTime; + + private List alertReceiverList; + + private AlertObject alertObject; + + private AlertReason alertReason; + + private BelongProject belongProject; + + private UrlConfig urlConfig; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + + public String getLatestAlertTime() { + return this.latestAlertTime; + } + + public void setLatestAlertTime(String latestAlertTime) { + this.latestAlertTime = latestAlertTime; + } + + public String getFirstAlertTime() { + return this.firstAlertTime; + } + + public void setFirstAlertTime(String firstAlertTime) { + this.firstAlertTime = firstAlertTime; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getAlertFrequency() { + return this.alertFrequency; + } + + public void setAlertFrequency(String alertFrequency) { + this.alertFrequency = alertFrequency; + } + + public Long getTotalAlertTimes() { + return this.totalAlertTimes; + } + + public void setTotalAlertTimes(Long totalAlertTimes) { + this.totalAlertTimes = totalAlertTimes; + } + + public String getDoNotDisturbEndTime() { + return this.doNotDisturbEndTime; + } + + public void setDoNotDisturbEndTime(String doNotDisturbEndTime) { + this.doNotDisturbEndTime = doNotDisturbEndTime; + } + + public List getAlertReceiverList() { + return this.alertReceiverList; + } + + public void setAlertReceiverList(List alertReceiverList) { + this.alertReceiverList = alertReceiverList; + } + + public AlertObject getAlertObject() { + return this.alertObject; + } + + public void setAlertObject(AlertObject alertObject) { + this.alertObject = alertObject; + } + + public AlertReason getAlertReason() { + return this.alertReason; + } + + public void setAlertReason(AlertReason alertReason) { + this.alertReason = alertReason; + } + + public BelongProject getBelongProject() { + return this.belongProject; + } + + public void setBelongProject(BelongProject belongProject) { + this.belongProject = belongProject; + } + + public UrlConfig getUrlConfig() { + return this.urlConfig; + } + + public void setUrlConfig(UrlConfig urlConfig) { + this.urlConfig = urlConfig; + } + + public static class AlertReceiver { + + private String type; + + private String onCallTableName; + + private List userList; + + private List alertChannelTypeList; + + private List customAlertChannelIdList; + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getOnCallTableName() { + return this.onCallTableName; + } + + public void setOnCallTableName(String onCallTableName) { + this.onCallTableName = onCallTableName; + } + + public List getUserList() { + return this.userList; + } + + public void setUserList(List userList) { + this.userList = userList; + } + + public List getAlertChannelTypeList() { + return this.alertChannelTypeList; + } + + public void setAlertChannelTypeList(List alertChannelTypeList) { + this.alertChannelTypeList = alertChannelTypeList; + } + + public List getCustomAlertChannelIdList() { + return this.customAlertChannelIdList; + } + + public void setCustomAlertChannelIdList(List customAlertChannelIdList) { + this.customAlertChannelIdList = customAlertChannelIdList; + } + + public static class User { + + private String name; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + } + + public static class AlertObject { + + private String sourceSystemType; + + private String name; + + private String type; + + public String getSourceSystemType() { + return this.sourceSystemType; + } + + public void setSourceSystemType(String sourceSystemType) { + this.sourceSystemType = sourceSystemType; + } + + 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 AlertReason { + + private String type; + + private String bizDate; + + private String uniqueKey; + + private List alertReasonParamList; + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getBizDate() { + return this.bizDate; + } + + public void setBizDate(String bizDate) { + this.bizDate = bizDate; + } + + public String getUniqueKey() { + return this.uniqueKey; + } + + public void setUniqueKey(String uniqueKey) { + this.uniqueKey = uniqueKey; + } + + public List getAlertReasonParamList() { + return this.alertReasonParamList; + } + + public void setAlertReasonParamList(List alertReasonParamList) { + this.alertReasonParamList = alertReasonParamList; + } + + public static class AlertReasonParam { + + 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 BelongProject { + + private String projectName; + + private String bizName; + + public String getProjectName() { + return this.projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public String getBizName() { + return this.bizName; + } + + public void setBizName(String bizName) { + this.bizName = bizName; + } + } + + public static class UrlConfig { + + private String objectUrl; + + private String logUrl; + + private String alertConfigUrl; + + public String getObjectUrl() { + return this.objectUrl; + } + + public void setObjectUrl(String objectUrl) { + this.objectUrl = objectUrl; + } + + public String getLogUrl() { + return this.logUrl; + } + + public void setLogUrl(String logUrl) { + this.logUrl = logUrl; + } + + public String getAlertConfigUrl() { + return this.alertConfigUrl; + } + + public void setAlertConfigUrl(String alertConfigUrl) { + this.alertConfigUrl = alertConfigUrl; + } + } + } + } + + @Override + public ListAlertEventsResponse getInstance(UnmarshallerContext context) { + return ListAlertEventsResponseUnmarshaller.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/ListAlertNotificationsRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAlertNotificationsRequest.java new file mode 100644 index 0000000000..ad17fb05fe --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAlertNotificationsRequest.java @@ -0,0 +1,203 @@ +/* + * 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 ListAlertNotificationsRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("listQuery") + private ListQuery listQuery; + public ListAlertNotificationsRequest() { + super("dataphin-public", "2023-06-30", "ListAlertNotifications"); + 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("NotifyStartTime") + private String notifyStartTime; + + @SerializedName("StatusList") + private List statusList; + + @SerializedName("NotifyEndTime") + private String notifyEndTime; + + @SerializedName("UserIdList") + private List userIdList; + + @SerializedName("PageSize") + private Integer pageSize; + + @SerializedName("Page") + private Integer page; + + @SerializedName("MonitoredItemIdList") + private List monitoredItemIdList; + + @SerializedName("Keyword") + private String keyword; + + @SerializedName("ChannelTypeList") + private List channelTypeList; + + @SerializedName("CustomChannelIdList") + private List customChannelIdList; + + @SerializedName("SourceSystem") + private String sourceSystem; + + @SerializedName("AlertReasonList") + private List alertReasonList; + + public String getNotifyStartTime() { + return this.notifyStartTime; + } + + public void setNotifyStartTime(String notifyStartTime) { + this.notifyStartTime = notifyStartTime; + } + + public List getStatusList() { + return this.statusList; + } + + public void setStatusList(List statusList) { + this.statusList = statusList; + } + + public String getNotifyEndTime() { + return this.notifyEndTime; + } + + public void setNotifyEndTime(String notifyEndTime) { + this.notifyEndTime = notifyEndTime; + } + + 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 Integer getPage() { + return this.page; + } + + public void setPage(Integer page) { + this.page = page; + } + + public List getMonitoredItemIdList() { + return this.monitoredItemIdList; + } + + public void setMonitoredItemIdList(List monitoredItemIdList) { + this.monitoredItemIdList = monitoredItemIdList; + } + + public String getKeyword() { + return this.keyword; + } + + public void setKeyword(String keyword) { + this.keyword = keyword; + } + + public List getChannelTypeList() { + return this.channelTypeList; + } + + public void setChannelTypeList(List channelTypeList) { + this.channelTypeList = channelTypeList; + } + + public List getCustomChannelIdList() { + return this.customChannelIdList; + } + + public void setCustomChannelIdList(List customChannelIdList) { + this.customChannelIdList = customChannelIdList; + } + + public String getSourceSystem() { + return this.sourceSystem; + } + + public void setSourceSystem(String sourceSystem) { + this.sourceSystem = sourceSystem; + } + + public List getAlertReasonList() { + return this.alertReasonList; + } + + public void setAlertReasonList(List alertReasonList) { + this.alertReasonList = alertReasonList; + } + } + + @Override + public Class getResponseClass() { + return ListAlertNotificationsResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAlertNotificationsResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAlertNotificationsResponse.java new file mode 100644 index 0000000000..7f70e81be3 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListAlertNotificationsResponse.java @@ -0,0 +1,391 @@ +/* + * 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.ListAlertNotificationsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListAlertNotificationsResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private ListResult listResult; + + 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 ListResult getListResult() { + return this.listResult; + } + + public void setListResult(ListResult listResult) { + this.listResult = listResult; + } + + public static class ListResult { + + 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 AlertNotificationInfo { + + private String alertEventId; + + private AlertObject alertObject; + + private AlertReason alertReason; + + private AlertReceiver alertReceiver; + + private AlertSend alertSend; + + public String getAlertEventId() { + return this.alertEventId; + } + + public void setAlertEventId(String alertEventId) { + this.alertEventId = alertEventId; + } + + public AlertObject getAlertObject() { + return this.alertObject; + } + + public void setAlertObject(AlertObject alertObject) { + this.alertObject = alertObject; + } + + public AlertReason getAlertReason() { + return this.alertReason; + } + + public void setAlertReason(AlertReason alertReason) { + this.alertReason = alertReason; + } + + public AlertReceiver getAlertReceiver() { + return this.alertReceiver; + } + + public void setAlertReceiver(AlertReceiver alertReceiver) { + this.alertReceiver = alertReceiver; + } + + public AlertSend getAlertSend() { + return this.alertSend; + } + + public void setAlertSend(AlertSend alertSend) { + this.alertSend = alertSend; + } + + public static class AlertObject { + + private String sourceSystemType; + + private String name; + + private String type; + + public String getSourceSystemType() { + return this.sourceSystemType; + } + + public void setSourceSystemType(String sourceSystemType) { + this.sourceSystemType = sourceSystemType; + } + + 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 AlertReason { + + private String type; + + private String bizDate; + + private String uniqueKey; + + private List alertReasonParamList; + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getBizDate() { + return this.bizDate; + } + + public void setBizDate(String bizDate) { + this.bizDate = bizDate; + } + + public String getUniqueKey() { + return this.uniqueKey; + } + + public void setUniqueKey(String uniqueKey) { + this.uniqueKey = uniqueKey; + } + + public List getAlertReasonParamList() { + return this.alertReasonParamList; + } + + public void setAlertReasonParamList(List alertReasonParamList) { + this.alertReasonParamList = alertReasonParamList; + } + + public static class AlertReasonParam { + + 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 AlertReceiver { + + private String alertChannelType; + + private String customAlertChannelId; + + private String type; + + private String onCallTableId; + + private String onCallTableName; + + private User user; + + public String getAlertChannelType() { + return this.alertChannelType; + } + + public void setAlertChannelType(String alertChannelType) { + this.alertChannelType = alertChannelType; + } + + public String getCustomAlertChannelId() { + return this.customAlertChannelId; + } + + public void setCustomAlertChannelId(String customAlertChannelId) { + this.customAlertChannelId = customAlertChannelId; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getOnCallTableId() { + return this.onCallTableId; + } + + public void setOnCallTableId(String onCallTableId) { + this.onCallTableId = onCallTableId; + } + + public String getOnCallTableName() { + return this.onCallTableName; + } + + public void setOnCallTableName(String onCallTableName) { + this.onCallTableName = onCallTableName; + } + + public User getUser() { + return this.user; + } + + public void setUser(User user) { + this.user = user; + } + + public static class User { + + private String name; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + } + + public static class AlertSend { + + private String status; + + private String failReason; + + private String sendTime; + + private String sendContent; + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getFailReason() { + return this.failReason; + } + + public void setFailReason(String failReason) { + this.failReason = failReason; + } + + public String getSendTime() { + return this.sendTime; + } + + public void setSendTime(String sendTime) { + this.sendTime = sendTime; + } + + public String getSendContent() { + return this.sendContent; + } + + public void setSendContent(String sendContent) { + this.sendContent = sendContent; + } + } + } + } + + @Override + public ListAlertNotificationsResponse getInstance(UnmarshallerContext context) { + return ListAlertNotificationsResponseUnmarshaller.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/ListBizEntitiesRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListBizEntitiesRequest.java new file mode 100644 index 0000000000..6921afbf69 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListBizEntitiesRequest.java @@ -0,0 +1,206 @@ +/* + * 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 ListBizEntitiesRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("listQuery") + private ListQuery listQuery; + public ListBizEntitiesRequest() { + super("dataphin-public", "2023-06-30", "ListBizEntities"); + 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("PageSize") + private Integer pageSize; + + @SerializedName("Page") + private Integer page; + + @SerializedName("Keyword") + private String keyword; + + @SerializedName("FilterCriteria") + private FilterCriteria filterCriteria; + + 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; + } + + public String getKeyword() { + return this.keyword; + } + + public void setKeyword(String keyword) { + this.keyword = keyword; + } + + public FilterCriteria getFilterCriteria() { + return this.filterCriteria; + } + + public void setFilterCriteria(FilterCriteria filterCriteria) { + this.filterCriteria = filterCriteria; + } + + public static class FilterCriteria { + + @SerializedName("SubTypeList") + private List subTypeList; + + @SerializedName("StatusList") + private List statusList; + + @SerializedName("HasTableRef") + private Boolean hasTableRef; + + @SerializedName("OwnerUserIdList") + private List ownerUserIdList; + + @SerializedName("BizUnitIdList") + private List bizUnitIdList; + + @SerializedName("DataDomainIdList") + private List dataDomainIdList; + + @SerializedName("BizUnitNameList") + private List bizUnitNameList; + + @SerializedName("DataDomainNameList") + private List dataDomainNameList; + + public List getSubTypeList() { + return this.subTypeList; + } + + public void setSubTypeList(List subTypeList) { + this.subTypeList = subTypeList; + } + + public List getStatusList() { + return this.statusList; + } + + public void setStatusList(List statusList) { + this.statusList = statusList; + } + + public Boolean getHasTableRef() { + return this.hasTableRef; + } + + public void setHasTableRef(Boolean hasTableRef) { + this.hasTableRef = hasTableRef; + } + + public List getOwnerUserIdList() { + return this.ownerUserIdList; + } + + public void setOwnerUserIdList(List ownerUserIdList) { + this.ownerUserIdList = ownerUserIdList; + } + + public List getBizUnitIdList() { + return this.bizUnitIdList; + } + + public void setBizUnitIdList(List bizUnitIdList) { + this.bizUnitIdList = bizUnitIdList; + } + + public List getDataDomainIdList() { + return this.dataDomainIdList; + } + + public void setDataDomainIdList(List dataDomainIdList) { + this.dataDomainIdList = dataDomainIdList; + } + + public List getBizUnitNameList() { + return this.bizUnitNameList; + } + + public void setBizUnitNameList(List bizUnitNameList) { + this.bizUnitNameList = bizUnitNameList; + } + + public List getDataDomainNameList() { + return this.dataDomainNameList; + } + + public void setDataDomainNameList(List dataDomainNameList) { + this.dataDomainNameList = dataDomainNameList; + } + } + } + + @Override + public Class getResponseClass() { + return ListBizEntitiesResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListBizEntitiesResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListBizEntitiesResponse.java new file mode 100644 index 0000000000..293a0e6a4e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListBizEntitiesResponse.java @@ -0,0 +1,353 @@ +/* + * 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.ListBizEntitiesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListBizEntitiesResponse 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 bizEntityList; + + public Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public List getBizEntityList() { + return this.bizEntityList; + } + + public void setBizEntityList(List bizEntityList) { + this.bizEntityList = bizEntityList; + } + + public static class BizEntityInfo { + + private Long id; + + private String name; + + private String displayName; + + private String description; + + private String ownerUserId; + + private String ownerName; + + private String type; + + private String subType; + + private Long dataDomainId; + + private Long bizUnitId; + + private String gmtCreate; + + private String gmtModified; + + private String lastModifier; + + private String lastModifierName; + + private String onlineStatus; + + private String status; + + private Integer refTableCount; + + private Boolean hasChildBizEntity; + + private Boolean levelSubBizObject; + + private List refBizEntityIdList; + + private List belongToBizEntityIdList; + + private List childBizEntityIdList; + + private List suffixBizEntityIdList; + + 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 getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public String getSubType() { + return this.subType; + } + + public void setSubType(String subType) { + this.subType = subType; + } + + public Long getDataDomainId() { + return this.dataDomainId; + } + + public void setDataDomainId(Long dataDomainId) { + this.dataDomainId = dataDomainId; + } + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + } + + public String getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public String getLastModifier() { + return this.lastModifier; + } + + public void setLastModifier(String lastModifier) { + this.lastModifier = lastModifier; + } + + public String getLastModifierName() { + return this.lastModifierName; + } + + public void setLastModifierName(String lastModifierName) { + this.lastModifierName = lastModifierName; + } + + public String getOnlineStatus() { + return this.onlineStatus; + } + + public void setOnlineStatus(String onlineStatus) { + this.onlineStatus = onlineStatus; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public Integer getRefTableCount() { + return this.refTableCount; + } + + public void setRefTableCount(Integer refTableCount) { + this.refTableCount = refTableCount; + } + + public Boolean getHasChildBizEntity() { + return this.hasChildBizEntity; + } + + public void setHasChildBizEntity(Boolean hasChildBizEntity) { + this.hasChildBizEntity = hasChildBizEntity; + } + + public Boolean getLevelSubBizObject() { + return this.levelSubBizObject; + } + + public void setLevelSubBizObject(Boolean levelSubBizObject) { + this.levelSubBizObject = levelSubBizObject; + } + + public List getRefBizEntityIdList() { + return this.refBizEntityIdList; + } + + public void setRefBizEntityIdList(List refBizEntityIdList) { + this.refBizEntityIdList = refBizEntityIdList; + } + + public List getBelongToBizEntityIdList() { + return this.belongToBizEntityIdList; + } + + public void setBelongToBizEntityIdList(List belongToBizEntityIdList) { + this.belongToBizEntityIdList = belongToBizEntityIdList; + } + + public List getChildBizEntityIdList() { + return this.childBizEntityIdList; + } + + public void setChildBizEntityIdList(List childBizEntityIdList) { + this.childBizEntityIdList = childBizEntityIdList; + } + + public List getSuffixBizEntityIdList() { + return this.suffixBizEntityIdList; + } + + public void setSuffixBizEntityIdList(List suffixBizEntityIdList) { + this.suffixBizEntityIdList = suffixBizEntityIdList; + } + } + } + + @Override + public ListBizEntitiesResponse getInstance(UnmarshallerContext context) { + return ListBizEntitiesResponseUnmarshaller.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/ListBizUnitsRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListBizUnitsRequest.java new file mode 100644 index 0000000000..d74ad4dc41 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListBizUnitsRequest.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 ListBizUnitsRequest extends RpcAcsRequest { + + + private Long opTenantId; + public ListBizUnitsRequest() { + super("dataphin-public", "2023-06-30", "ListBizUnits"); + 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 ListBizUnitsResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListBizUnitsResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListBizUnitsResponse.java new file mode 100644 index 0000000000..7e36f9c95b --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListBizUnitsResponse.java @@ -0,0 +1,266 @@ +/* + * 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.ListBizUnitsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListBizUnitsResponse 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 List bizUnitList; + + public List getBizUnitList() { + return this.bizUnitList; + } + + public void setBizUnitList(List bizUnitList) { + this.bizUnitList = bizUnitList; + } + + public static class BizUnitInfo { + + private Long id; + + private String name; + + private String displayName; + + private String description; + + private String ownerUserId; + + private String ownerName; + + private String gmtCreate; + + private String gmtModified; + + private String lastModifier; + + private String lastModifierName; + + private String icon; + + private String env; + + private String mode; + + private List accountList; + + 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 getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + public String getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public String getLastModifier() { + return this.lastModifier; + } + + public void setLastModifier(String lastModifier) { + this.lastModifier = lastModifier; + } + + public String getLastModifierName() { + return this.lastModifierName; + } + + public void setLastModifierName(String lastModifierName) { + this.lastModifierName = lastModifierName; + } + + public String getIcon() { + return this.icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + } + + public String getMode() { + return this.mode; + } + + public void setMode(String mode) { + this.mode = mode; + } + + public List getAccountList() { + return this.accountList; + } + + public void setAccountList(List accountList) { + this.accountList = accountList; + } + + public static class User { + + private String id; + + public String getId() { + return this.id; + } + + public void setId(String id) { + this.id = id; + } + } + } + } + + @Override + public ListBizUnitsResponse getInstance(UnmarshallerContext context) { + return ListBizUnitsResponseUnmarshaller.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/ListDataDomainsRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListDataDomainsRequest.java new file mode 100644 index 0000000000..5d28df132d --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListDataDomainsRequest.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.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 ListDataDomainsRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("listQuery") + private ListQuery listQuery; + public ListDataDomainsRequest() { + super("dataphin-public", "2023-06-30", "ListDataDomains"); + 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("BizUnitIdList") + private List bizUnitIdList; + + @SerializedName("ParentIdList") + private List parentIdList; + + @SerializedName("Keyword") + private String keyword; + + public List getBizUnitIdList() { + return this.bizUnitIdList; + } + + public void setBizUnitIdList(List bizUnitIdList) { + this.bizUnitIdList = bizUnitIdList; + } + + public List getParentIdList() { + return this.parentIdList; + } + + public void setParentIdList(List parentIdList) { + this.parentIdList = parentIdList; + } + + public String getKeyword() { + return this.keyword; + } + + public void setKeyword(String keyword) { + this.keyword = keyword; + } + } + + @Override + public Class getResponseClass() { + return ListDataDomainsResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListDataDomainsResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListDataDomainsResponse.java new file mode 100644 index 0000000000..d04f8c572f --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListDataDomainsResponse.java @@ -0,0 +1,243 @@ +/* + * 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.ListDataDomainsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListDataDomainsResponse 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 List dataDomainList; + + public List getDataDomainList() { + return this.dataDomainList; + } + + public void setDataDomainList(List dataDomainList) { + this.dataDomainList = dataDomainList; + } + + public static class DataDomainInfo { + + private Long id; + + private Long bizUnitId; + + private String name; + + private String displayName; + + private String abbreviation; + + private String description; + + private String ownerUserId; + + private String ownerName; + + private String gmtCreate; + + private String gmtModified; + + private String lastModifier; + + private String lastModifierName; + + private Long parentId; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + } + + 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 getAbbreviation() { + return this.abbreviation; + } + + public void setAbbreviation(String abbreviation) { + this.abbreviation = abbreviation; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + public String getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModified() { + return this.gmtModified; + } + + public void setGmtModified(String gmtModified) { + this.gmtModified = gmtModified; + } + + public String getLastModifier() { + return this.lastModifier; + } + + public void setLastModifier(String lastModifier) { + this.lastModifier = lastModifier; + } + + public String getLastModifierName() { + return this.lastModifierName; + } + + public void setLastModifierName(String lastModifierName) { + this.lastModifierName = lastModifierName; + } + + public Long getParentId() { + return this.parentId; + } + + public void setParentId(Long parentId) { + this.parentId = parentId; + } + } + } + + @Override + public ListDataDomainsResponse getInstance(UnmarshallerContext context) { + return ListDataDomainsResponseUnmarshaller.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/ListPublishRecordsRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListPublishRecordsRequest.java new file mode 100644 index 0000000000..dc1016c0d4 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListPublishRecordsRequest.java @@ -0,0 +1,184 @@ +/* + * 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 ListPublishRecordsRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("listQuery") + private ListQuery listQuery; + public ListPublishRecordsRequest() { + super("dataphin-public", "2023-06-30", "ListPublishRecords"); + 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("SearchFilter") + private SearchFilter searchFilter; + + @SerializedName("Keyword") + private String keyword; + + public SearchFilter getSearchFilter() { + return this.searchFilter; + } + + public void setSearchFilter(SearchFilter searchFilter) { + this.searchFilter = searchFilter; + } + + public String getKeyword() { + return this.keyword; + } + + public void setKeyword(String keyword) { + this.keyword = keyword; + } + + public static class SearchFilter { + + @SerializedName("ChangeTypeList") + private List changeTypeList; + + @SerializedName("PageSize") + private Integer pageSize; + + @SerializedName("PublishStartTime") + private String publishStartTime; + + @SerializedName("PublishEndTime") + private String publishEndTime; + + @SerializedName("ProjectIdList") + private List projectIdList; + + @SerializedName("SubmitterList") + private List submitterList; + + @SerializedName("Page") + private Integer page; + + @SerializedName("PublishStatusList") + private List publishStatusList; + + public List getChangeTypeList() { + return this.changeTypeList; + } + + public void setChangeTypeList(List changeTypeList) { + this.changeTypeList = changeTypeList; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public String getPublishStartTime() { + return this.publishStartTime; + } + + public void setPublishStartTime(String publishStartTime) { + this.publishStartTime = publishStartTime; + } + + public String getPublishEndTime() { + return this.publishEndTime; + } + + public void setPublishEndTime(String publishEndTime) { + this.publishEndTime = publishEndTime; + } + + public List getProjectIdList() { + return this.projectIdList; + } + + public void setProjectIdList(List projectIdList) { + this.projectIdList = projectIdList; + } + + public List getSubmitterList() { + return this.submitterList; + } + + public void setSubmitterList(List submitterList) { + this.submitterList = submitterList; + } + + public Integer getPage() { + return this.page; + } + + public void setPage(Integer page) { + this.page = page; + } + + public List getPublishStatusList() { + return this.publishStatusList; + } + + public void setPublishStatusList(List publishStatusList) { + this.publishStatusList = publishStatusList; + } + } + } + + @Override + public Class getResponseClass() { + return ListPublishRecordsResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListPublishRecordsResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListPublishRecordsResponse.java new file mode 100644 index 0000000000..f0a5394939 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListPublishRecordsResponse.java @@ -0,0 +1,283 @@ +/* + * 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.ListPublishRecordsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListPublishRecordsResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private ListResult listResult; + + 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 ListResult getListResult() { + return this.listResult; + } + + public void setListResult(ListResult listResult) { + this.listResult = listResult; + } + + public static class ListResult { + + 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 PublishRecordInfo { + + private Long id; + + private String publishName; + + private String projectId; + + private String publisher; + + private String publisherName; + + private String gmtCreate; + + private String gmtModify; + + private Integer changeType; + + private String objectType; + + private String objectName; + + private String objectId; + + private String nodeId; + + private String objectVersion; + + private String finishTime; + + private String errorMessage; + + private Integer publishStatus; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getPublishName() { + return this.publishName; + } + + public void setPublishName(String publishName) { + this.publishName = publishName; + } + + public String getProjectId() { + return this.projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getPublisher() { + return this.publisher; + } + + public void setPublisher(String publisher) { + this.publisher = publisher; + } + + public String getPublisherName() { + return this.publisherName; + } + + public void setPublisherName(String publisherName) { + this.publisherName = publisherName; + } + + public String getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModify() { + return this.gmtModify; + } + + public void setGmtModify(String gmtModify) { + this.gmtModify = gmtModify; + } + + public Integer getChangeType() { + return this.changeType; + } + + public void setChangeType(Integer changeType) { + this.changeType = changeType; + } + + public String getObjectType() { + return this.objectType; + } + + public void setObjectType(String objectType) { + this.objectType = objectType; + } + + public String getObjectName() { + return this.objectName; + } + + public void setObjectName(String objectName) { + this.objectName = objectName; + } + + public String getObjectId() { + return this.objectId; + } + + public void setObjectId(String objectId) { + this.objectId = objectId; + } + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public String getObjectVersion() { + return this.objectVersion; + } + + public void setObjectVersion(String objectVersion) { + this.objectVersion = objectVersion; + } + + public String getFinishTime() { + return this.finishTime; + } + + public void setFinishTime(String finishTime) { + this.finishTime = finishTime; + } + + public String getErrorMessage() { + return this.errorMessage; + } + + public void setErrorMessage(String errorMessage) { + this.errorMessage = errorMessage; + } + + public Integer getPublishStatus() { + return this.publishStatus; + } + + public void setPublishStatus(Integer publishStatus) { + this.publishStatus = publishStatus; + } + } + } + + @Override + public ListPublishRecordsResponse getInstance(UnmarshallerContext context) { + return ListPublishRecordsResponseUnmarshaller.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/ListSubmitRecordsRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListSubmitRecordsRequest.java new file mode 100644 index 0000000000..af8f8bc7c2 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListSubmitRecordsRequest.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 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 ListSubmitRecordsRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("listQuery") + private ListQuery listQuery; + public ListSubmitRecordsRequest() { + super("dataphin-public", "2023-06-30", "ListSubmitRecords"); + 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("SearchFilter") + private SearchFilter searchFilter; + + @SerializedName("Keyword") + private String keyword; + + public SearchFilter getSearchFilter() { + return this.searchFilter; + } + + public void setSearchFilter(SearchFilter searchFilter) { + this.searchFilter = searchFilter; + } + + public String getKeyword() { + return this.keyword; + } + + public void setKeyword(String keyword) { + this.keyword = keyword; + } + + public static class SearchFilter { + + @SerializedName("ChangeTypeList") + private List changeTypeList; + + @SerializedName("SubmitStartTime") + private String submitStartTime; + + @SerializedName("PageSize") + private Integer pageSize; + + @SerializedName("SubmitEndTime") + private String submitEndTime; + + @SerializedName("ProjectIdList") + private List projectIdList; + + @SerializedName("SubmitterList") + private List submitterList; + + @SerializedName("Page") + private Integer page; + + public List getChangeTypeList() { + return this.changeTypeList; + } + + public void setChangeTypeList(List changeTypeList) { + this.changeTypeList = changeTypeList; + } + + public String getSubmitStartTime() { + return this.submitStartTime; + } + + public void setSubmitStartTime(String submitStartTime) { + this.submitStartTime = submitStartTime; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public String getSubmitEndTime() { + return this.submitEndTime; + } + + public void setSubmitEndTime(String submitEndTime) { + this.submitEndTime = submitEndTime; + } + + public List getProjectIdList() { + return this.projectIdList; + } + + public void setProjectIdList(List projectIdList) { + this.projectIdList = projectIdList; + } + + public List getSubmitterList() { + return this.submitterList; + } + + public void setSubmitterList(List submitterList) { + this.submitterList = submitterList; + } + + public Integer getPage() { + return this.page; + } + + public void setPage(Integer page) { + this.page = page; + } + } + } + + @Override + public Class getResponseClass() { + return ListSubmitRecordsResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListSubmitRecordsResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListSubmitRecordsResponse.java new file mode 100644 index 0000000000..a617e96ab0 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ListSubmitRecordsResponse.java @@ -0,0 +1,253 @@ +/* + * 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.ListSubmitRecordsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListSubmitRecordsResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private ListResult listResult; + + 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 ListResult getListResult() { + return this.listResult; + } + + public void setListResult(ListResult listResult) { + this.listResult = listResult; + } + + public static class ListResult { + + 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 SubmitRecordInfo { + + private Long id; + + private String projectId; + + private String submitter; + + private String submitterName; + + private String gmtCreate; + + private String gmtModify; + + private Integer changeType; + + private String objectType; + + private String objectName; + + private String objectId; + + private String nodeId; + + private String objectVersion; + + private String submitComment; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getProjectId() { + return this.projectId; + } + + public void setProjectId(String projectId) { + this.projectId = projectId; + } + + public String getSubmitter() { + return this.submitter; + } + + public void setSubmitter(String submitter) { + this.submitter = submitter; + } + + public String getSubmitterName() { + return this.submitterName; + } + + public void setSubmitterName(String submitterName) { + this.submitterName = submitterName; + } + + public String getGmtCreate() { + return this.gmtCreate; + } + + public void setGmtCreate(String gmtCreate) { + this.gmtCreate = gmtCreate; + } + + public String getGmtModify() { + return this.gmtModify; + } + + public void setGmtModify(String gmtModify) { + this.gmtModify = gmtModify; + } + + public Integer getChangeType() { + return this.changeType; + } + + public void setChangeType(Integer changeType) { + this.changeType = changeType; + } + + public String getObjectType() { + return this.objectType; + } + + public void setObjectType(String objectType) { + this.objectType = objectType; + } + + public String getObjectName() { + return this.objectName; + } + + public void setObjectName(String objectName) { + this.objectName = objectName; + } + + public String getObjectId() { + return this.objectId; + } + + public void setObjectId(String objectId) { + this.objectId = objectId; + } + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public String getObjectVersion() { + return this.objectVersion; + } + + public void setObjectVersion(String objectVersion) { + this.objectVersion = objectVersion; + } + + public String getSubmitComment() { + return this.submitComment; + } + + public void setSubmitComment(String submitComment) { + this.submitComment = submitComment; + } + } + } + + @Override + public ListSubmitRecordsResponse getInstance(UnmarshallerContext context) { + return ListSubmitRecordsResponseUnmarshaller.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/OfflineBatchTaskRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OfflineBatchTaskRequest.java new file mode 100644 index 0000000000..a1561df227 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OfflineBatchTaskRequest.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 OfflineBatchTaskRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private String comment; + + private Long projectId; + + private Long fileId; + public OfflineBatchTaskRequest() { + super("dataphin-public", "2023-06-30", "OfflineBatchTask"); + 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 getComment() { + return this.comment; + } + + public void setComment(String comment) { + this.comment = comment; + if(comment != null){ + putQueryParameter("Comment", comment); + } + } + + 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 OfflineBatchTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OfflineBatchTaskResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OfflineBatchTaskResponse.java new file mode 100644 index 0000000000..7fcc0916de --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OfflineBatchTaskResponse.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.OfflineBatchTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class OfflineBatchTaskResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private OfflineResult offlineResult; + + 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 OfflineResult getOfflineResult() { + return this.offlineResult; + } + + public void setOfflineResult(OfflineResult offlineResult) { + this.offlineResult = offlineResult; + } + + public static class OfflineResult { + + private Long publishObjectId; + + public Long getPublishObjectId() { + return this.publishObjectId; + } + + public void setPublishObjectId(Long publishObjectId) { + this.publishObjectId = publishObjectId; + } + } + + @Override + public OfflineBatchTaskResponse getInstance(UnmarshallerContext context) { + return OfflineBatchTaskResponseUnmarshaller.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/OfflineBizEntityRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OfflineBizEntityRequest.java new file mode 100644 index 0000000000..2afd843854 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OfflineBizEntityRequest.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 OfflineBizEntityRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("offlineCommand") + private OfflineCommand offlineCommand; + public OfflineBizEntityRequest() { + super("dataphin-public", "2023-06-30", "OfflineBizEntity"); + 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 OfflineCommand getOfflineCommand() { + return this.offlineCommand; + } + + public void setOfflineCommand(OfflineCommand offlineCommand) { + this.offlineCommand = offlineCommand; + if (offlineCommand != null) { + putBodyParameter("OfflineCommand" , new Gson().toJson(offlineCommand)); + } + } + + public static class OfflineCommand { + + @SerializedName("Comment") + private String comment; + + @SerializedName("Id") + private Long id; + + @SerializedName("Type") + private String type; + + @SerializedName("BizUnitId") + private Long bizUnitId; + + public String getComment() { + return this.comment; + } + + public void setComment(String comment) { + this.comment = comment; + } + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + } + } + + @Override + public Class getResponseClass() { + return OfflineBizEntityResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OfflineBizEntityResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OfflineBizEntityResponse.java new file mode 100644 index 0000000000..539d97c060 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OfflineBizEntityResponse.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.OfflineBizEntityResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class OfflineBizEntityResponse 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 OfflineBizEntityResponse getInstance(UnmarshallerContext context) { + return OfflineBizEntityResponseUnmarshaller.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/OnlineBizEntityRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OnlineBizEntityRequest.java new file mode 100644 index 0000000000..779983903e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OnlineBizEntityRequest.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 OnlineBizEntityRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("onlineCommand") + private OnlineCommand onlineCommand; + public OnlineBizEntityRequest() { + super("dataphin-public", "2023-06-30", "OnlineBizEntity"); + 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 OnlineCommand getOnlineCommand() { + return this.onlineCommand; + } + + public void setOnlineCommand(OnlineCommand onlineCommand) { + this.onlineCommand = onlineCommand; + if (onlineCommand != null) { + putBodyParameter("OnlineCommand" , new Gson().toJson(onlineCommand)); + } + } + + public static class OnlineCommand { + + @SerializedName("Comment") + private String comment; + + @SerializedName("Id") + private Long id; + + @SerializedName("Type") + private String type; + + @SerializedName("BizUnitId") + private Long bizUnitId; + + public String getComment() { + return this.comment; + } + + public void setComment(String comment) { + this.comment = comment; + } + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + } + } + + @Override + public Class getResponseClass() { + return OnlineBizEntityResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OnlineBizEntityResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OnlineBizEntityResponse.java new file mode 100644 index 0000000000..48e58f5dea --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/OnlineBizEntityResponse.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.OnlineBizEntityResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class OnlineBizEntityResponse 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 OnlineBizEntityResponse getInstance(UnmarshallerContext context) { + return OnlineBizEntityResponseUnmarshaller.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/ParseBatchTaskDependencyRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ParseBatchTaskDependencyRequest.java new file mode 100644 index 0000000000..176f9ca39c --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ParseBatchTaskDependencyRequest.java @@ -0,0 +1,158 @@ +/* + * 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 ParseBatchTaskDependencyRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("parseCommand") + private ParseCommand parseCommand; + public ParseBatchTaskDependencyRequest() { + super("dataphin-public", "2023-06-30", "ParseBatchTaskDependency"); + 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 ParseCommand getParseCommand() { + return this.parseCommand; + } + + public void setParseCommand(ParseCommand parseCommand) { + this.parseCommand = parseCommand; + if (parseCommand != null) { + putBodyParameter("ParseCommand" , new Gson().toJson(parseCommand)); + } + } + + public static class ParseCommand { + + @SerializedName("IncludeAllInputTables") + private Boolean includeAllInputTables; + + @SerializedName("NeedQueryLineages") + private Boolean needQueryLineages; + + @SerializedName("Code") + private String code; + + @SerializedName("DataSourceId") + private Long dataSourceId; + + @SerializedName("DataSourceSchema") + private String dataSourceSchema; + + @SerializedName("DataSourceCatalog") + private String dataSourceCatalog; + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("OperatorType") + private String operatorType; + + public Boolean getIncludeAllInputTables() { + return this.includeAllInputTables; + } + + public void setIncludeAllInputTables(Boolean includeAllInputTables) { + this.includeAllInputTables = includeAllInputTables; + } + + public Boolean getNeedQueryLineages() { + return this.needQueryLineages; + } + + public void setNeedQueryLineages(Boolean needQueryLineages) { + this.needQueryLineages = needQueryLineages; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + 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 String getDataSourceCatalog() { + return this.dataSourceCatalog; + } + + public void setDataSourceCatalog(String dataSourceCatalog) { + this.dataSourceCatalog = dataSourceCatalog; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public String getOperatorType() { + return this.operatorType; + } + + public void setOperatorType(String operatorType) { + this.operatorType = operatorType; + } + } + + @Override + public Class getResponseClass() { + return ParseBatchTaskDependencyResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ParseBatchTaskDependencyResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ParseBatchTaskDependencyResponse.java new file mode 100644 index 0000000000..8b91836fad --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/ParseBatchTaskDependencyResponse.java @@ -0,0 +1,206 @@ +/* + * 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.ParseBatchTaskDependencyResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ParseBatchTaskDependencyResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private ParseResult parseResult; + + 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 ParseResult getParseResult() { + return this.parseResult; + } + + public void setParseResult(ParseResult parseResult) { + this.parseResult = parseResult; + } + + public static class ParseResult { + + private List dependNodeList; + + public List getDependNodeList() { + return this.dependNodeList; + } + + public void setDependNodeList(List dependNodeList) { + this.dependNodeList = dependNodeList; + } + + public static class DependNode { + + private String nodeIoType; + + private List scheduleNodeInfoList; + + public String getNodeIoType() { + return this.nodeIoType; + } + + public void setNodeIoType(String nodeIoType) { + this.nodeIoType = nodeIoType; + } + + public List getScheduleNodeInfoList() { + return this.scheduleNodeInfoList; + } + + public void setScheduleNodeInfoList(List scheduleNodeInfoList) { + this.scheduleNodeInfoList = scheduleNodeInfoList; + } + + public static class NodeInfo { + + private String tableName; + + private String outputName; + + private String ownerUserId; + + private String ownerName; + + private String nodeId; + + private String nodeName; + + private List fieldList; + + public String getTableName() { + return this.tableName; + } + + public void setTableName(String tableName) { + this.tableName = tableName; + } + + public String getOutputName() { + return this.outputName; + } + + public void setOutputName(String outputName) { + this.outputName = outputName; + } + + public String getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getOwnerName() { + return this.ownerName; + } + + public void setOwnerName(String ownerName) { + this.ownerName = ownerName; + } + + 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 List getFieldList() { + return this.fieldList; + } + + public void setFieldList(List fieldList) { + this.fieldList = fieldList; + } + } + } + } + + @Override + public ParseBatchTaskDependencyResponse getInstance(UnmarshallerContext context) { + return ParseBatchTaskDependencyResponseUnmarshaller.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/PublishObjectListRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/PublishObjectListRequest.java new file mode 100644 index 0000000000..118b095d43 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/PublishObjectListRequest.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.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 PublishObjectListRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("publishCommand") + private PublishCommand publishCommand; + public PublishObjectListRequest() { + super("dataphin-public", "2023-06-30", "PublishObjectList"); + 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 PublishCommand getPublishCommand() { + return this.publishCommand; + } + + public void setPublishCommand(PublishCommand publishCommand) { + this.publishCommand = publishCommand; + if (publishCommand != null) { + putBodyParameter("PublishCommand" , new Gson().toJson(publishCommand)); + } + } + + public static class PublishCommand { + + @SerializedName("SubmitIdList") + private List submitIdList; + + @SerializedName("Comment") + private String comment; + + @SerializedName("ProjectId") + private Long projectId; + + public List getSubmitIdList() { + return this.submitIdList; + } + + public void setSubmitIdList(List submitIdList) { + this.submitIdList = submitIdList; + } + + public String getComment() { + return this.comment; + } + + public void setComment(String comment) { + this.comment = comment; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + } + + @Override + public Class getResponseClass() { + return PublishObjectListResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/PublishObjectListResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/PublishObjectListResponse.java new file mode 100644 index 0000000000..b0a2746a21 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/PublishObjectListResponse.java @@ -0,0 +1,110 @@ +/* + * 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.PublishObjectListResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class PublishObjectListResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private PublishResult publishResult; + + 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 PublishResult getPublishResult() { + return this.publishResult; + } + + public void setPublishResult(PublishResult publishResult) { + this.publishResult = publishResult; + } + + public static class PublishResult { + + private List submitIdList; + + public List getSubmitIdList() { + return this.submitIdList; + } + + public void setSubmitIdList(List submitIdList) { + this.submitIdList = submitIdList; + } + } + + @Override + public PublishObjectListResponse getInstance(UnmarshallerContext context) { + return PublishObjectListResponseUnmarshaller.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/StopAdHocTaskRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/StopAdHocTaskRequest.java new file mode 100644 index 0000000000..a57327a35b --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/StopAdHocTaskRequest.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 StopAdHocTaskRequest extends RpcAcsRequest { + + + private Long opTenantId; + + private Long projectId; + + private String taskId; + public StopAdHocTaskRequest() { + super("dataphin-public", "2023-06-30", "StopAdHocTask"); + 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 getTaskId() { + return this.taskId; + } + + public void setTaskId(String taskId) { + this.taskId = taskId; + if(taskId != null){ + putQueryParameter("TaskId", taskId); + } + } + + @Override + public Class getResponseClass() { + return StopAdHocTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/StopAdHocTaskResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/StopAdHocTaskResponse.java new file mode 100644 index 0000000000..387998ca6d --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/StopAdHocTaskResponse.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.StopAdHocTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class StopAdHocTaskResponse 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 StopAdHocTaskResponse getInstance(UnmarshallerContext context) { + return StopAdHocTaskResponseUnmarshaller.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/SubmitBatchTaskRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/SubmitBatchTaskRequest.java new file mode 100644 index 0000000000..0509099c8f --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/SubmitBatchTaskRequest.java @@ -0,0 +1,482 @@ +/* + * 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 SubmitBatchTaskRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("submitCommand") + private SubmitCommand submitCommand; + public SubmitBatchTaskRequest() { + super("dataphin-public", "2023-06-30", "SubmitBatchTask"); + 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 SubmitCommand getSubmitCommand() { + return this.submitCommand; + } + + public void setSubmitCommand(SubmitCommand submitCommand) { + this.submitCommand = submitCommand; + if (submitCommand != null) { + putBodyParameter("SubmitCommand" , new Gson().toJson(submitCommand)); + } + } + + public static class SubmitCommand { + + @SerializedName("NodeOutputNameList") + private List nodeOutputNameList; + + @SerializedName("CronExpression") + private String cronExpression; + + @SerializedName("Code") + private String code; + + @SerializedName("SparkClientInfo") + private SparkClientInfo sparkClientInfo; + + @SerializedName("NodeStatus") + private Integer nodeStatus; + + @SerializedName("ParamList") + private List paramList; + + @SerializedName("UpStreamList") + private List upStreamList; + + @SerializedName("Priority") + private Integer priority; + + @SerializedName("CustomScheduleConfig") + private CustomScheduleConfig customScheduleConfig; + + @SerializedName("Engine") + private String engine; + + @SerializedName("NodeDescription") + private String nodeDescription; + + @SerializedName("Name") + private String name; + + @SerializedName("SchedulePeriod") + private String schedulePeriod; + + @SerializedName("Comment") + private String comment; + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("FileId") + private Long fileId; + + @SerializedName("PythonModuleList") + private List pythonModuleList; + + public List getNodeOutputNameList() { + return this.nodeOutputNameList; + } + + public void setNodeOutputNameList(List nodeOutputNameList) { + this.nodeOutputNameList = nodeOutputNameList; + } + + public String getCronExpression() { + return this.cronExpression; + } + + public void setCronExpression(String cronExpression) { + this.cronExpression = cronExpression; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public SparkClientInfo getSparkClientInfo() { + return this.sparkClientInfo; + } + + public void setSparkClientInfo(SparkClientInfo sparkClientInfo) { + this.sparkClientInfo = sparkClientInfo; + } + + public Integer getNodeStatus() { + return this.nodeStatus; + } + + public void setNodeStatus(Integer nodeStatus) { + this.nodeStatus = nodeStatus; + } + + public List getParamList() { + return this.paramList; + } + + public void setParamList(List paramList) { + this.paramList = paramList; + } + + public List getUpStreamList() { + return this.upStreamList; + } + + public void setUpStreamList(List upStreamList) { + this.upStreamList = upStreamList; + } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + public CustomScheduleConfig getCustomScheduleConfig() { + return this.customScheduleConfig; + } + + public void setCustomScheduleConfig(CustomScheduleConfig customScheduleConfig) { + this.customScheduleConfig = customScheduleConfig; + } + + public String getEngine() { + return this.engine; + } + + public void setEngine(String engine) { + this.engine = engine; + } + + public String getNodeDescription() { + return this.nodeDescription; + } + + public void setNodeDescription(String nodeDescription) { + this.nodeDescription = nodeDescription; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getSchedulePeriod() { + return this.schedulePeriod; + } + + public void setSchedulePeriod(String schedulePeriod) { + this.schedulePeriod = schedulePeriod; + } + + public String getComment() { + return this.comment; + } + + public void setComment(String comment) { + this.comment = comment; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + } + + public List getPythonModuleList() { + return this.pythonModuleList; + } + + public void setPythonModuleList(List pythonModuleList) { + this.pythonModuleList = pythonModuleList; + } + + public static class SparkClientInfo { + + @SerializedName("SparkClientVersion") + private String sparkClientVersion; + + public String getSparkClientVersion() { + return this.sparkClientVersion; + } + + public void setSparkClientVersion(String sparkClientVersion) { + this.sparkClientVersion = sparkClientVersion; + } + } + + 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 UpStreamListItem { + + @SerializedName("SourceNodeOutputName") + private String sourceNodeOutputName; + + @SerializedName("SourceNodeId") + private String sourceNodeId; + + @SerializedName("NodeType") + private String nodeType; + + @SerializedName("SourceTableName") + private String sourceTableName; + + @SerializedName("PeriodDiff") + private Integer periodDiff; + + @SerializedName("DependPeriod") + private DependPeriod dependPeriod; + + @SerializedName("FieldList") + private List fieldList; + + @SerializedName("SourceNodeEnabled") + private Boolean sourceNodeEnabled; + + @SerializedName("DependStrategy") + private String dependStrategy; + + public String getSourceNodeOutputName() { + return this.sourceNodeOutputName; + } + + public void setSourceNodeOutputName(String sourceNodeOutputName) { + this.sourceNodeOutputName = sourceNodeOutputName; + } + + public String getSourceNodeId() { + return this.sourceNodeId; + } + + public void setSourceNodeId(String sourceNodeId) { + this.sourceNodeId = sourceNodeId; + } + + public String getNodeType() { + return this.nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + + public String getSourceTableName() { + return this.sourceTableName; + } + + public void setSourceTableName(String sourceTableName) { + this.sourceTableName = sourceTableName; + } + + public Integer getPeriodDiff() { + return this.periodDiff; + } + + public void setPeriodDiff(Integer periodDiff) { + this.periodDiff = periodDiff; + } + + public DependPeriod getDependPeriod() { + return this.dependPeriod; + } + + public void setDependPeriod(DependPeriod dependPeriod) { + this.dependPeriod = dependPeriod; + } + + public List getFieldList() { + return this.fieldList; + } + + public void setFieldList(List fieldList) { + this.fieldList = fieldList; + } + + public Boolean getSourceNodeEnabled() { + return this.sourceNodeEnabled; + } + + public void setSourceNodeEnabled(Boolean sourceNodeEnabled) { + this.sourceNodeEnabled = sourceNodeEnabled; + } + + public String getDependStrategy() { + return this.dependStrategy; + } + + public void setDependStrategy(String dependStrategy) { + this.dependStrategy = dependStrategy; + } + + public static class DependPeriod { + + @SerializedName("PeriodOffset") + private Integer periodOffset; + + @SerializedName("PeriodType") + private String periodType; + + public Integer getPeriodOffset() { + return this.periodOffset; + } + + public void setPeriodOffset(Integer periodOffset) { + this.periodOffset = periodOffset; + } + + public String getPeriodType() { + return this.periodType; + } + + public void setPeriodType(String periodType) { + this.periodType = periodType; + } + } + } + + public static class CustomScheduleConfig { + + @SerializedName("IntervalUnit") + private String intervalUnit; + + @SerializedName("SchedulePeriod") + private String schedulePeriod; + + @SerializedName("EndTime") + private String endTime; + + @SerializedName("Interval") + private Integer interval; + + @SerializedName("StartTime") + private String startTime; + + public String getIntervalUnit() { + return this.intervalUnit; + } + + public void setIntervalUnit(String intervalUnit) { + this.intervalUnit = intervalUnit; + } + + public String getSchedulePeriod() { + return this.schedulePeriod; + } + + public void setSchedulePeriod(String schedulePeriod) { + this.schedulePeriod = schedulePeriod; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public Integer getInterval() { + return this.interval; + } + + public void setInterval(Integer interval) { + this.interval = interval; + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + } + } + } + + @Override + public Class getResponseClass() { + return SubmitBatchTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/SubmitBatchTaskResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/SubmitBatchTaskResponse.java new file mode 100644 index 0000000000..b7944aea0a --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/SubmitBatchTaskResponse.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.SubmitBatchTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class SubmitBatchTaskResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private SubmitResult submitResult; + + 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 SubmitResult getSubmitResult() { + return this.submitResult; + } + + public void setSubmitResult(SubmitResult submitResult) { + this.submitResult = submitResult; + } + + public static class SubmitResult { + + private String nodeId; + + private Long submitId; + + public String getNodeId() { + return this.nodeId; + } + + public void setNodeId(String nodeId) { + this.nodeId = nodeId; + } + + public Long getSubmitId() { + return this.submitId; + } + + public void setSubmitId(Long submitId) { + this.submitId = submitId; + } + } + + @Override + public SubmitBatchTaskResponse getInstance(UnmarshallerContext context) { + return SubmitBatchTaskResponseUnmarshaller.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/UpdateBatchTaskRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBatchTaskRequest.java new file mode 100644 index 0000000000..2084211522 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBatchTaskRequest.java @@ -0,0 +1,515 @@ +/* + * 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 UpdateBatchTaskRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("updateCommand") + private UpdateCommand updateCommand; + public UpdateBatchTaskRequest() { + super("dataphin-public", "2023-06-30", "UpdateBatchTask"); + 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("NodeOutputNameList") + private List nodeOutputNameList; + + @SerializedName("CronExpression") + private String cronExpression; + + @SerializedName("Code") + private String code; + + @SerializedName("TaskType") + private Integer taskType; + + @SerializedName("SparkClientInfo") + private SparkClientInfo sparkClientInfo; + + @SerializedName("NodeStatus") + private Integer nodeStatus; + + @SerializedName("DataSourceSchema") + private String dataSourceSchema; + + @SerializedName("ParamList") + private List paramList; + + @SerializedName("UpStreamList") + private List upStreamList; + + @SerializedName("DataSourceCatalog") + private String dataSourceCatalog; + + @SerializedName("Priority") + private Integer priority; + + @SerializedName("CustomScheduleConfig") + private CustomScheduleConfig customScheduleConfig; + + @SerializedName("Engine") + private String engine; + + @SerializedName("NodeDescription") + private String nodeDescription; + + @SerializedName("Name") + private String name; + + @SerializedName("DataSourceId") + private String dataSourceId; + + @SerializedName("SchedulePeriod") + private String schedulePeriod; + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("FileId") + private Long fileId; + + @SerializedName("PythonModuleList") + private List pythonModuleList; + + public List getNodeOutputNameList() { + return this.nodeOutputNameList; + } + + public void setNodeOutputNameList(List nodeOutputNameList) { + this.nodeOutputNameList = nodeOutputNameList; + } + + public String getCronExpression() { + return this.cronExpression; + } + + public void setCronExpression(String cronExpression) { + this.cronExpression = cronExpression; + } + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public Integer getTaskType() { + return this.taskType; + } + + public void setTaskType(Integer taskType) { + this.taskType = taskType; + } + + public SparkClientInfo getSparkClientInfo() { + return this.sparkClientInfo; + } + + public void setSparkClientInfo(SparkClientInfo sparkClientInfo) { + this.sparkClientInfo = sparkClientInfo; + } + + public Integer getNodeStatus() { + return this.nodeStatus; + } + + public void setNodeStatus(Integer nodeStatus) { + this.nodeStatus = nodeStatus; + } + + public String getDataSourceSchema() { + return this.dataSourceSchema; + } + + public void setDataSourceSchema(String dataSourceSchema) { + this.dataSourceSchema = dataSourceSchema; + } + + public List getParamList() { + return this.paramList; + } + + public void setParamList(List paramList) { + this.paramList = paramList; + } + + public List getUpStreamList() { + return this.upStreamList; + } + + public void setUpStreamList(List upStreamList) { + this.upStreamList = upStreamList; + } + + public String getDataSourceCatalog() { + return this.dataSourceCatalog; + } + + public void setDataSourceCatalog(String dataSourceCatalog) { + this.dataSourceCatalog = dataSourceCatalog; + } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + public CustomScheduleConfig getCustomScheduleConfig() { + return this.customScheduleConfig; + } + + public void setCustomScheduleConfig(CustomScheduleConfig customScheduleConfig) { + this.customScheduleConfig = customScheduleConfig; + } + + public String getEngine() { + return this.engine; + } + + public void setEngine(String engine) { + this.engine = engine; + } + + public String getNodeDescription() { + return this.nodeDescription; + } + + public void setNodeDescription(String nodeDescription) { + this.nodeDescription = nodeDescription; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDataSourceId() { + return this.dataSourceId; + } + + public void setDataSourceId(String dataSourceId) { + this.dataSourceId = dataSourceId; + } + + public String getSchedulePeriod() { + return this.schedulePeriod; + } + + public void setSchedulePeriod(String schedulePeriod) { + this.schedulePeriod = schedulePeriod; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + } + + public List getPythonModuleList() { + return this.pythonModuleList; + } + + public void setPythonModuleList(List pythonModuleList) { + this.pythonModuleList = pythonModuleList; + } + + public static class SparkClientInfo { + + @SerializedName("SparkClientVersion") + private String sparkClientVersion; + + public String getSparkClientVersion() { + return this.sparkClientVersion; + } + + public void setSparkClientVersion(String sparkClientVersion) { + this.sparkClientVersion = sparkClientVersion; + } + } + + 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 UpStreamListItem { + + @SerializedName("SourceNodeOutputName") + private String sourceNodeOutputName; + + @SerializedName("SourceNodeId") + private String sourceNodeId; + + @SerializedName("NodeType") + private String nodeType; + + @SerializedName("SourceTableName") + private String sourceTableName; + + @SerializedName("PeriodDiff") + private Integer periodDiff; + + @SerializedName("DependPeriod") + private DependPeriod dependPeriod; + + @SerializedName("FieldList") + private List fieldList; + + @SerializedName("SourceNodeEnabled") + private Boolean sourceNodeEnabled; + + @SerializedName("DependStrategy") + private String dependStrategy; + + public String getSourceNodeOutputName() { + return this.sourceNodeOutputName; + } + + public void setSourceNodeOutputName(String sourceNodeOutputName) { + this.sourceNodeOutputName = sourceNodeOutputName; + } + + public String getSourceNodeId() { + return this.sourceNodeId; + } + + public void setSourceNodeId(String sourceNodeId) { + this.sourceNodeId = sourceNodeId; + } + + public String getNodeType() { + return this.nodeType; + } + + public void setNodeType(String nodeType) { + this.nodeType = nodeType; + } + + public String getSourceTableName() { + return this.sourceTableName; + } + + public void setSourceTableName(String sourceTableName) { + this.sourceTableName = sourceTableName; + } + + public Integer getPeriodDiff() { + return this.periodDiff; + } + + public void setPeriodDiff(Integer periodDiff) { + this.periodDiff = periodDiff; + } + + public DependPeriod getDependPeriod() { + return this.dependPeriod; + } + + public void setDependPeriod(DependPeriod dependPeriod) { + this.dependPeriod = dependPeriod; + } + + public List getFieldList() { + return this.fieldList; + } + + public void setFieldList(List fieldList) { + this.fieldList = fieldList; + } + + public Boolean getSourceNodeEnabled() { + return this.sourceNodeEnabled; + } + + public void setSourceNodeEnabled(Boolean sourceNodeEnabled) { + this.sourceNodeEnabled = sourceNodeEnabled; + } + + public String getDependStrategy() { + return this.dependStrategy; + } + + public void setDependStrategy(String dependStrategy) { + this.dependStrategy = dependStrategy; + } + + public static class DependPeriod { + + @SerializedName("PeriodOffset") + private Integer periodOffset; + + @SerializedName("PeriodType") + private String periodType; + + public Integer getPeriodOffset() { + return this.periodOffset; + } + + public void setPeriodOffset(Integer periodOffset) { + this.periodOffset = periodOffset; + } + + public String getPeriodType() { + return this.periodType; + } + + public void setPeriodType(String periodType) { + this.periodType = periodType; + } + } + } + + public static class CustomScheduleConfig { + + @SerializedName("IntervalUnit") + private String intervalUnit; + + @SerializedName("SchedulePeriod") + private String schedulePeriod; + + @SerializedName("EndTime") + private String endTime; + + @SerializedName("Interval") + private Integer interval; + + @SerializedName("StartTime") + private String startTime; + + public String getIntervalUnit() { + return this.intervalUnit; + } + + public void setIntervalUnit(String intervalUnit) { + this.intervalUnit = intervalUnit; + } + + public String getSchedulePeriod() { + return this.schedulePeriod; + } + + public void setSchedulePeriod(String schedulePeriod) { + this.schedulePeriod = schedulePeriod; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public Integer getInterval() { + return this.interval; + } + + public void setInterval(Integer interval) { + this.interval = interval; + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + } + } + } + + @Override + public Class getResponseClass() { + return UpdateBatchTaskResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBatchTaskResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBatchTaskResponse.java new file mode 100644 index 0000000000..21aa7e1b9f --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBatchTaskResponse.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.UpdateBatchTaskResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateBatchTaskResponse extends AcsResponse { + + private String requestId; + + private Boolean success; + + private Integer httpStatusCode; + + private String code; + + private String message; + + private UpdateResult updateResult; + + 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 UpdateResult getUpdateResult() { + return this.updateResult; + } + + public void setUpdateResult(UpdateResult updateResult) { + this.updateResult = updateResult; + } + + public static class UpdateResult { + + private Long fileId; + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + } + } + + @Override + public UpdateBatchTaskResponse getInstance(UnmarshallerContext context) { + return UpdateBatchTaskResponseUnmarshaller.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/UpdateBatchTaskUdfLineagesRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBatchTaskUdfLineagesRequest.java new file mode 100644 index 0000000000..b8b77e3397 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBatchTaskUdfLineagesRequest.java @@ -0,0 +1,223 @@ +/* + * 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 UpdateBatchTaskUdfLineagesRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("updateCommand") + private UpdateCommand updateCommand; + public UpdateBatchTaskUdfLineagesRequest() { + super("dataphin-public", "2023-06-30", "UpdateBatchTaskUdfLineages"); + 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("LineageGroupList") + private List lineageGroupList; + + @SerializedName("ProjectId") + private Long projectId; + + @SerializedName("FileId") + private Long fileId; + + public List getLineageGroupList() { + return this.lineageGroupList; + } + + public void setLineageGroupList(List lineageGroupList) { + this.lineageGroupList = lineageGroupList; + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public Long getFileId() { + return this.fileId; + } + + public void setFileId(Long fileId) { + this.fileId = fileId; + } + + public static class LineageGroupListItem { + + @SerializedName("InputLineageList") + private List inputLineageList; + + @SerializedName("OutputLineageList") + private List outputLineageList; + + public List getInputLineageList() { + return this.inputLineageList; + } + + public void setInputLineageList(List inputLineageList) { + this.inputLineageList = inputLineageList; + } + + public List getOutputLineageList() { + return this.outputLineageList; + } + + public void setOutputLineageList(List outputLineageList) { + this.outputLineageList = outputLineageList; + } + + public static class InputLineageListItem { + + @SerializedName("FullTable") + private Boolean fullTable; + + @SerializedName("Name") + private String name; + + @SerializedName("Env") + private String env; + + @SerializedName("ColumnList") + private List columnList; + + public Boolean getFullTable() { + return this.fullTable; + } + + public void setFullTable(Boolean fullTable) { + this.fullTable = fullTable; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + } + + public List getColumnList() { + return this.columnList; + } + + public void setColumnList(List columnList) { + this.columnList = columnList; + } + } + + public static class OutputLineageListItem { + + @SerializedName("FullTable") + private Boolean fullTable; + + @SerializedName("Name") + private String name; + + @SerializedName("Env") + private String env; + + @SerializedName("ColumnList") + private List columnList; + + public Boolean getFullTable() { + return this.fullTable; + } + + public void setFullTable(Boolean fullTable) { + this.fullTable = fullTable; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getEnv() { + return this.env; + } + + public void setEnv(String env) { + this.env = env; + } + + public List getColumnList() { + return this.columnList; + } + + public void setColumnList(List columnList) { + this.columnList = columnList; + } + } + } + } + + @Override + public Class getResponseClass() { + return UpdateBatchTaskUdfLineagesResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBatchTaskUdfLineagesResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBatchTaskUdfLineagesResponse.java new file mode 100644 index 0000000000..328d16aae2 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBatchTaskUdfLineagesResponse.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.UpdateBatchTaskUdfLineagesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateBatchTaskUdfLineagesResponse 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 UpdateBatchTaskUdfLineagesResponse getInstance(UnmarshallerContext context) { + return UpdateBatchTaskUdfLineagesResponseUnmarshaller.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/UpdateBizEntityRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBizEntityRequest.java new file mode 100644 index 0000000000..ce58c7e3f3 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBizEntityRequest.java @@ -0,0 +1,286 @@ +/* + * 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 UpdateBizEntityRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("updateCommand") + private UpdateCommand updateCommand; + public UpdateBizEntityRequest() { + super("dataphin-public", "2023-06-30", "UpdateBizEntity"); + 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("BizObject") + private BizObject bizObject; + + @SerializedName("BizProcess") + private BizProcess bizProcess; + + @SerializedName("DataDomainId") + private Long dataDomainId; + + @SerializedName("Id") + private Long id; + + @SerializedName("Type") + private String type; + + @SerializedName("BizUnitId") + private Long bizUnitId; + + public BizObject getBizObject() { + return this.bizObject; + } + + public void setBizObject(BizObject bizObject) { + this.bizObject = bizObject; + } + + public BizProcess getBizProcess() { + return this.bizProcess; + } + + public void setBizProcess(BizProcess bizProcess) { + this.bizProcess = bizProcess; + } + + public Long getDataDomainId() { + return this.dataDomainId; + } + + public void setDataDomainId(Long dataDomainId) { + this.dataDomainId = dataDomainId; + } + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getType() { + return this.type; + } + + public void setType(String type) { + this.type = type; + } + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + } + + public static class BizObject { + + @SerializedName("OwnerUserId") + private String ownerUserId; + + @SerializedName("DisplayName") + private String displayName; + + @SerializedName("Name") + private String name; + + @SerializedName("Description") + private String description; + + @SerializedName("RefBizEntityIdList") + private List refBizEntityIdList; + + @SerializedName("ParentId") + private Long parentId; + + public String getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + 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 List getRefBizEntityIdList() { + return this.refBizEntityIdList; + } + + public void setRefBizEntityIdList(List refBizEntityIdList) { + this.refBizEntityIdList = refBizEntityIdList; + } + + public Long getParentId() { + return this.parentId; + } + + public void setParentId(Long parentId) { + this.parentId = parentId; + } + } + + public static class BizProcess { + + @SerializedName("OwnerUserId") + private String ownerUserId; + + @SerializedName("DisplayName") + private String displayName; + + @SerializedName("Name") + private String name; + + @SerializedName("PreBizProcessIdList") + private List preBizProcessIdList; + + @SerializedName("Description") + private String description; + + @SerializedName("BizEventEntityIdList") + private List bizEventEntityIdList; + + @SerializedName("RefBizEntityIdList") + private List refBizEntityIdList; + + public String getOwnerUserId() { + return this.ownerUserId; + } + + public void setOwnerUserId(String ownerUserId) { + this.ownerUserId = ownerUserId; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public List getPreBizProcessIdList() { + return this.preBizProcessIdList; + } + + public void setPreBizProcessIdList(List preBizProcessIdList) { + this.preBizProcessIdList = preBizProcessIdList; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public List getBizEventEntityIdList() { + return this.bizEventEntityIdList; + } + + public void setBizEventEntityIdList(List bizEventEntityIdList) { + this.bizEventEntityIdList = bizEventEntityIdList; + } + + public List getRefBizEntityIdList() { + return this.refBizEntityIdList; + } + + public void setRefBizEntityIdList(List refBizEntityIdList) { + this.refBizEntityIdList = refBizEntityIdList; + } + } + } + + @Override + public Class getResponseClass() { + return UpdateBizEntityResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBizEntityResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBizEntityResponse.java new file mode 100644 index 0000000000..eb4fec7750 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBizEntityResponse.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.UpdateBizEntityResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateBizEntityResponse 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 UpdateBizEntityResponse getInstance(UnmarshallerContext context) { + return UpdateBizEntityResponseUnmarshaller.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/UpdateBizUnitRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBizUnitRequest.java new file mode 100644 index 0000000000..86fd33dbc3 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBizUnitRequest.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 UpdateBizUnitRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("updateCommand") + private UpdateCommand updateCommand; + public UpdateBizUnitRequest() { + super("dataphin-public", "2023-06-30", "UpdateBizUnit"); + 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("BizUnitAccountList") + private List bizUnitAccountList; + + @SerializedName("DisplayName") + private String displayName; + + @SerializedName("Name") + private String name; + + @SerializedName("Icon") + private String icon; + + @SerializedName("Description") + private String description; + + @SerializedName("BizUnitId") + private Long bizUnitId; + + public List getBizUnitAccountList() { + return this.bizUnitAccountList; + } + + public void setBizUnitAccountList(List bizUnitAccountList) { + this.bizUnitAccountList = bizUnitAccountList; + } + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public String getIcon() { + return this.icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + } + + public static class BizUnitAccountListItem { + + @SerializedName("UserId") + private String userId; + + public String getUserId() { + return this.userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + } + } + + @Override + public Class getResponseClass() { + return UpdateBizUnitResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBizUnitResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBizUnitResponse.java new file mode 100644 index 0000000000..859b8a75e2 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateBizUnitResponse.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.UpdateBizUnitResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateBizUnitResponse 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 UpdateBizUnitResponse getInstance(UnmarshallerContext context) { + return UpdateBizUnitResponseUnmarshaller.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/UpdateDataDomainRequest.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataDomainRequest.java new file mode 100644 index 0000000000..be95dce718 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataDomainRequest.java @@ -0,0 +1,147 @@ +/* + * 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 UpdateDataDomainRequest extends RpcAcsRequest { + + + private Long opTenantId; + + @SerializedName("updateCommand") + private UpdateCommand updateCommand; + public UpdateDataDomainRequest() { + super("dataphin-public", "2023-06-30", "UpdateDataDomain"); + 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("DisplayName") + private String displayName; + + @SerializedName("Name") + private String name; + + @SerializedName("Description") + private String description; + + @SerializedName("DataDomainId") + private Long dataDomainId; + + @SerializedName("Abbreviation") + private String abbreviation; + + @SerializedName("BizUnitId") + private Long bizUnitId; + + @SerializedName("ParentId") + private Long parentId; + + public String getDisplayName() { + return this.displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + + 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 getDataDomainId() { + return this.dataDomainId; + } + + public void setDataDomainId(Long dataDomainId) { + this.dataDomainId = dataDomainId; + } + + public String getAbbreviation() { + return this.abbreviation; + } + + public void setAbbreviation(String abbreviation) { + this.abbreviation = abbreviation; + } + + public Long getBizUnitId() { + return this.bizUnitId; + } + + public void setBizUnitId(Long bizUnitId) { + this.bizUnitId = bizUnitId; + } + + public Long getParentId() { + return this.parentId; + } + + public void setParentId(Long parentId) { + this.parentId = parentId; + } + } + + @Override + public Class getResponseClass() { + return UpdateDataDomainResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataDomainResponse.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataDomainResponse.java new file mode 100644 index 0000000000..569d31b64e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/model/v20230630/UpdateDataDomainResponse.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.UpdateDataDomainResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateDataDomainResponse 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 UpdateDataDomainResponse getInstance(UnmarshallerContext context) { + return UpdateDataDomainResponseUnmarshaller.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/CreateBatchTaskResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateBatchTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..5a5561facc --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateBatchTaskResponseUnmarshaller.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.CreateBatchTaskResponse; +import com.aliyuncs.dataphin_public.model.v20230630.CreateBatchTaskResponse.CreateResult; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateBatchTaskResponseUnmarshaller { + + public static CreateBatchTaskResponse unmarshall(CreateBatchTaskResponse createBatchTaskResponse, UnmarshallerContext _ctx) { + + createBatchTaskResponse.setRequestId(_ctx.stringValue("CreateBatchTaskResponse.RequestId")); + createBatchTaskResponse.setSuccess(_ctx.booleanValue("CreateBatchTaskResponse.Success")); + createBatchTaskResponse.setHttpStatusCode(_ctx.integerValue("CreateBatchTaskResponse.HttpStatusCode")); + createBatchTaskResponse.setCode(_ctx.stringValue("CreateBatchTaskResponse.Code")); + createBatchTaskResponse.setMessage(_ctx.stringValue("CreateBatchTaskResponse.Message")); + + CreateResult createResult = new CreateResult(); + createResult.setFileId(_ctx.longValue("CreateBatchTaskResponse.CreateResult.FileId")); + createBatchTaskResponse.setCreateResult(createResult); + + return createBatchTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateBizEntityResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateBizEntityResponseUnmarshaller.java new file mode 100644 index 0000000000..59f6e3614f --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateBizEntityResponseUnmarshaller.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.CreateBizEntityResponse; +import com.aliyuncs.dataphin_public.model.v20230630.CreateBizEntityResponse.CreateResult; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateBizEntityResponseUnmarshaller { + + public static CreateBizEntityResponse unmarshall(CreateBizEntityResponse createBizEntityResponse, UnmarshallerContext _ctx) { + + createBizEntityResponse.setRequestId(_ctx.stringValue("CreateBizEntityResponse.RequestId")); + createBizEntityResponse.setSuccess(_ctx.booleanValue("CreateBizEntityResponse.Success")); + createBizEntityResponse.setHttpStatusCode(_ctx.integerValue("CreateBizEntityResponse.HttpStatusCode")); + createBizEntityResponse.setCode(_ctx.stringValue("CreateBizEntityResponse.Code")); + createBizEntityResponse.setMessage(_ctx.stringValue("CreateBizEntityResponse.Message")); + + CreateResult createResult = new CreateResult(); + createResult.setBizEntityId(_ctx.longValue("CreateBizEntityResponse.CreateResult.BizEntityId")); + createBizEntityResponse.setCreateResult(createResult); + + return createBizEntityResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateBizUnitResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateBizUnitResponseUnmarshaller.java new file mode 100644 index 0000000000..09b014aed4 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateBizUnitResponseUnmarshaller.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.CreateBizUnitResponse; +import com.aliyuncs.dataphin_public.model.v20230630.CreateBizUnitResponse.CreateResult; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateBizUnitResponseUnmarshaller { + + public static CreateBizUnitResponse unmarshall(CreateBizUnitResponse createBizUnitResponse, UnmarshallerContext _ctx) { + + createBizUnitResponse.setRequestId(_ctx.stringValue("CreateBizUnitResponse.RequestId")); + createBizUnitResponse.setSuccess(_ctx.booleanValue("CreateBizUnitResponse.Success")); + createBizUnitResponse.setHttpStatusCode(_ctx.integerValue("CreateBizUnitResponse.HttpStatusCode")); + createBizUnitResponse.setCode(_ctx.stringValue("CreateBizUnitResponse.Code")); + createBizUnitResponse.setMessage(_ctx.stringValue("CreateBizUnitResponse.Message")); + + CreateResult createResult = new CreateResult(); + createResult.setBizUnitId(_ctx.longValue("CreateBizUnitResponse.CreateResult.BizUnitId")); + createBizUnitResponse.setCreateResult(createResult); + + return createBizUnitResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateDataDomainResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateDataDomainResponseUnmarshaller.java new file mode 100644 index 0000000000..49567f64ba --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateDataDomainResponseUnmarshaller.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.CreateDataDomainResponse; +import com.aliyuncs.dataphin_public.model.v20230630.CreateDataDomainResponse.CreateResult; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateDataDomainResponseUnmarshaller { + + public static CreateDataDomainResponse unmarshall(CreateDataDomainResponse createDataDomainResponse, UnmarshallerContext _ctx) { + + createDataDomainResponse.setRequestId(_ctx.stringValue("CreateDataDomainResponse.RequestId")); + createDataDomainResponse.setSuccess(_ctx.booleanValue("CreateDataDomainResponse.Success")); + createDataDomainResponse.setHttpStatusCode(_ctx.integerValue("CreateDataDomainResponse.HttpStatusCode")); + createDataDomainResponse.setCode(_ctx.stringValue("CreateDataDomainResponse.Code")); + createDataDomainResponse.setMessage(_ctx.stringValue("CreateDataDomainResponse.Message")); + + CreateResult createResult = new CreateResult(); + createResult.setDataDomainId(_ctx.longValue("CreateDataDomainResponse.CreateResult.DataDomainId")); + createDataDomainResponse.setCreateResult(createResult); + + return createDataDomainResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreatePipelineNodeResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreatePipelineNodeResponseUnmarshaller.java new file mode 100644 index 0000000000..6a05176382 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreatePipelineNodeResponseUnmarshaller.java @@ -0,0 +1,53 @@ +/* + * 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.CreatePipelineNodeResponse; +import com.aliyuncs.dataphin_public.model.v20230630.CreatePipelineNodeResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreatePipelineNodeResponseUnmarshaller { + + public static CreatePipelineNodeResponse unmarshall(CreatePipelineNodeResponse createPipelineNodeResponse, UnmarshallerContext _ctx) { + + createPipelineNodeResponse.setRequestId(_ctx.stringValue("CreatePipelineNodeResponse.RequestId")); + createPipelineNodeResponse.setSuccess(_ctx.booleanValue("CreatePipelineNodeResponse.Success")); + createPipelineNodeResponse.setHttpStatusCode(_ctx.integerValue("CreatePipelineNodeResponse.HttpStatusCode")); + createPipelineNodeResponse.setCode(_ctx.stringValue("CreatePipelineNodeResponse.Code")); + createPipelineNodeResponse.setMessage(_ctx.stringValue("CreatePipelineNodeResponse.Message")); + + Data data = new Data(); + data.setPipelineId(_ctx.longValue("CreatePipelineNodeResponse.Data.PipelineId")); + + List errorCodeList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("CreatePipelineNodeResponse.Data.ErrorCodeList.Length"); i++) { + errorCodeList.add(_ctx.stringValue("CreatePipelineNodeResponse.Data.ErrorCodeList["+ i +"]")); + } + data.setErrorCodeList(errorCodeList); + + List errorMessageList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("CreatePipelineNodeResponse.Data.ErrorMessageList.Length"); i++) { + errorMessageList.add(_ctx.stringValue("CreatePipelineNodeResponse.Data.ErrorMessageList["+ i +"]")); + } + data.setErrorMessageList(errorMessageList); + createPipelineNodeResponse.setData(data); + + return createPipelineNodeResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateStreamBatchJobMappingResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateStreamBatchJobMappingResponseUnmarshaller.java new file mode 100644 index 0000000000..0fb960bfd0 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/CreateStreamBatchJobMappingResponseUnmarshaller.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.CreateStreamBatchJobMappingResponse; +import com.aliyuncs.dataphin_public.model.v20230630.CreateStreamBatchJobMappingResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateStreamBatchJobMappingResponseUnmarshaller { + + public static CreateStreamBatchJobMappingResponse unmarshall(CreateStreamBatchJobMappingResponse createStreamBatchJobMappingResponse, UnmarshallerContext _ctx) { + + createStreamBatchJobMappingResponse.setRequestId(_ctx.stringValue("CreateStreamBatchJobMappingResponse.RequestId")); + createStreamBatchJobMappingResponse.setSuccess(_ctx.booleanValue("CreateStreamBatchJobMappingResponse.Success")); + createStreamBatchJobMappingResponse.setHttpStatusCode(_ctx.integerValue("CreateStreamBatchJobMappingResponse.HttpStatusCode")); + createStreamBatchJobMappingResponse.setCode(_ctx.stringValue("CreateStreamBatchJobMappingResponse.Code")); + createStreamBatchJobMappingResponse.setMessage(_ctx.stringValue("CreateStreamBatchJobMappingResponse.Message")); + + Data data = new Data(); + data.setFileId(_ctx.stringValue("CreateStreamBatchJobMappingResponse.Data.FileId")); + data.setUrl(_ctx.stringValue("CreateStreamBatchJobMappingResponse.Data.Url")); + createStreamBatchJobMappingResponse.setData(data); + + return createStreamBatchJobMappingResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteBatchTaskResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteBatchTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..e3f0c6b713 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteBatchTaskResponseUnmarshaller.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.DeleteBatchTaskResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteBatchTaskResponseUnmarshaller { + + public static DeleteBatchTaskResponse unmarshall(DeleteBatchTaskResponse deleteBatchTaskResponse, UnmarshallerContext _ctx) { + + deleteBatchTaskResponse.setRequestId(_ctx.stringValue("DeleteBatchTaskResponse.RequestId")); + deleteBatchTaskResponse.setSuccess(_ctx.booleanValue("DeleteBatchTaskResponse.Success")); + deleteBatchTaskResponse.setHttpStatusCode(_ctx.integerValue("DeleteBatchTaskResponse.HttpStatusCode")); + deleteBatchTaskResponse.setCode(_ctx.stringValue("DeleteBatchTaskResponse.Code")); + deleteBatchTaskResponse.setMessage(_ctx.stringValue("DeleteBatchTaskResponse.Message")); + + return deleteBatchTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteBizEntityResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteBizEntityResponseUnmarshaller.java new file mode 100644 index 0000000000..300302ab07 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteBizEntityResponseUnmarshaller.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.DeleteBizEntityResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteBizEntityResponseUnmarshaller { + + public static DeleteBizEntityResponse unmarshall(DeleteBizEntityResponse deleteBizEntityResponse, UnmarshallerContext _ctx) { + + deleteBizEntityResponse.setRequestId(_ctx.stringValue("DeleteBizEntityResponse.RequestId")); + deleteBizEntityResponse.setSuccess(_ctx.booleanValue("DeleteBizEntityResponse.Success")); + deleteBizEntityResponse.setHttpStatusCode(_ctx.integerValue("DeleteBizEntityResponse.HttpStatusCode")); + deleteBizEntityResponse.setCode(_ctx.stringValue("DeleteBizEntityResponse.Code")); + deleteBizEntityResponse.setMessage(_ctx.stringValue("DeleteBizEntityResponse.Message")); + + return deleteBizEntityResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteBizUnitResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteBizUnitResponseUnmarshaller.java new file mode 100644 index 0000000000..36f8f23160 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteBizUnitResponseUnmarshaller.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.DeleteBizUnitResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteBizUnitResponseUnmarshaller { + + public static DeleteBizUnitResponse unmarshall(DeleteBizUnitResponse deleteBizUnitResponse, UnmarshallerContext _ctx) { + + deleteBizUnitResponse.setRequestId(_ctx.stringValue("DeleteBizUnitResponse.RequestId")); + deleteBizUnitResponse.setSuccess(_ctx.booleanValue("DeleteBizUnitResponse.Success")); + deleteBizUnitResponse.setHttpStatusCode(_ctx.integerValue("DeleteBizUnitResponse.HttpStatusCode")); + deleteBizUnitResponse.setCode(_ctx.stringValue("DeleteBizUnitResponse.Code")); + deleteBizUnitResponse.setMessage(_ctx.stringValue("DeleteBizUnitResponse.Message")); + + return deleteBizUnitResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteDataDomainResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteDataDomainResponseUnmarshaller.java new file mode 100644 index 0000000000..792bd7f9a2 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/DeleteDataDomainResponseUnmarshaller.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.DeleteDataDomainResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteDataDomainResponseUnmarshaller { + + public static DeleteDataDomainResponse unmarshall(DeleteDataDomainResponse deleteDataDomainResponse, UnmarshallerContext _ctx) { + + deleteDataDomainResponse.setRequestId(_ctx.stringValue("DeleteDataDomainResponse.RequestId")); + deleteDataDomainResponse.setSuccess(_ctx.booleanValue("DeleteDataDomainResponse.Success")); + deleteDataDomainResponse.setHttpStatusCode(_ctx.integerValue("DeleteDataDomainResponse.HttpStatusCode")); + deleteDataDomainResponse.setCode(_ctx.stringValue("DeleteDataDomainResponse.Code")); + deleteDataDomainResponse.setMessage(_ctx.stringValue("DeleteDataDomainResponse.Message")); + + return deleteDataDomainResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ExecuteAdHocTaskResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ExecuteAdHocTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..911cb84fa8 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ExecuteAdHocTaskResponseUnmarshaller.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.ExecuteAdHocTaskResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ExecuteAdHocTaskResponse.ExecuteResult; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ExecuteAdHocTaskResponseUnmarshaller { + + public static ExecuteAdHocTaskResponse unmarshall(ExecuteAdHocTaskResponse executeAdHocTaskResponse, UnmarshallerContext _ctx) { + + executeAdHocTaskResponse.setRequestId(_ctx.stringValue("ExecuteAdHocTaskResponse.RequestId")); + executeAdHocTaskResponse.setSuccess(_ctx.booleanValue("ExecuteAdHocTaskResponse.Success")); + executeAdHocTaskResponse.setHttpStatusCode(_ctx.integerValue("ExecuteAdHocTaskResponse.HttpStatusCode")); + executeAdHocTaskResponse.setCode(_ctx.stringValue("ExecuteAdHocTaskResponse.Code")); + executeAdHocTaskResponse.setMessage(_ctx.stringValue("ExecuteAdHocTaskResponse.Message")); + + ExecuteResult executeResult = new ExecuteResult(); + executeResult.setTaskId(_ctx.stringValue("ExecuteAdHocTaskResponse.ExecuteResult.TaskId")); + executeResult.setSubTaskCount(_ctx.integerValue("ExecuteAdHocTaskResponse.ExecuteResult.SubTaskCount")); + executeAdHocTaskResponse.setExecuteResult(executeResult); + + return executeAdHocTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAdHocTaskLogResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAdHocTaskLogResponseUnmarshaller.java new file mode 100644 index 0000000000..7447cb7f31 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAdHocTaskLogResponseUnmarshaller.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.GetAdHocTaskLogResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetAdHocTaskLogResponse.LogInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetAdHocTaskLogResponseUnmarshaller { + + public static GetAdHocTaskLogResponse unmarshall(GetAdHocTaskLogResponse getAdHocTaskLogResponse, UnmarshallerContext _ctx) { + + getAdHocTaskLogResponse.setRequestId(_ctx.stringValue("GetAdHocTaskLogResponse.RequestId")); + getAdHocTaskLogResponse.setSuccess(_ctx.booleanValue("GetAdHocTaskLogResponse.Success")); + getAdHocTaskLogResponse.setHttpStatusCode(_ctx.integerValue("GetAdHocTaskLogResponse.HttpStatusCode")); + getAdHocTaskLogResponse.setCode(_ctx.stringValue("GetAdHocTaskLogResponse.Code")); + getAdHocTaskLogResponse.setMessage(_ctx.stringValue("GetAdHocTaskLogResponse.Message")); + + LogInfo logInfo = new LogInfo(); + logInfo.setTaskId(_ctx.stringValue("GetAdHocTaskLogResponse.LogInfo.TaskId")); + logInfo.setSubTaskId(_ctx.integerValue("GetAdHocTaskLogResponse.LogInfo.SubTaskId")); + logInfo.setTaskStatus(_ctx.stringValue("GetAdHocTaskLogResponse.LogInfo.TaskStatus")); + logInfo.setHasNext(_ctx.booleanValue("GetAdHocTaskLogResponse.LogInfo.HasNext")); + logInfo.setHasResult(_ctx.booleanValue("GetAdHocTaskLogResponse.LogInfo.HasResult")); + logInfo.setNextOffset(_ctx.integerValue("GetAdHocTaskLogResponse.LogInfo.NextOffset")); + logInfo.setContent(_ctx.stringValue("GetAdHocTaskLogResponse.LogInfo.Content")); + getAdHocTaskLogResponse.setLogInfo(logInfo); + + return getAdHocTaskLogResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAdHocTaskResultResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAdHocTaskResultResponseUnmarshaller.java new file mode 100644 index 0000000000..331d570483 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAdHocTaskResultResponseUnmarshaller.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.GetAdHocTaskResultResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetAdHocTaskResultResponse.ExecuteResult; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetAdHocTaskResultResponseUnmarshaller { + + public static GetAdHocTaskResultResponse unmarshall(GetAdHocTaskResultResponse getAdHocTaskResultResponse, UnmarshallerContext _ctx) { + + getAdHocTaskResultResponse.setRequestId(_ctx.stringValue("GetAdHocTaskResultResponse.RequestId")); + getAdHocTaskResultResponse.setSuccess(_ctx.booleanValue("GetAdHocTaskResultResponse.Success")); + getAdHocTaskResultResponse.setHttpStatusCode(_ctx.integerValue("GetAdHocTaskResultResponse.HttpStatusCode")); + getAdHocTaskResultResponse.setCode(_ctx.stringValue("GetAdHocTaskResultResponse.Code")); + getAdHocTaskResultResponse.setMessage(_ctx.stringValue("GetAdHocTaskResultResponse.Message")); + + ExecuteResult executeResult = new ExecuteResult(); + executeResult.setTaskId(_ctx.stringValue("GetAdHocTaskResultResponse.ExecuteResult.TaskId")); + executeResult.setScheduleTaskId(_ctx.stringValue("GetAdHocTaskResultResponse.ExecuteResult.ScheduleTaskId")); + executeResult.setResult(_ctx.stringValue("GetAdHocTaskResultResponse.ExecuteResult.Result")); + getAdHocTaskResultResponse.setExecuteResult(executeResult); + + return getAdHocTaskResultResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAlertEventResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAlertEventResponseUnmarshaller.java new file mode 100644 index 0000000000..7bc6b26568 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetAlertEventResponseUnmarshaller.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.GetAlertEventResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetAlertEventResponse.AlertEventInfo; +import com.aliyuncs.dataphin_public.model.v20230630.GetAlertEventResponse.AlertEventInfo.AlertObject; +import com.aliyuncs.dataphin_public.model.v20230630.GetAlertEventResponse.AlertEventInfo.AlertReason; +import com.aliyuncs.dataphin_public.model.v20230630.GetAlertEventResponse.AlertEventInfo.AlertReason.AlertReasonParam; +import com.aliyuncs.dataphin_public.model.v20230630.GetAlertEventResponse.AlertEventInfo.AlertReceiver; +import com.aliyuncs.dataphin_public.model.v20230630.GetAlertEventResponse.AlertEventInfo.AlertReceiver.User; +import com.aliyuncs.dataphin_public.model.v20230630.GetAlertEventResponse.AlertEventInfo.BelongProject; +import com.aliyuncs.dataphin_public.model.v20230630.GetAlertEventResponse.AlertEventInfo.UrlConfig; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetAlertEventResponseUnmarshaller { + + public static GetAlertEventResponse unmarshall(GetAlertEventResponse getAlertEventResponse, UnmarshallerContext _ctx) { + + getAlertEventResponse.setRequestId(_ctx.stringValue("GetAlertEventResponse.RequestId")); + getAlertEventResponse.setSuccess(_ctx.booleanValue("GetAlertEventResponse.Success")); + getAlertEventResponse.setHttpStatusCode(_ctx.integerValue("GetAlertEventResponse.HttpStatusCode")); + getAlertEventResponse.setCode(_ctx.stringValue("GetAlertEventResponse.Code")); + getAlertEventResponse.setMessage(_ctx.stringValue("GetAlertEventResponse.Message")); + + AlertEventInfo alertEventInfo = new AlertEventInfo(); + alertEventInfo.setId(_ctx.longValue("GetAlertEventResponse.AlertEventInfo.Id")); + alertEventInfo.setLatestAlertTime(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.LatestAlertTime")); + alertEventInfo.setFirstAlertTime(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.FirstAlertTime")); + alertEventInfo.setStatus(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.Status")); + alertEventInfo.setAlertFrequency(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.AlertFrequency")); + alertEventInfo.setTotalAlertTimes(_ctx.longValue("GetAlertEventResponse.AlertEventInfo.TotalAlertTimes")); + alertEventInfo.setDoNotDisturbEndTime(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.DoNotDisturbEndTime")); + + AlertObject alertObject = new AlertObject(); + alertObject.setSourceSystemType(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.AlertObject.SourceSystemType")); + alertObject.setName(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.AlertObject.Name")); + alertObject.setType(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.AlertObject.Type")); + alertEventInfo.setAlertObject(alertObject); + + AlertReason alertReason = new AlertReason(); + alertReason.setType(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.AlertReason.Type")); + alertReason.setBizDate(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.AlertReason.BizDate")); + alertReason.setUniqueKey(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.AlertReason.UniqueKey")); + + List alertReasonParamList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetAlertEventResponse.AlertEventInfo.AlertReason.AlertReasonParamList.Length"); i++) { + AlertReasonParam alertReasonParam = new AlertReasonParam(); + alertReasonParam.setKey(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.AlertReason.AlertReasonParamList["+ i +"].Key")); + alertReasonParam.setValue(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.AlertReason.AlertReasonParamList["+ i +"].Value")); + + alertReasonParamList.add(alertReasonParam); + } + alertReason.setAlertReasonParamList(alertReasonParamList); + alertEventInfo.setAlertReason(alertReason); + + BelongProject belongProject = new BelongProject(); + belongProject.setProjectName(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.BelongProject.ProjectName")); + belongProject.setBizName(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.BelongProject.BizName")); + alertEventInfo.setBelongProject(belongProject); + + UrlConfig urlConfig = new UrlConfig(); + urlConfig.setObjectUrl(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.UrlConfig.ObjectUrl")); + urlConfig.setLogUrl(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.UrlConfig.LogUrl")); + urlConfig.setAlertConfigUrl(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.UrlConfig.AlertConfigUrl")); + alertEventInfo.setUrlConfig(urlConfig); + + List alertReceiverList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetAlertEventResponse.AlertEventInfo.AlertReceiverList.Length"); i++) { + AlertReceiver alertReceiver = new AlertReceiver(); + alertReceiver.setType(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.AlertReceiverList["+ i +"].Type")); + alertReceiver.setOnCallTableName(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.AlertReceiverList["+ i +"].OnCallTableName")); + + List alertChannelTypeList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetAlertEventResponse.AlertEventInfo.AlertReceiverList["+ i +"].AlertChannelTypeList.Length"); j++) { + alertChannelTypeList.add(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.AlertReceiverList["+ i +"].AlertChannelTypeList["+ j +"]")); + } + alertReceiver.setAlertChannelTypeList(alertChannelTypeList); + + List customAlertChannelIdList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetAlertEventResponse.AlertEventInfo.AlertReceiverList["+ i +"].CustomAlertChannelIdList.Length"); j++) { + customAlertChannelIdList.add(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.AlertReceiverList["+ i +"].CustomAlertChannelIdList["+ j +"]")); + } + alertReceiver.setCustomAlertChannelIdList(customAlertChannelIdList); + + List userList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetAlertEventResponse.AlertEventInfo.AlertReceiverList["+ i +"].UserList.Length"); j++) { + User user = new User(); + user.setName(_ctx.stringValue("GetAlertEventResponse.AlertEventInfo.AlertReceiverList["+ i +"].UserList["+ j +"].Name")); + + userList.add(user); + } + alertReceiver.setUserList(userList); + + alertReceiverList.add(alertReceiver); + } + alertEventInfo.setAlertReceiverList(alertReceiverList); + getAlertEventResponse.setAlertEventInfo(alertEventInfo); + + return getAlertEventResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskInfoByVersionResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskInfoByVersionResponseUnmarshaller.java new file mode 100644 index 0000000000..44a4df9d2c --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskInfoByVersionResponseUnmarshaller.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.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskInfoByVersionResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskInfoByVersionResponse.TaskInfo; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskInfoByVersionResponse.TaskInfo.CustomScheduleConfig; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskInfoByVersionResponse.TaskInfo.NodeRelation; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskInfoByVersionResponse.TaskInfo.NodeRelation.DependPeriod; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskInfoByVersionResponse.TaskInfo.Param; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskInfoByVersionResponse.TaskInfo.SparkClientInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetBatchTaskInfoByVersionResponseUnmarshaller { + + public static GetBatchTaskInfoByVersionResponse unmarshall(GetBatchTaskInfoByVersionResponse getBatchTaskInfoByVersionResponse, UnmarshallerContext _ctx) { + + getBatchTaskInfoByVersionResponse.setRequestId(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.RequestId")); + getBatchTaskInfoByVersionResponse.setSuccess(_ctx.booleanValue("GetBatchTaskInfoByVersionResponse.Success")); + getBatchTaskInfoByVersionResponse.setHttpStatusCode(_ctx.integerValue("GetBatchTaskInfoByVersionResponse.HttpStatusCode")); + getBatchTaskInfoByVersionResponse.setCode(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.Code")); + getBatchTaskInfoByVersionResponse.setMessage(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.Message")); + + TaskInfo taskInfo = new TaskInfo(); + taskInfo.setFileId(_ctx.longValue("GetBatchTaskInfoByVersionResponse.TaskInfo.FileId")); + taskInfo.setName(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.Name")); + taskInfo.setStatus(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.Status")); + taskInfo.setPublished(_ctx.booleanValue("GetBatchTaskInfoByVersionResponse.TaskInfo.Published")); + taskInfo.setNeedPublish(_ctx.booleanValue("GetBatchTaskInfoByVersionResponse.TaskInfo.NeedPublish")); + taskInfo.setHasDevNode(_ctx.booleanValue("GetBatchTaskInfoByVersionResponse.TaskInfo.HasDevNode")); + taskInfo.setNodeId(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.NodeId")); + taskInfo.setNodeName(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.NodeName")); + taskInfo.setOwnerUserId(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.OwnerUserId")); + taskInfo.setOwnerName(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.OwnerName")); + taskInfo.setOperatorUserId(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.OperatorUserId")); + taskInfo.setNodeDescription(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.NodeDescription")); + taskInfo.setTaskType(_ctx.integerValue("GetBatchTaskInfoByVersionResponse.TaskInfo.TaskType")); + taskInfo.setScheduleType(_ctx.integerValue("GetBatchTaskInfoByVersionResponse.TaskInfo.ScheduleType")); + taskInfo.setSchedulePeriod(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.SchedulePeriod")); + taskInfo.setCronExpression(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.CronExpression")); + taskInfo.setCode(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.Code")); + taskInfo.setRemark(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.Remark")); + taskInfo.setDagId(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.DagId")); + taskInfo.setRerunable(_ctx.booleanValue("GetBatchTaskInfoByVersionResponse.TaskInfo.Rerunable")); + taskInfo.setPriority(_ctx.integerValue("GetBatchTaskInfoByVersionResponse.TaskInfo.Priority")); + taskInfo.setNodeStatus(_ctx.integerValue("GetBatchTaskInfoByVersionResponse.TaskInfo.NodeStatus")); + taskInfo.setPaused(_ctx.booleanValue("GetBatchTaskInfoByVersionResponse.TaskInfo.Paused")); + taskInfo.setNodeFrom(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.NodeFrom")); + taskInfo.setProjectId(_ctx.longValue("GetBatchTaskInfoByVersionResponse.TaskInfo.ProjectId")); + taskInfo.setDataSourceId(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.DataSourceId")); + taskInfo.setDataSourceCatalog(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.DataSourceCatalog")); + taskInfo.setDataSourceSchema(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.DataSourceSchema")); + + List nodeOutputNameList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBatchTaskInfoByVersionResponse.TaskInfo.NodeOutputNameList.Length"); i++) { + nodeOutputNameList.add(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.NodeOutputNameList["+ i +"]")); + } + taskInfo.setNodeOutputNameList(nodeOutputNameList); + + CustomScheduleConfig customScheduleConfig = new CustomScheduleConfig(); + customScheduleConfig.setSchedulePeriod(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.CustomScheduleConfig.SchedulePeriod")); + customScheduleConfig.setInterval(_ctx.integerValue("GetBatchTaskInfoByVersionResponse.TaskInfo.CustomScheduleConfig.Interval")); + customScheduleConfig.setIntervalUnit(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.CustomScheduleConfig.IntervalUnit")); + customScheduleConfig.setStartTime(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.CustomScheduleConfig.StartTime")); + customScheduleConfig.setEndTime(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.CustomScheduleConfig.EndTime")); + taskInfo.setCustomScheduleConfig(customScheduleConfig); + + SparkClientInfo sparkClientInfo = new SparkClientInfo(); + sparkClientInfo.setSparkClientVersion(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.SparkClientInfo.SparkClientVersion")); + taskInfo.setSparkClientInfo(sparkClientInfo); + + List paramList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBatchTaskInfoByVersionResponse.TaskInfo.ParamList.Length"); i++) { + Param param = new Param(); + param.setKey(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.ParamList["+ i +"].Key")); + param.setValue(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.ParamList["+ i +"].Value")); + + paramList.add(param); + } + taskInfo.setParamList(paramList); + + List upStreamList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBatchTaskInfoByVersionResponse.TaskInfo.UpStreamList.Length"); i++) { + NodeRelation nodeRelation = new NodeRelation(); + nodeRelation.setNodeType(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.UpStreamList["+ i +"].NodeType")); + nodeRelation.setSourceNodeId(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.UpStreamList["+ i +"].SourceNodeId")); + nodeRelation.setSourceNodeName(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.UpStreamList["+ i +"].SourceNodeName")); + nodeRelation.setSourceNodeUserName(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.UpStreamList["+ i +"].SourceNodeUserName")); + nodeRelation.setSourceNodeOutputName(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.UpStreamList["+ i +"].SourceNodeOutputName")); + nodeRelation.setSourceTableName(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.UpStreamList["+ i +"].SourceTableName")); + nodeRelation.setPeriodDiff(_ctx.integerValue("GetBatchTaskInfoByVersionResponse.TaskInfo.UpStreamList["+ i +"].PeriodDiff")); + nodeRelation.setDependStrategy(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.UpStreamList["+ i +"].DependStrategy")); + nodeRelation.setSourceNodeEnabled(_ctx.booleanValue("GetBatchTaskInfoByVersionResponse.TaskInfo.UpStreamList["+ i +"].SourceNodeEnabled")); + + List fieldList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetBatchTaskInfoByVersionResponse.TaskInfo.UpStreamList["+ i +"].FieldList.Length"); j++) { + fieldList.add(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.UpStreamList["+ i +"].FieldList["+ j +"]")); + } + nodeRelation.setFieldList(fieldList); + + DependPeriod dependPeriod = new DependPeriod(); + dependPeriod.setPeriodType(_ctx.stringValue("GetBatchTaskInfoByVersionResponse.TaskInfo.UpStreamList["+ i +"].DependPeriod.PeriodType")); + dependPeriod.setPeriodOffset(_ctx.integerValue("GetBatchTaskInfoByVersionResponse.TaskInfo.UpStreamList["+ i +"].DependPeriod.PeriodOffset")); + nodeRelation.setDependPeriod(dependPeriod); + + upStreamList.add(nodeRelation); + } + taskInfo.setUpStreamList(upStreamList); + getBatchTaskInfoByVersionResponse.setTaskInfo(taskInfo); + + return getBatchTaskInfoByVersionResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskInfoResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskInfoResponseUnmarshaller.java new file mode 100644 index 0000000000..6bc96a7124 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskInfoResponseUnmarshaller.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.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskInfoResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskInfoResponse.TaskInfo; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskInfoResponse.TaskInfo.CustomScheduleConfig; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskInfoResponse.TaskInfo.NodeRelation; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskInfoResponse.TaskInfo.NodeRelation.DependPeriod; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskInfoResponse.TaskInfo.Param; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskInfoResponse.TaskInfo.SparkClientInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetBatchTaskInfoResponseUnmarshaller { + + public static GetBatchTaskInfoResponse unmarshall(GetBatchTaskInfoResponse getBatchTaskInfoResponse, UnmarshallerContext _ctx) { + + getBatchTaskInfoResponse.setRequestId(_ctx.stringValue("GetBatchTaskInfoResponse.RequestId")); + getBatchTaskInfoResponse.setSuccess(_ctx.booleanValue("GetBatchTaskInfoResponse.Success")); + getBatchTaskInfoResponse.setHttpStatusCode(_ctx.integerValue("GetBatchTaskInfoResponse.HttpStatusCode")); + getBatchTaskInfoResponse.setCode(_ctx.stringValue("GetBatchTaskInfoResponse.Code")); + getBatchTaskInfoResponse.setMessage(_ctx.stringValue("GetBatchTaskInfoResponse.Message")); + + TaskInfo taskInfo = new TaskInfo(); + taskInfo.setFileId(_ctx.longValue("GetBatchTaskInfoResponse.TaskInfo.FileId")); + taskInfo.setName(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.Name")); + taskInfo.setStatus(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.Status")); + taskInfo.setPublished(_ctx.booleanValue("GetBatchTaskInfoResponse.TaskInfo.Published")); + taskInfo.setNeedPublish(_ctx.booleanValue("GetBatchTaskInfoResponse.TaskInfo.NeedPublish")); + taskInfo.setHasDevNode(_ctx.booleanValue("GetBatchTaskInfoResponse.TaskInfo.HasDevNode")); + taskInfo.setNodeId(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.NodeId")); + taskInfo.setNodeName(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.NodeName")); + taskInfo.setOwnerUserId(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.OwnerUserId")); + taskInfo.setOwnerName(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.OwnerName")); + taskInfo.setOperatorUserId(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.OperatorUserId")); + taskInfo.setNodeDescription(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.NodeDescription")); + taskInfo.setTaskType(_ctx.integerValue("GetBatchTaskInfoResponse.TaskInfo.TaskType")); + taskInfo.setScheduleType(_ctx.integerValue("GetBatchTaskInfoResponse.TaskInfo.ScheduleType")); + taskInfo.setSchedulePeriod(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.SchedulePeriod")); + taskInfo.setCronExpression(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.CronExpression")); + taskInfo.setCode(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.Code")); + taskInfo.setRemark(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.Remark")); + taskInfo.setDagId(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.DagId")); + taskInfo.setRerunable(_ctx.booleanValue("GetBatchTaskInfoResponse.TaskInfo.Rerunable")); + taskInfo.setPriority(_ctx.integerValue("GetBatchTaskInfoResponse.TaskInfo.Priority")); + taskInfo.setNodeStatus(_ctx.integerValue("GetBatchTaskInfoResponse.TaskInfo.NodeStatus")); + taskInfo.setPaused(_ctx.booleanValue("GetBatchTaskInfoResponse.TaskInfo.Paused")); + taskInfo.setNodeFrom(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.NodeFrom")); + taskInfo.setProjectId(_ctx.longValue("GetBatchTaskInfoResponse.TaskInfo.ProjectId")); + taskInfo.setDataSourceId(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.DataSourceId")); + taskInfo.setDataSourceCatalog(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.DataSourceCatalog")); + taskInfo.setDataSourceSchema(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.DataSourceSchema")); + + List nodeOutputNameList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBatchTaskInfoResponse.TaskInfo.NodeOutputNameList.Length"); i++) { + nodeOutputNameList.add(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.NodeOutputNameList["+ i +"]")); + } + taskInfo.setNodeOutputNameList(nodeOutputNameList); + + CustomScheduleConfig customScheduleConfig = new CustomScheduleConfig(); + customScheduleConfig.setSchedulePeriod(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.CustomScheduleConfig.SchedulePeriod")); + customScheduleConfig.setInterval(_ctx.integerValue("GetBatchTaskInfoResponse.TaskInfo.CustomScheduleConfig.Interval")); + customScheduleConfig.setIntervalUnit(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.CustomScheduleConfig.IntervalUnit")); + customScheduleConfig.setStartTime(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.CustomScheduleConfig.StartTime")); + customScheduleConfig.setEndTime(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.CustomScheduleConfig.EndTime")); + taskInfo.setCustomScheduleConfig(customScheduleConfig); + + SparkClientInfo sparkClientInfo = new SparkClientInfo(); + sparkClientInfo.setSparkClientVersion(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.SparkClientInfo.SparkClientVersion")); + taskInfo.setSparkClientInfo(sparkClientInfo); + + List paramList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBatchTaskInfoResponse.TaskInfo.ParamList.Length"); i++) { + Param param = new Param(); + param.setKey(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.ParamList["+ i +"].Key")); + param.setValue(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.ParamList["+ i +"].Value")); + + paramList.add(param); + } + taskInfo.setParamList(paramList); + + List upStreamList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBatchTaskInfoResponse.TaskInfo.UpStreamList.Length"); i++) { + NodeRelation nodeRelation = new NodeRelation(); + nodeRelation.setNodeType(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.UpStreamList["+ i +"].NodeType")); + nodeRelation.setSourceNodeId(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.UpStreamList["+ i +"].SourceNodeId")); + nodeRelation.setSourceNodeName(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.UpStreamList["+ i +"].SourceNodeName")); + nodeRelation.setSourceNodeUserName(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.UpStreamList["+ i +"].SourceNodeUserName")); + nodeRelation.setSourceNodeOutputName(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.UpStreamList["+ i +"].SourceNodeOutputName")); + nodeRelation.setSourceTableName(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.UpStreamList["+ i +"].SourceTableName")); + nodeRelation.setPeriodDiff(_ctx.integerValue("GetBatchTaskInfoResponse.TaskInfo.UpStreamList["+ i +"].PeriodDiff")); + nodeRelation.setDependStrategy(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.UpStreamList["+ i +"].DependStrategy")); + nodeRelation.setSourceNodeEnabled(_ctx.booleanValue("GetBatchTaskInfoResponse.TaskInfo.UpStreamList["+ i +"].SourceNodeEnabled")); + + List fieldList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetBatchTaskInfoResponse.TaskInfo.UpStreamList["+ i +"].FieldList.Length"); j++) { + fieldList.add(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.UpStreamList["+ i +"].FieldList["+ j +"]")); + } + nodeRelation.setFieldList(fieldList); + + DependPeriod dependPeriod = new DependPeriod(); + dependPeriod.setPeriodType(_ctx.stringValue("GetBatchTaskInfoResponse.TaskInfo.UpStreamList["+ i +"].DependPeriod.PeriodType")); + dependPeriod.setPeriodOffset(_ctx.integerValue("GetBatchTaskInfoResponse.TaskInfo.UpStreamList["+ i +"].DependPeriod.PeriodOffset")); + nodeRelation.setDependPeriod(dependPeriod); + + upStreamList.add(nodeRelation); + } + taskInfo.setUpStreamList(upStreamList); + getBatchTaskInfoResponse.setTaskInfo(taskInfo); + + return getBatchTaskInfoResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskUdfLineagesResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskUdfLineagesResponseUnmarshaller.java new file mode 100644 index 0000000000..632c0acbd7 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskUdfLineagesResponseUnmarshaller.java @@ -0,0 +1,121 @@ +/* + * 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.GetBatchTaskUdfLineagesResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskUdfLineagesResponse.Data; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskUdfLineagesResponse.Data.LineageGroup; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskUdfLineagesResponse.Data.LineageGroup.LineageTable; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskUdfLineagesResponse.Data.LineageGroup.LineageTable.LineageColumn; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetBatchTaskUdfLineagesResponseUnmarshaller { + + public static GetBatchTaskUdfLineagesResponse unmarshall(GetBatchTaskUdfLineagesResponse getBatchTaskUdfLineagesResponse, UnmarshallerContext _ctx) { + + getBatchTaskUdfLineagesResponse.setRequestId(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.RequestId")); + getBatchTaskUdfLineagesResponse.setSuccess(_ctx.booleanValue("GetBatchTaskUdfLineagesResponse.Success")); + getBatchTaskUdfLineagesResponse.setHttpStatusCode(_ctx.integerValue("GetBatchTaskUdfLineagesResponse.HttpStatusCode")); + getBatchTaskUdfLineagesResponse.setCode(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Code")); + getBatchTaskUdfLineagesResponse.setMessage(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Message")); + + Data data = new Data(); + + List lineageGroupList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList.Length"); i++) { + LineageGroup lineageGroup = new LineageGroup(); + + List inputLineageList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList.Length"); j++) { + LineageTable lineageTable = new LineageTable(); + lineageTable.setName(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].Name")); + lineageTable.setDisplayName(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].DisplayName")); + lineageTable.setGuid(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].Guid")); + lineageTable.setDescription(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].Description")); + lineageTable.setOwnerName(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].OwnerName")); + lineageTable.setOwnerUserId(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].OwnerUserId")); + lineageTable.setProjectName(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].ProjectName")); + lineageTable.setProjectId(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].ProjectId")); + lineageTable.setBizUnitId(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].BizUnitId")); + lineageTable.setBizUnitName(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].BizUnitName")); + lineageTable.setEnv(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].Env")); + lineageTable.setSubType(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].SubType")); + lineageTable.setFullTable(_ctx.booleanValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].FullTable")); + + List columnList = new ArrayList(); + for (int k = 0; k < _ctx.lengthValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].ColumnList.Length"); k++) { + LineageColumn lineageColumn = new LineageColumn(); + lineageColumn.setId(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].ColumnList["+ k +"].Id")); + lineageColumn.setName(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].ColumnList["+ k +"].Name")); + lineageColumn.setDescription(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].ColumnList["+ k +"].Description")); + lineageColumn.setDataType(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].ColumnList["+ k +"].DataType")); + lineageColumn.setPartitionKey(_ctx.booleanValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].ColumnList["+ k +"].PartitionKey")); + lineageColumn.setPrimaryKey(_ctx.booleanValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].InputLineageList["+ j +"].ColumnList["+ k +"].PrimaryKey")); + + columnList.add(lineageColumn); + } + lineageTable.setColumnList(columnList); + + inputLineageList.add(lineageTable); + } + lineageGroup.setInputLineageList(inputLineageList); + + List outputLineageList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList.Length"); j++) { + LineageTable lineageTable1 = new LineageTable(); + lineageTable1.setName(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].Name")); + lineageTable1.setDisplayName(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].DisplayName")); + lineageTable1.setGuid(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].Guid")); + lineageTable1.setDescription(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].Description")); + lineageTable1.setOwnerName(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].OwnerName")); + lineageTable1.setOwnerUserId(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].OwnerUserId")); + lineageTable1.setProjectName(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].ProjectName")); + lineageTable1.setProjectId(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].ProjectId")); + lineageTable1.setBizUnitId(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].BizUnitId")); + lineageTable1.setBizUnitName(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].BizUnitName")); + lineageTable1.setEnv(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].Env")); + lineageTable1.setSubType(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].SubType")); + lineageTable1.setFullTable(_ctx.booleanValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].FullTable")); + + List columnList1 = new ArrayList(); + for (int k = 0; k < _ctx.lengthValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].ColumnList.Length"); k++) { + com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskUdfLineagesResponse.Data.LineageGroup.LineageTable.LineageColumn lineageColumn1 = new com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskUdfLineagesResponse.Data.LineageGroup.LineageTable.LineageColumn(); + lineageColumn1.setId(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].ColumnList["+ k +"].Id")); + lineageColumn1.setName(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].ColumnList["+ k +"].Name")); + lineageColumn1.setDescription(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].ColumnList["+ k +"].Description")); + lineageColumn1.setDataType(_ctx.stringValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].ColumnList["+ k +"].DataType")); + lineageColumn1.setPartitionKey(_ctx.booleanValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].ColumnList["+ k +"].PartitionKey")); + lineageColumn1.setPrimaryKey(_ctx.booleanValue("GetBatchTaskUdfLineagesResponse.Data.LineageGroupList["+ i +"].OutputLineageList["+ j +"].ColumnList["+ k +"].PrimaryKey")); + + columnList1.add(lineageColumn1); + } + lineageTable1.setColumnList(columnList1); + + outputLineageList.add(lineageTable1); + } + lineageGroup.setOutputLineageList(outputLineageList); + + lineageGroupList.add(lineageGroup); + } + data.setLineageGroupList(lineageGroupList); + getBatchTaskUdfLineagesResponse.setData(data); + + return getBatchTaskUdfLineagesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskVersionsResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskVersionsResponseUnmarshaller.java new file mode 100644 index 0000000000..0c95c037c5 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBatchTaskVersionsResponseUnmarshaller.java @@ -0,0 +1,58 @@ +/* + * 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.GetBatchTaskVersionsResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskVersionsResponse.Data; +import com.aliyuncs.dataphin_public.model.v20230630.GetBatchTaskVersionsResponse.Data.BatchTaskVersion; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetBatchTaskVersionsResponseUnmarshaller { + + public static GetBatchTaskVersionsResponse unmarshall(GetBatchTaskVersionsResponse getBatchTaskVersionsResponse, UnmarshallerContext _ctx) { + + getBatchTaskVersionsResponse.setRequestId(_ctx.stringValue("GetBatchTaskVersionsResponse.RequestId")); + getBatchTaskVersionsResponse.setSuccess(_ctx.booleanValue("GetBatchTaskVersionsResponse.Success")); + getBatchTaskVersionsResponse.setHttpStatusCode(_ctx.integerValue("GetBatchTaskVersionsResponse.HttpStatusCode")); + getBatchTaskVersionsResponse.setCode(_ctx.stringValue("GetBatchTaskVersionsResponse.Code")); + getBatchTaskVersionsResponse.setMessage(_ctx.stringValue("GetBatchTaskVersionsResponse.Message")); + + Data data = new Data(); + + List batchTaskVersionList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBatchTaskVersionsResponse.Data.BatchTaskVersionList.Length"); i++) { + BatchTaskVersion batchTaskVersion = new BatchTaskVersion(); + batchTaskVersion.setNodeId(_ctx.stringValue("GetBatchTaskVersionsResponse.Data.BatchTaskVersionList["+ i +"].NodeId")); + batchTaskVersion.setVersion(_ctx.stringValue("GetBatchTaskVersionsResponse.Data.BatchTaskVersionList["+ i +"].Version")); + batchTaskVersion.setUserId(_ctx.stringValue("GetBatchTaskVersionsResponse.Data.BatchTaskVersionList["+ i +"].UserId")); + batchTaskVersion.setUserName(_ctx.stringValue("GetBatchTaskVersionsResponse.Data.BatchTaskVersionList["+ i +"].UserName")); + batchTaskVersion.setComment(_ctx.stringValue("GetBatchTaskVersionsResponse.Data.BatchTaskVersionList["+ i +"].Comment")); + batchTaskVersion.setPublished(_ctx.booleanValue("GetBatchTaskVersionsResponse.Data.BatchTaskVersionList["+ i +"].Published")); + batchTaskVersion.setProjectId(_ctx.longValue("GetBatchTaskVersionsResponse.Data.BatchTaskVersionList["+ i +"].ProjectId")); + batchTaskVersion.setGmtCreate(_ctx.stringValue("GetBatchTaskVersionsResponse.Data.BatchTaskVersionList["+ i +"].GmtCreate")); + batchTaskVersion.setGmtModified(_ctx.stringValue("GetBatchTaskVersionsResponse.Data.BatchTaskVersionList["+ i +"].GmtModified")); + + batchTaskVersionList.add(batchTaskVersion); + } + data.setBatchTaskVersionList(batchTaskVersionList); + getBatchTaskVersionsResponse.setData(data); + + return getBatchTaskVersionsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBizEntityInfoByVersionResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBizEntityInfoByVersionResponseUnmarshaller.java new file mode 100644 index 0000000000..9f9620e016 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBizEntityInfoByVersionResponseUnmarshaller.java @@ -0,0 +1,116 @@ +/* + * 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.GetBizEntityInfoByVersionResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetBizEntityInfoByVersionResponse.BizEntityInfo; +import com.aliyuncs.dataphin_public.model.v20230630.GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject; +import com.aliyuncs.dataphin_public.model.v20230630.GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetBizEntityInfoByVersionResponseUnmarshaller { + + public static GetBizEntityInfoByVersionResponse unmarshall(GetBizEntityInfoByVersionResponse getBizEntityInfoByVersionResponse, UnmarshallerContext _ctx) { + + getBizEntityInfoByVersionResponse.setRequestId(_ctx.stringValue("GetBizEntityInfoByVersionResponse.RequestId")); + getBizEntityInfoByVersionResponse.setSuccess(_ctx.booleanValue("GetBizEntityInfoByVersionResponse.Success")); + getBizEntityInfoByVersionResponse.setHttpStatusCode(_ctx.integerValue("GetBizEntityInfoByVersionResponse.HttpStatusCode")); + getBizEntityInfoByVersionResponse.setCode(_ctx.stringValue("GetBizEntityInfoByVersionResponse.Code")); + getBizEntityInfoByVersionResponse.setMessage(_ctx.stringValue("GetBizEntityInfoByVersionResponse.Message")); + + BizEntityInfo bizEntityInfo = new BizEntityInfo(); + bizEntityInfo.setType(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.Type")); + bizEntityInfo.setDataDomainId(_ctx.longValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.DataDomainId")); + bizEntityInfo.setBizUnitId(_ctx.longValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizUnitId")); + + BizObject bizObject = new BizObject(); + bizObject.setId(_ctx.longValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.Id")); + bizObject.setName(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.Name")); + bizObject.setDisplayName(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.DisplayName")); + bizObject.setDescription(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.Description")); + bizObject.setOwnerUserId(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.OwnerUserId")); + bizObject.setOwnerName(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.OwnerName")); + bizObject.setType(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.Type")); + bizObject.setParentId(_ctx.longValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.ParentId")); + bizObject.setGmtCreate(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.GmtCreate")); + bizObject.setGmtModified(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.GmtModified")); + bizObject.setLastModifier(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.LastModifier")); + bizObject.setLastModifierName(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.LastModifierName")); + bizObject.setRefDimTableCount(_ctx.integerValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.RefDimTableCount")); + bizObject.setRefSummaryTableCount(_ctx.integerValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.RefSummaryTableCount")); + bizObject.setOnlineStatus(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.OnlineStatus")); + bizObject.setStatus(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.Status")); + bizObject.setApprovalId(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.ApprovalId")); + bizObject.setApprovalStatus(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.ApprovalStatus")); + + List refBizEntityIdList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.RefBizEntityIdList.Length"); i++) { + refBizEntityIdList.add(_ctx.longValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.RefBizEntityIdList["+ i +"]")); + } + bizObject.setRefBizEntityIdList(refBizEntityIdList); + + List childBizEntityIdList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.ChildBizEntityIdList.Length"); i++) { + childBizEntityIdList.add(_ctx.longValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizObject.ChildBizEntityIdList["+ i +"]")); + } + bizObject.setChildBizEntityIdList(childBizEntityIdList); + bizEntityInfo.setBizObject(bizObject); + + BizProcess bizProcess = new BizProcess(); + bizProcess.setId(_ctx.longValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.Id")); + bizProcess.setName(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.Name")); + bizProcess.setDisplayName(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.DisplayName")); + bizProcess.setDescription(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.Description")); + bizProcess.setOwnerUserId(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.OwnerUserId")); + bizProcess.setOwnerName(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.OwnerName")); + bizProcess.setType(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.Type")); + bizProcess.setGmtCreate(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.GmtCreate")); + bizProcess.setGmtModified(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.GmtModified")); + bizProcess.setLastModifier(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.LastModifier")); + bizProcess.setLastModifierName(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.LastModifierName")); + bizProcess.setHasDependent(_ctx.booleanValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.HasDependent")); + bizProcess.setOnlineStatus(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.OnlineStatus")); + bizProcess.setStatus(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.Status")); + bizProcess.setApprovalId(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.ApprovalId")); + bizProcess.setApprovalStatus(_ctx.stringValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.ApprovalStatus")); + bizProcess.setRefFactTableCount(_ctx.integerValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.RefFactTableCount")); + + List refBizEntityIdList1 = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.RefBizEntityIdList.Length"); i++) { + refBizEntityIdList1.add(_ctx.longValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.RefBizEntityIdList["+ i +"]")); + } + bizProcess.setRefBizEntityIdList1(refBizEntityIdList1); + + List bizEventEntityIdList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.BizEventEntityIdList.Length"); i++) { + bizEventEntityIdList.add(_ctx.longValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.BizEventEntityIdList["+ i +"]")); + } + bizProcess.setBizEventEntityIdList(bizEventEntityIdList); + + List preBizProcessIdList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.PreBizProcessIdList.Length"); i++) { + preBizProcessIdList.add(_ctx.longValue("GetBizEntityInfoByVersionResponse.BizEntityInfo.BizProcess.PreBizProcessIdList["+ i +"]")); + } + bizProcess.setPreBizProcessIdList(preBizProcessIdList); + bizEntityInfo.setBizProcess(bizProcess); + getBizEntityInfoByVersionResponse.setBizEntityInfo(bizEntityInfo); + + return getBizEntityInfoByVersionResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBizEntityInfoResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBizEntityInfoResponseUnmarshaller.java new file mode 100644 index 0000000000..00a689b77c --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBizEntityInfoResponseUnmarshaller.java @@ -0,0 +1,116 @@ +/* + * 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.GetBizEntityInfoResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetBizEntityInfoResponse.BizEntityInfo; +import com.aliyuncs.dataphin_public.model.v20230630.GetBizEntityInfoResponse.BizEntityInfo.BizObject; +import com.aliyuncs.dataphin_public.model.v20230630.GetBizEntityInfoResponse.BizEntityInfo.BizProcess; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetBizEntityInfoResponseUnmarshaller { + + public static GetBizEntityInfoResponse unmarshall(GetBizEntityInfoResponse getBizEntityInfoResponse, UnmarshallerContext _ctx) { + + getBizEntityInfoResponse.setRequestId(_ctx.stringValue("GetBizEntityInfoResponse.RequestId")); + getBizEntityInfoResponse.setSuccess(_ctx.booleanValue("GetBizEntityInfoResponse.Success")); + getBizEntityInfoResponse.setHttpStatusCode(_ctx.integerValue("GetBizEntityInfoResponse.HttpStatusCode")); + getBizEntityInfoResponse.setCode(_ctx.stringValue("GetBizEntityInfoResponse.Code")); + getBizEntityInfoResponse.setMessage(_ctx.stringValue("GetBizEntityInfoResponse.Message")); + + BizEntityInfo bizEntityInfo = new BizEntityInfo(); + bizEntityInfo.setType(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.Type")); + bizEntityInfo.setDataDomainId(_ctx.longValue("GetBizEntityInfoResponse.BizEntityInfo.DataDomainId")); + bizEntityInfo.setBizUnitId(_ctx.longValue("GetBizEntityInfoResponse.BizEntityInfo.BizUnitId")); + + BizObject bizObject = new BizObject(); + bizObject.setId(_ctx.longValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.Id")); + bizObject.setName(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.Name")); + bizObject.setDisplayName(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.DisplayName")); + bizObject.setDescription(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.Description")); + bizObject.setOwnerUserId(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.OwnerUserId")); + bizObject.setOwnerName(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.OwnerName")); + bizObject.setType(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.Type")); + bizObject.setParentId(_ctx.longValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.ParentId")); + bizObject.setGmtCreate(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.GmtCreate")); + bizObject.setGmtModified(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.GmtModified")); + bizObject.setLastModifier(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.LastModifier")); + bizObject.setLastModifierName(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.LastModifierName")); + bizObject.setRefDimTableCount(_ctx.integerValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.RefDimTableCount")); + bizObject.setRefSummaryTableCount(_ctx.integerValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.RefSummaryTableCount")); + bizObject.setOnlineStatus(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.OnlineStatus")); + bizObject.setStatus(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.Status")); + bizObject.setApprovalId(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.ApprovalId")); + bizObject.setApprovalStatus(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.ApprovalStatus")); + + List refBizEntityIdList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.RefBizEntityIdList.Length"); i++) { + refBizEntityIdList.add(_ctx.longValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.RefBizEntityIdList["+ i +"]")); + } + bizObject.setRefBizEntityIdList(refBizEntityIdList); + + List childBizEntityIdList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.ChildBizEntityIdList.Length"); i++) { + childBizEntityIdList.add(_ctx.longValue("GetBizEntityInfoResponse.BizEntityInfo.BizObject.ChildBizEntityIdList["+ i +"]")); + } + bizObject.setChildBizEntityIdList(childBizEntityIdList); + bizEntityInfo.setBizObject(bizObject); + + BizProcess bizProcess = new BizProcess(); + bizProcess.setId(_ctx.longValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.Id")); + bizProcess.setName(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.Name")); + bizProcess.setDisplayName(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.DisplayName")); + bizProcess.setDescription(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.Description")); + bizProcess.setOwnerUserId(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.OwnerUserId")); + bizProcess.setOwnerName(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.OwnerName")); + bizProcess.setType(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.Type")); + bizProcess.setGmtCreate(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.GmtCreate")); + bizProcess.setGmtModified(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.GmtModified")); + bizProcess.setLastModifier(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.LastModifier")); + bizProcess.setLastModifierName(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.LastModifierName")); + bizProcess.setHasDependent(_ctx.booleanValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.HasDependent")); + bizProcess.setOnlineStatus(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.OnlineStatus")); + bizProcess.setStatus(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.Status")); + bizProcess.setApprovalId(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.ApprovalId")); + bizProcess.setApprovalStatus(_ctx.stringValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.ApprovalStatus")); + bizProcess.setRefFactTableCount(_ctx.integerValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.RefFactTableCount")); + + List refBizEntityIdList1 = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.RefBizEntityIdList.Length"); i++) { + refBizEntityIdList1.add(_ctx.longValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.RefBizEntityIdList["+ i +"]")); + } + bizProcess.setRefBizEntityIdList1(refBizEntityIdList1); + + List bizEventEntityIdList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.BizEventEntityIdList.Length"); i++) { + bizEventEntityIdList.add(_ctx.longValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.BizEventEntityIdList["+ i +"]")); + } + bizProcess.setBizEventEntityIdList(bizEventEntityIdList); + + List preBizProcessIdList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.PreBizProcessIdList.Length"); i++) { + preBizProcessIdList.add(_ctx.longValue("GetBizEntityInfoResponse.BizEntityInfo.BizProcess.PreBizProcessIdList["+ i +"]")); + } + bizProcess.setPreBizProcessIdList(preBizProcessIdList); + bizEntityInfo.setBizProcess(bizProcess); + getBizEntityInfoResponse.setBizEntityInfo(bizEntityInfo); + + return getBizEntityInfoResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBizUnitInfoResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBizUnitInfoResponseUnmarshaller.java new file mode 100644 index 0000000000..e926fe2837 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetBizUnitInfoResponseUnmarshaller.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.GetBizUnitInfoResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetBizUnitInfoResponse.BizUnitInfo; +import com.aliyuncs.dataphin_public.model.v20230630.GetBizUnitInfoResponse.BizUnitInfo.EnvName; +import com.aliyuncs.dataphin_public.model.v20230630.GetBizUnitInfoResponse.BizUnitInfo.User; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetBizUnitInfoResponseUnmarshaller { + + public static GetBizUnitInfoResponse unmarshall(GetBizUnitInfoResponse getBizUnitInfoResponse, UnmarshallerContext _ctx) { + + getBizUnitInfoResponse.setRequestId(_ctx.stringValue("GetBizUnitInfoResponse.RequestId")); + getBizUnitInfoResponse.setSuccess(_ctx.booleanValue("GetBizUnitInfoResponse.Success")); + getBizUnitInfoResponse.setHttpStatusCode(_ctx.integerValue("GetBizUnitInfoResponse.HttpStatusCode")); + getBizUnitInfoResponse.setCode(_ctx.stringValue("GetBizUnitInfoResponse.Code")); + getBizUnitInfoResponse.setMessage(_ctx.stringValue("GetBizUnitInfoResponse.Message")); + + BizUnitInfo bizUnitInfo = new BizUnitInfo(); + bizUnitInfo.setId(_ctx.longValue("GetBizUnitInfoResponse.BizUnitInfo.Id")); + bizUnitInfo.setName(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.Name")); + bizUnitInfo.setDisplayName(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.DisplayName")); + bizUnitInfo.setDescription(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.Description")); + bizUnitInfo.setOwnerUserId(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.OwnerUserId")); + bizUnitInfo.setOwnerName(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.OwnerName")); + bizUnitInfo.setGmtCreate(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.GmtCreate")); + bizUnitInfo.setGmtModified(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.GmtModified")); + bizUnitInfo.setLastModifier(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.LastModifier")); + bizUnitInfo.setLastModifierName(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.LastModifierName")); + bizUnitInfo.setIcon(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.Icon")); + bizUnitInfo.setMode(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.Mode")); + bizUnitInfo.setDataDomainCount(_ctx.integerValue("GetBizUnitInfoResponse.BizUnitInfo.DataDomainCount")); + bizUnitInfo.setBizObjectCount(_ctx.integerValue("GetBizUnitInfoResponse.BizUnitInfo.BizObjectCount")); + bizUnitInfo.setBizProcessCount(_ctx.integerValue("GetBizUnitInfoResponse.BizUnitInfo.BizProcessCount")); + + List envList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBizUnitInfoResponse.BizUnitInfo.EnvList.Length"); i++) { + EnvName envName = new EnvName(); + envName.setEnvName(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.EnvList["+ i +"].EnvName")); + envName.setName(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.EnvList["+ i +"].Name")); + envName.setDisplayName(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.EnvList["+ i +"].DisplayName")); + + envList.add(envName); + } + bizUnitInfo.setEnvList(envList); + + List accountList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBizUnitInfoResponse.BizUnitInfo.AccountList.Length"); i++) { + User user = new User(); + user.setId(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.AccountList["+ i +"].Id")); + + accountList.add(user); + } + bizUnitInfo.setAccountList(accountList); + + List businessLeaderList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBizUnitInfoResponse.BizUnitInfo.BusinessLeaderList.Length"); i++) { + User user1 = new User(); + user1.setId(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.BusinessLeaderList["+ i +"].Id")); + + businessLeaderList.add(user1); + } + bizUnitInfo.setBusinessLeaderList(businessLeaderList); + + List dataLeaderList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetBizUnitInfoResponse.BizUnitInfo.DataLeaderList.Length"); i++) { + User user2 = new User(); + user2.setId(_ctx.stringValue("GetBizUnitInfoResponse.BizUnitInfo.DataLeaderList["+ i +"].Id")); + + dataLeaderList.add(user2); + } + bizUnitInfo.setDataLeaderList(dataLeaderList); + getBizUnitInfoResponse.setBizUnitInfo(bizUnitInfo); + + return getBizUnitInfoResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetClusterQueueInfoByEnvResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetClusterQueueInfoByEnvResponseUnmarshaller.java new file mode 100644 index 0000000000..5883d08627 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetClusterQueueInfoByEnvResponseUnmarshaller.java @@ -0,0 +1,60 @@ +/* + * 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.GetClusterQueueInfoByEnvResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetClusterQueueInfoByEnvResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetClusterQueueInfoByEnvResponseUnmarshaller { + + public static GetClusterQueueInfoByEnvResponse unmarshall(GetClusterQueueInfoByEnvResponse getClusterQueueInfoByEnvResponse, UnmarshallerContext _ctx) { + + getClusterQueueInfoByEnvResponse.setRequestId(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.RequestId")); + getClusterQueueInfoByEnvResponse.setSuccess(_ctx.booleanValue("GetClusterQueueInfoByEnvResponse.Success")); + getClusterQueueInfoByEnvResponse.setHttpStatusCode(_ctx.integerValue("GetClusterQueueInfoByEnvResponse.HttpStatusCode")); + getClusterQueueInfoByEnvResponse.setCode(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Code")); + getClusterQueueInfoByEnvResponse.setMessage(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Message")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetClusterQueueInfoByEnvResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setClusterId(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Data["+ i +"].ClusterId")); + dataItem.setQueueName(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Data["+ i +"].QueueName")); + dataItem.setMaxVcore(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Data["+ i +"].MaxVcore")); + dataItem.setNamespace(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Data["+ i +"].Namespace")); + dataItem.setCreateAt(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Data["+ i +"].CreateAt")); + dataItem.setModifiedAt(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Data["+ i +"].ModifiedAt")); + dataItem.setAnnotations(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Data["+ i +"].Annotations")); + dataItem.setLabels(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Data["+ i +"].Labels")); + dataItem.setResourceVersion(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Data["+ i +"].ResourceVersion")); + dataItem.setSpec(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Data["+ i +"].Spec")); + dataItem.setVvpClusterType(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Data["+ i +"].VvpClusterType")); + dataItem.setFlinkVersion(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Data["+ i +"].FlinkVersion")); + dataItem.setFlinkImageRegistry(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Data["+ i +"].FlinkImageRegistry")); + dataItem.setFlinkImageRepository(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Data["+ i +"].FlinkImageRepository")); + dataItem.setFlinkImageTag(_ctx.stringValue("GetClusterQueueInfoByEnvResponse.Data["+ i +"].FlinkImageTag")); + + data.add(dataItem); + } + getClusterQueueInfoByEnvResponse.setData(data); + + return getClusterQueueInfoByEnvResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetDataDomainInfoResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetDataDomainInfoResponseUnmarshaller.java new file mode 100644 index 0000000000..b9ac0b5dcd --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetDataDomainInfoResponseUnmarshaller.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 com.aliyuncs.dataphin_public.model.v20230630.GetDataDomainInfoResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetDataDomainInfoResponse.DataDomainInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetDataDomainInfoResponseUnmarshaller { + + public static GetDataDomainInfoResponse unmarshall(GetDataDomainInfoResponse getDataDomainInfoResponse, UnmarshallerContext _ctx) { + + getDataDomainInfoResponse.setRequestId(_ctx.stringValue("GetDataDomainInfoResponse.RequestId")); + getDataDomainInfoResponse.setSuccess(_ctx.booleanValue("GetDataDomainInfoResponse.Success")); + getDataDomainInfoResponse.setHttpStatusCode(_ctx.integerValue("GetDataDomainInfoResponse.HttpStatusCode")); + getDataDomainInfoResponse.setCode(_ctx.stringValue("GetDataDomainInfoResponse.Code")); + getDataDomainInfoResponse.setMessage(_ctx.stringValue("GetDataDomainInfoResponse.Message")); + + DataDomainInfo dataDomainInfo = new DataDomainInfo(); + dataDomainInfo.setId(_ctx.longValue("GetDataDomainInfoResponse.DataDomainInfo.Id")); + dataDomainInfo.setBizUnitId(_ctx.longValue("GetDataDomainInfoResponse.DataDomainInfo.BizUnitId")); + dataDomainInfo.setName(_ctx.stringValue("GetDataDomainInfoResponse.DataDomainInfo.Name")); + dataDomainInfo.setDisplayName(_ctx.stringValue("GetDataDomainInfoResponse.DataDomainInfo.DisplayName")); + dataDomainInfo.setAbbreviation(_ctx.stringValue("GetDataDomainInfoResponse.DataDomainInfo.Abbreviation")); + dataDomainInfo.setDescription(_ctx.stringValue("GetDataDomainInfoResponse.DataDomainInfo.Description")); + dataDomainInfo.setOwnerUserId(_ctx.stringValue("GetDataDomainInfoResponse.DataDomainInfo.OwnerUserId")); + dataDomainInfo.setOwnerName(_ctx.stringValue("GetDataDomainInfoResponse.DataDomainInfo.OwnerName")); + dataDomainInfo.setGmtCreate(_ctx.stringValue("GetDataDomainInfoResponse.DataDomainInfo.GmtCreate")); + dataDomainInfo.setGmtModified(_ctx.stringValue("GetDataDomainInfoResponse.DataDomainInfo.GmtModified")); + dataDomainInfo.setLastModifier(_ctx.stringValue("GetDataDomainInfoResponse.DataDomainInfo.LastModifier")); + dataDomainInfo.setLastModifierName(_ctx.stringValue("GetDataDomainInfoResponse.DataDomainInfo.LastModifierName")); + dataDomainInfo.setParentId(_ctx.longValue("GetDataDomainInfoResponse.DataDomainInfo.ParentId")); + getDataDomainInfoResponse.setDataDomainInfo(dataDomainInfo); + + return getDataDomainInfoResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetDirectoryTreeResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetDirectoryTreeResponseUnmarshaller.java new file mode 100644 index 0000000000..a9b16a4afb --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetDirectoryTreeResponseUnmarshaller.java @@ -0,0 +1,81 @@ +/* + * 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.GetDirectoryTreeResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetDirectoryTreeResponse.DataItem; +import com.aliyuncs.dataphin_public.model.v20230630.GetDirectoryTreeResponse.DataItem.Children; +import com.aliyuncs.dataphin_public.model.v20230630.GetDirectoryTreeResponse.DataItem.Parent; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetDirectoryTreeResponseUnmarshaller { + + public static GetDirectoryTreeResponse unmarshall(GetDirectoryTreeResponse getDirectoryTreeResponse, UnmarshallerContext _ctx) { + + getDirectoryTreeResponse.setRequestId(_ctx.stringValue("GetDirectoryTreeResponse.RequestId")); + getDirectoryTreeResponse.setSuccess(_ctx.booleanValue("GetDirectoryTreeResponse.Success")); + getDirectoryTreeResponse.setHttpStatusCode(_ctx.integerValue("GetDirectoryTreeResponse.HttpStatusCode")); + getDirectoryTreeResponse.setCode(_ctx.stringValue("GetDirectoryTreeResponse.Code")); + getDirectoryTreeResponse.setMessage(_ctx.stringValue("GetDirectoryTreeResponse.Message")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetDirectoryTreeResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + + Parent parent = new Parent(); + parent.setId(_ctx.longValue("GetDirectoryTreeResponse.Data["+ i +"].Parent.Id")); + parent.setStringId(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Parent.StringId")); + parent.setProjectId(_ctx.longValue("GetDirectoryTreeResponse.Data["+ i +"].Parent.ProjectId")); + parent.setCategoryType(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Parent.CategoryType")); + parent.setDataCellId(_ctx.longValue("GetDirectoryTreeResponse.Data["+ i +"].Parent.DataCellId")); + parent.setDirName(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Parent.DirName")); + parent.setName(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Parent.Name")); + parent.setType(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Parent.Type")); + parent.setCreator(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Parent.Creator")); + parent.setCreatorName(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Parent.CreatorName")); + parent.setGmtCreate(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Parent.GmtCreate")); + parent.setGmtModified(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Parent.GmtModified")); + parent.setLastModifier(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Parent.LastModifier")); + parent.setLastModifierName(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Parent.LastModifierName")); + dataItem.setParent(parent); + + Children children = new Children(); + children.setId(_ctx.longValue("GetDirectoryTreeResponse.Data["+ i +"].Children.Id")); + children.setStringId(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Children.StringId")); + children.setProjectId(_ctx.longValue("GetDirectoryTreeResponse.Data["+ i +"].Children.ProjectId")); + children.setCategoryType(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Children.CategoryType")); + children.setDataCellId(_ctx.longValue("GetDirectoryTreeResponse.Data["+ i +"].Children.DataCellId")); + children.setDirName(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Children.DirName")); + children.setName(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Children.Name")); + children.setType(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Children.Type")); + children.setCreator(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Children.Creator")); + children.setCreatorName(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Children.CreatorName")); + children.setGmtCreate(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Children.GmtCreate")); + children.setGmtModified(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Children.GmtModified")); + children.setLastModifier(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Children.LastModifier")); + children.setLastModifierName(_ctx.stringValue("GetDirectoryTreeResponse.Data["+ i +"].Children.LastModifierName")); + dataItem.setChildren(children); + + data.add(dataItem); + } + getDirectoryTreeResponse.setData(data); + + return getDirectoryTreeResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetLatestSubmitDetailResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetLatestSubmitDetailResponseUnmarshaller.java new file mode 100644 index 0000000000..37fdb4b2bf --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetLatestSubmitDetailResponseUnmarshaller.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 com.aliyuncs.dataphin_public.model.v20230630.GetLatestSubmitDetailResponse; +import com.aliyuncs.dataphin_public.model.v20230630.GetLatestSubmitDetailResponse.SubmitDetailResult; +import com.aliyuncs.dataphin_public.model.v20230630.GetLatestSubmitDetailResponse.SubmitDetailResult.ReleaseObject; +import com.aliyuncs.dataphin_public.model.v20230630.GetLatestSubmitDetailResponse.SubmitDetailResult.ReleaseObject.SubmitObject; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetLatestSubmitDetailResponseUnmarshaller { + + public static GetLatestSubmitDetailResponse unmarshall(GetLatestSubmitDetailResponse getLatestSubmitDetailResponse, UnmarshallerContext _ctx) { + + getLatestSubmitDetailResponse.setRequestId(_ctx.stringValue("GetLatestSubmitDetailResponse.RequestId")); + getLatestSubmitDetailResponse.setSuccess(_ctx.booleanValue("GetLatestSubmitDetailResponse.Success")); + getLatestSubmitDetailResponse.setHttpStatusCode(_ctx.integerValue("GetLatestSubmitDetailResponse.HttpStatusCode")); + getLatestSubmitDetailResponse.setCode(_ctx.stringValue("GetLatestSubmitDetailResponse.Code")); + getLatestSubmitDetailResponse.setMessage(_ctx.stringValue("GetLatestSubmitDetailResponse.Message")); + + SubmitDetailResult submitDetailResult = new SubmitDetailResult(); + submitDetailResult.setId(_ctx.longValue("GetLatestSubmitDetailResponse.SubmitDetailResult.Id")); + submitDetailResult.setSubmitStatus(_ctx.stringValue("GetLatestSubmitDetailResponse.SubmitDetailResult.SubmitStatus")); + submitDetailResult.setPublishStatus(_ctx.stringValue("GetLatestSubmitDetailResponse.SubmitDetailResult.PublishStatus")); + submitDetailResult.setTag(_ctx.stringValue("GetLatestSubmitDetailResponse.SubmitDetailResult.Tag")); + + ReleaseObject releaseObject = new ReleaseObject(); + releaseObject.setObjectVersion(_ctx.stringValue("GetLatestSubmitDetailResponse.SubmitDetailResult.ReleaseObject.ObjectVersion")); + releaseObject.setChangeType(_ctx.stringValue("GetLatestSubmitDetailResponse.SubmitDetailResult.ReleaseObject.ChangeType")); + releaseObject.setProjectId(_ctx.longValue("GetLatestSubmitDetailResponse.SubmitDetailResult.ReleaseObject.ProjectId")); + releaseObject.setNodeId(_ctx.stringValue("GetLatestSubmitDetailResponse.SubmitDetailResult.ReleaseObject.NodeId")); + releaseObject.setSubmitComment(_ctx.stringValue("GetLatestSubmitDetailResponse.SubmitDetailResult.ReleaseObject.SubmitComment")); + + SubmitObject submitObject = new SubmitObject(); + submitObject.setObjectId(_ctx.stringValue("GetLatestSubmitDetailResponse.SubmitDetailResult.ReleaseObject.SubmitObject.ObjectId")); + submitObject.setObjectType(_ctx.stringValue("GetLatestSubmitDetailResponse.SubmitDetailResult.ReleaseObject.SubmitObject.ObjectType")); + submitObject.setObjectName(_ctx.stringValue("GetLatestSubmitDetailResponse.SubmitDetailResult.ReleaseObject.SubmitObject.ObjectName")); + releaseObject.setSubmitObject(submitObject); + submitDetailResult.setReleaseObject(releaseObject); + getLatestSubmitDetailResponse.setSubmitDetailResult(submitDetailResult); + + return getLatestSubmitDetailResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetQueueEngineVersionByEnvResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetQueueEngineVersionByEnvResponseUnmarshaller.java new file mode 100644 index 0000000000..8f7161d7a3 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/GetQueueEngineVersionByEnvResponseUnmarshaller.java @@ -0,0 +1,42 @@ +/* + * 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.GetQueueEngineVersionByEnvResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetQueueEngineVersionByEnvResponseUnmarshaller { + + public static GetQueueEngineVersionByEnvResponse unmarshall(GetQueueEngineVersionByEnvResponse getQueueEngineVersionByEnvResponse, UnmarshallerContext _ctx) { + + getQueueEngineVersionByEnvResponse.setRequestId(_ctx.stringValue("GetQueueEngineVersionByEnvResponse.RequestId")); + getQueueEngineVersionByEnvResponse.setSuccess(_ctx.booleanValue("GetQueueEngineVersionByEnvResponse.Success")); + getQueueEngineVersionByEnvResponse.setHttpStatusCode(_ctx.integerValue("GetQueueEngineVersionByEnvResponse.HttpStatusCode")); + getQueueEngineVersionByEnvResponse.setCode(_ctx.stringValue("GetQueueEngineVersionByEnvResponse.Code")); + getQueueEngineVersionByEnvResponse.setMessage(_ctx.stringValue("GetQueueEngineVersionByEnvResponse.Message")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetQueueEngineVersionByEnvResponse.Data.Length"); i++) { + data.add(_ctx.stringValue("GetQueueEngineVersionByEnvResponse.Data["+ i +"]")); + } + getQueueEngineVersionByEnvResponse.setData(data); + + return getQueueEngineVersionByEnvResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAlertEventsResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAlertEventsResponseUnmarshaller.java new file mode 100644 index 0000000000..0ff1486bca --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAlertEventsResponseUnmarshaller.java @@ -0,0 +1,128 @@ +/* + * 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.ListAlertEventsResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertEventsResponse.ListResult; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertEventsResponse.ListResult.AlertEventInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertEventsResponse.ListResult.AlertEventInfo.AlertObject; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertEventsResponse.ListResult.AlertEventInfo.AlertReason; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertEventsResponse.ListResult.AlertEventInfo.AlertReason.AlertReasonParam; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertEventsResponse.ListResult.AlertEventInfo.AlertReceiver; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertEventsResponse.ListResult.AlertEventInfo.AlertReceiver.User; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertEventsResponse.ListResult.AlertEventInfo.BelongProject; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertEventsResponse.ListResult.AlertEventInfo.UrlConfig; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListAlertEventsResponseUnmarshaller { + + public static ListAlertEventsResponse unmarshall(ListAlertEventsResponse listAlertEventsResponse, UnmarshallerContext _ctx) { + + listAlertEventsResponse.setRequestId(_ctx.stringValue("ListAlertEventsResponse.RequestId")); + listAlertEventsResponse.setSuccess(_ctx.booleanValue("ListAlertEventsResponse.Success")); + listAlertEventsResponse.setHttpStatusCode(_ctx.integerValue("ListAlertEventsResponse.HttpStatusCode")); + listAlertEventsResponse.setCode(_ctx.stringValue("ListAlertEventsResponse.Code")); + listAlertEventsResponse.setMessage(_ctx.stringValue("ListAlertEventsResponse.Message")); + + ListResult listResult = new ListResult(); + listResult.setTotalCount(_ctx.integerValue("ListAlertEventsResponse.ListResult.TotalCount")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListAlertEventsResponse.ListResult.Data.Length"); i++) { + AlertEventInfo alertEventInfo = new AlertEventInfo(); + alertEventInfo.setId(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].Id")); + alertEventInfo.setLatestAlertTime(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].LatestAlertTime")); + alertEventInfo.setFirstAlertTime(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].FirstAlertTime")); + alertEventInfo.setStatus(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].Status")); + alertEventInfo.setAlertFrequency(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertFrequency")); + alertEventInfo.setTotalAlertTimes(_ctx.longValue("ListAlertEventsResponse.ListResult.Data["+ i +"].TotalAlertTimes")); + alertEventInfo.setDoNotDisturbEndTime(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].DoNotDisturbEndTime")); + + AlertObject alertObject = new AlertObject(); + alertObject.setSourceSystemType(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertObject.SourceSystemType")); + alertObject.setName(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertObject.Name")); + alertObject.setType(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertObject.Type")); + alertEventInfo.setAlertObject(alertObject); + + AlertReason alertReason = new AlertReason(); + alertReason.setType(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertReason.Type")); + alertReason.setBizDate(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertReason.BizDate")); + alertReason.setUniqueKey(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertReason.UniqueKey")); + + List alertReasonParamList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertReason.AlertReasonParamList.Length"); j++) { + AlertReasonParam alertReasonParam = new AlertReasonParam(); + alertReasonParam.setKey(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertReason.AlertReasonParamList["+ j +"].Key")); + alertReasonParam.setValue(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertReason.AlertReasonParamList["+ j +"].Value")); + + alertReasonParamList.add(alertReasonParam); + } + alertReason.setAlertReasonParamList(alertReasonParamList); + alertEventInfo.setAlertReason(alertReason); + + BelongProject belongProject = new BelongProject(); + belongProject.setProjectName(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].BelongProject.ProjectName")); + belongProject.setBizName(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].BelongProject.BizName")); + alertEventInfo.setBelongProject(belongProject); + + UrlConfig urlConfig = new UrlConfig(); + urlConfig.setObjectUrl(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].UrlConfig.ObjectUrl")); + urlConfig.setLogUrl(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].UrlConfig.LogUrl")); + urlConfig.setAlertConfigUrl(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].UrlConfig.AlertConfigUrl")); + alertEventInfo.setUrlConfig(urlConfig); + + List alertReceiverList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertReceiverList.Length"); j++) { + AlertReceiver alertReceiver = new AlertReceiver(); + alertReceiver.setType(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertReceiverList["+ j +"].Type")); + alertReceiver.setOnCallTableName(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertReceiverList["+ j +"].OnCallTableName")); + + List alertChannelTypeList = new ArrayList(); + for (int k = 0; k < _ctx.lengthValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertReceiverList["+ j +"].AlertChannelTypeList.Length"); k++) { + alertChannelTypeList.add(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertReceiverList["+ j +"].AlertChannelTypeList["+ k +"]")); + } + alertReceiver.setAlertChannelTypeList(alertChannelTypeList); + + List customAlertChannelIdList = new ArrayList(); + for (int k = 0; k < _ctx.lengthValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertReceiverList["+ j +"].CustomAlertChannelIdList.Length"); k++) { + customAlertChannelIdList.add(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertReceiverList["+ j +"].CustomAlertChannelIdList["+ k +"]")); + } + alertReceiver.setCustomAlertChannelIdList(customAlertChannelIdList); + + List userList = new ArrayList(); + for (int k = 0; k < _ctx.lengthValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertReceiverList["+ j +"].UserList.Length"); k++) { + User user = new User(); + user.setName(_ctx.stringValue("ListAlertEventsResponse.ListResult.Data["+ i +"].AlertReceiverList["+ j +"].UserList["+ k +"].Name")); + + userList.add(user); + } + alertReceiver.setUserList(userList); + + alertReceiverList.add(alertReceiver); + } + alertEventInfo.setAlertReceiverList(alertReceiverList); + + data.add(alertEventInfo); + } + listResult.setData(data); + listAlertEventsResponse.setListResult(listResult); + + return listAlertEventsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAlertNotificationsResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAlertNotificationsResponseUnmarshaller.java new file mode 100644 index 0000000000..c58b0ebbc2 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListAlertNotificationsResponseUnmarshaller.java @@ -0,0 +1,98 @@ +/* + * 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.ListAlertNotificationsResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertNotificationsResponse.ListResult; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertNotificationsResponse.ListResult.AlertNotificationInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertNotificationsResponse.ListResult.AlertNotificationInfo.AlertObject; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertNotificationsResponse.ListResult.AlertNotificationInfo.AlertReason; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertNotificationsResponse.ListResult.AlertNotificationInfo.AlertReason.AlertReasonParam; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertNotificationsResponse.ListResult.AlertNotificationInfo.AlertReceiver; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertNotificationsResponse.ListResult.AlertNotificationInfo.AlertReceiver.User; +import com.aliyuncs.dataphin_public.model.v20230630.ListAlertNotificationsResponse.ListResult.AlertNotificationInfo.AlertSend; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListAlertNotificationsResponseUnmarshaller { + + public static ListAlertNotificationsResponse unmarshall(ListAlertNotificationsResponse listAlertNotificationsResponse, UnmarshallerContext _ctx) { + + listAlertNotificationsResponse.setRequestId(_ctx.stringValue("ListAlertNotificationsResponse.RequestId")); + listAlertNotificationsResponse.setSuccess(_ctx.booleanValue("ListAlertNotificationsResponse.Success")); + listAlertNotificationsResponse.setHttpStatusCode(_ctx.integerValue("ListAlertNotificationsResponse.HttpStatusCode")); + listAlertNotificationsResponse.setCode(_ctx.stringValue("ListAlertNotificationsResponse.Code")); + listAlertNotificationsResponse.setMessage(_ctx.stringValue("ListAlertNotificationsResponse.Message")); + + ListResult listResult = new ListResult(); + listResult.setTotalCount(_ctx.integerValue("ListAlertNotificationsResponse.ListResult.TotalCount")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListAlertNotificationsResponse.ListResult.Data.Length"); i++) { + AlertNotificationInfo alertNotificationInfo = new AlertNotificationInfo(); + alertNotificationInfo.setAlertEventId(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertEventId")); + + AlertObject alertObject = new AlertObject(); + alertObject.setSourceSystemType(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertObject.SourceSystemType")); + alertObject.setName(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertObject.Name")); + alertObject.setType(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertObject.Type")); + alertNotificationInfo.setAlertObject(alertObject); + + AlertReason alertReason = new AlertReason(); + alertReason.setType(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertReason.Type")); + alertReason.setBizDate(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertReason.BizDate")); + alertReason.setUniqueKey(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertReason.UniqueKey")); + + List alertReasonParamList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertReason.AlertReasonParamList.Length"); j++) { + AlertReasonParam alertReasonParam = new AlertReasonParam(); + alertReasonParam.setKey(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertReason.AlertReasonParamList["+ j +"].Key")); + alertReasonParam.setValue(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertReason.AlertReasonParamList["+ j +"].Value")); + + alertReasonParamList.add(alertReasonParam); + } + alertReason.setAlertReasonParamList(alertReasonParamList); + alertNotificationInfo.setAlertReason(alertReason); + + AlertReceiver alertReceiver = new AlertReceiver(); + alertReceiver.setAlertChannelType(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertReceiver.AlertChannelType")); + alertReceiver.setCustomAlertChannelId(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertReceiver.CustomAlertChannelId")); + alertReceiver.setType(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertReceiver.Type")); + alertReceiver.setOnCallTableId(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertReceiver.OnCallTableId")); + alertReceiver.setOnCallTableName(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertReceiver.OnCallTableName")); + + User user = new User(); + user.setName(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertReceiver.User.Name")); + alertReceiver.setUser(user); + alertNotificationInfo.setAlertReceiver(alertReceiver); + + AlertSend alertSend = new AlertSend(); + alertSend.setStatus(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertSend.Status")); + alertSend.setFailReason(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertSend.FailReason")); + alertSend.setSendTime(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertSend.SendTime")); + alertSend.setSendContent(_ctx.stringValue("ListAlertNotificationsResponse.ListResult.Data["+ i +"].AlertSend.SendContent")); + alertNotificationInfo.setAlertSend(alertSend); + + data.add(alertNotificationInfo); + } + listResult.setData(data); + listAlertNotificationsResponse.setListResult(listResult); + + return listAlertNotificationsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListBizEntitiesResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListBizEntitiesResponseUnmarshaller.java new file mode 100644 index 0000000000..430f421f73 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListBizEntitiesResponseUnmarshaller.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.transform.v20230630; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.ListBizEntitiesResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListBizEntitiesResponse.PageResult; +import com.aliyuncs.dataphin_public.model.v20230630.ListBizEntitiesResponse.PageResult.BizEntityInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListBizEntitiesResponseUnmarshaller { + + public static ListBizEntitiesResponse unmarshall(ListBizEntitiesResponse listBizEntitiesResponse, UnmarshallerContext _ctx) { + + listBizEntitiesResponse.setRequestId(_ctx.stringValue("ListBizEntitiesResponse.RequestId")); + listBizEntitiesResponse.setSuccess(_ctx.booleanValue("ListBizEntitiesResponse.Success")); + listBizEntitiesResponse.setHttpStatusCode(_ctx.integerValue("ListBizEntitiesResponse.HttpStatusCode")); + listBizEntitiesResponse.setCode(_ctx.stringValue("ListBizEntitiesResponse.Code")); + listBizEntitiesResponse.setMessage(_ctx.stringValue("ListBizEntitiesResponse.Message")); + + PageResult pageResult = new PageResult(); + pageResult.setTotalCount(_ctx.integerValue("ListBizEntitiesResponse.PageResult.TotalCount")); + + List bizEntityList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListBizEntitiesResponse.PageResult.BizEntityList.Length"); i++) { + BizEntityInfo bizEntityInfo = new BizEntityInfo(); + bizEntityInfo.setId(_ctx.longValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].Id")); + bizEntityInfo.setName(_ctx.stringValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].Name")); + bizEntityInfo.setDisplayName(_ctx.stringValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].DisplayName")); + bizEntityInfo.setDescription(_ctx.stringValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].Description")); + bizEntityInfo.setOwnerUserId(_ctx.stringValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].OwnerUserId")); + bizEntityInfo.setOwnerName(_ctx.stringValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].OwnerName")); + bizEntityInfo.setType(_ctx.stringValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].Type")); + bizEntityInfo.setSubType(_ctx.stringValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].SubType")); + bizEntityInfo.setDataDomainId(_ctx.longValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].DataDomainId")); + bizEntityInfo.setBizUnitId(_ctx.longValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].BizUnitId")); + bizEntityInfo.setGmtCreate(_ctx.stringValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].GmtCreate")); + bizEntityInfo.setGmtModified(_ctx.stringValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].GmtModified")); + bizEntityInfo.setLastModifier(_ctx.stringValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].LastModifier")); + bizEntityInfo.setLastModifierName(_ctx.stringValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].LastModifierName")); + bizEntityInfo.setOnlineStatus(_ctx.stringValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].OnlineStatus")); + bizEntityInfo.setStatus(_ctx.stringValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].Status")); + bizEntityInfo.setRefTableCount(_ctx.integerValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].RefTableCount")); + bizEntityInfo.setHasChildBizEntity(_ctx.booleanValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].HasChildBizEntity")); + bizEntityInfo.setLevelSubBizObject(_ctx.booleanValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].LevelSubBizObject")); + + List refBizEntityIdList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].RefBizEntityIdList.Length"); j++) { + refBizEntityIdList.add(_ctx.longValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].RefBizEntityIdList["+ j +"]")); + } + bizEntityInfo.setRefBizEntityIdList(refBizEntityIdList); + + List belongToBizEntityIdList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].BelongToBizEntityIdList.Length"); j++) { + belongToBizEntityIdList.add(_ctx.longValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].BelongToBizEntityIdList["+ j +"]")); + } + bizEntityInfo.setBelongToBizEntityIdList(belongToBizEntityIdList); + + List childBizEntityIdList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].ChildBizEntityIdList.Length"); j++) { + childBizEntityIdList.add(_ctx.longValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].ChildBizEntityIdList["+ j +"]")); + } + bizEntityInfo.setChildBizEntityIdList(childBizEntityIdList); + + List suffixBizEntityIdList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].SuffixBizEntityIdList.Length"); j++) { + suffixBizEntityIdList.add(_ctx.longValue("ListBizEntitiesResponse.PageResult.BizEntityList["+ i +"].SuffixBizEntityIdList["+ j +"]")); + } + bizEntityInfo.setSuffixBizEntityIdList(suffixBizEntityIdList); + + bizEntityList.add(bizEntityInfo); + } + pageResult.setBizEntityList(bizEntityList); + listBizEntitiesResponse.setPageResult(pageResult); + + return listBizEntitiesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListBizUnitsResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListBizUnitsResponseUnmarshaller.java new file mode 100644 index 0000000000..fe66c84d41 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListBizUnitsResponseUnmarshaller.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 java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataphin_public.model.v20230630.ListBizUnitsResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListBizUnitsResponse.Data; +import com.aliyuncs.dataphin_public.model.v20230630.ListBizUnitsResponse.Data.BizUnitInfo; +import com.aliyuncs.dataphin_public.model.v20230630.ListBizUnitsResponse.Data.BizUnitInfo.User; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListBizUnitsResponseUnmarshaller { + + public static ListBizUnitsResponse unmarshall(ListBizUnitsResponse listBizUnitsResponse, UnmarshallerContext _ctx) { + + listBizUnitsResponse.setRequestId(_ctx.stringValue("ListBizUnitsResponse.RequestId")); + listBizUnitsResponse.setSuccess(_ctx.booleanValue("ListBizUnitsResponse.Success")); + listBizUnitsResponse.setHttpStatusCode(_ctx.integerValue("ListBizUnitsResponse.HttpStatusCode")); + listBizUnitsResponse.setCode(_ctx.stringValue("ListBizUnitsResponse.Code")); + listBizUnitsResponse.setMessage(_ctx.stringValue("ListBizUnitsResponse.Message")); + + Data data = new Data(); + + List bizUnitList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListBizUnitsResponse.Data.BizUnitList.Length"); i++) { + BizUnitInfo bizUnitInfo = new BizUnitInfo(); + bizUnitInfo.setId(_ctx.longValue("ListBizUnitsResponse.Data.BizUnitList["+ i +"].Id")); + bizUnitInfo.setName(_ctx.stringValue("ListBizUnitsResponse.Data.BizUnitList["+ i +"].Name")); + bizUnitInfo.setDisplayName(_ctx.stringValue("ListBizUnitsResponse.Data.BizUnitList["+ i +"].DisplayName")); + bizUnitInfo.setDescription(_ctx.stringValue("ListBizUnitsResponse.Data.BizUnitList["+ i +"].Description")); + bizUnitInfo.setOwnerUserId(_ctx.stringValue("ListBizUnitsResponse.Data.BizUnitList["+ i +"].OwnerUserId")); + bizUnitInfo.setOwnerName(_ctx.stringValue("ListBizUnitsResponse.Data.BizUnitList["+ i +"].OwnerName")); + bizUnitInfo.setGmtCreate(_ctx.stringValue("ListBizUnitsResponse.Data.BizUnitList["+ i +"].GmtCreate")); + bizUnitInfo.setGmtModified(_ctx.stringValue("ListBizUnitsResponse.Data.BizUnitList["+ i +"].GmtModified")); + bizUnitInfo.setLastModifier(_ctx.stringValue("ListBizUnitsResponse.Data.BizUnitList["+ i +"].LastModifier")); + bizUnitInfo.setLastModifierName(_ctx.stringValue("ListBizUnitsResponse.Data.BizUnitList["+ i +"].LastModifierName")); + bizUnitInfo.setIcon(_ctx.stringValue("ListBizUnitsResponse.Data.BizUnitList["+ i +"].Icon")); + bizUnitInfo.setEnv(_ctx.stringValue("ListBizUnitsResponse.Data.BizUnitList["+ i +"].Env")); + bizUnitInfo.setMode(_ctx.stringValue("ListBizUnitsResponse.Data.BizUnitList["+ i +"].Mode")); + + List accountList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListBizUnitsResponse.Data.BizUnitList["+ i +"].AccountList.Length"); j++) { + User user = new User(); + user.setId(_ctx.stringValue("ListBizUnitsResponse.Data.BizUnitList["+ i +"].AccountList["+ j +"].Id")); + + accountList.add(user); + } + bizUnitInfo.setAccountList(accountList); + + bizUnitList.add(bizUnitInfo); + } + data.setBizUnitList(bizUnitList); + listBizUnitsResponse.setData(data); + + return listBizUnitsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListDataDomainsResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListDataDomainsResponseUnmarshaller.java new file mode 100644 index 0000000000..1c751e7c75 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListDataDomainsResponseUnmarshaller.java @@ -0,0 +1,62 @@ +/* + * 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.ListDataDomainsResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListDataDomainsResponse.Data; +import com.aliyuncs.dataphin_public.model.v20230630.ListDataDomainsResponse.Data.DataDomainInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListDataDomainsResponseUnmarshaller { + + public static ListDataDomainsResponse unmarshall(ListDataDomainsResponse listDataDomainsResponse, UnmarshallerContext _ctx) { + + listDataDomainsResponse.setRequestId(_ctx.stringValue("ListDataDomainsResponse.RequestId")); + listDataDomainsResponse.setSuccess(_ctx.booleanValue("ListDataDomainsResponse.Success")); + listDataDomainsResponse.setHttpStatusCode(_ctx.integerValue("ListDataDomainsResponse.HttpStatusCode")); + listDataDomainsResponse.setCode(_ctx.stringValue("ListDataDomainsResponse.Code")); + listDataDomainsResponse.setMessage(_ctx.stringValue("ListDataDomainsResponse.Message")); + + Data data = new Data(); + + List dataDomainList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListDataDomainsResponse.Data.DataDomainList.Length"); i++) { + DataDomainInfo dataDomainInfo = new DataDomainInfo(); + dataDomainInfo.setId(_ctx.longValue("ListDataDomainsResponse.Data.DataDomainList["+ i +"].Id")); + dataDomainInfo.setBizUnitId(_ctx.longValue("ListDataDomainsResponse.Data.DataDomainList["+ i +"].BizUnitId")); + dataDomainInfo.setName(_ctx.stringValue("ListDataDomainsResponse.Data.DataDomainList["+ i +"].Name")); + dataDomainInfo.setDisplayName(_ctx.stringValue("ListDataDomainsResponse.Data.DataDomainList["+ i +"].DisplayName")); + dataDomainInfo.setAbbreviation(_ctx.stringValue("ListDataDomainsResponse.Data.DataDomainList["+ i +"].Abbreviation")); + dataDomainInfo.setDescription(_ctx.stringValue("ListDataDomainsResponse.Data.DataDomainList["+ i +"].Description")); + dataDomainInfo.setOwnerUserId(_ctx.stringValue("ListDataDomainsResponse.Data.DataDomainList["+ i +"].OwnerUserId")); + dataDomainInfo.setOwnerName(_ctx.stringValue("ListDataDomainsResponse.Data.DataDomainList["+ i +"].OwnerName")); + dataDomainInfo.setGmtCreate(_ctx.stringValue("ListDataDomainsResponse.Data.DataDomainList["+ i +"].GmtCreate")); + dataDomainInfo.setGmtModified(_ctx.stringValue("ListDataDomainsResponse.Data.DataDomainList["+ i +"].GmtModified")); + dataDomainInfo.setLastModifier(_ctx.stringValue("ListDataDomainsResponse.Data.DataDomainList["+ i +"].LastModifier")); + dataDomainInfo.setLastModifierName(_ctx.stringValue("ListDataDomainsResponse.Data.DataDomainList["+ i +"].LastModifierName")); + dataDomainInfo.setParentId(_ctx.longValue("ListDataDomainsResponse.Data.DataDomainList["+ i +"].ParentId")); + + dataDomainList.add(dataDomainInfo); + } + data.setDataDomainList(dataDomainList); + listDataDomainsResponse.setData(data); + + return listDataDomainsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListPublishRecordsResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListPublishRecordsResponseUnmarshaller.java new file mode 100644 index 0000000000..39d4f375df --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListPublishRecordsResponseUnmarshaller.java @@ -0,0 +1,66 @@ +/* + * 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.ListPublishRecordsResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListPublishRecordsResponse.ListResult; +import com.aliyuncs.dataphin_public.model.v20230630.ListPublishRecordsResponse.ListResult.PublishRecordInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListPublishRecordsResponseUnmarshaller { + + public static ListPublishRecordsResponse unmarshall(ListPublishRecordsResponse listPublishRecordsResponse, UnmarshallerContext _ctx) { + + listPublishRecordsResponse.setRequestId(_ctx.stringValue("ListPublishRecordsResponse.RequestId")); + listPublishRecordsResponse.setSuccess(_ctx.booleanValue("ListPublishRecordsResponse.Success")); + listPublishRecordsResponse.setHttpStatusCode(_ctx.integerValue("ListPublishRecordsResponse.HttpStatusCode")); + listPublishRecordsResponse.setCode(_ctx.stringValue("ListPublishRecordsResponse.Code")); + listPublishRecordsResponse.setMessage(_ctx.stringValue("ListPublishRecordsResponse.Message")); + + ListResult listResult = new ListResult(); + listResult.setTotalCount(_ctx.integerValue("ListPublishRecordsResponse.ListResult.TotalCount")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListPublishRecordsResponse.ListResult.Data.Length"); i++) { + PublishRecordInfo publishRecordInfo = new PublishRecordInfo(); + publishRecordInfo.setId(_ctx.longValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].Id")); + publishRecordInfo.setPublishName(_ctx.stringValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].PublishName")); + publishRecordInfo.setProjectId(_ctx.stringValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].ProjectId")); + publishRecordInfo.setPublisher(_ctx.stringValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].Publisher")); + publishRecordInfo.setPublisherName(_ctx.stringValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].PublisherName")); + publishRecordInfo.setGmtCreate(_ctx.stringValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].GmtCreate")); + publishRecordInfo.setGmtModify(_ctx.stringValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].GmtModify")); + publishRecordInfo.setChangeType(_ctx.integerValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].ChangeType")); + publishRecordInfo.setObjectType(_ctx.stringValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].ObjectType")); + publishRecordInfo.setObjectName(_ctx.stringValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].ObjectName")); + publishRecordInfo.setObjectId(_ctx.stringValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].ObjectId")); + publishRecordInfo.setNodeId(_ctx.stringValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].NodeId")); + publishRecordInfo.setObjectVersion(_ctx.stringValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].ObjectVersion")); + publishRecordInfo.setFinishTime(_ctx.stringValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].FinishTime")); + publishRecordInfo.setErrorMessage(_ctx.stringValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].ErrorMessage")); + publishRecordInfo.setPublishStatus(_ctx.integerValue("ListPublishRecordsResponse.ListResult.Data["+ i +"].PublishStatus")); + + data.add(publishRecordInfo); + } + listResult.setData(data); + listPublishRecordsResponse.setListResult(listResult); + + return listPublishRecordsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListSubmitRecordsResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListSubmitRecordsResponseUnmarshaller.java new file mode 100644 index 0000000000..05f25319aa --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ListSubmitRecordsResponseUnmarshaller.java @@ -0,0 +1,63 @@ +/* + * 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.ListSubmitRecordsResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ListSubmitRecordsResponse.ListResult; +import com.aliyuncs.dataphin_public.model.v20230630.ListSubmitRecordsResponse.ListResult.SubmitRecordInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListSubmitRecordsResponseUnmarshaller { + + public static ListSubmitRecordsResponse unmarshall(ListSubmitRecordsResponse listSubmitRecordsResponse, UnmarshallerContext _ctx) { + + listSubmitRecordsResponse.setRequestId(_ctx.stringValue("ListSubmitRecordsResponse.RequestId")); + listSubmitRecordsResponse.setSuccess(_ctx.booleanValue("ListSubmitRecordsResponse.Success")); + listSubmitRecordsResponse.setHttpStatusCode(_ctx.integerValue("ListSubmitRecordsResponse.HttpStatusCode")); + listSubmitRecordsResponse.setCode(_ctx.stringValue("ListSubmitRecordsResponse.Code")); + listSubmitRecordsResponse.setMessage(_ctx.stringValue("ListSubmitRecordsResponse.Message")); + + ListResult listResult = new ListResult(); + listResult.setTotalCount(_ctx.integerValue("ListSubmitRecordsResponse.ListResult.TotalCount")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListSubmitRecordsResponse.ListResult.Data.Length"); i++) { + SubmitRecordInfo submitRecordInfo = new SubmitRecordInfo(); + submitRecordInfo.setId(_ctx.longValue("ListSubmitRecordsResponse.ListResult.Data["+ i +"].Id")); + submitRecordInfo.setProjectId(_ctx.stringValue("ListSubmitRecordsResponse.ListResult.Data["+ i +"].ProjectId")); + submitRecordInfo.setSubmitter(_ctx.stringValue("ListSubmitRecordsResponse.ListResult.Data["+ i +"].Submitter")); + submitRecordInfo.setSubmitterName(_ctx.stringValue("ListSubmitRecordsResponse.ListResult.Data["+ i +"].SubmitterName")); + submitRecordInfo.setGmtCreate(_ctx.stringValue("ListSubmitRecordsResponse.ListResult.Data["+ i +"].GmtCreate")); + submitRecordInfo.setGmtModify(_ctx.stringValue("ListSubmitRecordsResponse.ListResult.Data["+ i +"].GmtModify")); + submitRecordInfo.setChangeType(_ctx.integerValue("ListSubmitRecordsResponse.ListResult.Data["+ i +"].ChangeType")); + submitRecordInfo.setObjectType(_ctx.stringValue("ListSubmitRecordsResponse.ListResult.Data["+ i +"].ObjectType")); + submitRecordInfo.setObjectName(_ctx.stringValue("ListSubmitRecordsResponse.ListResult.Data["+ i +"].ObjectName")); + submitRecordInfo.setObjectId(_ctx.stringValue("ListSubmitRecordsResponse.ListResult.Data["+ i +"].ObjectId")); + submitRecordInfo.setNodeId(_ctx.stringValue("ListSubmitRecordsResponse.ListResult.Data["+ i +"].NodeId")); + submitRecordInfo.setObjectVersion(_ctx.stringValue("ListSubmitRecordsResponse.ListResult.Data["+ i +"].ObjectVersion")); + submitRecordInfo.setSubmitComment(_ctx.stringValue("ListSubmitRecordsResponse.ListResult.Data["+ i +"].SubmitComment")); + + data.add(submitRecordInfo); + } + listResult.setData(data); + listSubmitRecordsResponse.setListResult(listResult); + + return listSubmitRecordsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OfflineBatchTaskResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OfflineBatchTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..6d59b6bb5a --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OfflineBatchTaskResponseUnmarshaller.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.OfflineBatchTaskResponse; +import com.aliyuncs.dataphin_public.model.v20230630.OfflineBatchTaskResponse.OfflineResult; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class OfflineBatchTaskResponseUnmarshaller { + + public static OfflineBatchTaskResponse unmarshall(OfflineBatchTaskResponse offlineBatchTaskResponse, UnmarshallerContext _ctx) { + + offlineBatchTaskResponse.setRequestId(_ctx.stringValue("OfflineBatchTaskResponse.RequestId")); + offlineBatchTaskResponse.setSuccess(_ctx.booleanValue("OfflineBatchTaskResponse.Success")); + offlineBatchTaskResponse.setHttpStatusCode(_ctx.integerValue("OfflineBatchTaskResponse.HttpStatusCode")); + offlineBatchTaskResponse.setCode(_ctx.stringValue("OfflineBatchTaskResponse.Code")); + offlineBatchTaskResponse.setMessage(_ctx.stringValue("OfflineBatchTaskResponse.Message")); + + OfflineResult offlineResult = new OfflineResult(); + offlineResult.setPublishObjectId(_ctx.longValue("OfflineBatchTaskResponse.OfflineResult.PublishObjectId")); + offlineBatchTaskResponse.setOfflineResult(offlineResult); + + return offlineBatchTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OfflineBizEntityResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OfflineBizEntityResponseUnmarshaller.java new file mode 100644 index 0000000000..52522b9edb --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OfflineBizEntityResponseUnmarshaller.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.OfflineBizEntityResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class OfflineBizEntityResponseUnmarshaller { + + public static OfflineBizEntityResponse unmarshall(OfflineBizEntityResponse offlineBizEntityResponse, UnmarshallerContext _ctx) { + + offlineBizEntityResponse.setRequestId(_ctx.stringValue("OfflineBizEntityResponse.RequestId")); + offlineBizEntityResponse.setSuccess(_ctx.booleanValue("OfflineBizEntityResponse.Success")); + offlineBizEntityResponse.setHttpStatusCode(_ctx.integerValue("OfflineBizEntityResponse.HttpStatusCode")); + offlineBizEntityResponse.setCode(_ctx.stringValue("OfflineBizEntityResponse.Code")); + offlineBizEntityResponse.setMessage(_ctx.stringValue("OfflineBizEntityResponse.Message")); + + return offlineBizEntityResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OnlineBizEntityResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OnlineBizEntityResponseUnmarshaller.java new file mode 100644 index 0000000000..ae2356ad19 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/OnlineBizEntityResponseUnmarshaller.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.OnlineBizEntityResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class OnlineBizEntityResponseUnmarshaller { + + public static OnlineBizEntityResponse unmarshall(OnlineBizEntityResponse onlineBizEntityResponse, UnmarshallerContext _ctx) { + + onlineBizEntityResponse.setRequestId(_ctx.stringValue("OnlineBizEntityResponse.RequestId")); + onlineBizEntityResponse.setSuccess(_ctx.booleanValue("OnlineBizEntityResponse.Success")); + onlineBizEntityResponse.setHttpStatusCode(_ctx.integerValue("OnlineBizEntityResponse.HttpStatusCode")); + onlineBizEntityResponse.setCode(_ctx.stringValue("OnlineBizEntityResponse.Code")); + onlineBizEntityResponse.setMessage(_ctx.stringValue("OnlineBizEntityResponse.Message")); + + return onlineBizEntityResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ParseBatchTaskDependencyResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ParseBatchTaskDependencyResponseUnmarshaller.java new file mode 100644 index 0000000000..d3b2b0e44e --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/ParseBatchTaskDependencyResponseUnmarshaller.java @@ -0,0 +1,71 @@ +/* + * 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.ParseBatchTaskDependencyResponse; +import com.aliyuncs.dataphin_public.model.v20230630.ParseBatchTaskDependencyResponse.ParseResult; +import com.aliyuncs.dataphin_public.model.v20230630.ParseBatchTaskDependencyResponse.ParseResult.DependNode; +import com.aliyuncs.dataphin_public.model.v20230630.ParseBatchTaskDependencyResponse.ParseResult.DependNode.NodeInfo; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ParseBatchTaskDependencyResponseUnmarshaller { + + public static ParseBatchTaskDependencyResponse unmarshall(ParseBatchTaskDependencyResponse parseBatchTaskDependencyResponse, UnmarshallerContext _ctx) { + + parseBatchTaskDependencyResponse.setRequestId(_ctx.stringValue("ParseBatchTaskDependencyResponse.RequestId")); + parseBatchTaskDependencyResponse.setSuccess(_ctx.booleanValue("ParseBatchTaskDependencyResponse.Success")); + parseBatchTaskDependencyResponse.setHttpStatusCode(_ctx.integerValue("ParseBatchTaskDependencyResponse.HttpStatusCode")); + parseBatchTaskDependencyResponse.setCode(_ctx.stringValue("ParseBatchTaskDependencyResponse.Code")); + parseBatchTaskDependencyResponse.setMessage(_ctx.stringValue("ParseBatchTaskDependencyResponse.Message")); + + ParseResult parseResult = new ParseResult(); + + List dependNodeList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ParseBatchTaskDependencyResponse.ParseResult.DependNodeList.Length"); i++) { + DependNode dependNode = new DependNode(); + dependNode.setNodeIoType(_ctx.stringValue("ParseBatchTaskDependencyResponse.ParseResult.DependNodeList["+ i +"].NodeIoType")); + + List scheduleNodeInfoList = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ParseBatchTaskDependencyResponse.ParseResult.DependNodeList["+ i +"].ScheduleNodeInfoList.Length"); j++) { + NodeInfo nodeInfo = new NodeInfo(); + nodeInfo.setTableName(_ctx.stringValue("ParseBatchTaskDependencyResponse.ParseResult.DependNodeList["+ i +"].ScheduleNodeInfoList["+ j +"].TableName")); + nodeInfo.setOutputName(_ctx.stringValue("ParseBatchTaskDependencyResponse.ParseResult.DependNodeList["+ i +"].ScheduleNodeInfoList["+ j +"].OutputName")); + nodeInfo.setOwnerUserId(_ctx.stringValue("ParseBatchTaskDependencyResponse.ParseResult.DependNodeList["+ i +"].ScheduleNodeInfoList["+ j +"].OwnerUserId")); + nodeInfo.setOwnerName(_ctx.stringValue("ParseBatchTaskDependencyResponse.ParseResult.DependNodeList["+ i +"].ScheduleNodeInfoList["+ j +"].OwnerName")); + nodeInfo.setNodeId(_ctx.stringValue("ParseBatchTaskDependencyResponse.ParseResult.DependNodeList["+ i +"].ScheduleNodeInfoList["+ j +"].NodeId")); + nodeInfo.setNodeName(_ctx.stringValue("ParseBatchTaskDependencyResponse.ParseResult.DependNodeList["+ i +"].ScheduleNodeInfoList["+ j +"].NodeName")); + + List fieldList = new ArrayList(); + for (int k = 0; k < _ctx.lengthValue("ParseBatchTaskDependencyResponse.ParseResult.DependNodeList["+ i +"].ScheduleNodeInfoList["+ j +"].FieldList.Length"); k++) { + fieldList.add(_ctx.stringValue("ParseBatchTaskDependencyResponse.ParseResult.DependNodeList["+ i +"].ScheduleNodeInfoList["+ j +"].FieldList["+ k +"]")); + } + nodeInfo.setFieldList(fieldList); + + scheduleNodeInfoList.add(nodeInfo); + } + dependNode.setScheduleNodeInfoList(scheduleNodeInfoList); + + dependNodeList.add(dependNode); + } + parseResult.setDependNodeList(dependNodeList); + parseBatchTaskDependencyResponse.setParseResult(parseResult); + + return parseBatchTaskDependencyResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/PublishObjectListResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/PublishObjectListResponseUnmarshaller.java new file mode 100644 index 0000000000..ffc944aaab --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/PublishObjectListResponseUnmarshaller.java @@ -0,0 +1,46 @@ +/* + * 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.PublishObjectListResponse; +import com.aliyuncs.dataphin_public.model.v20230630.PublishObjectListResponse.PublishResult; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class PublishObjectListResponseUnmarshaller { + + public static PublishObjectListResponse unmarshall(PublishObjectListResponse publishObjectListResponse, UnmarshallerContext _ctx) { + + publishObjectListResponse.setRequestId(_ctx.stringValue("PublishObjectListResponse.RequestId")); + publishObjectListResponse.setSuccess(_ctx.booleanValue("PublishObjectListResponse.Success")); + publishObjectListResponse.setHttpStatusCode(_ctx.integerValue("PublishObjectListResponse.HttpStatusCode")); + publishObjectListResponse.setCode(_ctx.stringValue("PublishObjectListResponse.Code")); + publishObjectListResponse.setMessage(_ctx.stringValue("PublishObjectListResponse.Message")); + + PublishResult publishResult = new PublishResult(); + + List submitIdList = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("PublishObjectListResponse.PublishResult.SubmitIdList.Length"); i++) { + submitIdList.add(_ctx.longValue("PublishObjectListResponse.PublishResult.SubmitIdList["+ i +"]")); + } + publishResult.setSubmitIdList(submitIdList); + publishObjectListResponse.setPublishResult(publishResult); + + return publishObjectListResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/StopAdHocTaskResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/StopAdHocTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..1a42263c0b --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/StopAdHocTaskResponseUnmarshaller.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.StopAdHocTaskResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class StopAdHocTaskResponseUnmarshaller { + + public static StopAdHocTaskResponse unmarshall(StopAdHocTaskResponse stopAdHocTaskResponse, UnmarshallerContext _ctx) { + + stopAdHocTaskResponse.setRequestId(_ctx.stringValue("StopAdHocTaskResponse.RequestId")); + stopAdHocTaskResponse.setSuccess(_ctx.booleanValue("StopAdHocTaskResponse.Success")); + stopAdHocTaskResponse.setHttpStatusCode(_ctx.integerValue("StopAdHocTaskResponse.HttpStatusCode")); + stopAdHocTaskResponse.setCode(_ctx.stringValue("StopAdHocTaskResponse.Code")); + stopAdHocTaskResponse.setMessage(_ctx.stringValue("StopAdHocTaskResponse.Message")); + + return stopAdHocTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/SubmitBatchTaskResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/SubmitBatchTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..eb41586ff2 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/SubmitBatchTaskResponseUnmarshaller.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.SubmitBatchTaskResponse; +import com.aliyuncs.dataphin_public.model.v20230630.SubmitBatchTaskResponse.SubmitResult; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class SubmitBatchTaskResponseUnmarshaller { + + public static SubmitBatchTaskResponse unmarshall(SubmitBatchTaskResponse submitBatchTaskResponse, UnmarshallerContext _ctx) { + + submitBatchTaskResponse.setRequestId(_ctx.stringValue("SubmitBatchTaskResponse.RequestId")); + submitBatchTaskResponse.setSuccess(_ctx.booleanValue("SubmitBatchTaskResponse.Success")); + submitBatchTaskResponse.setHttpStatusCode(_ctx.integerValue("SubmitBatchTaskResponse.HttpStatusCode")); + submitBatchTaskResponse.setCode(_ctx.stringValue("SubmitBatchTaskResponse.Code")); + submitBatchTaskResponse.setMessage(_ctx.stringValue("SubmitBatchTaskResponse.Message")); + + SubmitResult submitResult = new SubmitResult(); + submitResult.setNodeId(_ctx.stringValue("SubmitBatchTaskResponse.SubmitResult.NodeId")); + submitResult.setSubmitId(_ctx.longValue("SubmitBatchTaskResponse.SubmitResult.SubmitId")); + submitBatchTaskResponse.setSubmitResult(submitResult); + + return submitBatchTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBatchTaskResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBatchTaskResponseUnmarshaller.java new file mode 100644 index 0000000000..e998e5a366 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBatchTaskResponseUnmarshaller.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.UpdateBatchTaskResponse; +import com.aliyuncs.dataphin_public.model.v20230630.UpdateBatchTaskResponse.UpdateResult; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateBatchTaskResponseUnmarshaller { + + public static UpdateBatchTaskResponse unmarshall(UpdateBatchTaskResponse updateBatchTaskResponse, UnmarshallerContext _ctx) { + + updateBatchTaskResponse.setRequestId(_ctx.stringValue("UpdateBatchTaskResponse.RequestId")); + updateBatchTaskResponse.setSuccess(_ctx.booleanValue("UpdateBatchTaskResponse.Success")); + updateBatchTaskResponse.setHttpStatusCode(_ctx.integerValue("UpdateBatchTaskResponse.HttpStatusCode")); + updateBatchTaskResponse.setCode(_ctx.stringValue("UpdateBatchTaskResponse.Code")); + updateBatchTaskResponse.setMessage(_ctx.stringValue("UpdateBatchTaskResponse.Message")); + + UpdateResult updateResult = new UpdateResult(); + updateResult.setFileId(_ctx.longValue("UpdateBatchTaskResponse.UpdateResult.FileId")); + updateBatchTaskResponse.setUpdateResult(updateResult); + + return updateBatchTaskResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBatchTaskUdfLineagesResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBatchTaskUdfLineagesResponseUnmarshaller.java new file mode 100644 index 0000000000..90d2aa2cef --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBatchTaskUdfLineagesResponseUnmarshaller.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.UpdateBatchTaskUdfLineagesResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateBatchTaskUdfLineagesResponseUnmarshaller { + + public static UpdateBatchTaskUdfLineagesResponse unmarshall(UpdateBatchTaskUdfLineagesResponse updateBatchTaskUdfLineagesResponse, UnmarshallerContext _ctx) { + + updateBatchTaskUdfLineagesResponse.setRequestId(_ctx.stringValue("UpdateBatchTaskUdfLineagesResponse.RequestId")); + updateBatchTaskUdfLineagesResponse.setSuccess(_ctx.booleanValue("UpdateBatchTaskUdfLineagesResponse.Success")); + updateBatchTaskUdfLineagesResponse.setHttpStatusCode(_ctx.integerValue("UpdateBatchTaskUdfLineagesResponse.HttpStatusCode")); + updateBatchTaskUdfLineagesResponse.setCode(_ctx.stringValue("UpdateBatchTaskUdfLineagesResponse.Code")); + updateBatchTaskUdfLineagesResponse.setMessage(_ctx.stringValue("UpdateBatchTaskUdfLineagesResponse.Message")); + + return updateBatchTaskUdfLineagesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBizEntityResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBizEntityResponseUnmarshaller.java new file mode 100644 index 0000000000..114d917591 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBizEntityResponseUnmarshaller.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.UpdateBizEntityResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateBizEntityResponseUnmarshaller { + + public static UpdateBizEntityResponse unmarshall(UpdateBizEntityResponse updateBizEntityResponse, UnmarshallerContext _ctx) { + + updateBizEntityResponse.setRequestId(_ctx.stringValue("UpdateBizEntityResponse.RequestId")); + updateBizEntityResponse.setSuccess(_ctx.booleanValue("UpdateBizEntityResponse.Success")); + updateBizEntityResponse.setHttpStatusCode(_ctx.integerValue("UpdateBizEntityResponse.HttpStatusCode")); + updateBizEntityResponse.setCode(_ctx.stringValue("UpdateBizEntityResponse.Code")); + updateBizEntityResponse.setMessage(_ctx.stringValue("UpdateBizEntityResponse.Message")); + + return updateBizEntityResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBizUnitResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBizUnitResponseUnmarshaller.java new file mode 100644 index 0000000000..7299f0c457 --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateBizUnitResponseUnmarshaller.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.UpdateBizUnitResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateBizUnitResponseUnmarshaller { + + public static UpdateBizUnitResponse unmarshall(UpdateBizUnitResponse updateBizUnitResponse, UnmarshallerContext _ctx) { + + updateBizUnitResponse.setRequestId(_ctx.stringValue("UpdateBizUnitResponse.RequestId")); + updateBizUnitResponse.setSuccess(_ctx.booleanValue("UpdateBizUnitResponse.Success")); + updateBizUnitResponse.setHttpStatusCode(_ctx.integerValue("UpdateBizUnitResponse.HttpStatusCode")); + updateBizUnitResponse.setCode(_ctx.stringValue("UpdateBizUnitResponse.Code")); + updateBizUnitResponse.setMessage(_ctx.stringValue("UpdateBizUnitResponse.Message")); + + return updateBizUnitResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateDataDomainResponseUnmarshaller.java b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateDataDomainResponseUnmarshaller.java new file mode 100644 index 0000000000..9a9275cdcf --- /dev/null +++ b/aliyun-java-sdk-dataphin-public/src/main/java/com/aliyuncs/dataphin_public/transform/v20230630/UpdateDataDomainResponseUnmarshaller.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.UpdateDataDomainResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateDataDomainResponseUnmarshaller { + + public static UpdateDataDomainResponse unmarshall(UpdateDataDomainResponse updateDataDomainResponse, UnmarshallerContext _ctx) { + + updateDataDomainResponse.setRequestId(_ctx.stringValue("UpdateDataDomainResponse.RequestId")); + updateDataDomainResponse.setSuccess(_ctx.booleanValue("UpdateDataDomainResponse.Success")); + updateDataDomainResponse.setHttpStatusCode(_ctx.integerValue("UpdateDataDomainResponse.HttpStatusCode")); + updateDataDomainResponse.setCode(_ctx.stringValue("UpdateDataDomainResponse.Code")); + updateDataDomainResponse.setMessage(_ctx.stringValue("UpdateDataDomainResponse.Message")); + + return updateDataDomainResponse; + } +} \ No newline at end of file