Class ResponseWrapper

  • Direct Known Subclasses:
    CommentsResponse


    public abstract class ResponseWrapper
    extends java.lang.Object
    Wrapper class to encapsulate a generic response received from Zendesk service.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ResponseWrapper() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Integer getCount()
      Gets the count of the resources in this response
      java.lang.String getNextPage()
      Gets the API URL of the next page
      java.lang.String getPreviousPage()
      Gets the API URL of the previous page
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResponseWrapper

        public ResponseWrapper()
    • Method Detail

      • getCount

        public java.lang.Integer getCount()
        Gets the count of the resources in this response
        Returns:
        the count of the resources in this response
      • getNextPage

        public java.lang.String getNextPage()
        Gets the API URL of the next page
        Returns:
        the API URL of the next page
      • getPreviousPage

        public java.lang.String getPreviousPage()
        Gets the API URL of the previous page
        Returns:
        the API URL of the previous page