Package zendesk.support
Class ResponseWrapper
- java.lang.Object
-
- zendesk.support.ResponseWrapper
-
- Direct Known Subclasses:
- CommentsResponse
public abstract class ResponseWrapper extends java.lang.ObjectWrapper 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.IntegergetCount()Gets the count of the resources in this responsejava.lang.StringgetNextPage()Gets the API URL of the next pagejava.lang.StringgetPreviousPage()Gets the API URL of the previous page
-
-
-
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
-
-