Interface Article._FinalStage
-
- All Known Implementing Classes:
Article.Builder
- Enclosing class:
- Article
public static interface Article._FinalStage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Article._FinalStagebody(java.lang.String body)Article._FinalStagebody(java.util.Optional<java.lang.String> body)The body of the article in HTML.Articlebuild()Article._FinalStagedefaultLocale(java.lang.String defaultLocale)Article._FinalStagedefaultLocale(java.util.Optional<java.lang.String> defaultLocale)The default locale of the help center.Article._FinalStagedescription(java.lang.String description)Article._FinalStagedescription(java.util.Optional<java.lang.String> description)The description of the article.Article._FinalStageparentId(java.lang.Integer parentId)Article._FinalStageparentId(java.util.Optional<java.lang.Integer> parentId)The id of the article's parent collection or section.Article._FinalStageparentIds(java.util.List<java.lang.Integer> parentIds)Article._FinalStageparentIds(java.util.Optional<java.util.List<java.lang.Integer>> parentIds)The ids of the article's parent collections or sections.Article._FinalStageparentType(java.lang.String parentType)Article._FinalStageparentType(java.util.Optional<java.lang.String> parentType)The type of parent, which can either be acollectionorsection.Article._FinalStagestatistics(ArticleStatistics statistics)Article._FinalStagestatistics(java.util.Optional<ArticleStatistics> statistics)Article._FinalStagetranslatedContent(ArticleTranslatedContent translatedContent)Article._FinalStagetranslatedContent(java.util.Optional<ArticleTranslatedContent> translatedContent)Article._FinalStagetype(java.lang.String type)Article._FinalStagetype(java.util.Optional<java.lang.String> type)The type of object -article.Article._FinalStageurl(java.lang.String url)Article._FinalStageurl(java.util.Optional<java.lang.String> url)The URL of the article.
-
-
-
Method Detail
-
build
Article build()
-
type
Article._FinalStage type(java.util.Optional<java.lang.String> type)
The type of object -
article.
-
type
Article._FinalStage type(java.lang.String type)
-
description
Article._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
Article._FinalStage description(java.lang.String description)
-
body
Article._FinalStage body(java.util.Optional<java.lang.String> body)
The body of the article in HTML. For multilingual articles, this will be the body of the default language's content.
-
body
Article._FinalStage body(java.lang.String body)
-
url
Article._FinalStage url(java.util.Optional<java.lang.String> url)
The URL of the article. For multilingual articles, this will be the URL of the default language's content.
-
url
Article._FinalStage url(java.lang.String url)
-
parentId
Article._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
Article._FinalStage parentId(java.lang.Integer parentId)
-
parentIds
Article._FinalStage parentIds(java.util.Optional<java.util.List<java.lang.Integer>> parentIds)
The ids of the article's parent collections or sections. An article without this field stands alone.
-
parentIds
Article._FinalStage parentIds(java.util.List<java.lang.Integer> parentIds)
-
parentType
Article._FinalStage parentType(java.util.Optional<java.lang.String> parentType)
The type of parent, which can either be a
collectionorsection.
-
parentType
Article._FinalStage parentType(java.lang.String parentType)
-
defaultLocale
Article._FinalStage defaultLocale(java.util.Optional<java.lang.String> defaultLocale)
The default locale of the help center. This field is only returned for multilingual help centers.
-
defaultLocale
Article._FinalStage defaultLocale(java.lang.String defaultLocale)
-
translatedContent
Article._FinalStage translatedContent(java.util.Optional<ArticleTranslatedContent> translatedContent)
-
translatedContent
Article._FinalStage translatedContent(ArticleTranslatedContent translatedContent)
-
statistics
Article._FinalStage statistics(java.util.Optional<ArticleStatistics> statistics)
-
statistics
Article._FinalStage statistics(ArticleStatistics statistics)
-
-