From 92ddfcffa94c566782a6cecbd353e89d5c26fa18 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 21 Nov 2024 08:12:39 +0000 Subject: [PATCH] Support CreateDISyncTask with large param. --- .../ChangeLog.txt | 3 + aliyun-java-sdk-dataworks-public/pom.xml | 2 +- .../v20200518/ListCheckProcessesRequest.java | 121 +++++++++++ .../v20200518/ListCheckProcessesResponse.java | 193 ++++++++++++++++++ ...istCheckProcessesResponseUnmarshaller.java | 57 ++++++ 5 files changed, 375 insertions(+), 1 deletion(-) create mode 100644 aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListCheckProcessesRequest.java create mode 100644 aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListCheckProcessesResponse.java create mode 100644 aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListCheckProcessesResponseUnmarshaller.java diff --git a/aliyun-java-sdk-dataworks-public/ChangeLog.txt b/aliyun-java-sdk-dataworks-public/ChangeLog.txt index 0eba93fe32..2cff965061 100644 --- a/aliyun-java-sdk-dataworks-public/ChangeLog.txt +++ b/aliyun-java-sdk-dataworks-public/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-11-21 Version: 6.1.7 +- Support CreateDISyncTask with large param. + 2024-10-17 Version: 5.1.11 - Generated 2020-05-18 for `dataworks-public`. diff --git a/aliyun-java-sdk-dataworks-public/pom.xml b/aliyun-java-sdk-dataworks-public/pom.xml index 0528dbcb92..49be496e66 100644 --- a/aliyun-java-sdk-dataworks-public/pom.xml +++ b/aliyun-java-sdk-dataworks-public/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-dataworks-public jar - 5.1.11 + 6.1.7 aliyun-java-sdk-dataworks-public http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListCheckProcessesRequest.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListCheckProcessesRequest.java new file mode 100644 index 0000000000..b14e9d2c8c --- /dev/null +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListCheckProcessesRequest.java @@ -0,0 +1,121 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dataworks_public.model.v20200518; + +import com.aliyuncs.RpcAcsRequest; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; +import com.aliyuncs.dataworks_public.Endpoint; + +/** + * @author auto create + * @version + */ +public class ListCheckProcessesRequest extends RpcAcsRequest { + + + private String eventCode; + + private String operator; + + private Integer pageNumber; + + private Integer pageSize; + + private Long projectId; + + private String status; + public ListCheckProcessesRequest() { + super("dataworks-public", "2020-05-18", "ListCheckProcesses"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + try { + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); + com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); + } catch (Exception e) {} + } + + public String getEventCode() { + return this.eventCode; + } + + public void setEventCode(String eventCode) { + this.eventCode = eventCode; + if(eventCode != null){ + putBodyParameter("EventCode", eventCode); + } + } + + public String getOperator() { + return this.operator; + } + + public void setOperator(String operator) { + this.operator = operator; + if(operator != null){ + putBodyParameter("Operator", operator); + } + } + + public Integer getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Integer pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putBodyParameter("PageNumber", pageNumber.toString()); + } + } + + public Integer getPageSize() { + return this.pageSize; + } + + public void setPageSize(Integer pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putBodyParameter("PageSize", pageSize.toString()); + } + } + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + if(projectId != null){ + putBodyParameter("ProjectId", projectId.toString()); + } + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + if(status != null){ + putBodyParameter("Status", status); + } + } + + @Override + public Class getResponseClass() { + return ListCheckProcessesResponse.class; + } + +} diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListCheckProcessesResponse.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListCheckProcessesResponse.java new file mode 100644 index 0000000000..df4b5285d9 --- /dev/null +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListCheckProcessesResponse.java @@ -0,0 +1,193 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dataworks_public.model.v20200518; + +import java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.dataworks_public.transform.v20200518.ListCheckProcessesResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListCheckProcessesResponse extends AcsResponse { + + private String requestId; + + private PagingInfo pagingInfo; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public PagingInfo getPagingInfo() { + return this.pagingInfo; + } + + public void setPagingInfo(PagingInfo pagingInfo) { + this.pagingInfo = pagingInfo; + } + + public static class PagingInfo { + + private Integer pageNumber; + + private Integer pageSize; + + private Integer totalCount; + + private List checkProcesses; + + 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 Integer getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Integer totalCount) { + this.totalCount = totalCount; + } + + public List getCheckProcesses() { + return this.checkProcesses; + } + + public void setCheckProcesses(List checkProcesses) { + this.checkProcesses = checkProcesses; + } + + public static class CheckProcessesItem { + + private Long projectId; + + private String status; + + private String eventCode; + + private String eventName; + + private String eventNameEn; + + private String processName; + + private String messageId; + + private String processId; + + private String operator; + + public Long getProjectId() { + return this.projectId; + } + + public void setProjectId(Long projectId) { + this.projectId = projectId; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public String getEventCode() { + return this.eventCode; + } + + public void setEventCode(String eventCode) { + this.eventCode = eventCode; + } + + public String getEventName() { + return this.eventName; + } + + public void setEventName(String eventName) { + this.eventName = eventName; + } + + public String getEventNameEn() { + return this.eventNameEn; + } + + public void setEventNameEn(String eventNameEn) { + this.eventNameEn = eventNameEn; + } + + public String getProcessName() { + return this.processName; + } + + public void setProcessName(String processName) { + this.processName = processName; + } + + public String getMessageId() { + return this.messageId; + } + + public void setMessageId(String messageId) { + this.messageId = messageId; + } + + public String getProcessId() { + return this.processId; + } + + public void setProcessId(String processId) { + this.processId = processId; + } + + public String getOperator() { + return this.operator; + } + + public void setOperator(String operator) { + this.operator = operator; + } + } + } + + @Override + public ListCheckProcessesResponse getInstance(UnmarshallerContext context) { + return ListCheckProcessesResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListCheckProcessesResponseUnmarshaller.java b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListCheckProcessesResponseUnmarshaller.java new file mode 100644 index 0000000000..622f5c347a --- /dev/null +++ b/aliyun-java-sdk-dataworks-public/src/main/java/com/aliyuncs/dataworks_public/transform/v20200518/ListCheckProcessesResponseUnmarshaller.java @@ -0,0 +1,57 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.aliyuncs.dataworks_public.transform.v20200518; + +import java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.dataworks_public.model.v20200518.ListCheckProcessesResponse; +import com.aliyuncs.dataworks_public.model.v20200518.ListCheckProcessesResponse.PagingInfo; +import com.aliyuncs.dataworks_public.model.v20200518.ListCheckProcessesResponse.PagingInfo.CheckProcessesItem; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListCheckProcessesResponseUnmarshaller { + + public static ListCheckProcessesResponse unmarshall(ListCheckProcessesResponse listCheckProcessesResponse, UnmarshallerContext _ctx) { + + listCheckProcessesResponse.setRequestId(_ctx.stringValue("ListCheckProcessesResponse.RequestId")); + + PagingInfo pagingInfo = new PagingInfo(); + pagingInfo.setPageNumber(_ctx.integerValue("ListCheckProcessesResponse.PagingInfo.PageNumber")); + pagingInfo.setPageSize(_ctx.integerValue("ListCheckProcessesResponse.PagingInfo.PageSize")); + pagingInfo.setTotalCount(_ctx.integerValue("ListCheckProcessesResponse.PagingInfo.TotalCount")); + + List checkProcesses = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses.Length"); i++) { + CheckProcessesItem checkProcessesItem = new CheckProcessesItem(); + checkProcessesItem.setProjectId(_ctx.longValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].ProjectId")); + checkProcessesItem.setStatus(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].Status")); + checkProcessesItem.setEventCode(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].EventCode")); + checkProcessesItem.setEventName(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].EventName")); + checkProcessesItem.setEventNameEn(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].EventNameEn")); + checkProcessesItem.setProcessName(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].ProcessName")); + checkProcessesItem.setMessageId(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].MessageId")); + checkProcessesItem.setProcessId(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].ProcessId")); + checkProcessesItem.setOperator(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].Operator")); + + checkProcesses.add(checkProcessesItem); + } + pagingInfo.setCheckProcesses(checkProcesses); + listCheckProcessesResponse.setPagingInfo(pagingInfo); + + return listCheckProcessesResponse; + } +} \ No newline at end of file