Class PaginatedBranchrestrictions

java.lang.Object
se.bjurr.bitbucketcloud.gen.model.PaginatedBranchrestrictions

@Generated(value="org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date="2025-07-17T16:07:08.420911588+02:00[Europe/Stockholm]", comments="Generator version: 7.14.0") public class PaginatedBranchrestrictions extends Object
A paginated list of branch restriction rules.
  • Constructor Details

    • PaginatedBranchrestrictions

      public PaginatedBranchrestrictions()
  • Method Details

    • size

      Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute. minimum: 0
    • getSize

      @Min(0L) public @Min(0L) Integer getSize()
    • setSize

      public void setSize(Integer size)
    • values

    • getValues

      @Valid @Size(min=0) public @Valid @Size(min=0) Set<@Valid Branchrestriction> getValues()
    • setValues

      public void setValues(Set<Branchrestriction> values)
    • addValuesItem

      public PaginatedBranchrestrictions addValuesItem(Branchrestriction valuesItem)
    • removeValuesItem

      public PaginatedBranchrestrictions removeValuesItem(Branchrestriction valuesItem)
    • pagelen

      public PaginatedBranchrestrictions pagelen(Integer pagelen)
      Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values. minimum: 1
    • getPagelen

      @Min(1L) public @Min(1L) Integer getPagelen()
    • setPagelen

      public void setPagelen(Integer pagelen)
    • next

      public PaginatedBranchrestrictions next(URI next)
      Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
    • getNext

      public URI getNext()
    • setNext

      public void setNext(URI next)
    • page

      Page number of the current results. This is an optional element that is not provided in all responses. minimum: 1
    • getPage

      @Min(1L) public @Min(1L) Integer getPage()
    • setPage

      public void setPage(Integer page)
    • previous

      public PaginatedBranchrestrictions previous(URI previous)
      Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
    • getPrevious

      public URI getPrevious()
    • setPrevious

      public void setPrevious(URI previous)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object