Skip to content

Commit 92ddfcf

Browse files
committed
Support CreateDISyncTask with large param.
1 parent 087e55b commit 92ddfcf

File tree

5 files changed

+375
-1
lines changed

5 files changed

+375
-1
lines changed

aliyun-java-sdk-dataworks-public/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-11-21 Version: 6.1.7
2+
- Support CreateDISyncTask with large param.
3+
14
2024-10-17 Version: 5.1.11
25
- Generated 2020-05-18 for `dataworks-public`.
36

aliyun-java-sdk-dataworks-public/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-dataworks-public</artifactId>
66
<packaging>jar</packaging>
7-
<version>5.1.11</version>
7+
<version>6.1.7</version>
88
<name>aliyun-java-sdk-dataworks-public</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.dataworks_public.model.v20200518;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.ProtocolType;
19+
import com.aliyuncs.http.MethodType;
20+
import com.aliyuncs.dataworks_public.Endpoint;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class ListCheckProcessesRequest extends RpcAcsRequest<ListCheckProcessesResponse> {
27+
28+
29+
private String eventCode;
30+
31+
private String operator;
32+
33+
private Integer pageNumber;
34+
35+
private Integer pageSize;
36+
37+
private Long projectId;
38+
39+
private String status;
40+
public ListCheckProcessesRequest() {
41+
super("dataworks-public", "2020-05-18", "ListCheckProcesses");
42+
setProtocol(ProtocolType.HTTPS);
43+
setMethod(MethodType.POST);
44+
try {
45+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
46+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
47+
} catch (Exception e) {}
48+
}
49+
50+
public String getEventCode() {
51+
return this.eventCode;
52+
}
53+
54+
public void setEventCode(String eventCode) {
55+
this.eventCode = eventCode;
56+
if(eventCode != null){
57+
putBodyParameter("EventCode", eventCode);
58+
}
59+
}
60+
61+
public String getOperator() {
62+
return this.operator;
63+
}
64+
65+
public void setOperator(String operator) {
66+
this.operator = operator;
67+
if(operator != null){
68+
putBodyParameter("Operator", operator);
69+
}
70+
}
71+
72+
public Integer getPageNumber() {
73+
return this.pageNumber;
74+
}
75+
76+
public void setPageNumber(Integer pageNumber) {
77+
this.pageNumber = pageNumber;
78+
if(pageNumber != null){
79+
putBodyParameter("PageNumber", pageNumber.toString());
80+
}
81+
}
82+
83+
public Integer getPageSize() {
84+
return this.pageSize;
85+
}
86+
87+
public void setPageSize(Integer pageSize) {
88+
this.pageSize = pageSize;
89+
if(pageSize != null){
90+
putBodyParameter("PageSize", pageSize.toString());
91+
}
92+
}
93+
94+
public Long getProjectId() {
95+
return this.projectId;
96+
}
97+
98+
public void setProjectId(Long projectId) {
99+
this.projectId = projectId;
100+
if(projectId != null){
101+
putBodyParameter("ProjectId", projectId.toString());
102+
}
103+
}
104+
105+
public String getStatus() {
106+
return this.status;
107+
}
108+
109+
public void setStatus(String status) {
110+
this.status = status;
111+
if(status != null){
112+
putBodyParameter("Status", status);
113+
}
114+
}
115+
116+
@Override
117+
public Class<ListCheckProcessesResponse> getResponseClass() {
118+
return ListCheckProcessesResponse.class;
119+
}
120+
121+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.dataworks_public.model.v20200518;
16+
17+
import java.util.List;
18+
import com.aliyuncs.AcsResponse;
19+
import com.aliyuncs.dataworks_public.transform.v20200518.ListCheckProcessesResponseUnmarshaller;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class ListCheckProcessesResponse extends AcsResponse {
27+
28+
private String requestId;
29+
30+
private PagingInfo pagingInfo;
31+
32+
public String getRequestId() {
33+
return this.requestId;
34+
}
35+
36+
public void setRequestId(String requestId) {
37+
this.requestId = requestId;
38+
}
39+
40+
public PagingInfo getPagingInfo() {
41+
return this.pagingInfo;
42+
}
43+
44+
public void setPagingInfo(PagingInfo pagingInfo) {
45+
this.pagingInfo = pagingInfo;
46+
}
47+
48+
public static class PagingInfo {
49+
50+
private Integer pageNumber;
51+
52+
private Integer pageSize;
53+
54+
private Integer totalCount;
55+
56+
private List<CheckProcessesItem> checkProcesses;
57+
58+
public Integer getPageNumber() {
59+
return this.pageNumber;
60+
}
61+
62+
public void setPageNumber(Integer pageNumber) {
63+
this.pageNumber = pageNumber;
64+
}
65+
66+
public Integer getPageSize() {
67+
return this.pageSize;
68+
}
69+
70+
public void setPageSize(Integer pageSize) {
71+
this.pageSize = pageSize;
72+
}
73+
74+
public Integer getTotalCount() {
75+
return this.totalCount;
76+
}
77+
78+
public void setTotalCount(Integer totalCount) {
79+
this.totalCount = totalCount;
80+
}
81+
82+
public List<CheckProcessesItem> getCheckProcesses() {
83+
return this.checkProcesses;
84+
}
85+
86+
public void setCheckProcesses(List<CheckProcessesItem> checkProcesses) {
87+
this.checkProcesses = checkProcesses;
88+
}
89+
90+
public static class CheckProcessesItem {
91+
92+
private Long projectId;
93+
94+
private String status;
95+
96+
private String eventCode;
97+
98+
private String eventName;
99+
100+
private String eventNameEn;
101+
102+
private String processName;
103+
104+
private String messageId;
105+
106+
private String processId;
107+
108+
private String operator;
109+
110+
public Long getProjectId() {
111+
return this.projectId;
112+
}
113+
114+
public void setProjectId(Long projectId) {
115+
this.projectId = projectId;
116+
}
117+
118+
public String getStatus() {
119+
return this.status;
120+
}
121+
122+
public void setStatus(String status) {
123+
this.status = status;
124+
}
125+
126+
public String getEventCode() {
127+
return this.eventCode;
128+
}
129+
130+
public void setEventCode(String eventCode) {
131+
this.eventCode = eventCode;
132+
}
133+
134+
public String getEventName() {
135+
return this.eventName;
136+
}
137+
138+
public void setEventName(String eventName) {
139+
this.eventName = eventName;
140+
}
141+
142+
public String getEventNameEn() {
143+
return this.eventNameEn;
144+
}
145+
146+
public void setEventNameEn(String eventNameEn) {
147+
this.eventNameEn = eventNameEn;
148+
}
149+
150+
public String getProcessName() {
151+
return this.processName;
152+
}
153+
154+
public void setProcessName(String processName) {
155+
this.processName = processName;
156+
}
157+
158+
public String getMessageId() {
159+
return this.messageId;
160+
}
161+
162+
public void setMessageId(String messageId) {
163+
this.messageId = messageId;
164+
}
165+
166+
public String getProcessId() {
167+
return this.processId;
168+
}
169+
170+
public void setProcessId(String processId) {
171+
this.processId = processId;
172+
}
173+
174+
public String getOperator() {
175+
return this.operator;
176+
}
177+
178+
public void setOperator(String operator) {
179+
this.operator = operator;
180+
}
181+
}
182+
}
183+
184+
@Override
185+
public ListCheckProcessesResponse getInstance(UnmarshallerContext context) {
186+
return ListCheckProcessesResponseUnmarshaller.unmarshall(this, context);
187+
}
188+
189+
@Override
190+
public boolean checkShowJsonItemName() {
191+
return false;
192+
}
193+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.dataworks_public.transform.v20200518;
16+
17+
import java.util.ArrayList;
18+
import java.util.List;
19+
20+
import com.aliyuncs.dataworks_public.model.v20200518.ListCheckProcessesResponse;
21+
import com.aliyuncs.dataworks_public.model.v20200518.ListCheckProcessesResponse.PagingInfo;
22+
import com.aliyuncs.dataworks_public.model.v20200518.ListCheckProcessesResponse.PagingInfo.CheckProcessesItem;
23+
import com.aliyuncs.transform.UnmarshallerContext;
24+
25+
26+
public class ListCheckProcessesResponseUnmarshaller {
27+
28+
public static ListCheckProcessesResponse unmarshall(ListCheckProcessesResponse listCheckProcessesResponse, UnmarshallerContext _ctx) {
29+
30+
listCheckProcessesResponse.setRequestId(_ctx.stringValue("ListCheckProcessesResponse.RequestId"));
31+
32+
PagingInfo pagingInfo = new PagingInfo();
33+
pagingInfo.setPageNumber(_ctx.integerValue("ListCheckProcessesResponse.PagingInfo.PageNumber"));
34+
pagingInfo.setPageSize(_ctx.integerValue("ListCheckProcessesResponse.PagingInfo.PageSize"));
35+
pagingInfo.setTotalCount(_ctx.integerValue("ListCheckProcessesResponse.PagingInfo.TotalCount"));
36+
37+
List<CheckProcessesItem> checkProcesses = new ArrayList<CheckProcessesItem>();
38+
for (int i = 0; i < _ctx.lengthValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses.Length"); i++) {
39+
CheckProcessesItem checkProcessesItem = new CheckProcessesItem();
40+
checkProcessesItem.setProjectId(_ctx.longValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].ProjectId"));
41+
checkProcessesItem.setStatus(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].Status"));
42+
checkProcessesItem.setEventCode(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].EventCode"));
43+
checkProcessesItem.setEventName(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].EventName"));
44+
checkProcessesItem.setEventNameEn(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].EventNameEn"));
45+
checkProcessesItem.setProcessName(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].ProcessName"));
46+
checkProcessesItem.setMessageId(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].MessageId"));
47+
checkProcessesItem.setProcessId(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].ProcessId"));
48+
checkProcessesItem.setOperator(_ctx.stringValue("ListCheckProcessesResponse.PagingInfo.CheckProcesses["+ i +"].Operator"));
49+
50+
checkProcesses.add(checkProcessesItem);
51+
}
52+
pagingInfo.setCheckProcesses(checkProcesses);
53+
listCheckProcessesResponse.setPagingInfo(pagingInfo);
54+
55+
return listCheckProcessesResponse;
56+
}
57+
}

0 commit comments

Comments
 (0)