Class SimpleArticle

  • All Implemented Interfaces:
    java.io.Serializable


    public class SimpleArticle
    extends java.lang.Object
    implements java.io.Serializable
    This is a model class for an simplified Article object that will be created by the HelpCenterProvider#getSuggestedArticles(SuggestedArticleSearch, ZendeskCallback).
    See Also:
    Articles, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      SimpleArticle(java.lang.Long id, java.lang.String title)
      Initialise a SimpleArticle
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Long getId()
      Get the id of an article.
      java.lang.String getTitle()
      Get the title of an article.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleArticle

        public SimpleArticle(java.lang.Long id,
                             java.lang.String title)
        Initialise a SimpleArticle
        Parameters:
        id - The article id
        title - The article title
    • Method Detail

      • getId

        public java.lang.Long getId()
        Get the id of an article.
        Returns:
        The article id.
      • getTitle

        public java.lang.String getTitle()
        Get the title of an article.
        Returns:
        The article title.