Class PaginationLinks


  • public class PaginationLinks
    extends Object
    PaginationLinks
    • Constructor Detail

      • PaginationLinks

        public PaginationLinks()
    • Method Detail

      • first

        public PaginationLinks first​(LinksElement first)
        first
        Parameters:
        first -
        Returns:
        the current PaginationLinks instance, allowing for method chaining
      • getFirst

        public LinksElement getFirst()
        first
        Returns:
        first
      • setFirst

        public void setFirst​(LinksElement first)
        first
        Parameters:
        first -
      • last

        public PaginationLinks last​(LinksElement last)
        last
        Parameters:
        last -
        Returns:
        the current PaginationLinks instance, allowing for method chaining
      • getLast

        public LinksElement getLast()
        last
        Returns:
        last
      • setLast

        public void setLast​(LinksElement last)
        last
        Parameters:
        last -
      • next

        public PaginationLinks next​(LinksElement next)
        next
        Parameters:
        next -
        Returns:
        the current PaginationLinks instance, allowing for method chaining
      • getNext

        public LinksElement getNext()
        next
        Returns:
        next
      • setNext

        public void setNext​(LinksElement next)
        next
        Parameters:
        next -
      • prev

        public PaginationLinks prev​(LinksElement prev)
        prev
        Parameters:
        prev -
        Returns:
        the current PaginationLinks instance, allowing for method chaining
      • getPrev

        public LinksElement getPrev()
        prev
        Returns:
        prev
      • setPrev

        public void setPrev​(LinksElement prev)
        prev
        Parameters:
        prev -
      • self

        public PaginationLinks self​(LinksElement self)
        self
        Parameters:
        self -
        Returns:
        the current PaginationLinks instance, allowing for method chaining
      • getSelf

        public LinksElement getSelf()
        self
        Returns:
        self
      • setSelf

        public void setSelf​(LinksElement self)
        self
        Parameters:
        self -
      • equals

        public boolean equals​(Object o)
        Return true if this PaginationLinks object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

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

        public static PaginationLinks fromJson​(String jsonString)
                                        throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of PaginationLinks given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of PaginationLinks
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to PaginationLinks
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of PaginationLinks to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException