From 3b99ad1076279c9c96b60d54a4b5394b861fe57e Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 26 Dec 2024 11:09:47 +0000 Subject: [PATCH] CreateJob and UpdateJob support ExecutorBlockStrategy. --- aliyun-java-sdk-schedulerx3/ChangeLog.txt | 5 + aliyun-java-sdk-schedulerx3/pom.xml | 119 +++++ .../model/v20240624/CreateAppRequest.java | 116 +++++ .../model/v20240624/CreateAppResponse.java | 109 +++++ .../model/v20240624/CreateClusterRequest.java | 132 +++++ .../v20240624/CreateClusterResponse.java | 119 +++++ .../model/v20240624/CreateJobRequest.java | 454 +++++++++++++++++ .../model/v20240624/CreateJobResponse.java | 99 ++++ .../model/v20240624/DeleteAppRequest.java | 64 +++ .../model/v20240624/DeleteAppResponse.java | 76 +++ .../model/v20240624/DeleteClusterRequest.java | 51 ++ .../v20240624/DeleteClusterResponse.java | 76 +++ .../model/v20240624/DeleteJobsRequest.java | 81 ++++ .../model/v20240624/DeleteJobsResponse.java | 76 +++ .../model/v20240624/ExportJobsRequest.java | 94 ++++ .../model/v20240624/ExportJobsResponse.java | 36 ++ .../model/v20240624/GetClusterRequest.java | 51 ++ .../model/v20240624/GetClusterResponse.java | 313 ++++++++++++ .../v20240624/GetDesigateInfoRequest.java | 77 +++ .../v20240624/GetDesigateInfoResponse.java | 109 +++++ .../GetJobExecutionProgressRequest.java | 77 +++ .../GetJobExecutionProgressResponse.java | 459 ++++++++++++++++++ .../model/v20240624/GetLogRequest.java | 181 +++++++ .../model/v20240624/GetLogResponse.java | 87 ++++ .../v20240624/ImportCalendarRequest.java | 90 ++++ .../v20240624/ImportCalendarResponse.java | 87 ++++ .../model/v20240624/ImportJobsRequest.java | 90 ++++ .../model/v20240624/ImportJobsResponse.java | 76 +++ .../v20240624/ListAlarmEventRequest.java | 181 +++++++ .../v20240624/ListAlarmEventResponse.java | 213 ++++++++ .../model/v20240624/ListAppNamesRequest.java | 64 +++ .../model/v20240624/ListAppNamesResponse.java | 130 +++++ .../model/v20240624/ListAppsRequest.java | 103 ++++ .../model/v20240624/ListAppsResponse.java | 283 +++++++++++ .../v20240624/ListCalendarNamesRequest.java | 51 ++ .../v20240624/ListCalendarNamesResponse.java | 87 ++++ .../model/v20240624/ListClustersRequest.java | 90 ++++ .../model/v20240624/ListClustersResponse.java | 306 ++++++++++++ .../model/v20240624/ListExecutorsRequest.java | 90 ++++ .../v20240624/ListExecutorsResponse.java | 160 ++++++ .../v20240624/ListJobExecutionsRequest.java | 168 +++++++ .../v20240624/ListJobExecutionsResponse.java | 333 +++++++++++++ .../model/v20240624/ListJobsRequest.java | 155 ++++++ .../model/v20240624/ListJobsResponse.java | 433 +++++++++++++++++ .../model/v20240624/ListLablesRequest.java | 77 +++ .../model/v20240624/ListLablesResponse.java | 130 +++++ .../v20240624/ListRegionZoneRequest.java | 38 ++ .../v20240624/ListRegionZoneResponse.java | 120 +++++ .../model/v20240624/ListRegionsRequest.java | 36 ++ .../model/v20240624/ListRegionsResponse.java | 120 +++++ .../v20240624/ListScheduleEventRequest.java | 181 +++++++ .../v20240624/ListScheduleEventResponse.java | 203 ++++++++ .../v20240624/ListScheduleTimesRequest.java | 116 +++++ .../v20240624/ListScheduleTimesResponse.java | 87 ++++ .../OperateDesignateExecutorsRequest.java | 120 +++++ .../OperateDesignateExecutorsResponse.java | 76 +++ .../v20240624/OperateDisableJobsRequest.java | 81 ++++ .../v20240624/OperateDisableJobsResponse.java | 76 +++ .../v20240624/OperateEnableJobsRequest.java | 81 ++++ .../v20240624/OperateEnableJobsResponse.java | 76 +++ .../v20240624/OperateExecuteJobRequest.java | 116 +++++ .../v20240624/OperateExecuteJobResponse.java | 99 ++++ .../v20240624/OperateRerunJobRequest.java | 116 +++++ .../v20240624/OperateRerunJobResponse.java | 76 +++ .../OperateRetryJobExecutionRequest.java | 94 ++++ .../OperateRetryJobExecutionResponse.java | 76 +++ .../OperateStopJobExecutionRequest.java | 94 ++++ .../OperateStopJobExecutionResponse.java | 76 +++ .../model/v20240624/UpdateAppRequest.java | 116 +++++ .../model/v20240624/UpdateAppResponse.java | 76 +++ .../model/v20240624/UpdateClusterRequest.java | 64 +++ .../v20240624/UpdateClusterResponse.java | 76 +++ .../model/v20240624/UpdateJobRequest.java | 430 ++++++++++++++++ .../model/v20240624/UpdateJobResponse.java | 76 +++ .../CreateAppResponseUnmarshaller.java | 38 ++ .../CreateClusterResponseUnmarshaller.java | 39 ++ .../CreateJobResponseUnmarshaller.java | 37 ++ .../DeleteAppResponseUnmarshaller.java | 32 ++ .../DeleteClusterResponseUnmarshaller.java | 32 ++ .../DeleteJobsResponseUnmarshaller.java | 32 ++ .../ExportJobsResponseUnmarshaller.java | 28 ++ .../GetClusterResponseUnmarshaller.java | 74 +++ .../GetDesigateInfoResponseUnmarshaller.java | 38 ++ ...ExecutionProgressResponseUnmarshaller.java | 108 +++++ .../v20240624/GetLogResponseUnmarshaller.java | 41 ++ .../ImportCalendarResponseUnmarshaller.java | 41 ++ .../ImportJobsResponseUnmarshaller.java | 32 ++ .../ListAlarmEventResponseUnmarshaller.java | 59 +++ .../ListAppNamesResponseUnmarshaller.java | 48 ++ .../ListAppsResponseUnmarshaller.java | 66 +++ ...ListCalendarNamesResponseUnmarshaller.java | 41 ++ .../ListClustersResponseUnmarshaller.java | 76 +++ .../ListExecutorsResponseUnmarshaller.java | 51 ++ ...ListJobExecutionsResponseUnmarshaller.java | 71 +++ .../ListJobsResponseUnmarshaller.java | 81 ++++ .../ListLablesResponseUnmarshaller.java | 48 ++ .../ListRegionZoneResponseUnmarshaller.java | 47 ++ .../ListRegionsResponseUnmarshaller.java | 47 ++ ...ListScheduleEventResponseUnmarshaller.java | 58 +++ ...ListScheduleTimesResponseUnmarshaller.java | 41 ++ ...esignateExecutorsResponseUnmarshaller.java | 32 ++ ...perateDisableJobsResponseUnmarshaller.java | 32 ++ ...OperateEnableJobsResponseUnmarshaller.java | 32 ++ ...OperateExecuteJobResponseUnmarshaller.java | 37 ++ .../OperateRerunJobResponseUnmarshaller.java | 32 ++ ...RetryJobExecutionResponseUnmarshaller.java | 32 ++ ...eStopJobExecutionResponseUnmarshaller.java | 32 ++ .../UpdateAppResponseUnmarshaller.java | 32 ++ .../UpdateClusterResponseUnmarshaller.java | 32 ++ .../UpdateJobResponseUnmarshaller.java | 32 ++ 110 files changed, 11085 insertions(+) create mode 100644 aliyun-java-sdk-schedulerx3/ChangeLog.txt create mode 100644 aliyun-java-sdk-schedulerx3/pom.xml create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateAppRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateAppResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateClusterRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateClusterResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateJobRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateJobResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteAppRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteAppResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteClusterRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteClusterResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteJobsRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteJobsResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ExportJobsRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ExportJobsResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetClusterRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetClusterResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetDesigateInfoRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetDesigateInfoResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetJobExecutionProgressRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetJobExecutionProgressResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetLogRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetLogResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportCalendarRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportCalendarResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportJobsRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportJobsResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAlarmEventRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAlarmEventResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppNamesRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppNamesResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppsRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppsResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListCalendarNamesRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListCalendarNamesResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListClustersRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListClustersResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListExecutorsRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListExecutorsResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobExecutionsRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobExecutionsResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobsRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobsResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListLablesRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListLablesResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionZoneRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionZoneResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionsRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionsResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleEventRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleEventResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleTimesRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleTimesResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDesignateExecutorsRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDesignateExecutorsResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDisableJobsRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDisableJobsResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateEnableJobsRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateEnableJobsResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateExecuteJobRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateExecuteJobResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRerunJobRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRerunJobResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRetryJobExecutionRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRetryJobExecutionResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateStopJobExecutionRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateStopJobExecutionResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateAppRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateAppResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateClusterRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateClusterResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateJobRequest.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateJobResponse.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/CreateAppResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/CreateClusterResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/CreateJobResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/DeleteAppResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/DeleteClusterResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/DeleteJobsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ExportJobsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetClusterResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetDesigateInfoResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetJobExecutionProgressResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetLogResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ImportCalendarResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ImportJobsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListAlarmEventResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListAppNamesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListAppsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListCalendarNamesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListClustersResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListExecutorsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListJobExecutionsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListJobsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListLablesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListRegionZoneResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListRegionsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListScheduleEventResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListScheduleTimesResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateDesignateExecutorsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateDisableJobsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateEnableJobsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateExecuteJobResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateRerunJobResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateRetryJobExecutionResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateStopJobExecutionResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/UpdateAppResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/UpdateClusterResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/UpdateJobResponseUnmarshaller.java diff --git a/aliyun-java-sdk-schedulerx3/ChangeLog.txt b/aliyun-java-sdk-schedulerx3/ChangeLog.txt new file mode 100644 index 0000000000..3976dd2917 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/ChangeLog.txt @@ -0,0 +1,5 @@ +2024-12-26 Version: 1.0.0 +- CreateJob and UpdateJob support ExecutorBlockStrategy. +- TimeType support fixed_delay. +- ListJobs support return LastExecuteEndTime, LastExecuteStatus and CurrentExecuteStatus. + diff --git a/aliyun-java-sdk-schedulerx3/pom.xml b/aliyun-java-sdk-schedulerx3/pom.xml new file mode 100644 index 0000000000..b3c2f5884f --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/pom.xml @@ -0,0 +1,119 @@ + + + 4.0.0 + com.aliyun + aliyun-java-sdk-schedulerx3 + jar + 1.0.0 + aliyun-java-sdk-schedulerx3 + http://www.aliyun.com + Aliyun Open API SDK for Java +Copyright (C) Alibaba Cloud Computing +All rights reserved. +版权所有 (C)阿里云计算有限公司 +http://www.aliyun.com + + + sonatype-nexus-snapshots + https://s01.oss.sonatype.org/content/repositories/snapshots + + + sonatype-nexus-staging + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + + + + + com.aliyun + aliyun-java-sdk-core + true + [4.4.9,5.0.0) + + + com.google.code.gson + gson + 2.8.9 + + + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + scm:git:git://github.com/aliyun/aliyun-openapi-java-sdk.git + scm:git:git@github.com:aliyun/aliyun-openapi-java-sdk.git + https://github.com/aliyun/aliyun-openapi-java-sdk + + + + aliyunproducts + Aliyun SDK + aliyunsdk@aliyun.com + + + + + + maven-compiler-plugin + 2.3.2 + + 1.6 + 1.6 + UTF-8 + + + + org.apache.maven.plugins + maven-jar-plugin + 2.3.2 + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.10 + + -Dfile.encoding=UTF-8 + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.1.0 + + UTF-8 + none + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.3 + true + + sonatype-nexus-staging + https://s01.oss.sonatype.org/ + true + + + + + \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateAppRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateAppRequest.java new file mode 100644 index 0000000000..3b084272cc --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateAppRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class CreateAppRequest extends RpcAcsRequest { + + + private String accessToken; + + private String title; + + private String appName; + + private String clusterId; + + private Boolean enableLog; + + private Integer maxConcurrency; + public CreateAppRequest() { + super("SchedulerX3", "2024-06-24", "CreateApp"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getAccessToken() { + return this.accessToken; + } + + public void setAccessToken(String accessToken) { + this.accessToken = accessToken; + if(accessToken != null){ + putBodyParameter("AccessToken", accessToken); + } + } + + public String getTitle() { + return this.title; + } + + public void setTitle(String title) { + this.title = title; + if(title != null){ + putBodyParameter("Title", title); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putBodyParameter("AppName", appName); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putBodyParameter("ClusterId", clusterId); + } + } + + public Boolean getEnableLog() { + return this.enableLog; + } + + public void setEnableLog(Boolean enableLog) { + this.enableLog = enableLog; + if(enableLog != null){ + putBodyParameter("EnableLog", enableLog.toString()); + } + } + + public Integer getMaxConcurrency() { + return this.maxConcurrency; + } + + public void setMaxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + if(maxConcurrency != null){ + putBodyParameter("MaxConcurrency", maxConcurrency.toString()); + } + } + + @Override + public Class getResponseClass() { + return CreateAppResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateAppResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateAppResponse.java new file mode 100644 index 0000000000..71eab32e04 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateAppResponse.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.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.CreateAppResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateAppResponse extends AcsResponse { + + private Integer code; + + private String message; + + private String requestId; + + private Boolean success; + + private Data data; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = 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 Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private Long appGroupId; + + private String accessToken; + + public Long getAppGroupId() { + return this.appGroupId; + } + + public void setAppGroupId(Long appGroupId) { + this.appGroupId = appGroupId; + } + + public String getAccessToken() { + return this.accessToken; + } + + public void setAccessToken(String accessToken) { + this.accessToken = accessToken; + } + } + + @Override + public CreateAppResponse getInstance(UnmarshallerContext context) { + return CreateAppResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateClusterRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateClusterRequest.java new file mode 100644 index 0000000000..5ca953caa1 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateClusterRequest.java @@ -0,0 +1,132 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +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 CreateClusterRequest extends RpcAcsRequest { + + + private String clusterName; + + private String engineType; + + @SerializedName("vSwitches") + private List vSwitches; + + private String clusterSpec; + + private String vpcId; + public CreateClusterRequest() { + super("SchedulerX3", "2024-06-24", "CreateCluster"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getClusterName() { + return this.clusterName; + } + + public void setClusterName(String clusterName) { + this.clusterName = clusterName; + if(clusterName != null){ + putBodyParameter("ClusterName", clusterName); + } + } + + public String getEngineType() { + return this.engineType; + } + + public void setEngineType(String engineType) { + this.engineType = engineType; + if(engineType != null){ + putBodyParameter("EngineType", engineType); + } + } + + public List getVSwitches() { + return this.vSwitches; + } + + public void setVSwitches(List vSwitches) { + this.vSwitches = vSwitches; + if (vSwitches != null) { + putBodyParameter("VSwitches" , new Gson().toJson(vSwitches)); + } + } + + public String getClusterSpec() { + return this.clusterSpec; + } + + public void setClusterSpec(String clusterSpec) { + this.clusterSpec = clusterSpec; + if(clusterSpec != null){ + putBodyParameter("ClusterSpec", clusterSpec); + } + } + + public String getVpcId() { + return this.vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + if(vpcId != null){ + putBodyParameter("VpcId", vpcId); + } + } + + public static class VSwitches { + + @SerializedName("VSwitchId") + private String vSwitchId; + + @SerializedName("ZoneId") + private String zoneId; + + public String getVSwitchId() { + return this.vSwitchId; + } + + public void setVSwitchId(String vSwitchId) { + this.vSwitchId = vSwitchId; + } + + public String getZoneId() { + return this.zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + } + + @Override + public Class getResponseClass() { + return CreateClusterResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateClusterResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateClusterResponse.java new file mode 100644 index 0000000000..a22c42abfa --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateClusterResponse.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.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.CreateClusterResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateClusterResponse extends AcsResponse { + + private Integer code; + + private String errorCode; + + private Boolean success; + + private String message; + + private String requestId; + + private Data data; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getErrorCode() { + return this.errorCode; + } + + public void setErrorCode(String errorCode) { + this.errorCode = errorCode; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private Long orderId; + + private String clusterId; + + public Long getOrderId() { + return this.orderId; + } + + public void setOrderId(Long orderId) { + this.orderId = orderId; + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + } + } + + @Override + public CreateClusterResponse getInstance(UnmarshallerContext context) { + return CreateClusterResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateJobRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateJobRequest.java new file mode 100644 index 0000000000..73bdfcc353 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateJobRequest.java @@ -0,0 +1,454 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +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 CreateJobRequest extends RpcAcsRequest { + + + private Integer executorBlockStrategy; + + private String timezone; + + private Integer routeStrategy; + + private String description; + + private Integer attemptInterval; + + private Long startTime; + + private String appName; + + @SerializedName("noticeContacts") + private List noticeContacts; + + @SerializedName("noticeConfig") + private NoticeConfig noticeConfig; + + private String calendar; + + private Integer maxAttempt; + + private String clusterId; + + private Integer priority; + + private String jobType; + + private String timeExpression; + + private String name; + + private Integer maxConcurrency; + + private Integer timeType; + + private String parameters; + + private String jobHandler; + + private Integer status; + public CreateJobRequest() { + super("SchedulerX3", "2024-06-24", "CreateJob"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Integer getExecutorBlockStrategy() { + return this.executorBlockStrategy; + } + + public void setExecutorBlockStrategy(Integer executorBlockStrategy) { + this.executorBlockStrategy = executorBlockStrategy; + if(executorBlockStrategy != null){ + putBodyParameter("ExecutorBlockStrategy", executorBlockStrategy.toString()); + } + } + + public String getTimezone() { + return this.timezone; + } + + public void setTimezone(String timezone) { + this.timezone = timezone; + if(timezone != null){ + putBodyParameter("Timezone", timezone); + } + } + + public Integer getRouteStrategy() { + return this.routeStrategy; + } + + public void setRouteStrategy(Integer routeStrategy) { + this.routeStrategy = routeStrategy; + if(routeStrategy != null){ + putBodyParameter("RouteStrategy", routeStrategy.toString()); + } + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putBodyParameter("Description", description); + } + } + + public Integer getAttemptInterval() { + return this.attemptInterval; + } + + public void setAttemptInterval(Integer attemptInterval) { + this.attemptInterval = attemptInterval; + if(attemptInterval != null){ + putBodyParameter("AttemptInterval", attemptInterval.toString()); + } + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + if(startTime != null){ + putBodyParameter("StartTime", startTime.toString()); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putBodyParameter("AppName", appName); + } + } + + public List getNoticeContacts() { + return this.noticeContacts; + } + + public void setNoticeContacts(List noticeContacts) { + this.noticeContacts = noticeContacts; + if (noticeContacts != null) { + putBodyParameter("NoticeContacts" , new Gson().toJson(noticeContacts)); + } + } + + public NoticeConfig getNoticeConfig() { + return this.noticeConfig; + } + + public void setNoticeConfig(NoticeConfig noticeConfig) { + this.noticeConfig = noticeConfig; + if (noticeConfig != null) { + putBodyParameter("NoticeConfig" , new Gson().toJson(noticeConfig)); + } + } + + public String getCalendar() { + return this.calendar; + } + + public void setCalendar(String calendar) { + this.calendar = calendar; + if(calendar != null){ + putBodyParameter("Calendar", calendar); + } + } + + public Integer getMaxAttempt() { + return this.maxAttempt; + } + + public void setMaxAttempt(Integer maxAttempt) { + this.maxAttempt = maxAttempt; + if(maxAttempt != null){ + putBodyParameter("MaxAttempt", maxAttempt.toString()); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putBodyParameter("ClusterId", clusterId); + } + } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + if(priority != null){ + putBodyParameter("Priority", priority.toString()); + } + } + + public String getJobType() { + return this.jobType; + } + + public void setJobType(String jobType) { + this.jobType = jobType; + if(jobType != null){ + putBodyParameter("JobType", jobType); + } + } + + public String getTimeExpression() { + return this.timeExpression; + } + + public void setTimeExpression(String timeExpression) { + this.timeExpression = timeExpression; + if(timeExpression != null){ + putBodyParameter("TimeExpression", timeExpression); + } + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + if(name != null){ + putBodyParameter("Name", name); + } + } + + public Integer getMaxConcurrency() { + return this.maxConcurrency; + } + + public void setMaxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + if(maxConcurrency != null){ + putBodyParameter("MaxConcurrency", maxConcurrency.toString()); + } + } + + public Integer getTimeType() { + return this.timeType; + } + + public void setTimeType(Integer timeType) { + this.timeType = timeType; + if(timeType != null){ + putBodyParameter("TimeType", timeType.toString()); + } + } + + public String getParameters() { + return this.parameters; + } + + public void setParameters(String parameters) { + this.parameters = parameters; + if(parameters != null){ + putBodyParameter("Parameters", parameters); + } + } + + public String getJobHandler() { + return this.jobHandler; + } + + public void setJobHandler(String jobHandler) { + this.jobHandler = jobHandler; + if(jobHandler != null){ + putBodyParameter("JobHandler", jobHandler); + } + } + + public Integer getStatus() { + return this.status; + } + + public void setStatus(Integer status) { + this.status = status; + if(status != null){ + putBodyParameter("Status", status.toString()); + } + } + + public static class NoticeContacts { + + @SerializedName("ContactType") + private Integer contactType; + + @SerializedName("Name") + private String name; + + public Integer getContactType() { + return this.contactType; + } + + public void setContactType(Integer contactType) { + this.contactType = contactType; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class NoticeConfig { + + @SerializedName("TimeoutKillEnable") + private Boolean timeoutKillEnable; + + @SerializedName("FailEnable") + private Boolean failEnable; + + @SerializedName("WebhookIsAtAll") + private Boolean webhookIsAtAll; + + @SerializedName("SuccessNotice") + private Boolean successNotice; + + @SerializedName("FailLimitTimes") + private Integer failLimitTimes; + + @SerializedName("SendChannel") + private String sendChannel; + + @SerializedName("NoticeChannel") + private String noticeChannel; + + @SerializedName("TimeoutEnable") + private Boolean timeoutEnable; + + @SerializedName("MissWorkerEnable") + private Boolean missWorkerEnable; + + @SerializedName("Timeout") + private Long timeout; + + public Boolean getTimeoutKillEnable() { + return this.timeoutKillEnable; + } + + public void setTimeoutKillEnable(Boolean timeoutKillEnable) { + this.timeoutKillEnable = timeoutKillEnable; + } + + public Boolean getFailEnable() { + return this.failEnable; + } + + public void setFailEnable(Boolean failEnable) { + this.failEnable = failEnable; + } + + public Boolean getWebhookIsAtAll() { + return this.webhookIsAtAll; + } + + public void setWebhookIsAtAll(Boolean webhookIsAtAll) { + this.webhookIsAtAll = webhookIsAtAll; + } + + public Boolean getSuccessNotice() { + return this.successNotice; + } + + public void setSuccessNotice(Boolean successNotice) { + this.successNotice = successNotice; + } + + public Integer getFailLimitTimes() { + return this.failLimitTimes; + } + + public void setFailLimitTimes(Integer failLimitTimes) { + this.failLimitTimes = failLimitTimes; + } + + public String getSendChannel() { + return this.sendChannel; + } + + public void setSendChannel(String sendChannel) { + this.sendChannel = sendChannel; + } + + public String getNoticeChannel() { + return this.noticeChannel; + } + + public void setNoticeChannel(String noticeChannel) { + this.noticeChannel = noticeChannel; + } + + public Boolean getTimeoutEnable() { + return this.timeoutEnable; + } + + public void setTimeoutEnable(Boolean timeoutEnable) { + this.timeoutEnable = timeoutEnable; + } + + public Boolean getMissWorkerEnable() { + return this.missWorkerEnable; + } + + public void setMissWorkerEnable(Boolean missWorkerEnable) { + this.missWorkerEnable = missWorkerEnable; + } + + public Long getTimeout() { + return this.timeout; + } + + public void setTimeout(Long timeout) { + this.timeout = timeout; + } + } + + @Override + public Class getResponseClass() { + return CreateJobResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateJobResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateJobResponse.java new file mode 100644 index 0000000000..5c99b91cff --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/CreateJobResponse.java @@ -0,0 +1,99 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.CreateJobResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class CreateJobResponse extends AcsResponse { + + private Integer code; + + private String message; + + private String requestId; + + private Boolean success; + + private Data data; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = 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 Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private Long jobId; + + public Long getJobId() { + return this.jobId; + } + + public void setJobId(Long jobId) { + this.jobId = jobId; + } + } + + @Override + public CreateJobResponse getInstance(UnmarshallerContext context) { + return CreateJobResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteAppRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteAppRequest.java new file mode 100644 index 0000000000..1a2e57e4f5 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteAppRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteAppRequest extends RpcAcsRequest { + + + private String clusterId; + + private String appName; + public DeleteAppRequest() { + super("SchedulerX3", "2024-06-24", "DeleteApp"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putBodyParameter("ClusterId", clusterId); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putBodyParameter("AppName", appName); + } + } + + @Override + public Class getResponseClass() { + return DeleteAppResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteAppResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteAppResponse.java new file mode 100644 index 0000000000..90c3fbeb21 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteAppResponse.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.DeleteAppResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteAppResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private String message; + + private Boolean success; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + @Override + public DeleteAppResponse getInstance(UnmarshallerContext context) { + return DeleteAppResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteClusterRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteClusterRequest.java new file mode 100644 index 0000000000..1484880d6b --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteClusterRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class DeleteClusterRequest extends RpcAcsRequest { + + + private String clusterId; + public DeleteClusterRequest() { + super("SchedulerX3", "2024-06-24", "DeleteCluster"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + @Override + public Class getResponseClass() { + return DeleteClusterResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteClusterResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteClusterResponse.java new file mode 100644 index 0000000000..c7111bd196 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteClusterResponse.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.DeleteClusterResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteClusterResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private String message; + + private Boolean success; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + @Override + public DeleteClusterResponse getInstance(UnmarshallerContext context) { + return DeleteClusterResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteJobsRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteJobsRequest.java new file mode 100644 index 0000000000..ef2e5ccc35 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteJobsRequest.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.schedulerx3.model.v20240624; + +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 DeleteJobsRequest extends RpcAcsRequest { + + + private String clusterId; + + private String appName; + + @SerializedName("jobIds") + private List jobIds; + public DeleteJobsRequest() { + super("SchedulerX3", "2024-06-24", "DeleteJobs"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putBodyParameter("ClusterId", clusterId); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putBodyParameter("AppName", appName); + } + } + + public List getJobIds() { + return this.jobIds; + } + + public void setJobIds(List jobIds) { + this.jobIds = jobIds; + if (jobIds != null) { + putBodyParameter("JobIds" , new Gson().toJson(jobIds)); + } + } + + @Override + public Class getResponseClass() { + return DeleteJobsResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteJobsResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteJobsResponse.java new file mode 100644 index 0000000000..9134caac6c --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/DeleteJobsResponse.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.DeleteJobsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class DeleteJobsResponse extends AcsResponse { + + private Integer code; + + private String message; + + private String requestId; + + private Boolean success; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = 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; + } + + @Override + public DeleteJobsResponse getInstance(UnmarshallerContext context) { + return DeleteJobsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ExportJobsRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ExportJobsRequest.java new file mode 100644 index 0000000000..596f1982f2 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ExportJobsRequest.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +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 ExportJobsRequest extends RpcAcsRequest { + + + private String appName; + + private String clusterId; + + @SerializedName("jobIds") + private List jobIds; + + private Integer exportJobType; + public ExportJobsRequest() { + super("SchedulerX3", "2024-06-24", "ExportJobs"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putBodyParameter("AppName", appName); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putBodyParameter("ClusterId", clusterId); + } + } + + public List getJobIds() { + return this.jobIds; + } + + public void setJobIds(List jobIds) { + this.jobIds = jobIds; + if (jobIds != null) { + putBodyParameter("JobIds" , new Gson().toJson(jobIds)); + } + } + + public Integer getExportJobType() { + return this.exportJobType; + } + + public void setExportJobType(Integer exportJobType) { + this.exportJobType = exportJobType; + if(exportJobType != null){ + putBodyParameter("ExportJobType", exportJobType.toString()); + } + } + + @Override + public Class getResponseClass() { + return ExportJobsResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ExportJobsResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ExportJobsResponse.java new file mode 100644 index 0000000000..04a09b854a --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ExportJobsResponse.java @@ -0,0 +1,36 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ExportJobsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ExportJobsResponse extends AcsResponse { + + @Override + public ExportJobsResponse getInstance(UnmarshallerContext context) { + return ExportJobsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetClusterRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetClusterRequest.java new file mode 100644 index 0000000000..1819a059dc --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetClusterRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetClusterRequest extends RpcAcsRequest { + + + private String clusterId; + public GetClusterRequest() { + super("SchedulerX3", "2024-06-24", "GetCluster"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + @Override + public Class getResponseClass() { + return GetClusterResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetClusterResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetClusterResponse.java new file mode 100644 index 0000000000..0ceb8a5156 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetClusterResponse.java @@ -0,0 +1,313 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.GetClusterResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetClusterResponse extends AcsResponse { + + private Integer code; + + private String requestId; + + private String message; + + private Boolean success; + + private Data data; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String clusterId; + + private String clusterName; + + private String clusterSpec; + + private Integer productType; + + private String engineType; + + private String engineVersion; + + private Integer status; + + private String createTime; + + private String endTime; + + private String intranetDomain; + + private String internetDomain; + + private String chargeType; + + private String kubeConfig; + + private Integer jobNum; + + private Integer workerNum; + + private String vpcId; + + private Integer maxJobNum; + + private Integer spm; + + private List vSwitches; + + private List zones; + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + } + + public String getClusterName() { + return this.clusterName; + } + + public void setClusterName(String clusterName) { + this.clusterName = clusterName; + } + + public String getClusterSpec() { + return this.clusterSpec; + } + + public void setClusterSpec(String clusterSpec) { + this.clusterSpec = clusterSpec; + } + + public Integer getProductType() { + return this.productType; + } + + public void setProductType(Integer productType) { + this.productType = productType; + } + + public String getEngineType() { + return this.engineType; + } + + public void setEngineType(String engineType) { + this.engineType = engineType; + } + + public String getEngineVersion() { + return this.engineVersion; + } + + public void setEngineVersion(String engineVersion) { + this.engineVersion = engineVersion; + } + + public Integer getStatus() { + return this.status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public String getCreateTime() { + return this.createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public String getIntranetDomain() { + return this.intranetDomain; + } + + public void setIntranetDomain(String intranetDomain) { + this.intranetDomain = intranetDomain; + } + + public String getInternetDomain() { + return this.internetDomain; + } + + public void setInternetDomain(String internetDomain) { + this.internetDomain = internetDomain; + } + + public String getChargeType() { + return this.chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public String getKubeConfig() { + return this.kubeConfig; + } + + public void setKubeConfig(String kubeConfig) { + this.kubeConfig = kubeConfig; + } + + public Integer getJobNum() { + return this.jobNum; + } + + public void setJobNum(Integer jobNum) { + this.jobNum = jobNum; + } + + public Integer getWorkerNum() { + return this.workerNum; + } + + public void setWorkerNum(Integer workerNum) { + this.workerNum = workerNum; + } + + public String getVpcId() { + return this.vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + } + + public Integer getMaxJobNum() { + return this.maxJobNum; + } + + public void setMaxJobNum(Integer maxJobNum) { + this.maxJobNum = maxJobNum; + } + + public Integer getSpm() { + return this.spm; + } + + public void setSpm(Integer spm) { + this.spm = spm; + } + + public List getVSwitches() { + return this.vSwitches; + } + + public void setVSwitches(List vSwitches) { + this.vSwitches = vSwitches; + } + + public List getZones() { + return this.zones; + } + + public void setZones(List zones) { + this.zones = zones; + } + + public static class VswitchesItem { + + private String zoneId; + + private String vSwitchId; + + public String getZoneId() { + return this.zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + public String getVSwitchId() { + return this.vSwitchId; + } + + public void setVSwitchId(String vSwitchId) { + this.vSwitchId = vSwitchId; + } + } + } + + @Override + public GetClusterResponse getInstance(UnmarshallerContext context) { + return GetClusterResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetDesigateInfoRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetDesigateInfoRequest.java new file mode 100644 index 0000000000..65e65ba7cd --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetDesigateInfoRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetDesigateInfoRequest extends RpcAcsRequest { + + + private String clusterId; + + private Long jobId; + + private String appName; + public GetDesigateInfoRequest() { + super("SchedulerX3", "2024-06-24", "GetDesigateInfo"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public Long getJobId() { + return this.jobId; + } + + public void setJobId(Long jobId) { + this.jobId = jobId; + if(jobId != null){ + putQueryParameter("JobId", jobId.toString()); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + @Override + public Class getResponseClass() { + return GetDesigateInfoResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetDesigateInfoResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetDesigateInfoResponse.java new file mode 100644 index 0000000000..dd0b9b2875 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetDesigateInfoResponse.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.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.GetDesigateInfoResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetDesigateInfoResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private String message; + + private Boolean success; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private Integer designateType; + + private Boolean transferable; + + public Integer getDesignateType() { + return this.designateType; + } + + public void setDesignateType(Integer designateType) { + this.designateType = designateType; + } + + public Boolean getTransferable() { + return this.transferable; + } + + public void setTransferable(Boolean transferable) { + this.transferable = transferable; + } + } + + @Override + public GetDesigateInfoResponse getInstance(UnmarshallerContext context) { + return GetDesigateInfoResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetJobExecutionProgressRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetJobExecutionProgressRequest.java new file mode 100644 index 0000000000..8002cc7f8e --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetJobExecutionProgressRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetJobExecutionProgressRequest extends RpcAcsRequest { + + + private String clusterId; + + private String appName; + + private String jobExecutionId; + public GetJobExecutionProgressRequest() { + super("SchedulerX3", "2024-06-24", "GetJobExecutionProgress"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + public String getJobExecutionId() { + return this.jobExecutionId; + } + + public void setJobExecutionId(String jobExecutionId) { + this.jobExecutionId = jobExecutionId; + if(jobExecutionId != null){ + putQueryParameter("JobExecutionId", jobExecutionId); + } + } + + @Override + public Class getResponseClass() { + return GetJobExecutionProgressResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetJobExecutionProgressResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetJobExecutionProgressResponse.java new file mode 100644 index 0000000000..b7629f2c74 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetJobExecutionProgressResponse.java @@ -0,0 +1,459 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import java.util.List; +import java.util.Map; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.GetJobExecutionProgressResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetJobExecutionProgressResponse extends AcsResponse { + + private Integer code; + + private String requestId; + + private String message; + + private Boolean success; + + private Data data; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String jobDescription; + + private Map statisticDetail; + + private List taskProgress; + + private List shardingProgress; + + private List workerProgress; + + private TotalProgress totalProgress; + + private RootProgress rootProgress; + + public String getJobDescription() { + return this.jobDescription; + } + + public void setJobDescription(String jobDescription) { + this.jobDescription = jobDescription; + } + + public Map getStatisticDetail() { + return this.statisticDetail; + } + + public void setStatisticDetail(Map statisticDetail) { + this.statisticDetail = statisticDetail; + } + + public List getTaskProgress() { + return this.taskProgress; + } + + public void setTaskProgress(List taskProgress) { + this.taskProgress = taskProgress; + } + + public List getShardingProgress() { + return this.shardingProgress; + } + + public void setShardingProgress(List shardingProgress) { + this.shardingProgress = shardingProgress; + } + + public List getWorkerProgress() { + return this.workerProgress; + } + + public void setWorkerProgress(List workerProgress) { + this.workerProgress = workerProgress; + } + + public TotalProgress getTotalProgress() { + return this.totalProgress; + } + + public void setTotalProgress(TotalProgress totalProgress) { + this.totalProgress = totalProgress; + } + + public RootProgress getRootProgress() { + return this.rootProgress; + } + + public void setRootProgress(RootProgress rootProgress) { + this.rootProgress = rootProgress; + } + + public static class TaskProgressItem { + + private String name; + + private Integer total; + + private Integer pulled; + + private Integer queue; + + private Integer running; + + private Integer success; + + private Integer failed; + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getTotal() { + return this.total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + public Integer getPulled() { + return this.pulled; + } + + public void setPulled(Integer pulled) { + this.pulled = pulled; + } + + public Integer getQueue() { + return this.queue; + } + + public void setQueue(Integer queue) { + this.queue = queue; + } + + public Integer getRunning() { + return this.running; + } + + public void setRunning(Integer running) { + this.running = running; + } + + public Integer getSuccess() { + return this.success; + } + + public void setSuccess(Integer success) { + this.success = success; + } + + public Integer getFailed() { + return this.failed; + } + + public void setFailed(Integer failed) { + this.failed = failed; + } + } + + public static class ShardingProgressItem { + + private Long id; + + private String workerAddr; + + private Integer status; + + private String jobExecutionId; + + private String result; + + private StatusType statusType; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getWorkerAddr() { + return this.workerAddr; + } + + public void setWorkerAddr(String workerAddr) { + this.workerAddr = workerAddr; + } + + public Integer getStatus() { + return this.status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public String getJobExecutionId() { + return this.jobExecutionId; + } + + public void setJobExecutionId(String jobExecutionId) { + this.jobExecutionId = jobExecutionId; + } + + public String getResult() { + return this.result; + } + + public void setResult(String result) { + this.result = result; + } + + public StatusType getStatusType() { + return this.statusType; + } + + public void setStatusType(StatusType statusType) { + this.statusType = statusType; + } + + public static class StatusType { + + private String code; + + private String name; + + private Map tips; + + public String getCode() { + return this.code; + } + + public void setCode(String code) { + this.code = code; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + + public Map getTips() { + return this.tips; + } + + public void setTips(Map tips) { + this.tips = tips; + } + } + } + + public static class WorkerProgressItem { + + private String workerAddr; + + private Integer total; + + private Integer pulled; + + private Integer queue; + + private Integer running; + + private Integer success; + + private Integer failed; + + private String traceId; + + public String getWorkerAddr() { + return this.workerAddr; + } + + public void setWorkerAddr(String workerAddr) { + this.workerAddr = workerAddr; + } + + public Integer getTotal() { + return this.total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + public Integer getPulled() { + return this.pulled; + } + + public void setPulled(Integer pulled) { + this.pulled = pulled; + } + + public Integer getQueue() { + return this.queue; + } + + public void setQueue(Integer queue) { + this.queue = queue; + } + + public Integer getRunning() { + return this.running; + } + + public void setRunning(Integer running) { + this.running = running; + } + + public Integer getSuccess() { + return this.success; + } + + public void setSuccess(Integer success) { + this.success = success; + } + + public Integer getFailed() { + return this.failed; + } + + public void setFailed(Integer failed) { + this.failed = failed; + } + + public String getTraceId() { + return this.traceId; + } + + public void setTraceId(String traceId) { + this.traceId = traceId; + } + } + + public static class TotalProgress { + + private Long total; + + private Long finished; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getFinished() { + return this.finished; + } + + public void setFinished(Long finished) { + this.finished = finished; + } + } + + public static class RootProgress { + + private Long total; + + private Long finished; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getFinished() { + return this.finished; + } + + public void setFinished(Long finished) { + this.finished = finished; + } + } + } + + @Override + public GetJobExecutionProgressResponse getInstance(UnmarshallerContext context) { + return GetJobExecutionProgressResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetLogRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetLogRequest.java new file mode 100644 index 0000000000..1d39940c20 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetLogRequest.java @@ -0,0 +1,181 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class GetLogRequest extends RpcAcsRequest { + + + private Long startTime; + + private String appName; + + private Integer lineNum; + + private String keyword; + + private String jobExecutionId; + + private Integer offset; + + private String level; + + private Long endTime; + + private String clusterId; + + private Boolean reverse; + + private Long logId; + public GetLogRequest() { + super("SchedulerX3", "2024-06-24", "GetLog"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime.toString()); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + public Integer getLineNum() { + return this.lineNum; + } + + public void setLineNum(Integer lineNum) { + this.lineNum = lineNum; + if(lineNum != null){ + putQueryParameter("LineNum", lineNum.toString()); + } + } + + public String getKeyword() { + return this.keyword; + } + + public void setKeyword(String keyword) { + this.keyword = keyword; + if(keyword != null){ + putQueryParameter("Keyword", keyword); + } + } + + public String getJobExecutionId() { + return this.jobExecutionId; + } + + public void setJobExecutionId(String jobExecutionId) { + this.jobExecutionId = jobExecutionId; + if(jobExecutionId != null){ + putQueryParameter("JobExecutionId", jobExecutionId); + } + } + + public Integer getOffset() { + return this.offset; + } + + public void setOffset(Integer offset) { + this.offset = offset; + if(offset != null){ + putQueryParameter("Offset", offset.toString()); + } + } + + public String getLevel() { + return this.level; + } + + public void setLevel(String level) { + this.level = level; + if(level != null){ + putQueryParameter("Level", level); + } + } + + public Long getEndTime() { + return this.endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime.toString()); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public Boolean getReverse() { + return this.reverse; + } + + public void setReverse(Boolean reverse) { + this.reverse = reverse; + if(reverse != null){ + putQueryParameter("Reverse", reverse.toString()); + } + } + + public Long getLogId() { + return this.logId; + } + + public void setLogId(Long logId) { + this.logId = logId; + if(logId != null){ + putQueryParameter("LogId", logId.toString()); + } + } + + @Override + public Class getResponseClass() { + return GetLogResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetLogResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetLogResponse.java new file mode 100644 index 0000000000..9eddea4ff0 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/GetLogResponse.java @@ -0,0 +1,87 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.GetLogResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetLogResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private Boolean success; + + private String message; + + private List data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + 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 GetLogResponse getInstance(UnmarshallerContext context) { + return GetLogResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportCalendarRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportCalendarRequest.java new file mode 100644 index 0000000000..b9ac4a37cf --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportCalendarRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ImportCalendarRequest extends RpcAcsRequest { + + + private Integer year; + + private String months; + + private String clusterId; + + private String name; + public ImportCalendarRequest() { + super("SchedulerX3", "2024-06-24", "ImportCalendar"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Integer getYear() { + return this.year; + } + + public void setYear(Integer year) { + this.year = year; + if(year != null){ + putBodyParameter("Year", year.toString()); + } + } + + public String getMonths() { + return this.months; + } + + public void setMonths(String months) { + this.months = months; + if(months != null){ + putBodyParameter("Months", months); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putBodyParameter("ClusterId", clusterId); + } + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + if(name != null){ + putBodyParameter("Name", name); + } + } + + @Override + public Class getResponseClass() { + return ImportCalendarResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportCalendarResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportCalendarResponse.java new file mode 100644 index 0000000000..db16efb921 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportCalendarResponse.java @@ -0,0 +1,87 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ImportCalendarResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ImportCalendarResponse extends AcsResponse { + + private Integer code; + + private String message; + + private String requestId; + + private Boolean success; + + private List data; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = 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 List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + @Override + public ImportCalendarResponse getInstance(UnmarshallerContext context) { + return ImportCalendarResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportJobsRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportJobsRequest.java new file mode 100644 index 0000000000..56a3473a69 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportJobsRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ImportJobsRequest extends RpcAcsRequest { + + + private String content; + + private Boolean overwrite; + + private String clusterId; + + private Boolean autoCreateApp; + public ImportJobsRequest() { + super("SchedulerX3", "2024-06-24", "ImportJobs"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getContent() { + return this.content; + } + + public void setContent(String content) { + this.content = content; + if(content != null){ + putBodyParameter("Content", content); + } + } + + public Boolean getOverwrite() { + return this.overwrite; + } + + public void setOverwrite(Boolean overwrite) { + this.overwrite = overwrite; + if(overwrite != null){ + putBodyParameter("Overwrite", overwrite.toString()); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putBodyParameter("ClusterId", clusterId); + } + } + + public Boolean getAutoCreateApp() { + return this.autoCreateApp; + } + + public void setAutoCreateApp(Boolean autoCreateApp) { + this.autoCreateApp = autoCreateApp; + if(autoCreateApp != null){ + putBodyParameter("AutoCreateApp", autoCreateApp.toString()); + } + } + + @Override + public Class getResponseClass() { + return ImportJobsResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportJobsResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportJobsResponse.java new file mode 100644 index 0000000000..9a61a4e0a8 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ImportJobsResponse.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ImportJobsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ImportJobsResponse extends AcsResponse { + + private Integer code; + + private String requestId; + + private String message; + + private Boolean success; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + @Override + public ImportJobsResponse getInstance(UnmarshallerContext context) { + return ImportJobsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAlarmEventRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAlarmEventRequest.java new file mode 100644 index 0000000000..0c5e8ada54 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAlarmEventRequest.java @@ -0,0 +1,181 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListAlarmEventRequest extends RpcAcsRequest { + + + private Long startTime; + + private String pageNum; + + private String alarmChannel; + + private String appName; + + private String pageSize; + + private String jobName; + + private String alarmType; + + private Long endTime; + + private String clusterId; + + private Boolean reverse; + + private String alarmStatus; + public ListAlarmEventRequest() { + super("SchedulerX3", "2024-06-24", "ListAlarmEvent"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime.toString()); + } + } + + public String getPageNum() { + return this.pageNum; + } + + public void setPageNum(String pageNum) { + this.pageNum = pageNum; + if(pageNum != null){ + putQueryParameter("PageNum", pageNum); + } + } + + public String getAlarmChannel() { + return this.alarmChannel; + } + + public void setAlarmChannel(String alarmChannel) { + this.alarmChannel = alarmChannel; + if(alarmChannel != null){ + putQueryParameter("AlarmChannel", alarmChannel); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + public String getPageSize() { + return this.pageSize; + } + + public void setPageSize(String pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize); + } + } + + public String getJobName() { + return this.jobName; + } + + public void setJobName(String jobName) { + this.jobName = jobName; + if(jobName != null){ + putQueryParameter("JobName", jobName); + } + } + + public String getAlarmType() { + return this.alarmType; + } + + public void setAlarmType(String alarmType) { + this.alarmType = alarmType; + if(alarmType != null){ + putQueryParameter("AlarmType", alarmType); + } + } + + public Long getEndTime() { + return this.endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime.toString()); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public Boolean getReverse() { + return this.reverse; + } + + public void setReverse(Boolean reverse) { + this.reverse = reverse; + if(reverse != null){ + putQueryParameter("Reverse", reverse.toString()); + } + } + + public String getAlarmStatus() { + return this.alarmStatus; + } + + public void setAlarmStatus(String alarmStatus) { + this.alarmStatus = alarmStatus; + if(alarmStatus != null){ + putQueryParameter("AlarmStatus", alarmStatus); + } + } + + @Override + public Class getResponseClass() { + return ListAlarmEventResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAlarmEventResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAlarmEventResponse.java new file mode 100644 index 0000000000..2f8619e4cf --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAlarmEventResponse.java @@ -0,0 +1,213 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ListAlarmEventResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListAlarmEventResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private String message; + + private Boolean success; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private Integer pageNumber; + + private Integer pageSize; + + private Long total; + + private List records; + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public List getRecords() { + return this.records; + } + + public void setRecords(List records) { + this.records = records; + } + + public static class Record { + + private String appName; + + private String jobName; + + private String alarmType; + + private String alarmChannel; + + private String alarmContacts; + + private String alarmStatus; + + private String alarmMessage; + + private String time; + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + } + + public String getJobName() { + return this.jobName; + } + + public void setJobName(String jobName) { + this.jobName = jobName; + } + + public String getAlarmType() { + return this.alarmType; + } + + public void setAlarmType(String alarmType) { + this.alarmType = alarmType; + } + + public String getAlarmChannel() { + return this.alarmChannel; + } + + public void setAlarmChannel(String alarmChannel) { + this.alarmChannel = alarmChannel; + } + + public String getAlarmContacts() { + return this.alarmContacts; + } + + public void setAlarmContacts(String alarmContacts) { + this.alarmContacts = alarmContacts; + } + + public String getAlarmStatus() { + return this.alarmStatus; + } + + public void setAlarmStatus(String alarmStatus) { + this.alarmStatus = alarmStatus; + } + + public String getAlarmMessage() { + return this.alarmMessage; + } + + public void setAlarmMessage(String alarmMessage) { + this.alarmMessage = alarmMessage; + } + + public String getTime() { + return this.time; + } + + public void setTime(String time) { + this.time = time; + } + } + } + + @Override + public ListAlarmEventResponse getInstance(UnmarshallerContext context) { + return ListAlarmEventResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppNamesRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppNamesRequest.java new file mode 100644 index 0000000000..a9a9d3a063 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppNamesRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListAppNamesRequest extends RpcAcsRequest { + + + private String clusterId; + + private String appName; + public ListAppNamesRequest() { + super("SchedulerX3", "2024-06-24", "ListAppNames"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + @Override + public Class getResponseClass() { + return ListAppNamesResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppNamesResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppNamesResponse.java new file mode 100644 index 0000000000..d3d359fbc2 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppNamesResponse.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.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ListAppNamesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListAppNamesResponse extends AcsResponse { + + private Integer code; + + private String message; + + private String requestId; + + private Boolean success; + + private List data; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = 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 List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + public static class DataItem { + + private Long id; + + private String appName; + + private String title; + + private String appGroupId; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + } + + public String getTitle() { + return this.title; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getAppGroupId() { + return this.appGroupId; + } + + public void setAppGroupId(String appGroupId) { + this.appGroupId = appGroupId; + } + } + + @Override + public ListAppNamesResponse getInstance(UnmarshallerContext context) { + return ListAppNamesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppsRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppsRequest.java new file mode 100644 index 0000000000..12096661f4 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppsRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListAppsRequest extends RpcAcsRequest { + + + private String title; + + private Integer pageNum; + + private String appName; + + private Integer pageSize; + + private String clusterId; + public ListAppsRequest() { + super("SchedulerX3", "2024-06-24", "ListApps"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public String getTitle() { + return this.title; + } + + public void setTitle(String title) { + this.title = title; + if(title != null){ + putQueryParameter("Title", title); + } + } + + public Integer getPageNum() { + return this.pageNum; + } + + public void setPageNum(Integer pageNum) { + this.pageNum = pageNum; + if(pageNum != null){ + putQueryParameter("PageNum", pageNum.toString()); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + @Override + public Class getResponseClass() { + return ListAppsResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppsResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppsResponse.java new file mode 100644 index 0000000000..4524a8630f --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListAppsResponse.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.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ListAppsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListAppsResponse extends AcsResponse { + + private Integer code; + + private String message; + + private String requestId; + + private Boolean success; + + private Data data; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = 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 Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private Integer total; + + private Integer pageNumber; + + private Integer pageSize; + + private List records; + + public Integer getTotal() { + return this.total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public List getRecords() { + return this.records; + } + + public void setRecords(List records) { + this.records = records; + } + + public static class Record { + + private Long id; + + private String appName; + + private String accessToken; + + private String title; + + private String creator; + + private String updater; + + private String leader; + + private String calendar; + + private Integer maxJobs; + + private Integer maxConcurrency; + + private String noticeConfig; + + private String noticeContacts; + + private Integer jobNum; + + private Long executorNum; + + private Boolean enableLog; + + public Long getId() { + return this.id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + } + + public String getAccessToken() { + return this.accessToken; + } + + public void setAccessToken(String accessToken) { + this.accessToken = accessToken; + } + + public String getTitle() { + return this.title; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getCreator() { + return this.creator; + } + + public void setCreator(String creator) { + this.creator = creator; + } + + public String getUpdater() { + return this.updater; + } + + public void setUpdater(String updater) { + this.updater = updater; + } + + public String getLeader() { + return this.leader; + } + + public void setLeader(String leader) { + this.leader = leader; + } + + public String getCalendar() { + return this.calendar; + } + + public void setCalendar(String calendar) { + this.calendar = calendar; + } + + public Integer getMaxJobs() { + return this.maxJobs; + } + + public void setMaxJobs(Integer maxJobs) { + this.maxJobs = maxJobs; + } + + public Integer getMaxConcurrency() { + return this.maxConcurrency; + } + + public void setMaxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + } + + public String getNoticeConfig() { + return this.noticeConfig; + } + + public void setNoticeConfig(String noticeConfig) { + this.noticeConfig = noticeConfig; + } + + public String getNoticeContacts() { + return this.noticeContacts; + } + + public void setNoticeContacts(String noticeContacts) { + this.noticeContacts = noticeContacts; + } + + public Integer getJobNum() { + return this.jobNum; + } + + public void setJobNum(Integer jobNum) { + this.jobNum = jobNum; + } + + public Long getExecutorNum() { + return this.executorNum; + } + + public void setExecutorNum(Long executorNum) { + this.executorNum = executorNum; + } + + public Boolean getEnableLog() { + return this.enableLog; + } + + public void setEnableLog(Boolean enableLog) { + this.enableLog = enableLog; + } + } + } + + @Override + public ListAppsResponse getInstance(UnmarshallerContext context) { + return ListAppsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListCalendarNamesRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListCalendarNamesRequest.java new file mode 100644 index 0000000000..cdf51eb45d --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListCalendarNamesRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListCalendarNamesRequest extends RpcAcsRequest { + + + private String clusterId; + public ListCalendarNamesRequest() { + super("SchedulerX3", "2024-06-24", "ListCalendarNames"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + @Override + public Class getResponseClass() { + return ListCalendarNamesResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListCalendarNamesResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListCalendarNamesResponse.java new file mode 100644 index 0000000000..bf61799a9b --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListCalendarNamesResponse.java @@ -0,0 +1,87 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ListCalendarNamesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListCalendarNamesResponse extends AcsResponse { + + private Integer code; + + private String message; + + private String requestId; + + private Boolean success; + + private List data; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = 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 List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + @Override + public ListCalendarNamesResponse getInstance(UnmarshallerContext context) { + return ListCalendarNamesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListClustersRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListClustersRequest.java new file mode 100644 index 0000000000..a6a71da84a --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListClustersRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListClustersRequest extends RpcAcsRequest { + + + private String clusterName; + + private Integer pageNum; + + private Integer pageSize; + + private String clusterId; + public ListClustersRequest() { + super("SchedulerX3", "2024-06-24", "ListClusters"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public String getClusterName() { + return this.clusterName; + } + + public void setClusterName(String clusterName) { + this.clusterName = clusterName; + if(clusterName != null){ + putQueryParameter("ClusterName", clusterName); + } + } + + public Integer getPageNum() { + return this.pageNum; + } + + public void setPageNum(Integer pageNum) { + this.pageNum = pageNum; + if(pageNum != null){ + putQueryParameter("PageNum", pageNum.toString()); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + @Override + public Class getResponseClass() { + return ListClustersResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListClustersResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListClustersResponse.java new file mode 100644 index 0000000000..4558d2545e --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListClustersResponse.java @@ -0,0 +1,306 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ListClustersResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListClustersResponse extends AcsResponse { + + private Integer code; + + private String requestId; + + private String message; + + private Boolean success; + + private Data data; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private Integer total; + + private Integer pageNumber; + + private Integer pageSize; + + private List records; + + public Integer getTotal() { + return this.total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public List getRecords() { + return this.records; + } + + public void setRecords(List records) { + this.records = records; + } + + public static class Record { + + private String clusterId; + + private String clusterName; + + private String clusterSpec; + + private Integer productType; + + private String engineType; + + private String engineVersion; + + private Integer status; + + private String createTime; + + private String endTime; + + private String intranetDomain; + + private String internetDomain; + + private String chargeType; + + private String vpcId; + + private String spInstanceId; + + private List vSwitches; + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + } + + public String getClusterName() { + return this.clusterName; + } + + public void setClusterName(String clusterName) { + this.clusterName = clusterName; + } + + public String getClusterSpec() { + return this.clusterSpec; + } + + public void setClusterSpec(String clusterSpec) { + this.clusterSpec = clusterSpec; + } + + public Integer getProductType() { + return this.productType; + } + + public void setProductType(Integer productType) { + this.productType = productType; + } + + public String getEngineType() { + return this.engineType; + } + + public void setEngineType(String engineType) { + this.engineType = engineType; + } + + public String getEngineVersion() { + return this.engineVersion; + } + + public void setEngineVersion(String engineVersion) { + this.engineVersion = engineVersion; + } + + public Integer getStatus() { + return this.status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public String getCreateTime() { + return this.createTime; + } + + public void setCreateTime(String createTime) { + this.createTime = createTime; + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + } + + public String getIntranetDomain() { + return this.intranetDomain; + } + + public void setIntranetDomain(String intranetDomain) { + this.intranetDomain = intranetDomain; + } + + public String getInternetDomain() { + return this.internetDomain; + } + + public void setInternetDomain(String internetDomain) { + this.internetDomain = internetDomain; + } + + public String getChargeType() { + return this.chargeType; + } + + public void setChargeType(String chargeType) { + this.chargeType = chargeType; + } + + public String getVpcId() { + return this.vpcId; + } + + public void setVpcId(String vpcId) { + this.vpcId = vpcId; + } + + public String getSpInstanceId() { + return this.spInstanceId; + } + + public void setSpInstanceId(String spInstanceId) { + this.spInstanceId = spInstanceId; + } + + public List getVSwitches() { + return this.vSwitches; + } + + public void setVSwitches(List vSwitches) { + this.vSwitches = vSwitches; + } + + public static class VswitchesItem { + + private String zoneId; + + private String vSwitchId; + + public String getZoneId() { + return this.zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + public String getVSwitchId() { + return this.vSwitchId; + } + + public void setVSwitchId(String vSwitchId) { + this.vSwitchId = vSwitchId; + } + } + } + } + + @Override + public ListClustersResponse getInstance(UnmarshallerContext context) { + return ListClustersResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListExecutorsRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListExecutorsRequest.java new file mode 100644 index 0000000000..f72742a97e --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListExecutorsRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListExecutorsRequest extends RpcAcsRequest { + + + private Long jobId; + + private String appName; + + private String clusterId; + + private String label; + public ListExecutorsRequest() { + super("SchedulerX3", "2024-06-24", "ListExecutors"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public Long getJobId() { + return this.jobId; + } + + public void setJobId(Long jobId) { + this.jobId = jobId; + if(jobId != null){ + putQueryParameter("JobId", jobId.toString()); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public String getLabel() { + return this.label; + } + + public void setLabel(String label) { + this.label = label; + if(label != null){ + putQueryParameter("Label", label); + } + } + + @Override + public Class getResponseClass() { + return ListExecutorsResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListExecutorsResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListExecutorsResponse.java new file mode 100644 index 0000000000..adb90cb5d1 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListExecutorsResponse.java @@ -0,0 +1,160 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ListExecutorsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListExecutorsResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private String message; + + private Boolean success; + + private List data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + public static class DataItem { + + private String address; + + private String ip; + + private Integer port; + + private String label; + + private String version; + + private Boolean online; + + private Boolean isDesignated; + + public String getAddress() { + return this.address; + } + + public void setAddress(String address) { + this.address = address; + } + + public String getIp() { + return this.ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public Integer getPort() { + return this.port; + } + + public void setPort(Integer port) { + this.port = port; + } + + public String getLabel() { + return this.label; + } + + public void setLabel(String label) { + this.label = label; + } + + public String getVersion() { + return this.version; + } + + public void setVersion(String version) { + this.version = version; + } + + public Boolean getOnline() { + return this.online; + } + + public void setOnline(Boolean online) { + this.online = online; + } + + public Boolean getIsDesignated() { + return this.isDesignated; + } + + public void setIsDesignated(Boolean isDesignated) { + this.isDesignated = isDesignated; + } + } + + @Override + public ListExecutorsResponse getInstance(UnmarshallerContext context) { + return ListExecutorsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobExecutionsRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobExecutionsRequest.java new file mode 100644 index 0000000000..7526483e60 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobExecutionsRequest.java @@ -0,0 +1,168 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListJobExecutionsRequest extends RpcAcsRequest { + + + private String startTime; + + private Integer pageNum; + + private Long jobId; + + private String appName; + + private Integer pageSize; + + private String jobName; + + private String jobExecutionId; + + private String endTime; + + private String clusterId; + + private Integer status; + public ListJobExecutionsRequest() { + super("SchedulerX3", "2024-06-24", "ListJobExecutions"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public String getStartTime() { + return this.startTime; + } + + public void setStartTime(String startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime); + } + } + + public Integer getPageNum() { + return this.pageNum; + } + + public void setPageNum(Integer pageNum) { + this.pageNum = pageNum; + if(pageNum != null){ + putQueryParameter("PageNum", pageNum.toString()); + } + } + + public Long getJobId() { + return this.jobId; + } + + public void setJobId(Long jobId) { + this.jobId = jobId; + if(jobId != null){ + putQueryParameter("JobId", jobId.toString()); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public String getJobName() { + return this.jobName; + } + + public void setJobName(String jobName) { + this.jobName = jobName; + if(jobName != null){ + putQueryParameter("JobName", jobName); + } + } + + public String getJobExecutionId() { + return this.jobExecutionId; + } + + public void setJobExecutionId(String jobExecutionId) { + this.jobExecutionId = jobExecutionId; + if(jobExecutionId != null){ + putQueryParameter("JobExecutionId", jobExecutionId); + } + } + + public String getEndTime() { + return this.endTime; + } + + public void setEndTime(String endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public Integer getStatus() { + return this.status; + } + + public void setStatus(Integer status) { + this.status = status; + if(status != null){ + putQueryParameter("Status", status.toString()); + } + } + + @Override + public Class getResponseClass() { + return ListJobExecutionsResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobExecutionsResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobExecutionsResponse.java new file mode 100644 index 0000000000..259dbed705 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobExecutionsResponse.java @@ -0,0 +1,333 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ListJobExecutionsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListJobExecutionsResponse extends AcsResponse { + + private Integer code; + + private String requestId; + + private String message; + + private Boolean success; + + private Data data; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private Integer total; + + private Integer pageNumber; + + private Integer pageSize; + + private List records; + + public Integer getTotal() { + return this.total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public List getRecords() { + return this.records; + } + + public void setRecords(List records) { + this.records = records; + } + + public static class Record { + + private String jobExecutionId; + + private Long jobId; + + private String jobName; + + private String jobType; + + private String parameters; + + private String scheduleTime; + + private String dataTime; + + private String startTime; + + private String endTime; + + private Long duration; + + private String executor; + + private String result; + + private Integer status; + + private Integer timeType; + + private Integer attempt; + + private String workAddr; + + private String appName; + + private Integer routeStrategy; + + private String serverIp; + + private Integer triggerType; + + public String getJobExecutionId() { + return this.jobExecutionId; + } + + public void setJobExecutionId(String jobExecutionId) { + this.jobExecutionId = jobExecutionId; + } + + public Long getJobId() { + return this.jobId; + } + + public void setJobId(Long jobId) { + this.jobId = jobId; + } + + public String getJobName() { + return this.jobName; + } + + public void setJobName(String jobName) { + this.jobName = jobName; + } + + public String getJobType() { + return this.jobType; + } + + public void setJobType(String jobType) { + this.jobType = jobType; + } + + public String getParameters() { + return this.parameters; + } + + public void setParameters(String parameters) { + this.parameters = parameters; + } + + public String getScheduleTime() { + return this.scheduleTime; + } + + public void setScheduleTime(String scheduleTime) { + this.scheduleTime = scheduleTime; + } + + public String getDataTime() { + return this.dataTime; + } + + public void setDataTime(String dataTime) { + this.dataTime = dataTime; + } + + 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 Long getDuration() { + return this.duration; + } + + public void setDuration(Long duration) { + this.duration = duration; + } + + public String getExecutor() { + return this.executor; + } + + public void setExecutor(String executor) { + this.executor = executor; + } + + public String getResult() { + return this.result; + } + + public void setResult(String result) { + this.result = result; + } + + public Integer getStatus() { + return this.status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Integer getTimeType() { + return this.timeType; + } + + public void setTimeType(Integer timeType) { + this.timeType = timeType; + } + + public Integer getAttempt() { + return this.attempt; + } + + public void setAttempt(Integer attempt) { + this.attempt = attempt; + } + + public String getWorkAddr() { + return this.workAddr; + } + + public void setWorkAddr(String workAddr) { + this.workAddr = workAddr; + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + } + + public Integer getRouteStrategy() { + return this.routeStrategy; + } + + public void setRouteStrategy(Integer routeStrategy) { + this.routeStrategy = routeStrategy; + } + + public String getServerIp() { + return this.serverIp; + } + + public void setServerIp(String serverIp) { + this.serverIp = serverIp; + } + + public Integer getTriggerType() { + return this.triggerType; + } + + public void setTriggerType(Integer triggerType) { + this.triggerType = triggerType; + } + } + } + + @Override + public ListJobExecutionsResponse getInstance(UnmarshallerContext context) { + return ListJobExecutionsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobsRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobsRequest.java new file mode 100644 index 0000000000..b2fac6cea9 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobsRequest.java @@ -0,0 +1,155 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListJobsRequest extends RpcAcsRequest { + + + private String description; + + private Integer pageNum; + + private Long jobId; + + private String appName; + + private Integer pageSize; + + private String jobName; + + private String clusterId; + + private String jobHandler; + + private String status; + public ListJobsRequest() { + super("SchedulerX3", "2024-06-24", "ListJobs"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putQueryParameter("Description", description); + } + } + + public Integer getPageNum() { + return this.pageNum; + } + + public void setPageNum(Integer pageNum) { + this.pageNum = pageNum; + if(pageNum != null){ + putQueryParameter("PageNum", pageNum.toString()); + } + } + + public Long getJobId() { + return this.jobId; + } + + public void setJobId(Long jobId) { + this.jobId = jobId; + if(jobId != null){ + putQueryParameter("JobId", jobId.toString()); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public String getJobName() { + return this.jobName; + } + + public void setJobName(String jobName) { + this.jobName = jobName; + if(jobName != null){ + putQueryParameter("JobName", jobName); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public String getJobHandler() { + return this.jobHandler; + } + + public void setJobHandler(String jobHandler) { + this.jobHandler = jobHandler; + if(jobHandler != null){ + putQueryParameter("JobHandler", jobHandler); + } + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + if(status != null){ + putQueryParameter("Status", status); + } + } + + @Override + public Class getResponseClass() { + return ListJobsResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobsResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobsResponse.java new file mode 100644 index 0000000000..d55b00719d --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListJobsResponse.java @@ -0,0 +1,433 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ListJobsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListJobsResponse extends AcsResponse { + + private Integer code; + + private String message; + + private String requestId; + + private Boolean success; + + private Data data; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = 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 Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private Integer total; + + private Integer pageNumber; + + private Integer pageSize; + + private List records; + + public Integer getTotal() { + return this.total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public List getRecords() { + return this.records; + } + + public void setRecords(List records) { + this.records = records; + } + + public static class Record { + + private Long jobId; + + private String name; + + private String description; + + private String jobType; + + private Integer status; + + private String parameters; + + private Integer maxConcurrency; + + private Integer maxAttempt; + + private Integer attemptInterval; + + private String jobHandler; + + private Integer priority; + + private Integer timeType; + + private String timeExpression; + + private String timeZone; + + private String calendar; + + private Integer dataOffset; + + private String cleanMode; + + private String creator; + + private String updater; + + private String xattrs; + + private String noticeConfig; + + private String noticeContacts; + + private Integer routeStrategy; + + private String appName; + + private Long startTime; + + private String timezone; + + private String executorBlockStrategy; + + private String lastExecuteEndTime; + + private Integer lastExecuteStatus; + + private Integer currentExecuteStatus; + + public Long getJobId() { + return this.jobId; + } + + public void setJobId(Long jobId) { + this.jobId = jobId; + } + + 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 getJobType() { + return this.jobType; + } + + public void setJobType(String jobType) { + this.jobType = jobType; + } + + public Integer getStatus() { + return this.status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public String getParameters() { + return this.parameters; + } + + public void setParameters(String parameters) { + this.parameters = parameters; + } + + public Integer getMaxConcurrency() { + return this.maxConcurrency; + } + + public void setMaxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + } + + public Integer getMaxAttempt() { + return this.maxAttempt; + } + + public void setMaxAttempt(Integer maxAttempt) { + this.maxAttempt = maxAttempt; + } + + public Integer getAttemptInterval() { + return this.attemptInterval; + } + + public void setAttemptInterval(Integer attemptInterval) { + this.attemptInterval = attemptInterval; + } + + public String getJobHandler() { + return this.jobHandler; + } + + public void setJobHandler(String jobHandler) { + this.jobHandler = jobHandler; + } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + } + + public Integer getTimeType() { + return this.timeType; + } + + public void setTimeType(Integer timeType) { + this.timeType = timeType; + } + + public String getTimeExpression() { + return this.timeExpression; + } + + public void setTimeExpression(String timeExpression) { + this.timeExpression = timeExpression; + } + + public String getTimeZone() { + return this.timeZone; + } + + public void setTimeZone(String timeZone) { + this.timeZone = timeZone; + } + + public String getCalendar() { + return this.calendar; + } + + public void setCalendar(String calendar) { + this.calendar = calendar; + } + + public Integer getDataOffset() { + return this.dataOffset; + } + + public void setDataOffset(Integer dataOffset) { + this.dataOffset = dataOffset; + } + + public String getCleanMode() { + return this.cleanMode; + } + + public void setCleanMode(String cleanMode) { + this.cleanMode = cleanMode; + } + + public String getCreator() { + return this.creator; + } + + public void setCreator(String creator) { + this.creator = creator; + } + + public String getUpdater() { + return this.updater; + } + + public void setUpdater(String updater) { + this.updater = updater; + } + + public String getXattrs() { + return this.xattrs; + } + + public void setXattrs(String xattrs) { + this.xattrs = xattrs; + } + + public String getNoticeConfig() { + return this.noticeConfig; + } + + public void setNoticeConfig(String noticeConfig) { + this.noticeConfig = noticeConfig; + } + + public String getNoticeContacts() { + return this.noticeContacts; + } + + public void setNoticeContacts(String noticeContacts) { + this.noticeContacts = noticeContacts; + } + + public Integer getRouteStrategy() { + return this.routeStrategy; + } + + public void setRouteStrategy(Integer routeStrategy) { + this.routeStrategy = routeStrategy; + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + } + + public String getTimezone() { + return this.timezone; + } + + public void setTimezone(String timezone) { + this.timezone = timezone; + } + + public String getExecutorBlockStrategy() { + return this.executorBlockStrategy; + } + + public void setExecutorBlockStrategy(String executorBlockStrategy) { + this.executorBlockStrategy = executorBlockStrategy; + } + + public String getLastExecuteEndTime() { + return this.lastExecuteEndTime; + } + + public void setLastExecuteEndTime(String lastExecuteEndTime) { + this.lastExecuteEndTime = lastExecuteEndTime; + } + + public Integer getLastExecuteStatus() { + return this.lastExecuteStatus; + } + + public void setLastExecuteStatus(Integer lastExecuteStatus) { + this.lastExecuteStatus = lastExecuteStatus; + } + + public Integer getCurrentExecuteStatus() { + return this.currentExecuteStatus; + } + + public void setCurrentExecuteStatus(Integer currentExecuteStatus) { + this.currentExecuteStatus = currentExecuteStatus; + } + } + } + + @Override + public ListJobsResponse getInstance(UnmarshallerContext context) { + return ListJobsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListLablesRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListLablesRequest.java new file mode 100644 index 0000000000..2d043079e8 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListLablesRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListLablesRequest extends RpcAcsRequest { + + + private String clusterId; + + private Long jobId; + + private String appName; + public ListLablesRequest() { + super("SchedulerX3", "2024-06-24", "ListLables"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public Long getJobId() { + return this.jobId; + } + + public void setJobId(Long jobId) { + this.jobId = jobId; + if(jobId != null){ + putQueryParameter("JobId", jobId.toString()); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + @Override + public Class getResponseClass() { + return ListLablesResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListLablesResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListLablesResponse.java new file mode 100644 index 0000000000..bb129c0131 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListLablesResponse.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.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ListLablesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListLablesResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private String message; + + private Boolean success; + + private List data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + public static class DataItem { + + private String label; + + private Boolean online; + + private Integer size; + + private Boolean isDesignated; + + public String getLabel() { + return this.label; + } + + public void setLabel(String label) { + this.label = label; + } + + public Boolean getOnline() { + return this.online; + } + + public void setOnline(Boolean online) { + this.online = online; + } + + public Integer getSize() { + return this.size; + } + + public void setSize(Integer size) { + this.size = size; + } + + public Boolean getIsDesignated() { + return this.isDesignated; + } + + public void setIsDesignated(Boolean isDesignated) { + this.isDesignated = isDesignated; + } + } + + @Override + public ListLablesResponse getInstance(UnmarshallerContext context) { + return ListLablesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionZoneRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionZoneRequest.java new file mode 100644 index 0000000000..b726d8152e --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionZoneRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListRegionZoneRequest extends RpcAcsRequest { + + public ListRegionZoneRequest() { + super("SchedulerX3", "2024-06-24", "ListRegionZone"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + @Override + public Class getResponseClass() { + return ListRegionZoneResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionZoneResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionZoneResponse.java new file mode 100644 index 0000000000..8ee2b5a902 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionZoneResponse.java @@ -0,0 +1,120 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ListRegionZoneResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListRegionZoneResponse extends AcsResponse { + + private Integer code; + + private String errorCode; + + private Boolean success; + + private String message; + + private String requestId; + + private List data; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getErrorCode() { + return this.errorCode; + } + + public void setErrorCode(String errorCode) { + this.errorCode = errorCode; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + public static class DataItem { + + private String zoneId; + + private String localName; + + public String getZoneId() { + return this.zoneId; + } + + public void setZoneId(String zoneId) { + this.zoneId = zoneId; + } + + public String getLocalName() { + return this.localName; + } + + public void setLocalName(String localName) { + this.localName = localName; + } + } + + @Override + public ListRegionZoneResponse getInstance(UnmarshallerContext context) { + return ListRegionZoneResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionsRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionsRequest.java new file mode 100644 index 0000000000..3f0c687af2 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionsRequest.java @@ -0,0 +1,36 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListRegionsRequest extends RpcAcsRequest { + + public ListRegionsRequest() { + super("SchedulerX3", "2024-06-24", "ListRegions"); + setMethod(MethodType.GET); + } + + @Override + public Class getResponseClass() { + return ListRegionsResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionsResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionsResponse.java new file mode 100644 index 0000000000..3f7471390d --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListRegionsResponse.java @@ -0,0 +1,120 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ListRegionsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListRegionsResponse extends AcsResponse { + + private Integer code; + + private String message; + + private String requestId; + + private Boolean success; + + private List regions; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = 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 List getRegions() { + return this.regions; + } + + public void setRegions(List regions) { + this.regions = regions; + } + + public static class Region { + + private String regionEndpoint; + + private String localName; + + private String regionId; + + public String getRegionEndpoint() { + return this.regionEndpoint; + } + + public void setRegionEndpoint(String regionEndpoint) { + this.regionEndpoint = regionEndpoint; + } + + public String getLocalName() { + return this.localName; + } + + public void setLocalName(String localName) { + this.localName = localName; + } + + public String getRegionId() { + return this.regionId; + } + + public void setRegionId(String regionId) { + this.regionId = regionId; + } + } + + @Override + public ListRegionsResponse getInstance(UnmarshallerContext context) { + return ListRegionsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleEventRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleEventRequest.java new file mode 100644 index 0000000000..fab5763539 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleEventRequest.java @@ -0,0 +1,181 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListScheduleEventRequest extends RpcAcsRequest { + + + private Long startTime; + + private Integer pageNum; + + private String appName; + + private Integer pageSize; + + private String event; + + private String keyword; + + private String jobName; + + private String jobExecutionId; + + private Long endTime; + + private String clusterId; + + private Boolean reverse; + public ListScheduleEventRequest() { + super("SchedulerX3", "2024-06-24", "ListScheduleEvent"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime.toString()); + } + } + + public Integer getPageNum() { + return this.pageNum; + } + + public void setPageNum(Integer pageNum) { + this.pageNum = pageNum; + if(pageNum != null){ + putQueryParameter("PageNum", pageNum.toString()); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public String getEvent() { + return this.event; + } + + public void setEvent(String event) { + this.event = event; + if(event != null){ + putQueryParameter("Event", event); + } + } + + public String getKeyword() { + return this.keyword; + } + + public void setKeyword(String keyword) { + this.keyword = keyword; + if(keyword != null){ + putQueryParameter("Keyword", keyword); + } + } + + public String getJobName() { + return this.jobName; + } + + public void setJobName(String jobName) { + this.jobName = jobName; + if(jobName != null){ + putQueryParameter("JobName", jobName); + } + } + + public String getJobExecutionId() { + return this.jobExecutionId; + } + + public void setJobExecutionId(String jobExecutionId) { + this.jobExecutionId = jobExecutionId; + if(jobExecutionId != null){ + putQueryParameter("JobExecutionId", jobExecutionId); + } + } + + public Long getEndTime() { + return this.endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime.toString()); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public Boolean getReverse() { + return this.reverse; + } + + public void setReverse(Boolean reverse) { + this.reverse = reverse; + if(reverse != null){ + putQueryParameter("Reverse", reverse.toString()); + } + } + + @Override + public Class getResponseClass() { + return ListScheduleEventResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleEventResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleEventResponse.java new file mode 100644 index 0000000000..2e1bf9abc4 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleEventResponse.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.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ListScheduleEventResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListScheduleEventResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private String message; + + private Boolean success; + + private Data data; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private Integer pageNumber; + + private Integer pageSize; + + private Long total; + + private List records; + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + } + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public List getRecords() { + return this.records; + } + + public void setRecords(List records) { + this.records = records; + } + + public static class Record { + + private String appName; + + private String jobName; + + private String jobExecutionId; + + private String event; + + private String workerAddr; + + private String content; + + private String time; + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + } + + public String getJobName() { + return this.jobName; + } + + public void setJobName(String jobName) { + this.jobName = jobName; + } + + public String getJobExecutionId() { + return this.jobExecutionId; + } + + public void setJobExecutionId(String jobExecutionId) { + this.jobExecutionId = jobExecutionId; + } + + public String getEvent() { + return this.event; + } + + public void setEvent(String event) { + this.event = event; + } + + public String getWorkerAddr() { + return this.workerAddr; + } + + public void setWorkerAddr(String workerAddr) { + this.workerAddr = workerAddr; + } + + public String getContent() { + return this.content; + } + + public void setContent(String content) { + this.content = content; + } + + public String getTime() { + return this.time; + } + + public void setTime(String time) { + this.time = time; + } + } + } + + @Override + public ListScheduleEventResponse getInstance(UnmarshallerContext context) { + return ListScheduleEventResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleTimesRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleTimesRequest.java new file mode 100644 index 0000000000..f00e390262 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleTimesRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListScheduleTimesRequest extends RpcAcsRequest { + + + private String timeZone; + + private String appName; + + private String calendar; + + private String clusterId; + + private String timeExpression; + + private Integer timeType; + public ListScheduleTimesRequest() { + super("SchedulerX3", "2024-06-24", "ListScheduleTimes"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.GET); + } + + public String getTimeZone() { + return this.timeZone; + } + + public void setTimeZone(String timeZone) { + this.timeZone = timeZone; + if(timeZone != null){ + putQueryParameter("TimeZone", timeZone); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + public String getCalendar() { + return this.calendar; + } + + public void setCalendar(String calendar) { + this.calendar = calendar; + if(calendar != null){ + putQueryParameter("Calendar", calendar); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public String getTimeExpression() { + return this.timeExpression; + } + + public void setTimeExpression(String timeExpression) { + this.timeExpression = timeExpression; + if(timeExpression != null){ + putQueryParameter("TimeExpression", timeExpression); + } + } + + public Integer getTimeType() { + return this.timeType; + } + + public void setTimeType(Integer timeType) { + this.timeType = timeType; + if(timeType != null){ + putQueryParameter("TimeType", timeType.toString()); + } + } + + @Override + public Class getResponseClass() { + return ListScheduleTimesResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleTimesResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleTimesResponse.java new file mode 100644 index 0000000000..d73e66de6d --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/ListScheduleTimesResponse.java @@ -0,0 +1,87 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.ListScheduleTimesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListScheduleTimesResponse extends AcsResponse { + + private Integer code; + + private String message; + + private String requestId; + + private Boolean success; + + private List data; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = 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 List getData() { + return this.data; + } + + public void setData(List data) { + this.data = data; + } + + @Override + public ListScheduleTimesResponse getInstance(UnmarshallerContext context) { + return ListScheduleTimesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDesignateExecutorsRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDesignateExecutorsRequest.java new file mode 100644 index 0000000000..8154276411 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDesignateExecutorsRequest.java @@ -0,0 +1,120 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +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 OperateDesignateExecutorsRequest extends RpcAcsRequest { + + + private Boolean transferable; + + private Integer designateType; + + private Long jobId; + + private String appName; + + @SerializedName("addressList") + private List addressList; + + private String clusterId; + public OperateDesignateExecutorsRequest() { + super("SchedulerX3", "2024-06-24", "OperateDesignateExecutors"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Boolean getTransferable() { + return this.transferable; + } + + public void setTransferable(Boolean transferable) { + this.transferable = transferable; + if(transferable != null){ + putBodyParameter("Transferable", transferable.toString()); + } + } + + public Integer getDesignateType() { + return this.designateType; + } + + public void setDesignateType(Integer designateType) { + this.designateType = designateType; + if(designateType != null){ + putBodyParameter("DesignateType", designateType.toString()); + } + } + + public Long getJobId() { + return this.jobId; + } + + public void setJobId(Long jobId) { + this.jobId = jobId; + if(jobId != null){ + putBodyParameter("JobId", jobId.toString()); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putBodyParameter("AppName", appName); + } + } + + public List getAddressList() { + return this.addressList; + } + + public void setAddressList(List addressList) { + this.addressList = addressList; + if (addressList != null) { + putBodyParameter("AddressList" , new Gson().toJson(addressList)); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putBodyParameter("ClusterId", clusterId); + } + } + + @Override + public Class getResponseClass() { + return OperateDesignateExecutorsResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDesignateExecutorsResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDesignateExecutorsResponse.java new file mode 100644 index 0000000000..ce846fe6e5 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDesignateExecutorsResponse.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.OperateDesignateExecutorsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class OperateDesignateExecutorsResponse extends AcsResponse { + + private Integer code; + + private String message; + + private String requestId; + + private Boolean success; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = 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; + } + + @Override + public OperateDesignateExecutorsResponse getInstance(UnmarshallerContext context) { + return OperateDesignateExecutorsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDisableJobsRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDisableJobsRequest.java new file mode 100644 index 0000000000..93428f8856 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDisableJobsRequest.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.schedulerx3.model.v20240624; + +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 OperateDisableJobsRequest extends RpcAcsRequest { + + + private String clusterId; + + private String appName; + + @SerializedName("jobIds") + private List jobIds; + public OperateDisableJobsRequest() { + super("SchedulerX3", "2024-06-24", "OperateDisableJobs"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putBodyParameter("ClusterId", clusterId); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putBodyParameter("AppName", appName); + } + } + + public List getJobIds() { + return this.jobIds; + } + + public void setJobIds(List jobIds) { + this.jobIds = jobIds; + if (jobIds != null) { + putBodyParameter("JobIds" , new Gson().toJson(jobIds)); + } + } + + @Override + public Class getResponseClass() { + return OperateDisableJobsResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDisableJobsResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDisableJobsResponse.java new file mode 100644 index 0000000000..262718c8f6 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateDisableJobsResponse.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.OperateDisableJobsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class OperateDisableJobsResponse extends AcsResponse { + + private Integer code; + + private String message; + + private String requestId; + + private Boolean success; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = 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; + } + + @Override + public OperateDisableJobsResponse getInstance(UnmarshallerContext context) { + return OperateDisableJobsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateEnableJobsRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateEnableJobsRequest.java new file mode 100644 index 0000000000..207f0375c0 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateEnableJobsRequest.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.schedulerx3.model.v20240624; + +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 OperateEnableJobsRequest extends RpcAcsRequest { + + + private String clusterId; + + private String appName; + + @SerializedName("jobIds") + private List jobIds; + public OperateEnableJobsRequest() { + super("SchedulerX3", "2024-06-24", "OperateEnableJobs"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putBodyParameter("ClusterId", clusterId); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putBodyParameter("AppName", appName); + } + } + + public List getJobIds() { + return this.jobIds; + } + + public void setJobIds(List jobIds) { + this.jobIds = jobIds; + if (jobIds != null) { + putBodyParameter("JobIds" , new Gson().toJson(jobIds)); + } + } + + @Override + public Class getResponseClass() { + return OperateEnableJobsResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateEnableJobsResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateEnableJobsResponse.java new file mode 100644 index 0000000000..c950cd9e7a --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateEnableJobsResponse.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.OperateEnableJobsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class OperateEnableJobsResponse extends AcsResponse { + + private Integer code; + + private String message; + + private String requestId; + + private Boolean success; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = 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; + } + + @Override + public OperateEnableJobsResponse getInstance(UnmarshallerContext context) { + return OperateEnableJobsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateExecuteJobRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateExecuteJobRequest.java new file mode 100644 index 0000000000..73c0626a77 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateExecuteJobRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class OperateExecuteJobRequest extends RpcAcsRequest { + + + private Long jobId; + + private String appName; + + private String worker; + + private String instanceParameters; + + private String clusterId; + + private String label; + public OperateExecuteJobRequest() { + super("SchedulerX3", "2024-06-24", "OperateExecuteJob"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Long getJobId() { + return this.jobId; + } + + public void setJobId(Long jobId) { + this.jobId = jobId; + if(jobId != null){ + putBodyParameter("JobId", jobId.toString()); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putBodyParameter("AppName", appName); + } + } + + public String getWorker() { + return this.worker; + } + + public void setWorker(String worker) { + this.worker = worker; + if(worker != null){ + putBodyParameter("Worker", worker); + } + } + + public String getInstanceParameters() { + return this.instanceParameters; + } + + public void setInstanceParameters(String instanceParameters) { + this.instanceParameters = instanceParameters; + if(instanceParameters != null){ + putBodyParameter("InstanceParameters", instanceParameters); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putBodyParameter("ClusterId", clusterId); + } + } + + public String getLabel() { + return this.label; + } + + public void setLabel(String label) { + this.label = label; + if(label != null){ + putBodyParameter("Label", label); + } + } + + @Override + public Class getResponseClass() { + return OperateExecuteJobResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateExecuteJobResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateExecuteJobResponse.java new file mode 100644 index 0000000000..b34e3f82c5 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateExecuteJobResponse.java @@ -0,0 +1,99 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.OperateExecuteJobResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class OperateExecuteJobResponse extends AcsResponse { + + private Integer code; + + private String message; + + private String requestId; + + private Boolean success; + + private Data data; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = 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 Data getData() { + return this.data; + } + + public void setData(Data data) { + this.data = data; + } + + public static class Data { + + private String jobExecutionId; + + public String getJobExecutionId() { + return this.jobExecutionId; + } + + public void setJobExecutionId(String jobExecutionId) { + this.jobExecutionId = jobExecutionId; + } + } + + @Override + public OperateExecuteJobResponse getInstance(UnmarshallerContext context) { + return OperateExecuteJobResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRerunJobRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRerunJobRequest.java new file mode 100644 index 0000000000..c0ad03efbf --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRerunJobRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class OperateRerunJobRequest extends RpcAcsRequest { + + + private String dataTime; + + private Long startDate; + + private Long jobId; + + private String appName; + + private String clusterId; + + private Long endDate; + public OperateRerunJobRequest() { + super("SchedulerX3", "2024-06-24", "OperateRerunJob"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getDataTime() { + return this.dataTime; + } + + public void setDataTime(String dataTime) { + this.dataTime = dataTime; + if(dataTime != null){ + putQueryParameter("DataTime", dataTime); + } + } + + public Long getStartDate() { + return this.startDate; + } + + public void setStartDate(Long startDate) { + this.startDate = startDate; + if(startDate != null){ + putQueryParameter("StartDate", startDate.toString()); + } + } + + public Long getJobId() { + return this.jobId; + } + + public void setJobId(Long jobId) { + this.jobId = jobId; + if(jobId != null){ + putQueryParameter("JobId", jobId.toString()); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public Long getEndDate() { + return this.endDate; + } + + public void setEndDate(Long endDate) { + this.endDate = endDate; + if(endDate != null){ + putQueryParameter("EndDate", endDate.toString()); + } + } + + @Override + public Class getResponseClass() { + return OperateRerunJobResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRerunJobResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRerunJobResponse.java new file mode 100644 index 0000000000..cad835a4e4 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRerunJobResponse.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.OperateRerunJobResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class OperateRerunJobResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private Boolean success; + + private String message; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + @Override + public OperateRerunJobResponse getInstance(UnmarshallerContext context) { + return OperateRerunJobResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRetryJobExecutionRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRetryJobExecutionRequest.java new file mode 100644 index 0000000000..2b634e6c1f --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRetryJobExecutionRequest.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +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 OperateRetryJobExecutionRequest extends RpcAcsRequest { + + + private String appName; + + private String jobExecutionId; + + private String clusterId; + + @SerializedName("taskList") + private List taskList; + public OperateRetryJobExecutionRequest() { + super("SchedulerX3", "2024-06-24", "OperateRetryJobExecution"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + public String getJobExecutionId() { + return this.jobExecutionId; + } + + public void setJobExecutionId(String jobExecutionId) { + this.jobExecutionId = jobExecutionId; + if(jobExecutionId != null){ + putQueryParameter("JobExecutionId", jobExecutionId); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public List getTaskList() { + return this.taskList; + } + + public void setTaskList(List taskList) { + this.taskList = taskList; + if (taskList != null) { + putQueryParameter("TaskList" , new Gson().toJson(taskList)); + } + } + + @Override + public Class getResponseClass() { + return OperateRetryJobExecutionResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRetryJobExecutionResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRetryJobExecutionResponse.java new file mode 100644 index 0000000000..862d8e3da5 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateRetryJobExecutionResponse.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.OperateRetryJobExecutionResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class OperateRetryJobExecutionResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private Boolean success; + + private String message; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + @Override + public OperateRetryJobExecutionResponse getInstance(UnmarshallerContext context) { + return OperateRetryJobExecutionResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateStopJobExecutionRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateStopJobExecutionRequest.java new file mode 100644 index 0000000000..b2d486c1db --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateStopJobExecutionRequest.java @@ -0,0 +1,94 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +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 OperateStopJobExecutionRequest extends RpcAcsRequest { + + + private String appName; + + private String jobExecutionId; + + private String clusterId; + + @SerializedName("taskList") + private List taskList; + public OperateStopJobExecutionRequest() { + super("SchedulerX3", "2024-06-24", "OperateStopJobExecution"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putQueryParameter("AppName", appName); + } + } + + public String getJobExecutionId() { + return this.jobExecutionId; + } + + public void setJobExecutionId(String jobExecutionId) { + this.jobExecutionId = jobExecutionId; + if(jobExecutionId != null){ + putQueryParameter("JobExecutionId", jobExecutionId); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + public List getTaskList() { + return this.taskList; + } + + public void setTaskList(List taskList) { + this.taskList = taskList; + if (taskList != null) { + putQueryParameter("TaskList" , new Gson().toJson(taskList)); + } + } + + @Override + public Class getResponseClass() { + return OperateStopJobExecutionResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateStopJobExecutionResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateStopJobExecutionResponse.java new file mode 100644 index 0000000000..2b9f383c3f --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/OperateStopJobExecutionResponse.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.OperateStopJobExecutionResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class OperateStopJobExecutionResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private String message; + + private Boolean success; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + @Override + public OperateStopJobExecutionResponse getInstance(UnmarshallerContext context) { + return OperateStopJobExecutionResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateAppRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateAppRequest.java new file mode 100644 index 0000000000..5e11204de4 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateAppRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UpdateAppRequest extends RpcAcsRequest { + + + private String accessToken; + + private String title; + + private String appName; + + private String clusterId; + + private Boolean enableLog; + + private Integer maxConcurrency; + public UpdateAppRequest() { + super("SchedulerX3", "2024-06-24", "UpdateApp"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getAccessToken() { + return this.accessToken; + } + + public void setAccessToken(String accessToken) { + this.accessToken = accessToken; + if(accessToken != null){ + putBodyParameter("AccessToken", accessToken); + } + } + + public String getTitle() { + return this.title; + } + + public void setTitle(String title) { + this.title = title; + if(title != null){ + putBodyParameter("Title", title); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putBodyParameter("AppName", appName); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putBodyParameter("ClusterId", clusterId); + } + } + + public Boolean getEnableLog() { + return this.enableLog; + } + + public void setEnableLog(Boolean enableLog) { + this.enableLog = enableLog; + if(enableLog != null){ + putBodyParameter("EnableLog", enableLog.toString()); + } + } + + public Integer getMaxConcurrency() { + return this.maxConcurrency; + } + + public void setMaxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + if(maxConcurrency != null){ + putBodyParameter("MaxConcurrency", maxConcurrency.toString()); + } + } + + @Override + public Class getResponseClass() { + return UpdateAppResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateAppResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateAppResponse.java new file mode 100644 index 0000000000..45a55c8b97 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateAppResponse.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.UpdateAppResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateAppResponse extends AcsResponse { + + private String requestId; + + private Integer code; + + private String message; + + private Boolean success; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + @Override + public UpdateAppResponse getInstance(UnmarshallerContext context) { + return UpdateAppResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateClusterRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateClusterRequest.java new file mode 100644 index 0000000000..3d3c2c4761 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateClusterRequest.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.schedulerx3.model.v20240624; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class UpdateClusterRequest extends RpcAcsRequest { + + + private String clusterName; + + private String clusterId; + public UpdateClusterRequest() { + super("SchedulerX3", "2024-06-24", "UpdateCluster"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getClusterName() { + return this.clusterName; + } + + public void setClusterName(String clusterName) { + this.clusterName = clusterName; + if(clusterName != null){ + putQueryParameter("ClusterName", clusterName); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putQueryParameter("ClusterId", clusterId); + } + } + + @Override + public Class getResponseClass() { + return UpdateClusterResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateClusterResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateClusterResponse.java new file mode 100644 index 0000000000..8ec0dffdca --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateClusterResponse.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.UpdateClusterResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateClusterResponse extends AcsResponse { + + private Integer code; + + private String requestId; + + private String message; + + private Boolean success; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Boolean getSuccess() { + return this.success; + } + + public void setSuccess(Boolean success) { + this.success = success; + } + + @Override + public UpdateClusterResponse getInstance(UnmarshallerContext context) { + return UpdateClusterResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateJobRequest.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateJobRequest.java new file mode 100644 index 0000000000..8b5d4997d4 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateJobRequest.java @@ -0,0 +1,430 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +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 UpdateJobRequest extends RpcAcsRequest { + + + private Integer executorBlockStrategy; + + private String timezone; + + private Integer routeStrategy; + + private String description; + + private Integer attemptInterval; + + private Long startTime; + + private Long jobId; + + private String appName; + + @SerializedName("noticeContacts") + private List noticeContacts; + + @SerializedName("noticeConfig") + private NoticeConfig noticeConfig; + + private String calendar; + + private Integer maxAttempt; + + private String clusterId; + + private Integer priority; + + private String timeExpression; + + private String name; + + private Integer maxConcurrency; + + private Integer timeType; + + private String parameters; + + private String jobHandler; + public UpdateJobRequest() { + super("SchedulerX3", "2024-06-24", "UpdateJob"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public Integer getExecutorBlockStrategy() { + return this.executorBlockStrategy; + } + + public void setExecutorBlockStrategy(Integer executorBlockStrategy) { + this.executorBlockStrategy = executorBlockStrategy; + if(executorBlockStrategy != null){ + putBodyParameter("ExecutorBlockStrategy", executorBlockStrategy.toString()); + } + } + + public String getTimezone() { + return this.timezone; + } + + public void setTimezone(String timezone) { + this.timezone = timezone; + if(timezone != null){ + putBodyParameter("Timezone", timezone); + } + } + + public Integer getRouteStrategy() { + return this.routeStrategy; + } + + public void setRouteStrategy(Integer routeStrategy) { + this.routeStrategy = routeStrategy; + if(routeStrategy != null){ + putBodyParameter("RouteStrategy", routeStrategy.toString()); + } + } + + public String getDescription() { + return this.description; + } + + public void setDescription(String description) { + this.description = description; + if(description != null){ + putBodyParameter("Description", description); + } + } + + public Integer getAttemptInterval() { + return this.attemptInterval; + } + + public void setAttemptInterval(Integer attemptInterval) { + this.attemptInterval = attemptInterval; + if(attemptInterval != null){ + putBodyParameter("AttemptInterval", attemptInterval.toString()); + } + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + if(startTime != null){ + putBodyParameter("StartTime", startTime.toString()); + } + } + + public Long getJobId() { + return this.jobId; + } + + public void setJobId(Long jobId) { + this.jobId = jobId; + if(jobId != null){ + putBodyParameter("JobId", jobId.toString()); + } + } + + public String getAppName() { + return this.appName; + } + + public void setAppName(String appName) { + this.appName = appName; + if(appName != null){ + putBodyParameter("AppName", appName); + } + } + + public List getNoticeContacts() { + return this.noticeContacts; + } + + public void setNoticeContacts(List noticeContacts) { + this.noticeContacts = noticeContacts; + if (noticeContacts != null) { + putBodyParameter("NoticeContacts" , new Gson().toJson(noticeContacts)); + } + } + + public NoticeConfig getNoticeConfig() { + return this.noticeConfig; + } + + public void setNoticeConfig(NoticeConfig noticeConfig) { + this.noticeConfig = noticeConfig; + if (noticeConfig != null) { + putBodyParameter("NoticeConfig" , new Gson().toJson(noticeConfig)); + } + } + + public String getCalendar() { + return this.calendar; + } + + public void setCalendar(String calendar) { + this.calendar = calendar; + if(calendar != null){ + putBodyParameter("Calendar", calendar); + } + } + + public Integer getMaxAttempt() { + return this.maxAttempt; + } + + public void setMaxAttempt(Integer maxAttempt) { + this.maxAttempt = maxAttempt; + if(maxAttempt != null){ + putBodyParameter("MaxAttempt", maxAttempt.toString()); + } + } + + public String getClusterId() { + return this.clusterId; + } + + public void setClusterId(String clusterId) { + this.clusterId = clusterId; + if(clusterId != null){ + putBodyParameter("ClusterId", clusterId); + } + } + + public Integer getPriority() { + return this.priority; + } + + public void setPriority(Integer priority) { + this.priority = priority; + if(priority != null){ + putBodyParameter("Priority", priority.toString()); + } + } + + public String getTimeExpression() { + return this.timeExpression; + } + + public void setTimeExpression(String timeExpression) { + this.timeExpression = timeExpression; + if(timeExpression != null){ + putBodyParameter("TimeExpression", timeExpression); + } + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + if(name != null){ + putBodyParameter("Name", name); + } + } + + public Integer getMaxConcurrency() { + return this.maxConcurrency; + } + + public void setMaxConcurrency(Integer maxConcurrency) { + this.maxConcurrency = maxConcurrency; + if(maxConcurrency != null){ + putBodyParameter("MaxConcurrency", maxConcurrency.toString()); + } + } + + public Integer getTimeType() { + return this.timeType; + } + + public void setTimeType(Integer timeType) { + this.timeType = timeType; + if(timeType != null){ + putBodyParameter("TimeType", timeType.toString()); + } + } + + public String getParameters() { + return this.parameters; + } + + public void setParameters(String parameters) { + this.parameters = parameters; + if(parameters != null){ + putBodyParameter("Parameters", parameters); + } + } + + public String getJobHandler() { + return this.jobHandler; + } + + public void setJobHandler(String jobHandler) { + this.jobHandler = jobHandler; + if(jobHandler != null){ + putBodyParameter("JobHandler", jobHandler); + } + } + + public static class NoticeContacts { + + @SerializedName("ContactType") + private Integer contactType; + + @SerializedName("Name") + private String name; + + public Integer getContactType() { + return this.contactType; + } + + public void setContactType(Integer contactType) { + this.contactType = contactType; + } + + public String getName() { + return this.name; + } + + public void setName(String name) { + this.name = name; + } + } + + public static class NoticeConfig { + + @SerializedName("TimeoutKillEnable") + private Boolean timeoutKillEnable; + + @SerializedName("FailEnable") + private Boolean failEnable; + + @SerializedName("webhookIsAtAll") + private Boolean webhookIsAtAll; + + @SerializedName("SuccessNotice") + private Boolean successNotice; + + @SerializedName("FailLimitTimes") + private Integer failLimitTimes; + + @SerializedName("SendChannel") + private String sendChannel; + + @SerializedName("TimeoutEnable") + private Boolean timeoutEnable; + + @SerializedName("MissWorkerEnable") + private Boolean missWorkerEnable; + + @SerializedName("Timeout") + private Long timeout; + + public Boolean getTimeoutKillEnable() { + return this.timeoutKillEnable; + } + + public void setTimeoutKillEnable(Boolean timeoutKillEnable) { + this.timeoutKillEnable = timeoutKillEnable; + } + + public Boolean getFailEnable() { + return this.failEnable; + } + + public void setFailEnable(Boolean failEnable) { + this.failEnable = failEnable; + } + + public Boolean getWebhookIsAtAll() { + return this.webhookIsAtAll; + } + + public void setWebhookIsAtAll(Boolean webhookIsAtAll) { + this.webhookIsAtAll = webhookIsAtAll; + } + + public Boolean getSuccessNotice() { + return this.successNotice; + } + + public void setSuccessNotice(Boolean successNotice) { + this.successNotice = successNotice; + } + + public Integer getFailLimitTimes() { + return this.failLimitTimes; + } + + public void setFailLimitTimes(Integer failLimitTimes) { + this.failLimitTimes = failLimitTimes; + } + + public String getSendChannel() { + return this.sendChannel; + } + + public void setSendChannel(String sendChannel) { + this.sendChannel = sendChannel; + } + + public Boolean getTimeoutEnable() { + return this.timeoutEnable; + } + + public void setTimeoutEnable(Boolean timeoutEnable) { + this.timeoutEnable = timeoutEnable; + } + + public Boolean getMissWorkerEnable() { + return this.missWorkerEnable; + } + + public void setMissWorkerEnable(Boolean missWorkerEnable) { + this.missWorkerEnable = missWorkerEnable; + } + + public Long getTimeout() { + return this.timeout; + } + + public void setTimeout(Long timeout) { + this.timeout = timeout; + } + } + + @Override + public Class getResponseClass() { + return UpdateJobResponse.class; + } + +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateJobResponse.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateJobResponse.java new file mode 100644 index 0000000000..4b1c31f07a --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/model/v20240624/UpdateJobResponse.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.model.v20240624; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.schedulerx3.transform.v20240624.UpdateJobResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class UpdateJobResponse extends AcsResponse { + + private Integer code; + + private String message; + + private String requestId; + + private Boolean success; + + public Integer getCode() { + return this.code; + } + + public void setCode(Integer code) { + this.code = code; + } + + public String getMessage() { + return this.message; + } + + public void setMessage(String message) { + this.message = 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; + } + + @Override + public UpdateJobResponse getInstance(UnmarshallerContext context) { + return UpdateJobResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/CreateAppResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/CreateAppResponseUnmarshaller.java new file mode 100644 index 0000000000..115e1b7814 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/CreateAppResponseUnmarshaller.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.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.CreateAppResponse; +import com.aliyuncs.schedulerx3.model.v20240624.CreateAppResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateAppResponseUnmarshaller { + + public static CreateAppResponse unmarshall(CreateAppResponse createAppResponse, UnmarshallerContext _ctx) { + + createAppResponse.setRequestId(_ctx.stringValue("CreateAppResponse.RequestId")); + createAppResponse.setCode(_ctx.integerValue("CreateAppResponse.Code")); + createAppResponse.setMessage(_ctx.stringValue("CreateAppResponse.Message")); + createAppResponse.setSuccess(_ctx.booleanValue("CreateAppResponse.Success")); + + Data data = new Data(); + data.setAppGroupId(_ctx.longValue("CreateAppResponse.Data.AppGroupId")); + data.setAccessToken(_ctx.stringValue("CreateAppResponse.Data.AccessToken")); + createAppResponse.setData(data); + + return createAppResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/CreateClusterResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/CreateClusterResponseUnmarshaller.java new file mode 100644 index 0000000000..bec5b4c830 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/CreateClusterResponseUnmarshaller.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.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.CreateClusterResponse; +import com.aliyuncs.schedulerx3.model.v20240624.CreateClusterResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateClusterResponseUnmarshaller { + + public static CreateClusterResponse unmarshall(CreateClusterResponse createClusterResponse, UnmarshallerContext _ctx) { + + createClusterResponse.setRequestId(_ctx.stringValue("CreateClusterResponse.RequestId")); + createClusterResponse.setCode(_ctx.integerValue("CreateClusterResponse.Code")); + createClusterResponse.setErrorCode(_ctx.stringValue("CreateClusterResponse.ErrorCode")); + createClusterResponse.setSuccess(_ctx.booleanValue("CreateClusterResponse.Success")); + createClusterResponse.setMessage(_ctx.stringValue("CreateClusterResponse.Message")); + + Data data = new Data(); + data.setOrderId(_ctx.longValue("CreateClusterResponse.Data.OrderId")); + data.setClusterId(_ctx.stringValue("CreateClusterResponse.Data.ClusterId")); + createClusterResponse.setData(data); + + return createClusterResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/CreateJobResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/CreateJobResponseUnmarshaller.java new file mode 100644 index 0000000000..d227c4d29e --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/CreateJobResponseUnmarshaller.java @@ -0,0 +1,37 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.CreateJobResponse; +import com.aliyuncs.schedulerx3.model.v20240624.CreateJobResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class CreateJobResponseUnmarshaller { + + public static CreateJobResponse unmarshall(CreateJobResponse createJobResponse, UnmarshallerContext _ctx) { + + createJobResponse.setRequestId(_ctx.stringValue("CreateJobResponse.RequestId")); + createJobResponse.setCode(_ctx.integerValue("CreateJobResponse.Code")); + createJobResponse.setMessage(_ctx.stringValue("CreateJobResponse.Message")); + createJobResponse.setSuccess(_ctx.booleanValue("CreateJobResponse.Success")); + + Data data = new Data(); + data.setJobId(_ctx.longValue("CreateJobResponse.Data.JobId")); + createJobResponse.setData(data); + + return createJobResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/DeleteAppResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/DeleteAppResponseUnmarshaller.java new file mode 100644 index 0000000000..2c2d494bed --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/DeleteAppResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.DeleteAppResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteAppResponseUnmarshaller { + + public static DeleteAppResponse unmarshall(DeleteAppResponse deleteAppResponse, UnmarshallerContext _ctx) { + + deleteAppResponse.setRequestId(_ctx.stringValue("DeleteAppResponse.RequestId")); + deleteAppResponse.setCode(_ctx.integerValue("DeleteAppResponse.Code")); + deleteAppResponse.setMessage(_ctx.stringValue("DeleteAppResponse.Message")); + deleteAppResponse.setSuccess(_ctx.booleanValue("DeleteAppResponse.Success")); + + return deleteAppResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/DeleteClusterResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/DeleteClusterResponseUnmarshaller.java new file mode 100644 index 0000000000..1c64e80040 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/DeleteClusterResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.DeleteClusterResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteClusterResponseUnmarshaller { + + public static DeleteClusterResponse unmarshall(DeleteClusterResponse deleteClusterResponse, UnmarshallerContext _ctx) { + + deleteClusterResponse.setRequestId(_ctx.stringValue("DeleteClusterResponse.RequestId")); + deleteClusterResponse.setCode(_ctx.integerValue("DeleteClusterResponse.Code")); + deleteClusterResponse.setMessage(_ctx.stringValue("DeleteClusterResponse.Message")); + deleteClusterResponse.setSuccess(_ctx.booleanValue("DeleteClusterResponse.Success")); + + return deleteClusterResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/DeleteJobsResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/DeleteJobsResponseUnmarshaller.java new file mode 100644 index 0000000000..3631d85090 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/DeleteJobsResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.DeleteJobsResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class DeleteJobsResponseUnmarshaller { + + public static DeleteJobsResponse unmarshall(DeleteJobsResponse deleteJobsResponse, UnmarshallerContext _ctx) { + + deleteJobsResponse.setRequestId(_ctx.stringValue("DeleteJobsResponse.RequestId")); + deleteJobsResponse.setCode(_ctx.integerValue("DeleteJobsResponse.Code")); + deleteJobsResponse.setMessage(_ctx.stringValue("DeleteJobsResponse.Message")); + deleteJobsResponse.setSuccess(_ctx.booleanValue("DeleteJobsResponse.Success")); + + return deleteJobsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ExportJobsResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ExportJobsResponseUnmarshaller.java new file mode 100644 index 0000000000..3b92eadbee --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ExportJobsResponseUnmarshaller.java @@ -0,0 +1,28 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.ExportJobsResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ExportJobsResponseUnmarshaller { + + public static ExportJobsResponse unmarshall(ExportJobsResponse exportJobsResponse, UnmarshallerContext _ctx) { + + + return exportJobsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetClusterResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetClusterResponseUnmarshaller.java new file mode 100644 index 0000000000..a497abbd8f --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetClusterResponseUnmarshaller.java @@ -0,0 +1,74 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.GetClusterResponse; +import com.aliyuncs.schedulerx3.model.v20240624.GetClusterResponse.Data; +import com.aliyuncs.schedulerx3.model.v20240624.GetClusterResponse.Data.VswitchesItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetClusterResponseUnmarshaller { + + public static GetClusterResponse unmarshall(GetClusterResponse getClusterResponse, UnmarshallerContext _ctx) { + + getClusterResponse.setRequestId(_ctx.stringValue("GetClusterResponse.RequestId")); + getClusterResponse.setCode(_ctx.integerValue("GetClusterResponse.Code")); + getClusterResponse.setMessage(_ctx.stringValue("GetClusterResponse.Message")); + getClusterResponse.setSuccess(_ctx.booleanValue("GetClusterResponse.Success")); + + Data data = new Data(); + data.setClusterId(_ctx.stringValue("GetClusterResponse.Data.ClusterId")); + data.setClusterName(_ctx.stringValue("GetClusterResponse.Data.ClusterName")); + data.setClusterSpec(_ctx.stringValue("GetClusterResponse.Data.ClusterSpec")); + data.setProductType(_ctx.integerValue("GetClusterResponse.Data.ProductType")); + data.setEngineType(_ctx.stringValue("GetClusterResponse.Data.EngineType")); + data.setEngineVersion(_ctx.stringValue("GetClusterResponse.Data.EngineVersion")); + data.setStatus(_ctx.integerValue("GetClusterResponse.Data.Status")); + data.setCreateTime(_ctx.stringValue("GetClusterResponse.Data.CreateTime")); + data.setEndTime(_ctx.stringValue("GetClusterResponse.Data.EndTime")); + data.setIntranetDomain(_ctx.stringValue("GetClusterResponse.Data.IntranetDomain")); + data.setInternetDomain(_ctx.stringValue("GetClusterResponse.Data.InternetDomain")); + data.setChargeType(_ctx.stringValue("GetClusterResponse.Data.ChargeType")); + data.setKubeConfig(_ctx.stringValue("GetClusterResponse.Data.KubeConfig")); + data.setJobNum(_ctx.integerValue("GetClusterResponse.Data.JobNum")); + data.setWorkerNum(_ctx.integerValue("GetClusterResponse.Data.WorkerNum")); + data.setVpcId(_ctx.stringValue("GetClusterResponse.Data.VpcId")); + data.setMaxJobNum(_ctx.integerValue("GetClusterResponse.Data.MaxJobNum")); + data.setSpm(_ctx.integerValue("GetClusterResponse.Data.Spm")); + + List zones = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetClusterResponse.Data.Zones.Length"); i++) { + zones.add(_ctx.stringValue("GetClusterResponse.Data.Zones["+ i +"]")); + } + data.setZones(zones); + + List vSwitches = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetClusterResponse.Data.VSwitches.Length"); i++) { + VswitchesItem vswitchesItem = new VswitchesItem(); + vswitchesItem.setZoneId(_ctx.stringValue("GetClusterResponse.Data.VSwitches["+ i +"].ZoneId")); + vswitchesItem.setVSwitchId(_ctx.stringValue("GetClusterResponse.Data.VSwitches["+ i +"].VSwitchId")); + + vSwitches.add(vswitchesItem); + } + data.setVSwitches(vSwitches); + getClusterResponse.setData(data); + + return getClusterResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetDesigateInfoResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetDesigateInfoResponseUnmarshaller.java new file mode 100644 index 0000000000..2ddac12677 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetDesigateInfoResponseUnmarshaller.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.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.GetDesigateInfoResponse; +import com.aliyuncs.schedulerx3.model.v20240624.GetDesigateInfoResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetDesigateInfoResponseUnmarshaller { + + public static GetDesigateInfoResponse unmarshall(GetDesigateInfoResponse getDesigateInfoResponse, UnmarshallerContext _ctx) { + + getDesigateInfoResponse.setRequestId(_ctx.stringValue("GetDesigateInfoResponse.RequestId")); + getDesigateInfoResponse.setCode(_ctx.integerValue("GetDesigateInfoResponse.Code")); + getDesigateInfoResponse.setMessage(_ctx.stringValue("GetDesigateInfoResponse.Message")); + getDesigateInfoResponse.setSuccess(_ctx.booleanValue("GetDesigateInfoResponse.Success")); + + Data data = new Data(); + data.setDesignateType(_ctx.integerValue("GetDesigateInfoResponse.Data.DesignateType")); + data.setTransferable(_ctx.booleanValue("GetDesigateInfoResponse.Data.Transferable")); + getDesigateInfoResponse.setData(data); + + return getDesigateInfoResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetJobExecutionProgressResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetJobExecutionProgressResponseUnmarshaller.java new file mode 100644 index 0000000000..d35d7f2804 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetJobExecutionProgressResponseUnmarshaller.java @@ -0,0 +1,108 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.GetJobExecutionProgressResponse; +import com.aliyuncs.schedulerx3.model.v20240624.GetJobExecutionProgressResponse.Data; +import com.aliyuncs.schedulerx3.model.v20240624.GetJobExecutionProgressResponse.Data.RootProgress; +import com.aliyuncs.schedulerx3.model.v20240624.GetJobExecutionProgressResponse.Data.ShardingProgressItem; +import com.aliyuncs.schedulerx3.model.v20240624.GetJobExecutionProgressResponse.Data.ShardingProgressItem.StatusType; +import com.aliyuncs.schedulerx3.model.v20240624.GetJobExecutionProgressResponse.Data.TaskProgressItem; +import com.aliyuncs.schedulerx3.model.v20240624.GetJobExecutionProgressResponse.Data.TotalProgress; +import com.aliyuncs.schedulerx3.model.v20240624.GetJobExecutionProgressResponse.Data.WorkerProgressItem; +import java.util.Map; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetJobExecutionProgressResponseUnmarshaller { + + public static GetJobExecutionProgressResponse unmarshall(GetJobExecutionProgressResponse getJobExecutionProgressResponse, UnmarshallerContext _ctx) { + + getJobExecutionProgressResponse.setRequestId(_ctx.stringValue("GetJobExecutionProgressResponse.RequestId")); + getJobExecutionProgressResponse.setCode(_ctx.integerValue("GetJobExecutionProgressResponse.Code")); + getJobExecutionProgressResponse.setMessage(_ctx.stringValue("GetJobExecutionProgressResponse.Message")); + getJobExecutionProgressResponse.setSuccess(_ctx.booleanValue("GetJobExecutionProgressResponse.Success")); + + Data data = new Data(); + data.setJobDescription(_ctx.stringValue("GetJobExecutionProgressResponse.Data.JobDescription")); + data.setStatisticDetail(_ctx.mapValue("GetJobExecutionProgressResponse.Data.StatisticDetail")); + + TotalProgress totalProgress = new TotalProgress(); + totalProgress.setTotal(_ctx.longValue("GetJobExecutionProgressResponse.Data.TotalProgress.Total")); + totalProgress.setFinished(_ctx.longValue("GetJobExecutionProgressResponse.Data.TotalProgress.Finished")); + data.setTotalProgress(totalProgress); + + RootProgress rootProgress = new RootProgress(); + rootProgress.setTotal(_ctx.longValue("GetJobExecutionProgressResponse.Data.RootProgress.Total")); + rootProgress.setFinished(_ctx.longValue("GetJobExecutionProgressResponse.Data.RootProgress.Finished")); + data.setRootProgress(rootProgress); + + List taskProgress = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetJobExecutionProgressResponse.Data.TaskProgress.Length"); i++) { + TaskProgressItem taskProgressItem = new TaskProgressItem(); + taskProgressItem.setName(_ctx.stringValue("GetJobExecutionProgressResponse.Data.TaskProgress["+ i +"].Name")); + taskProgressItem.setTotal(_ctx.integerValue("GetJobExecutionProgressResponse.Data.TaskProgress["+ i +"].Total")); + taskProgressItem.setPulled(_ctx.integerValue("GetJobExecutionProgressResponse.Data.TaskProgress["+ i +"].Pulled")); + taskProgressItem.setQueue(_ctx.integerValue("GetJobExecutionProgressResponse.Data.TaskProgress["+ i +"].Queue")); + taskProgressItem.setRunning(_ctx.integerValue("GetJobExecutionProgressResponse.Data.TaskProgress["+ i +"].Running")); + taskProgressItem.setSuccess(_ctx.integerValue("GetJobExecutionProgressResponse.Data.TaskProgress["+ i +"].Success")); + taskProgressItem.setFailed(_ctx.integerValue("GetJobExecutionProgressResponse.Data.TaskProgress["+ i +"].Failed")); + + taskProgress.add(taskProgressItem); + } + data.setTaskProgress(taskProgress); + + List shardingProgress = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetJobExecutionProgressResponse.Data.ShardingProgress.Length"); i++) { + ShardingProgressItem shardingProgressItem = new ShardingProgressItem(); + shardingProgressItem.setId(_ctx.longValue("GetJobExecutionProgressResponse.Data.ShardingProgress["+ i +"].Id")); + shardingProgressItem.setWorkerAddr(_ctx.stringValue("GetJobExecutionProgressResponse.Data.ShardingProgress["+ i +"].WorkerAddr")); + shardingProgressItem.setStatus(_ctx.integerValue("GetJobExecutionProgressResponse.Data.ShardingProgress["+ i +"].Status")); + shardingProgressItem.setJobExecutionId(_ctx.stringValue("GetJobExecutionProgressResponse.Data.ShardingProgress["+ i +"].JobExecutionId")); + shardingProgressItem.setResult(_ctx.stringValue("GetJobExecutionProgressResponse.Data.ShardingProgress["+ i +"].Result")); + + StatusType statusType = new StatusType(); + statusType.setCode(_ctx.stringValue("GetJobExecutionProgressResponse.Data.ShardingProgress["+ i +"].StatusType.Code")); + statusType.setName(_ctx.stringValue("GetJobExecutionProgressResponse.Data.ShardingProgress["+ i +"].StatusType.Name")); + statusType.setTips(_ctx.mapValue("GetJobExecutionProgressResponse.Data.ShardingProgress["+ i +"].StatusType.Tips")); + shardingProgressItem.setStatusType(statusType); + + shardingProgress.add(shardingProgressItem); + } + data.setShardingProgress(shardingProgress); + + List workerProgress = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetJobExecutionProgressResponse.Data.WorkerProgress.Length"); i++) { + WorkerProgressItem workerProgressItem = new WorkerProgressItem(); + workerProgressItem.setWorkerAddr(_ctx.stringValue("GetJobExecutionProgressResponse.Data.WorkerProgress["+ i +"].WorkerAddr")); + workerProgressItem.setTotal(_ctx.integerValue("GetJobExecutionProgressResponse.Data.WorkerProgress["+ i +"].Total")); + workerProgressItem.setPulled(_ctx.integerValue("GetJobExecutionProgressResponse.Data.WorkerProgress["+ i +"].Pulled")); + workerProgressItem.setQueue(_ctx.integerValue("GetJobExecutionProgressResponse.Data.WorkerProgress["+ i +"].Queue")); + workerProgressItem.setRunning(_ctx.integerValue("GetJobExecutionProgressResponse.Data.WorkerProgress["+ i +"].Running")); + workerProgressItem.setSuccess(_ctx.integerValue("GetJobExecutionProgressResponse.Data.WorkerProgress["+ i +"].Success")); + workerProgressItem.setFailed(_ctx.integerValue("GetJobExecutionProgressResponse.Data.WorkerProgress["+ i +"].Failed")); + workerProgressItem.setTraceId(_ctx.stringValue("GetJobExecutionProgressResponse.Data.WorkerProgress["+ i +"].TraceId")); + + workerProgress.add(workerProgressItem); + } + data.setWorkerProgress(workerProgress); + getJobExecutionProgressResponse.setData(data); + + return getJobExecutionProgressResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetLogResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetLogResponseUnmarshaller.java new file mode 100644 index 0000000000..136bf3c868 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/GetLogResponseUnmarshaller.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.GetLogResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetLogResponseUnmarshaller { + + public static GetLogResponse unmarshall(GetLogResponse getLogResponse, UnmarshallerContext _ctx) { + + getLogResponse.setRequestId(_ctx.stringValue("GetLogResponse.RequestId")); + getLogResponse.setCode(_ctx.integerValue("GetLogResponse.Code")); + getLogResponse.setSuccess(_ctx.booleanValue("GetLogResponse.Success")); + getLogResponse.setMessage(_ctx.stringValue("GetLogResponse.Message")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetLogResponse.Data.Length"); i++) { + data.add(_ctx.stringValue("GetLogResponse.Data["+ i +"]")); + } + getLogResponse.setData(data); + + return getLogResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ImportCalendarResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ImportCalendarResponseUnmarshaller.java new file mode 100644 index 0000000000..fb9f022cc8 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ImportCalendarResponseUnmarshaller.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.ImportCalendarResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ImportCalendarResponseUnmarshaller { + + public static ImportCalendarResponse unmarshall(ImportCalendarResponse importCalendarResponse, UnmarshallerContext _ctx) { + + importCalendarResponse.setRequestId(_ctx.stringValue("ImportCalendarResponse.RequestId")); + importCalendarResponse.setCode(_ctx.integerValue("ImportCalendarResponse.Code")); + importCalendarResponse.setMessage(_ctx.stringValue("ImportCalendarResponse.Message")); + importCalendarResponse.setSuccess(_ctx.booleanValue("ImportCalendarResponse.Success")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ImportCalendarResponse.Data.Length"); i++) { + data.add(_ctx.stringValue("ImportCalendarResponse.Data["+ i +"]")); + } + importCalendarResponse.setData(data); + + return importCalendarResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ImportJobsResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ImportJobsResponseUnmarshaller.java new file mode 100644 index 0000000000..3dd88ab2a7 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ImportJobsResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.ImportJobsResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ImportJobsResponseUnmarshaller { + + public static ImportJobsResponse unmarshall(ImportJobsResponse importJobsResponse, UnmarshallerContext _ctx) { + + importJobsResponse.setRequestId(_ctx.stringValue("ImportJobsResponse.RequestId")); + importJobsResponse.setCode(_ctx.integerValue("ImportJobsResponse.Code")); + importJobsResponse.setMessage(_ctx.stringValue("ImportJobsResponse.Message")); + importJobsResponse.setSuccess(_ctx.booleanValue("ImportJobsResponse.Success")); + + return importJobsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListAlarmEventResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListAlarmEventResponseUnmarshaller.java new file mode 100644 index 0000000000..6115da14a0 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListAlarmEventResponseUnmarshaller.java @@ -0,0 +1,59 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.ListAlarmEventResponse; +import com.aliyuncs.schedulerx3.model.v20240624.ListAlarmEventResponse.Data; +import com.aliyuncs.schedulerx3.model.v20240624.ListAlarmEventResponse.Data.Record; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListAlarmEventResponseUnmarshaller { + + public static ListAlarmEventResponse unmarshall(ListAlarmEventResponse listAlarmEventResponse, UnmarshallerContext _ctx) { + + listAlarmEventResponse.setRequestId(_ctx.stringValue("ListAlarmEventResponse.RequestId")); + listAlarmEventResponse.setCode(_ctx.integerValue("ListAlarmEventResponse.Code")); + listAlarmEventResponse.setMessage(_ctx.stringValue("ListAlarmEventResponse.Message")); + listAlarmEventResponse.setSuccess(_ctx.booleanValue("ListAlarmEventResponse.Success")); + + Data data = new Data(); + data.setPageNumber(_ctx.integerValue("ListAlarmEventResponse.Data.PageNumber")); + data.setPageSize(_ctx.integerValue("ListAlarmEventResponse.Data.PageSize")); + data.setTotal(_ctx.longValue("ListAlarmEventResponse.Data.Total")); + + List records = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListAlarmEventResponse.Data.Records.Length"); i++) { + Record record = new Record(); + record.setAppName(_ctx.stringValue("ListAlarmEventResponse.Data.Records["+ i +"].AppName")); + record.setJobName(_ctx.stringValue("ListAlarmEventResponse.Data.Records["+ i +"].JobName")); + record.setAlarmType(_ctx.stringValue("ListAlarmEventResponse.Data.Records["+ i +"].AlarmType")); + record.setAlarmChannel(_ctx.stringValue("ListAlarmEventResponse.Data.Records["+ i +"].AlarmChannel")); + record.setAlarmContacts(_ctx.stringValue("ListAlarmEventResponse.Data.Records["+ i +"].AlarmContacts")); + record.setAlarmStatus(_ctx.stringValue("ListAlarmEventResponse.Data.Records["+ i +"].AlarmStatus")); + record.setAlarmMessage(_ctx.stringValue("ListAlarmEventResponse.Data.Records["+ i +"].AlarmMessage")); + record.setTime(_ctx.stringValue("ListAlarmEventResponse.Data.Records["+ i +"].Time")); + + records.add(record); + } + data.setRecords(records); + listAlarmEventResponse.setData(data); + + return listAlarmEventResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListAppNamesResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListAppNamesResponseUnmarshaller.java new file mode 100644 index 0000000000..ac1c96fb10 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListAppNamesResponseUnmarshaller.java @@ -0,0 +1,48 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.ListAppNamesResponse; +import com.aliyuncs.schedulerx3.model.v20240624.ListAppNamesResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListAppNamesResponseUnmarshaller { + + public static ListAppNamesResponse unmarshall(ListAppNamesResponse listAppNamesResponse, UnmarshallerContext _ctx) { + + listAppNamesResponse.setRequestId(_ctx.stringValue("ListAppNamesResponse.RequestId")); + listAppNamesResponse.setCode(_ctx.integerValue("ListAppNamesResponse.Code")); + listAppNamesResponse.setMessage(_ctx.stringValue("ListAppNamesResponse.Message")); + listAppNamesResponse.setSuccess(_ctx.booleanValue("ListAppNamesResponse.Success")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListAppNamesResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setId(_ctx.longValue("ListAppNamesResponse.Data["+ i +"].Id")); + dataItem.setAppName(_ctx.stringValue("ListAppNamesResponse.Data["+ i +"].AppName")); + dataItem.setTitle(_ctx.stringValue("ListAppNamesResponse.Data["+ i +"].Title")); + dataItem.setAppGroupId(_ctx.stringValue("ListAppNamesResponse.Data["+ i +"].AppGroupId")); + + data.add(dataItem); + } + listAppNamesResponse.setData(data); + + return listAppNamesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListAppsResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListAppsResponseUnmarshaller.java new file mode 100644 index 0000000000..38105eb3ba --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListAppsResponseUnmarshaller.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.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.ListAppsResponse; +import com.aliyuncs.schedulerx3.model.v20240624.ListAppsResponse.Data; +import com.aliyuncs.schedulerx3.model.v20240624.ListAppsResponse.Data.Record; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListAppsResponseUnmarshaller { + + public static ListAppsResponse unmarshall(ListAppsResponse listAppsResponse, UnmarshallerContext _ctx) { + + listAppsResponse.setRequestId(_ctx.stringValue("ListAppsResponse.RequestId")); + listAppsResponse.setCode(_ctx.integerValue("ListAppsResponse.Code")); + listAppsResponse.setMessage(_ctx.stringValue("ListAppsResponse.Message")); + listAppsResponse.setSuccess(_ctx.booleanValue("ListAppsResponse.Success")); + + Data data = new Data(); + data.setTotal(_ctx.integerValue("ListAppsResponse.Data.Total")); + data.setPageNumber(_ctx.integerValue("ListAppsResponse.Data.PageNumber")); + data.setPageSize(_ctx.integerValue("ListAppsResponse.Data.PageSize")); + + List records = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListAppsResponse.Data.Records.Length"); i++) { + Record record = new Record(); + record.setId(_ctx.longValue("ListAppsResponse.Data.Records["+ i +"].Id")); + record.setAppName(_ctx.stringValue("ListAppsResponse.Data.Records["+ i +"].AppName")); + record.setAccessToken(_ctx.stringValue("ListAppsResponse.Data.Records["+ i +"].AccessToken")); + record.setTitle(_ctx.stringValue("ListAppsResponse.Data.Records["+ i +"].Title")); + record.setCreator(_ctx.stringValue("ListAppsResponse.Data.Records["+ i +"].Creator")); + record.setUpdater(_ctx.stringValue("ListAppsResponse.Data.Records["+ i +"].Updater")); + record.setLeader(_ctx.stringValue("ListAppsResponse.Data.Records["+ i +"].Leader")); + record.setCalendar(_ctx.stringValue("ListAppsResponse.Data.Records["+ i +"].Calendar")); + record.setMaxJobs(_ctx.integerValue("ListAppsResponse.Data.Records["+ i +"].MaxJobs")); + record.setMaxConcurrency(_ctx.integerValue("ListAppsResponse.Data.Records["+ i +"].MaxConcurrency")); + record.setNoticeConfig(_ctx.stringValue("ListAppsResponse.Data.Records["+ i +"].NoticeConfig")); + record.setNoticeContacts(_ctx.stringValue("ListAppsResponse.Data.Records["+ i +"].NoticeContacts")); + record.setJobNum(_ctx.integerValue("ListAppsResponse.Data.Records["+ i +"].JobNum")); + record.setExecutorNum(_ctx.longValue("ListAppsResponse.Data.Records["+ i +"].ExecutorNum")); + record.setEnableLog(_ctx.booleanValue("ListAppsResponse.Data.Records["+ i +"].EnableLog")); + + records.add(record); + } + data.setRecords(records); + listAppsResponse.setData(data); + + return listAppsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListCalendarNamesResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListCalendarNamesResponseUnmarshaller.java new file mode 100644 index 0000000000..1d2dbe6fd2 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListCalendarNamesResponseUnmarshaller.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.ListCalendarNamesResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListCalendarNamesResponseUnmarshaller { + + public static ListCalendarNamesResponse unmarshall(ListCalendarNamesResponse listCalendarNamesResponse, UnmarshallerContext _ctx) { + + listCalendarNamesResponse.setRequestId(_ctx.stringValue("ListCalendarNamesResponse.RequestId")); + listCalendarNamesResponse.setCode(_ctx.integerValue("ListCalendarNamesResponse.Code")); + listCalendarNamesResponse.setMessage(_ctx.stringValue("ListCalendarNamesResponse.Message")); + listCalendarNamesResponse.setSuccess(_ctx.booleanValue("ListCalendarNamesResponse.Success")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListCalendarNamesResponse.Data.Length"); i++) { + data.add(_ctx.stringValue("ListCalendarNamesResponse.Data["+ i +"]")); + } + listCalendarNamesResponse.setData(data); + + return listCalendarNamesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListClustersResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListClustersResponseUnmarshaller.java new file mode 100644 index 0000000000..acd1577407 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListClustersResponseUnmarshaller.java @@ -0,0 +1,76 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.ListClustersResponse; +import com.aliyuncs.schedulerx3.model.v20240624.ListClustersResponse.Data; +import com.aliyuncs.schedulerx3.model.v20240624.ListClustersResponse.Data.Record; +import com.aliyuncs.schedulerx3.model.v20240624.ListClustersResponse.Data.Record.VswitchesItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListClustersResponseUnmarshaller { + + public static ListClustersResponse unmarshall(ListClustersResponse listClustersResponse, UnmarshallerContext _ctx) { + + listClustersResponse.setRequestId(_ctx.stringValue("ListClustersResponse.RequestId")); + listClustersResponse.setCode(_ctx.integerValue("ListClustersResponse.Code")); + listClustersResponse.setMessage(_ctx.stringValue("ListClustersResponse.Message")); + listClustersResponse.setSuccess(_ctx.booleanValue("ListClustersResponse.Success")); + + Data data = new Data(); + data.setTotal(_ctx.integerValue("ListClustersResponse.Data.Total")); + data.setPageNumber(_ctx.integerValue("ListClustersResponse.Data.PageNumber")); + data.setPageSize(_ctx.integerValue("ListClustersResponse.Data.PageSize")); + + List records = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListClustersResponse.Data.Records.Length"); i++) { + Record record = new Record(); + record.setClusterId(_ctx.stringValue("ListClustersResponse.Data.Records["+ i +"].ClusterId")); + record.setClusterName(_ctx.stringValue("ListClustersResponse.Data.Records["+ i +"].ClusterName")); + record.setClusterSpec(_ctx.stringValue("ListClustersResponse.Data.Records["+ i +"].ClusterSpec")); + record.setProductType(_ctx.integerValue("ListClustersResponse.Data.Records["+ i +"].ProductType")); + record.setEngineType(_ctx.stringValue("ListClustersResponse.Data.Records["+ i +"].EngineType")); + record.setEngineVersion(_ctx.stringValue("ListClustersResponse.Data.Records["+ i +"].EngineVersion")); + record.setStatus(_ctx.integerValue("ListClustersResponse.Data.Records["+ i +"].Status")); + record.setCreateTime(_ctx.stringValue("ListClustersResponse.Data.Records["+ i +"].CreateTime")); + record.setEndTime(_ctx.stringValue("ListClustersResponse.Data.Records["+ i +"].EndTime")); + record.setIntranetDomain(_ctx.stringValue("ListClustersResponse.Data.Records["+ i +"].IntranetDomain")); + record.setInternetDomain(_ctx.stringValue("ListClustersResponse.Data.Records["+ i +"].InternetDomain")); + record.setChargeType(_ctx.stringValue("ListClustersResponse.Data.Records["+ i +"].ChargeType")); + record.setVpcId(_ctx.stringValue("ListClustersResponse.Data.Records["+ i +"].VpcId")); + record.setSpInstanceId(_ctx.stringValue("ListClustersResponse.Data.Records["+ i +"].SpInstanceId")); + + List vSwitches = new ArrayList(); + for (int j = 0; j < _ctx.lengthValue("ListClustersResponse.Data.Records["+ i +"].VSwitches.Length"); j++) { + VswitchesItem vswitchesItem = new VswitchesItem(); + vswitchesItem.setZoneId(_ctx.stringValue("ListClustersResponse.Data.Records["+ i +"].VSwitches["+ j +"].ZoneId")); + vswitchesItem.setVSwitchId(_ctx.stringValue("ListClustersResponse.Data.Records["+ i +"].VSwitches["+ j +"].VSwitchId")); + + vSwitches.add(vswitchesItem); + } + record.setVSwitches(vSwitches); + + records.add(record); + } + data.setRecords(records); + listClustersResponse.setData(data); + + return listClustersResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListExecutorsResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListExecutorsResponseUnmarshaller.java new file mode 100644 index 0000000000..478247f023 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListExecutorsResponseUnmarshaller.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.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.ListExecutorsResponse; +import com.aliyuncs.schedulerx3.model.v20240624.ListExecutorsResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListExecutorsResponseUnmarshaller { + + public static ListExecutorsResponse unmarshall(ListExecutorsResponse listExecutorsResponse, UnmarshallerContext _ctx) { + + listExecutorsResponse.setRequestId(_ctx.stringValue("ListExecutorsResponse.RequestId")); + listExecutorsResponse.setCode(_ctx.integerValue("ListExecutorsResponse.Code")); + listExecutorsResponse.setMessage(_ctx.stringValue("ListExecutorsResponse.Message")); + listExecutorsResponse.setSuccess(_ctx.booleanValue("ListExecutorsResponse.Success")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListExecutorsResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setAddress(_ctx.stringValue("ListExecutorsResponse.Data["+ i +"].Address")); + dataItem.setIp(_ctx.stringValue("ListExecutorsResponse.Data["+ i +"].Ip")); + dataItem.setPort(_ctx.integerValue("ListExecutorsResponse.Data["+ i +"].Port")); + dataItem.setLabel(_ctx.stringValue("ListExecutorsResponse.Data["+ i +"].Label")); + dataItem.setVersion(_ctx.stringValue("ListExecutorsResponse.Data["+ i +"].Version")); + dataItem.setOnline(_ctx.booleanValue("ListExecutorsResponse.Data["+ i +"].Online")); + dataItem.setIsDesignated(_ctx.booleanValue("ListExecutorsResponse.Data["+ i +"].IsDesignated")); + + data.add(dataItem); + } + listExecutorsResponse.setData(data); + + return listExecutorsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListJobExecutionsResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListJobExecutionsResponseUnmarshaller.java new file mode 100644 index 0000000000..14fbfebdbb --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListJobExecutionsResponseUnmarshaller.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.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.ListJobExecutionsResponse; +import com.aliyuncs.schedulerx3.model.v20240624.ListJobExecutionsResponse.Data; +import com.aliyuncs.schedulerx3.model.v20240624.ListJobExecutionsResponse.Data.Record; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListJobExecutionsResponseUnmarshaller { + + public static ListJobExecutionsResponse unmarshall(ListJobExecutionsResponse listJobExecutionsResponse, UnmarshallerContext _ctx) { + + listJobExecutionsResponse.setRequestId(_ctx.stringValue("ListJobExecutionsResponse.RequestId")); + listJobExecutionsResponse.setCode(_ctx.integerValue("ListJobExecutionsResponse.Code")); + listJobExecutionsResponse.setMessage(_ctx.stringValue("ListJobExecutionsResponse.Message")); + listJobExecutionsResponse.setSuccess(_ctx.booleanValue("ListJobExecutionsResponse.Success")); + + Data data = new Data(); + data.setTotal(_ctx.integerValue("ListJobExecutionsResponse.Data.Total")); + data.setPageNumber(_ctx.integerValue("ListJobExecutionsResponse.Data.PageNumber")); + data.setPageSize(_ctx.integerValue("ListJobExecutionsResponse.Data.PageSize")); + + List records = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListJobExecutionsResponse.Data.Records.Length"); i++) { + Record record = new Record(); + record.setJobExecutionId(_ctx.stringValue("ListJobExecutionsResponse.Data.Records["+ i +"].JobExecutionId")); + record.setJobId(_ctx.longValue("ListJobExecutionsResponse.Data.Records["+ i +"].JobId")); + record.setJobName(_ctx.stringValue("ListJobExecutionsResponse.Data.Records["+ i +"].JobName")); + record.setJobType(_ctx.stringValue("ListJobExecutionsResponse.Data.Records["+ i +"].JobType")); + record.setParameters(_ctx.stringValue("ListJobExecutionsResponse.Data.Records["+ i +"].Parameters")); + record.setScheduleTime(_ctx.stringValue("ListJobExecutionsResponse.Data.Records["+ i +"].ScheduleTime")); + record.setDataTime(_ctx.stringValue("ListJobExecutionsResponse.Data.Records["+ i +"].DataTime")); + record.setStartTime(_ctx.stringValue("ListJobExecutionsResponse.Data.Records["+ i +"].StartTime")); + record.setEndTime(_ctx.stringValue("ListJobExecutionsResponse.Data.Records["+ i +"].EndTime")); + record.setDuration(_ctx.longValue("ListJobExecutionsResponse.Data.Records["+ i +"].Duration")); + record.setExecutor(_ctx.stringValue("ListJobExecutionsResponse.Data.Records["+ i +"].Executor")); + record.setResult(_ctx.stringValue("ListJobExecutionsResponse.Data.Records["+ i +"].Result")); + record.setStatus(_ctx.integerValue("ListJobExecutionsResponse.Data.Records["+ i +"].Status")); + record.setTimeType(_ctx.integerValue("ListJobExecutionsResponse.Data.Records["+ i +"].TimeType")); + record.setAttempt(_ctx.integerValue("ListJobExecutionsResponse.Data.Records["+ i +"].Attempt")); + record.setWorkAddr(_ctx.stringValue("ListJobExecutionsResponse.Data.Records["+ i +"].WorkAddr")); + record.setAppName(_ctx.stringValue("ListJobExecutionsResponse.Data.Records["+ i +"].AppName")); + record.setRouteStrategy(_ctx.integerValue("ListJobExecutionsResponse.Data.Records["+ i +"].RouteStrategy")); + record.setServerIp(_ctx.stringValue("ListJobExecutionsResponse.Data.Records["+ i +"].ServerIp")); + record.setTriggerType(_ctx.integerValue("ListJobExecutionsResponse.Data.Records["+ i +"].TriggerType")); + + records.add(record); + } + data.setRecords(records); + listJobExecutionsResponse.setData(data); + + return listJobExecutionsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListJobsResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListJobsResponseUnmarshaller.java new file mode 100644 index 0000000000..63bfbda401 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListJobsResponseUnmarshaller.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.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.ListJobsResponse; +import com.aliyuncs.schedulerx3.model.v20240624.ListJobsResponse.Data; +import com.aliyuncs.schedulerx3.model.v20240624.ListJobsResponse.Data.Record; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListJobsResponseUnmarshaller { + + public static ListJobsResponse unmarshall(ListJobsResponse listJobsResponse, UnmarshallerContext _ctx) { + + listJobsResponse.setRequestId(_ctx.stringValue("ListJobsResponse.RequestId")); + listJobsResponse.setCode(_ctx.integerValue("ListJobsResponse.Code")); + listJobsResponse.setMessage(_ctx.stringValue("ListJobsResponse.Message")); + listJobsResponse.setSuccess(_ctx.booleanValue("ListJobsResponse.Success")); + + Data data = new Data(); + data.setTotal(_ctx.integerValue("ListJobsResponse.Data.Total")); + data.setPageNumber(_ctx.integerValue("ListJobsResponse.Data.PageNumber")); + data.setPageSize(_ctx.integerValue("ListJobsResponse.Data.PageSize")); + + List records = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListJobsResponse.Data.Records.Length"); i++) { + Record record = new Record(); + record.setJobId(_ctx.longValue("ListJobsResponse.Data.Records["+ i +"].JobId")); + record.setName(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].Name")); + record.setDescription(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].Description")); + record.setJobType(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].JobType")); + record.setStatus(_ctx.integerValue("ListJobsResponse.Data.Records["+ i +"].Status")); + record.setParameters(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].Parameters")); + record.setMaxConcurrency(_ctx.integerValue("ListJobsResponse.Data.Records["+ i +"].MaxConcurrency")); + record.setMaxAttempt(_ctx.integerValue("ListJobsResponse.Data.Records["+ i +"].MaxAttempt")); + record.setAttemptInterval(_ctx.integerValue("ListJobsResponse.Data.Records["+ i +"].AttemptInterval")); + record.setJobHandler(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].JobHandler")); + record.setPriority(_ctx.integerValue("ListJobsResponse.Data.Records["+ i +"].Priority")); + record.setTimeType(_ctx.integerValue("ListJobsResponse.Data.Records["+ i +"].TimeType")); + record.setTimeExpression(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].TimeExpression")); + record.setTimeZone(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].TimeZone")); + record.setCalendar(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].Calendar")); + record.setDataOffset(_ctx.integerValue("ListJobsResponse.Data.Records["+ i +"].DataOffset")); + record.setCleanMode(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].CleanMode")); + record.setCreator(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].Creator")); + record.setUpdater(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].Updater")); + record.setXattrs(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].Xattrs")); + record.setNoticeConfig(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].NoticeConfig")); + record.setNoticeContacts(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].NoticeContacts")); + record.setRouteStrategy(_ctx.integerValue("ListJobsResponse.Data.Records["+ i +"].RouteStrategy")); + record.setAppName(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].AppName")); + record.setStartTime(_ctx.longValue("ListJobsResponse.Data.Records["+ i +"].StartTime")); + record.setTimezone(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].Timezone")); + record.setExecutorBlockStrategy(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].ExecutorBlockStrategy")); + record.setLastExecuteEndTime(_ctx.stringValue("ListJobsResponse.Data.Records["+ i +"].LastExecuteEndTime")); + record.setLastExecuteStatus(_ctx.integerValue("ListJobsResponse.Data.Records["+ i +"].LastExecuteStatus")); + record.setCurrentExecuteStatus(_ctx.integerValue("ListJobsResponse.Data.Records["+ i +"].CurrentExecuteStatus")); + + records.add(record); + } + data.setRecords(records); + listJobsResponse.setData(data); + + return listJobsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListLablesResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListLablesResponseUnmarshaller.java new file mode 100644 index 0000000000..39455aa231 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListLablesResponseUnmarshaller.java @@ -0,0 +1,48 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.ListLablesResponse; +import com.aliyuncs.schedulerx3.model.v20240624.ListLablesResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListLablesResponseUnmarshaller { + + public static ListLablesResponse unmarshall(ListLablesResponse listLablesResponse, UnmarshallerContext _ctx) { + + listLablesResponse.setRequestId(_ctx.stringValue("ListLablesResponse.RequestId")); + listLablesResponse.setCode(_ctx.integerValue("ListLablesResponse.Code")); + listLablesResponse.setMessage(_ctx.stringValue("ListLablesResponse.Message")); + listLablesResponse.setSuccess(_ctx.booleanValue("ListLablesResponse.Success")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListLablesResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setLabel(_ctx.stringValue("ListLablesResponse.Data["+ i +"].Label")); + dataItem.setOnline(_ctx.booleanValue("ListLablesResponse.Data["+ i +"].Online")); + dataItem.setSize(_ctx.integerValue("ListLablesResponse.Data["+ i +"].Size")); + dataItem.setIsDesignated(_ctx.booleanValue("ListLablesResponse.Data["+ i +"].IsDesignated")); + + data.add(dataItem); + } + listLablesResponse.setData(data); + + return listLablesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListRegionZoneResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListRegionZoneResponseUnmarshaller.java new file mode 100644 index 0000000000..215ff8f071 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListRegionZoneResponseUnmarshaller.java @@ -0,0 +1,47 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.ListRegionZoneResponse; +import com.aliyuncs.schedulerx3.model.v20240624.ListRegionZoneResponse.DataItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListRegionZoneResponseUnmarshaller { + + public static ListRegionZoneResponse unmarshall(ListRegionZoneResponse listRegionZoneResponse, UnmarshallerContext _ctx) { + + listRegionZoneResponse.setRequestId(_ctx.stringValue("ListRegionZoneResponse.RequestId")); + listRegionZoneResponse.setCode(_ctx.integerValue("ListRegionZoneResponse.Code")); + listRegionZoneResponse.setErrorCode(_ctx.stringValue("ListRegionZoneResponse.ErrorCode")); + listRegionZoneResponse.setSuccess(_ctx.booleanValue("ListRegionZoneResponse.Success")); + listRegionZoneResponse.setMessage(_ctx.stringValue("ListRegionZoneResponse.Message")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListRegionZoneResponse.Data.Length"); i++) { + DataItem dataItem = new DataItem(); + dataItem.setZoneId(_ctx.stringValue("ListRegionZoneResponse.Data["+ i +"].ZoneId")); + dataItem.setLocalName(_ctx.stringValue("ListRegionZoneResponse.Data["+ i +"].LocalName")); + + data.add(dataItem); + } + listRegionZoneResponse.setData(data); + + return listRegionZoneResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListRegionsResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListRegionsResponseUnmarshaller.java new file mode 100644 index 0000000000..0048ee04f7 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListRegionsResponseUnmarshaller.java @@ -0,0 +1,47 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.ListRegionsResponse; +import com.aliyuncs.schedulerx3.model.v20240624.ListRegionsResponse.Region; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListRegionsResponseUnmarshaller { + + public static ListRegionsResponse unmarshall(ListRegionsResponse listRegionsResponse, UnmarshallerContext _ctx) { + + listRegionsResponse.setRequestId(_ctx.stringValue("ListRegionsResponse.RequestId")); + listRegionsResponse.setCode(_ctx.integerValue("ListRegionsResponse.Code")); + listRegionsResponse.setMessage(_ctx.stringValue("ListRegionsResponse.Message")); + listRegionsResponse.setSuccess(_ctx.booleanValue("ListRegionsResponse.Success")); + + List regions = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListRegionsResponse.Regions.Length"); i++) { + Region region = new Region(); + region.setRegionEndpoint(_ctx.stringValue("ListRegionsResponse.Regions["+ i +"].RegionEndpoint")); + region.setLocalName(_ctx.stringValue("ListRegionsResponse.Regions["+ i +"].LocalName")); + region.setRegionId(_ctx.stringValue("ListRegionsResponse.Regions["+ i +"].RegionId")); + + regions.add(region); + } + listRegionsResponse.setRegions(regions); + + return listRegionsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListScheduleEventResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListScheduleEventResponseUnmarshaller.java new file mode 100644 index 0000000000..899121c2c1 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListScheduleEventResponseUnmarshaller.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.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.ListScheduleEventResponse; +import com.aliyuncs.schedulerx3.model.v20240624.ListScheduleEventResponse.Data; +import com.aliyuncs.schedulerx3.model.v20240624.ListScheduleEventResponse.Data.Record; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListScheduleEventResponseUnmarshaller { + + public static ListScheduleEventResponse unmarshall(ListScheduleEventResponse listScheduleEventResponse, UnmarshallerContext _ctx) { + + listScheduleEventResponse.setRequestId(_ctx.stringValue("ListScheduleEventResponse.RequestId")); + listScheduleEventResponse.setCode(_ctx.integerValue("ListScheduleEventResponse.Code")); + listScheduleEventResponse.setMessage(_ctx.stringValue("ListScheduleEventResponse.Message")); + listScheduleEventResponse.setSuccess(_ctx.booleanValue("ListScheduleEventResponse.Success")); + + Data data = new Data(); + data.setPageNumber(_ctx.integerValue("ListScheduleEventResponse.Data.PageNumber")); + data.setPageSize(_ctx.integerValue("ListScheduleEventResponse.Data.PageSize")); + data.setTotal(_ctx.longValue("ListScheduleEventResponse.Data.Total")); + + List records = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListScheduleEventResponse.Data.Records.Length"); i++) { + Record record = new Record(); + record.setAppName(_ctx.stringValue("ListScheduleEventResponse.Data.Records["+ i +"].AppName")); + record.setJobName(_ctx.stringValue("ListScheduleEventResponse.Data.Records["+ i +"].JobName")); + record.setJobExecutionId(_ctx.stringValue("ListScheduleEventResponse.Data.Records["+ i +"].JobExecutionId")); + record.setEvent(_ctx.stringValue("ListScheduleEventResponse.Data.Records["+ i +"].Event")); + record.setWorkerAddr(_ctx.stringValue("ListScheduleEventResponse.Data.Records["+ i +"].WorkerAddr")); + record.setContent(_ctx.stringValue("ListScheduleEventResponse.Data.Records["+ i +"].Content")); + record.setTime(_ctx.stringValue("ListScheduleEventResponse.Data.Records["+ i +"].Time")); + + records.add(record); + } + data.setRecords(records); + listScheduleEventResponse.setData(data); + + return listScheduleEventResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListScheduleTimesResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListScheduleTimesResponseUnmarshaller.java new file mode 100644 index 0000000000..28ab65b814 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/ListScheduleTimesResponseUnmarshaller.java @@ -0,0 +1,41 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.schedulerx3.model.v20240624.ListScheduleTimesResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListScheduleTimesResponseUnmarshaller { + + public static ListScheduleTimesResponse unmarshall(ListScheduleTimesResponse listScheduleTimesResponse, UnmarshallerContext _ctx) { + + listScheduleTimesResponse.setRequestId(_ctx.stringValue("ListScheduleTimesResponse.RequestId")); + listScheduleTimesResponse.setCode(_ctx.integerValue("ListScheduleTimesResponse.Code")); + listScheduleTimesResponse.setMessage(_ctx.stringValue("ListScheduleTimesResponse.Message")); + listScheduleTimesResponse.setSuccess(_ctx.booleanValue("ListScheduleTimesResponse.Success")); + + List data = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListScheduleTimesResponse.Data.Length"); i++) { + data.add(_ctx.stringValue("ListScheduleTimesResponse.Data["+ i +"]")); + } + listScheduleTimesResponse.setData(data); + + return listScheduleTimesResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateDesignateExecutorsResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateDesignateExecutorsResponseUnmarshaller.java new file mode 100644 index 0000000000..5d4eba52b6 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateDesignateExecutorsResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.OperateDesignateExecutorsResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class OperateDesignateExecutorsResponseUnmarshaller { + + public static OperateDesignateExecutorsResponse unmarshall(OperateDesignateExecutorsResponse operateDesignateExecutorsResponse, UnmarshallerContext _ctx) { + + operateDesignateExecutorsResponse.setRequestId(_ctx.stringValue("OperateDesignateExecutorsResponse.RequestId")); + operateDesignateExecutorsResponse.setCode(_ctx.integerValue("OperateDesignateExecutorsResponse.Code")); + operateDesignateExecutorsResponse.setMessage(_ctx.stringValue("OperateDesignateExecutorsResponse.Message")); + operateDesignateExecutorsResponse.setSuccess(_ctx.booleanValue("OperateDesignateExecutorsResponse.Success")); + + return operateDesignateExecutorsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateDisableJobsResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateDisableJobsResponseUnmarshaller.java new file mode 100644 index 0000000000..857174641a --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateDisableJobsResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.OperateDisableJobsResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class OperateDisableJobsResponseUnmarshaller { + + public static OperateDisableJobsResponse unmarshall(OperateDisableJobsResponse operateDisableJobsResponse, UnmarshallerContext _ctx) { + + operateDisableJobsResponse.setRequestId(_ctx.stringValue("OperateDisableJobsResponse.RequestId")); + operateDisableJobsResponse.setCode(_ctx.integerValue("OperateDisableJobsResponse.Code")); + operateDisableJobsResponse.setMessage(_ctx.stringValue("OperateDisableJobsResponse.Message")); + operateDisableJobsResponse.setSuccess(_ctx.booleanValue("OperateDisableJobsResponse.Success")); + + return operateDisableJobsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateEnableJobsResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateEnableJobsResponseUnmarshaller.java new file mode 100644 index 0000000000..04d45656c9 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateEnableJobsResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.OperateEnableJobsResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class OperateEnableJobsResponseUnmarshaller { + + public static OperateEnableJobsResponse unmarshall(OperateEnableJobsResponse operateEnableJobsResponse, UnmarshallerContext _ctx) { + + operateEnableJobsResponse.setRequestId(_ctx.stringValue("OperateEnableJobsResponse.RequestId")); + operateEnableJobsResponse.setCode(_ctx.integerValue("OperateEnableJobsResponse.Code")); + operateEnableJobsResponse.setMessage(_ctx.stringValue("OperateEnableJobsResponse.Message")); + operateEnableJobsResponse.setSuccess(_ctx.booleanValue("OperateEnableJobsResponse.Success")); + + return operateEnableJobsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateExecuteJobResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateExecuteJobResponseUnmarshaller.java new file mode 100644 index 0000000000..de57991512 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateExecuteJobResponseUnmarshaller.java @@ -0,0 +1,37 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.OperateExecuteJobResponse; +import com.aliyuncs.schedulerx3.model.v20240624.OperateExecuteJobResponse.Data; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class OperateExecuteJobResponseUnmarshaller { + + public static OperateExecuteJobResponse unmarshall(OperateExecuteJobResponse operateExecuteJobResponse, UnmarshallerContext _ctx) { + + operateExecuteJobResponse.setRequestId(_ctx.stringValue("OperateExecuteJobResponse.RequestId")); + operateExecuteJobResponse.setCode(_ctx.integerValue("OperateExecuteJobResponse.Code")); + operateExecuteJobResponse.setMessage(_ctx.stringValue("OperateExecuteJobResponse.Message")); + operateExecuteJobResponse.setSuccess(_ctx.booleanValue("OperateExecuteJobResponse.Success")); + + Data data = new Data(); + data.setJobExecutionId(_ctx.stringValue("OperateExecuteJobResponse.Data.JobExecutionId")); + operateExecuteJobResponse.setData(data); + + return operateExecuteJobResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateRerunJobResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateRerunJobResponseUnmarshaller.java new file mode 100644 index 0000000000..2dbde7b4b4 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateRerunJobResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.OperateRerunJobResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class OperateRerunJobResponseUnmarshaller { + + public static OperateRerunJobResponse unmarshall(OperateRerunJobResponse operateRerunJobResponse, UnmarshallerContext _ctx) { + + operateRerunJobResponse.setRequestId(_ctx.stringValue("OperateRerunJobResponse.RequestId")); + operateRerunJobResponse.setCode(_ctx.integerValue("OperateRerunJobResponse.Code")); + operateRerunJobResponse.setSuccess(_ctx.booleanValue("OperateRerunJobResponse.Success")); + operateRerunJobResponse.setMessage(_ctx.stringValue("OperateRerunJobResponse.Message")); + + return operateRerunJobResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateRetryJobExecutionResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateRetryJobExecutionResponseUnmarshaller.java new file mode 100644 index 0000000000..218aa15656 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateRetryJobExecutionResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.OperateRetryJobExecutionResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class OperateRetryJobExecutionResponseUnmarshaller { + + public static OperateRetryJobExecutionResponse unmarshall(OperateRetryJobExecutionResponse operateRetryJobExecutionResponse, UnmarshallerContext _ctx) { + + operateRetryJobExecutionResponse.setRequestId(_ctx.stringValue("OperateRetryJobExecutionResponse.RequestId")); + operateRetryJobExecutionResponse.setCode(_ctx.integerValue("OperateRetryJobExecutionResponse.Code")); + operateRetryJobExecutionResponse.setSuccess(_ctx.booleanValue("OperateRetryJobExecutionResponse.Success")); + operateRetryJobExecutionResponse.setMessage(_ctx.stringValue("OperateRetryJobExecutionResponse.Message")); + + return operateRetryJobExecutionResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateStopJobExecutionResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateStopJobExecutionResponseUnmarshaller.java new file mode 100644 index 0000000000..749d91c91b --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/OperateStopJobExecutionResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.OperateStopJobExecutionResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class OperateStopJobExecutionResponseUnmarshaller { + + public static OperateStopJobExecutionResponse unmarshall(OperateStopJobExecutionResponse operateStopJobExecutionResponse, UnmarshallerContext _ctx) { + + operateStopJobExecutionResponse.setRequestId(_ctx.stringValue("OperateStopJobExecutionResponse.RequestId")); + operateStopJobExecutionResponse.setCode(_ctx.integerValue("OperateStopJobExecutionResponse.Code")); + operateStopJobExecutionResponse.setMessage(_ctx.stringValue("OperateStopJobExecutionResponse.Message")); + operateStopJobExecutionResponse.setSuccess(_ctx.booleanValue("OperateStopJobExecutionResponse.Success")); + + return operateStopJobExecutionResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/UpdateAppResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/UpdateAppResponseUnmarshaller.java new file mode 100644 index 0000000000..3f2224b84a --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/UpdateAppResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.UpdateAppResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateAppResponseUnmarshaller { + + public static UpdateAppResponse unmarshall(UpdateAppResponse updateAppResponse, UnmarshallerContext _ctx) { + + updateAppResponse.setRequestId(_ctx.stringValue("UpdateAppResponse.RequestId")); + updateAppResponse.setCode(_ctx.integerValue("UpdateAppResponse.Code")); + updateAppResponse.setMessage(_ctx.stringValue("UpdateAppResponse.Message")); + updateAppResponse.setSuccess(_ctx.booleanValue("UpdateAppResponse.Success")); + + return updateAppResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/UpdateClusterResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/UpdateClusterResponseUnmarshaller.java new file mode 100644 index 0000000000..cf63e06a48 --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/UpdateClusterResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.UpdateClusterResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateClusterResponseUnmarshaller { + + public static UpdateClusterResponse unmarshall(UpdateClusterResponse updateClusterResponse, UnmarshallerContext _ctx) { + + updateClusterResponse.setRequestId(_ctx.stringValue("UpdateClusterResponse.RequestId")); + updateClusterResponse.setCode(_ctx.integerValue("UpdateClusterResponse.Code")); + updateClusterResponse.setMessage(_ctx.stringValue("UpdateClusterResponse.Message")); + updateClusterResponse.setSuccess(_ctx.booleanValue("UpdateClusterResponse.Success")); + + return updateClusterResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/UpdateJobResponseUnmarshaller.java b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/UpdateJobResponseUnmarshaller.java new file mode 100644 index 0000000000..83f6c8b91e --- /dev/null +++ b/aliyun-java-sdk-schedulerx3/src/main/java/com/aliyuncs/schedulerx3/transform/v20240624/UpdateJobResponseUnmarshaller.java @@ -0,0 +1,32 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.schedulerx3.transform.v20240624; + +import com.aliyuncs.schedulerx3.model.v20240624.UpdateJobResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class UpdateJobResponseUnmarshaller { + + public static UpdateJobResponse unmarshall(UpdateJobResponse updateJobResponse, UnmarshallerContext _ctx) { + + updateJobResponse.setRequestId(_ctx.stringValue("UpdateJobResponse.RequestId")); + updateJobResponse.setCode(_ctx.integerValue("UpdateJobResponse.Code")); + updateJobResponse.setMessage(_ctx.stringValue("UpdateJobResponse.Message")); + updateJobResponse.setSuccess(_ctx.booleanValue("UpdateJobResponse.Success")); + + return updateJobResponse; + } +} \ No newline at end of file