io.securecodebox.persistence.defectdojo.model.PaginatedResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of defectdojo-client Show documentation
Show all versions of defectdojo-client Show documentation
This library helps with interacting with the REST API of DefectDojo.
The newest version!
// SPDX-FileCopyrightText: the secureCodeBox authors
//
// SPDX-License-Identifier: Apache-2.0
package io.securecodebox.persistence.defectdojo.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;
/**
* This class wraps the paginated results from DefectDojo
*
* @param type of results
*/
@Data
public final class PaginatedResult {
/**
* Total number of results
*/
@JsonProperty
private int count;
/**
* URL to the result's next page
*
* This is {@code null} if there is no next page.
*
*/
@JsonProperty
private String next;
/**
* URL to the result's previous page
*
* This is {@code null} if there is no previous page.
*
*/
@JsonProperty
private String previous;
/**
* Result for current page
*
* Never {@code null}.
*
*/
@JsonProperty
private List results = new ArrayList<>();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy