Package com.zendesk.sdk.model.helpcenter
Class ArticleResponse
- java.lang.Object
-
- com.zendesk.sdk.model.helpcenter.ArticleResponse
-
public class ArticleResponse extends java.lang.Object
This is a class model for a response for an Article. This object will be created byHelpCenterProvider
- See Also:
- Show Article API documentation
-
-
Constructor Summary
Constructors Constructor and Description ArticleResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Article
getArticle()
Gets the article contained in this responsejava.util.List<User>
getUsers()
Gets a list of theUser
returned as a result of the possible side load which can be included as part of the methodHelpCenterService.getArticle(String, String, Long, String)
}
-
-
-
Method Detail
-
getArticle
public Article getArticle()
Gets the article contained in this response- Returns:
- the article
-
getUsers
public java.util.List<User> getUsers()
Gets a list of theUser
returned as a result of the possible side load which can be included as part of the methodHelpCenterService.getArticle(String, String, Long, String)
}- Returns:
- The list of users. This will be an empty list if there were no users, either as a result of not being side loaded or no user is found. The list returned is a copy.
-
-