Package com.zendesk.sdk.model.helpcenter
Class ArticlesListResponse
- java.lang.Object
-
- com.zendesk.sdk.model.helpcenter.ArticlesListResponse
-
- All Implemented Interfaces:
- ArticlesResponse
public class ArticlesListResponse extends java.lang.Object implements ArticlesResponse
This is a class model for a response for requesting articles. This object will be created byHelpCenterProvider- See Also:
- Help Center REST APIs
-
-
Constructor Summary
Constructors Constructor and Description ArticlesListResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.List<Article>getArticles()Gets a list of theArticlereturned as a result ofHelpCenterService.searchArticles(String, String, String, String, String, String, String, Integer, Integer)java.util.List<Category>getCategories()Gets a list ofCategoryreturned as a result of specifyingjava.lang.StringgetNextPage()Gets the URL of the next page of resultsjava.lang.StringgetPreviousPage()Gets the URL of the previous page of resultsjava.util.List<Section>getSections()Gets a list ofSectionreturned as a result of specifyingjava.util.List<User>getUsers()Gets a list ofUserreturned as a result of specifying
-
-
-
Method Detail
-
getArticles
public java.util.List<Article> getArticles()
Description copied from interface:ArticlesResponseGets a list of theArticlereturned as a result ofHelpCenterService.searchArticles(String, String, String, String, String, String, String, Integer, Integer)- Specified by:
getArticlesin interfaceArticlesResponse- Returns:
- The list of articles. This will be an empty list if there were no results.
-
getCategories
public java.util.List<Category> getCategories()
Description copied from interface:ArticlesResponseGets a list ofCategoryreturned as a result of specifyingcategories
as a part of a sideload operation when callingHelpCenterService.searchArticles(String, String, String, String, String, String, String, Integer, Integer)orHelpCenterService.listArticles(String, String, String, String, String, String, Integer, Integer)- Specified by:
getCategoriesin interfaceArticlesResponse- Returns:
- The list of categories. This will be an empty list if there were no results or if categories were not side-loaded.
-
getSections
public java.util.List<Section> getSections()
Description copied from interface:ArticlesResponseGets a list ofSectionreturned as a result of specifyingsections
as a part of a sideload operation when callingHelpCenterService.searchArticles(String, String, String, String, String, String, String, Integer, Integer)orHelpCenterService.listArticles(String, String, String, String, String, String, Integer, Integer)- Specified by:
getSectionsin interfaceArticlesResponse- Returns:
- The list of sections. This will be an empty list if there were no results or if sections were not side-loaded.
-
getUsers
public java.util.List<User> getUsers()
Description copied from interface:ArticlesResponseGets a list ofUserreturned as a result of specifyingusers
as a part of a sideload operation when callingHelpCenterService.searchArticles(String, String, String, String, String, String, String, Integer, Integer)orHelpCenterService.listArticles(String, String, String, String, String, String, Integer, Integer)- Specified by:
getUsersin interfaceArticlesResponse- Returns:
- The list of users. This will be an empty list if there were no results or if users were not side-loaded.
-
getNextPage
public java.lang.String getNextPage()
Gets the URL of the next page of resultsIf this method returns null it means there is no next page for the given parameters specified in a
HelpCenterSearch- Returns:
- The URL of the next page or null if there is no next page
- See Also:
- Pagination
-
getPreviousPage
public java.lang.String getPreviousPage()
Gets the URL of the previous page of resultsIf this method returns null it means you are on the first page.
- Returns:
- The URL of the previous page of results or null if this is the first page
- See Also:
- Pagination
-
-