Class ArticleContent

java.lang.Object
com.intercom.api.types.ArticleContent

public final class ArticleContent extends Object
  • Method Details

    • getType

      public String getType()
      Returns:
      The type of object - article_content .
    • getTitle

      public String getTitle()
      Returns:
      The title of the article.
    • getDescription

      public String getDescription()
      Returns:
      The description of the article.
    • getBody

      public String getBody()
      Returns:
      The body of the article.
    • getAuthorId

      public int getAuthorId()
      Returns:
      The ID of the author of the article.
    • getState

      public ArticleContent.State getState()
      Returns:
      Whether the article is published or is a draft .
    • getCreatedAt

      public Optional<Integer> getCreatedAt()
      Returns:
      The time when the article was created (seconds).
    • getUpdatedAt

      public Optional<Integer> getUpdatedAt()
      Returns:
      The time when the article was last updated (seconds).
    • getUrl

      public Optional<String> getUrl()
      Returns:
      The URL of the article.
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static ArticleContent.TitleStage builder()