Package zendesk.support
Class SearchArticle
- java.lang.Object
-
- zendesk.support.SearchArticle
-
- All Implemented Interfaces:
- java.io.Serializable
public class SearchArticle extends java.lang.Object implements java.io.SerializableThis class will wrap aArticle.This wrapper class will add
CategoryandSectioninformation to anArticle.This class is not intended to be used directly in serialisation and deserialisation so it uses the m prefix for fields.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description SearchArticle(Article article, Section section, Category category)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description ArticlegetArticle()Gets the wrappedArticleobject.CategorygetCategory()Gets the category that this article belongs in.SectiongetSection()Gets the section that this article belongs in.
-
-
-
Method Detail
-
getArticle
public Article getArticle()
Gets the wrappedArticleobject.- Returns:
- the original
Articleobject
-
getSection
public Section getSection()
Gets the section that this article belongs in.- Returns:
- The section that the article belongs in or null if there was an issue in determining this.
-
getCategory
public Category getCategory()
Gets the category that this article belongs in.- Returns:
- The category that this article belongs in or null if there was an issue in determining this.
-
-