Package zendesk.support
Class ResponseWrapper
- java.lang.Object
-
- zendesk.support.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 responsejava.lang.String
getNextPage()
Gets the API URL of the next pagejava.lang.String
getPreviousPage()
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
-
-