Class UpdateArticleRequest.Builder
- All Implemented Interfaces:
UpdateArticleRequest._FinalStage,UpdateArticleRequest.ArticleIdStage
- Enclosing class:
UpdateArticleRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier for the article which is given by Intercom.The id of the author of the article.The content of the article.build()description(String description) The description of the article.description(Optional<String> description) from(UpdateArticleRequest other) The id of the article's parent collection or section.parentType(UpdateArticleRequest.ParentType parentType) The type of parent, which can either be acollectionorsection.parentType(Optional<UpdateArticleRequest.ParentType> parentType) state(UpdateArticleRequest.State state) Whether the article will bepublishedor will be adraft.state(Optional<UpdateArticleRequest.State> state) The title of the article.For multilingual articles, this will be the title of the default language's content.translatedContent(ArticleTranslatedContent translatedContent) translatedContent(Optional<ArticleTranslatedContent> translatedContent)
-
Method Details
-
from
- Specified by:
fromin interfaceUpdateArticleRequest.ArticleIdStage
-
articleId
The unique identifier for the article which is given by Intercom.
- Specified by:
articleIdin interfaceUpdateArticleRequest.ArticleIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
translatedContent
public UpdateArticleRequest._FinalStage translatedContent(ArticleTranslatedContent translatedContent) - Specified by:
translatedContentin interfaceUpdateArticleRequest._FinalStage
-
translatedContent
public UpdateArticleRequest._FinalStage translatedContent(Optional<ArticleTranslatedContent> translatedContent) - Specified by:
translatedContentin interfaceUpdateArticleRequest._FinalStage
-
parentType
The type of parent, which can either be a
collectionorsection.- Specified by:
parentTypein interfaceUpdateArticleRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
parentType
public UpdateArticleRequest._FinalStage parentType(Optional<UpdateArticleRequest.ParentType> parentType) - Specified by:
parentTypein interfaceUpdateArticleRequest._FinalStage
-
parentId
The id of the article's parent collection or section. An article without this field stands alone.
- Specified by:
parentIdin interfaceUpdateArticleRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
parentId
- Specified by:
parentIdin interfaceUpdateArticleRequest._FinalStage
-
state
Whether the article will be
publishedor will be adraft. Defaults to draft. For multilingual articles, this will be the state of the default language's content.- Specified by:
statein interfaceUpdateArticleRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
state
- Specified by:
statein interfaceUpdateArticleRequest._FinalStage
-
authorId
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.
- Specified by:
authorIdin interfaceUpdateArticleRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
authorId
- Specified by:
authorIdin interfaceUpdateArticleRequest._FinalStage
-
body
The content of the article. For multilingual articles, this will be the body of the default language's content.
- Specified by:
bodyin interfaceUpdateArticleRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
- Specified by:
bodyin interfaceUpdateArticleRequest._FinalStage
-
description
The description of the article. For multilingual articles, this will be the description of the default language's content.
- Specified by:
descriptionin interfaceUpdateArticleRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
- Specified by:
descriptionin interfaceUpdateArticleRequest._FinalStage
-
title
The title of the article.For multilingual articles, this will be the title of the default language's content.
- Specified by:
titlein interfaceUpdateArticleRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
title
- Specified by:
titlein interfaceUpdateArticleRequest._FinalStage
-
build
- Specified by:
buildin interfaceUpdateArticleRequest._FinalStage
-