Class UpdateArticleRequest

java.lang.Object
com.intercom.api.resources.articles.requests.UpdateArticleRequest

public final class UpdateArticleRequest extends Object
  • Method Details

    • getArticleId

      public String getArticleId()
      Returns:
      The unique identifier for the article which is given by Intercom.
    • getTitle

      public Optional<String> getTitle()
      Returns:
      The title of the article.For multilingual articles, this will be the title of the default language's content.
    • getDescription

      public Optional<String> getDescription()
      Returns:
      The description of the article. For multilingual articles, this will be the description of the default language's content.
    • getBody

      public Optional<String> getBody()
      Returns:
      The content of the article. For multilingual articles, this will be the body of the default language's content.
    • getAuthorId

      public Optional<Integer> getAuthorId()
      Returns:
      The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace.
    • getState

      Returns:
      Whether the article will be published or will be a draft. Defaults to draft. For multilingual articles, this will be the state of the default language's content.
    • getParentId

      public Optional<String> getParentId()
      Returns:
      The id of the article's parent collection or section. An article without this field stands alone.
    • getParentType

      public Optional<UpdateArticleRequest.ParentType> getParentType()
      Returns:
      The type of parent, which can either be a collection or section.
    • getTranslatedContent

      public Optional<ArticleTranslatedContent> getTranslatedContent()
    • 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 UpdateArticleRequest.ArticleIdStage builder()