/*
* Copyright 2016 Baidu, Inc.
*
* 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.baidubce.services.batch.model;
import com.baidubce.model.AbstractBceResponse;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/**
* Represent the response of ListJobsResponse.
* <p>
* The response contains a array of Batch Job objects.
*/
public class ListJobsResponse extends AbstractBceResponse {
private String marker;
private String nextMarker;
private int maxKeys;
private boolean isTruncated;
private List<Job> jobs;
public String getMarker() {
return marker;
}
public void setMarker(String marker) {
this.marker = marker;
}
public int getMaxKeys() {
return maxKeys;
}
public void setMaxKeys(int maxKeys) {
this.maxKeys = maxKeys;
}
public String getNextMarker() {
return nextMarker;
}
public void setNextMarker(String nextMarker) {
this.nextMarker = nextMarker;
}
public boolean isTruncated() {
return this.isTruncated;
}
@JsonProperty("isTruncated")
public void setTruncated(boolean isTruncated) {
this.isTruncated = isTruncated;
}
public List<Job> getJobs() {
return jobs;
}
public void setJobs(List<Job> jobs) {
this.jobs = jobs;
}
}