Class PaginatedEnvironments

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

@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 PaginatedEnvironments extends Object
A paged list of environments
  • Constructor Details

    • PaginatedEnvironments

      public PaginatedEnvironments()
  • Method Details

    • pagelen

      public PaginatedEnvironments 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.
    • getPagelen

      public Integer getPagelen()
    • setPagelen

      public void setPagelen(Integer pagelen)
    • size

      public PaginatedEnvironments size(Integer 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.
    • getSize

      public Integer getSize()
    • setSize

      public void setSize(Integer size)
    • next

      public PaginatedEnvironments 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)
    • values

      The values of the current page.
    • getValues

      @Valid @Size(min=0) public @Valid @Size(min=0) List<@Valid DeploymentEnvironment> getValues()
    • setValues

      public void setValues(List<DeploymentEnvironment> values)
    • addValuesItem

      public PaginatedEnvironments addValuesItem(DeploymentEnvironment valuesItem)
    • removeValuesItem

      public PaginatedEnvironments removeValuesItem(DeploymentEnvironment valuesItem)
    • previous

      public PaginatedEnvironments 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)
    • page

      public PaginatedEnvironments page(Integer page)
      Page number of the current results. This is an optional element that is not provided in all responses.
    • getPage

      public Integer getPage()
    • setPage

      public void setPage(Integer page)
    • 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