org.gs4tr.gcc.restclient.request.TasksRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gcc-restclient Show documentation
Show all versions of gcc-restclient Show documentation
GlobalLink Connect Cloud java is a library to connect your system to GlobalLink Connect Cloud REST API.
package org.gs4tr.gcc.restclient.request;
import java.util.Arrays;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
public class TasksRequest extends GCRequest {
@JsonProperty("task_ids")
private List taskIds;
public TasksRequest(Long taskId) {
this.setTaskIds(Arrays.asList(taskId));
}
public TasksRequest(List taskIds) {
this.setTaskIds(taskIds);
}
public List getTaskIds() {
return taskIds;
}
public void setTaskIds(List taskIds) {
this.taskIds = taskIds;
}
}