-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support CreateDISyncTask with large param.
- Loading branch information
Showing
5 changed files
with
375 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
121 changes: 121 additions & 0 deletions
121
...rc/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListCheckProcessesRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<ListCheckProcessesResponse> { | ||
|
||
|
||
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<ListCheckProcessesResponse> getResponseClass() { | ||
return ListCheckProcessesResponse.class; | ||
} | ||
|
||
} |
193 changes: 193 additions & 0 deletions
193
...c/main/java/com/aliyuncs/dataworks_public/model/v20200518/ListCheckProcessesResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<CheckProcessesItem> 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<CheckProcessesItem> getCheckProcesses() { | ||
return this.checkProcesses; | ||
} | ||
|
||
public void setCheckProcesses(List<CheckProcessesItem> 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; | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
...aliyuncs/dataworks_public/transform/v20200518/ListCheckProcessesResponseUnmarshaller.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<CheckProcessesItem> checkProcesses = new ArrayList<CheckProcessesItem>(); | ||
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; | ||
} | ||
} |