io.apicurio.registry.rest.v3.beans.BranchSearchResults Maven / Gradle / Ivy
The newest version!
package io.apicurio.registry.rest.v3.beans;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* Describes the response received when searching for branches.
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"branches",
"count"
})
@Generated("jsonschema2pojo")
@io.quarkus.runtime.annotations.RegisterForReflection
@lombok.experimental.SuperBuilder
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.EqualsAndHashCode
@lombok.ToString(callSuper = true)
public class BranchSearchResults {
/**
* The branches returned in the result set.
* (Required)
*
*/
@JsonProperty("branches")
@JsonPropertyDescription("The branches returned in the result set.")
private List branches = new ArrayList();
/**
* The total number of branches that matched the query that produced the result set (may be
* more than the number of branches in the result set).
* (Required)
*
*/
@JsonProperty("count")
@JsonPropertyDescription("The total number of branches that matched the query that produced the result set (may be \nmore than the number of branches in the result set).")
private Integer count;
/**
* The branches returned in the result set.
* (Required)
*
*/
@JsonProperty("branches")
public List getBranches() {
return branches;
}
/**
* The branches returned in the result set.
* (Required)
*
*/
@JsonProperty("branches")
public void setBranches(List branches) {
this.branches = branches;
}
/**
* The total number of branches that matched the query that produced the result set (may be
* more than the number of branches in the result set).
* (Required)
*
*/
@JsonProperty("count")
public Integer getCount() {
return count;
}
/**
* The total number of branches that matched the query that produced the result set (may be
* more than the number of branches in the result set).
* (Required)
*
*/
@JsonProperty("count")
public void setCount(Integer count) {
this.count = count;
}
}