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