Interface UpdateArticleRequest._FinalStage
-
- All Known Implementing Classes:
UpdateArticleRequest.Builder
- Enclosing class:
- UpdateArticleRequest
public static interface UpdateArticleRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateArticleRequest._FinalStageauthorId(java.lang.Integer authorId)UpdateArticleRequest._FinalStageauthorId(java.util.Optional<java.lang.Integer> authorId)The id of the author of the article.UpdateArticleRequest._FinalStagebody(java.lang.String body)UpdateArticleRequest._FinalStagebody(java.util.Optional<java.lang.String> body)The content of the article.UpdateArticleRequestbuild()UpdateArticleRequest._FinalStagedescription(java.lang.String description)UpdateArticleRequest._FinalStagedescription(java.util.Optional<java.lang.String> description)The description of the article.UpdateArticleRequest._FinalStageparentId(java.lang.String parentId)UpdateArticleRequest._FinalStageparentId(java.util.Optional<java.lang.String> parentId)The id of the article's parent collection or section.UpdateArticleRequest._FinalStageparentType(java.lang.String parentType)UpdateArticleRequest._FinalStageparentType(java.util.Optional<java.lang.String> parentType)The type of parent, which can either be acollectionorsection.UpdateArticleRequest._FinalStagestate(UpdateArticleRequest.State state)UpdateArticleRequest._FinalStagestate(java.util.Optional<UpdateArticleRequest.State> state)Whether the article will bepublishedor will be adraft.UpdateArticleRequest._FinalStagetitle(java.lang.String title)UpdateArticleRequest._FinalStagetitle(java.util.Optional<java.lang.String> title)The title of the article.For multilingual articles, this will be the title of the default language's content.UpdateArticleRequest._FinalStagetranslatedContent(ArticleTranslatedContent translatedContent)UpdateArticleRequest._FinalStagetranslatedContent(java.util.Optional<ArticleTranslatedContent> translatedContent)
-
-
-
Method Detail
-
build
UpdateArticleRequest build()
-
title
UpdateArticleRequest._FinalStage title(java.util.Optional<java.lang.String> title)
The title of the article.For multilingual articles, this will be the title of the default language's content.
-
title
UpdateArticleRequest._FinalStage title(java.lang.String title)
-
description
UpdateArticleRequest._FinalStage description(java.util.Optional<java.lang.String> description)
The description of the article. For multilingual articles, this will be the description of the default language's content.
-
description
UpdateArticleRequest._FinalStage description(java.lang.String description)
-
body
UpdateArticleRequest._FinalStage body(java.util.Optional<java.lang.String> body)
The content of the article. For multilingual articles, this will be the body of the default language's content.
-
body
UpdateArticleRequest._FinalStage body(java.lang.String body)
-
authorId
UpdateArticleRequest._FinalStage authorId(java.util.Optional<java.lang.Integer> 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.
-
authorId
UpdateArticleRequest._FinalStage authorId(java.lang.Integer authorId)
-
state
UpdateArticleRequest._FinalStage state(java.util.Optional<UpdateArticleRequest.State> 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.
-
state
UpdateArticleRequest._FinalStage state(UpdateArticleRequest.State state)
-
parentId
UpdateArticleRequest._FinalStage parentId(java.util.Optional<java.lang.String> parentId)
The id of the article's parent collection or section. An article without this field stands alone.
-
parentId
UpdateArticleRequest._FinalStage parentId(java.lang.String parentId)
-
parentType
UpdateArticleRequest._FinalStage parentType(java.util.Optional<java.lang.String> parentType)
The type of parent, which can either be a
collectionorsection.
-
parentType
UpdateArticleRequest._FinalStage parentType(java.lang.String parentType)
-
translatedContent
UpdateArticleRequest._FinalStage translatedContent(java.util.Optional<ArticleTranslatedContent> translatedContent)
-
translatedContent
UpdateArticleRequest._FinalStage translatedContent(ArticleTranslatedContent translatedContent)
-
-