@@ -0,0 +1,1696 @@
+/**%0A * Copyright 2016, RadiantBlue Technologies, Inc.%0A * %0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A * %0A *   http://www.apache.org/licenses/LICENSE-2.0%0A * %0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A **/%0Apackage model.response;%0A%0Aimport io.swagger.annotations.ApiModel;%0Aimport io.swagger.annotations.ApiModelProperty;%0A%0Aimport java.util.List;%0A%0Aimport model.job.Job;%0A%0A/**%0A * Represents the response that the Gateway returns to the user when the user%0A * has requested to see the information on a list of Jobs currently held by the%0A * Piazza Job Manager.%0A * %0A * @author Patrick.Doody%0A * %0A */%0A@ApiModel(%22JobResults%22)%0Apublic class JobListResponse extends PiazzaResponse %7B%0A%0A%09@ApiModelProperty(value = %22The array of Job results.%22)%0A%09public List%3CJob%3E data;%0A%0A%09@ApiModelProperty(value = %22The pagination metadata for this query.%22)%0A%09public Pagination pagination;%0A%0A%09public JobListResponse() %7B%0A%0A%09%7D%0A%0A%09public JobListResponse(List%3CJob%3E jobs) %7B%0A%09%09this.data = jobs;%0A%09%7D%0A%0A%09public JobListResponse(List%3CJob%3E deployments, Pagination pagination) %7B%0A%09%09this(deployments);%0A%09%09this.pagination = pagination;%0A%09%7D%0A%0A%09/**%0A%09 * Returns the list of Jobs held by this response object%0A%09 * %0A%09 * @return The list%0A%09 */%0A%09public List%3CJob%3E getData() %7B%0A%09%09return data;%0A%09%7D%0A%0A%09public Pagination getPagination() %7B%0A%09%09return pagination;%0A%09%7D%0A%7D

Standardize JobList response with a Model object