Interface Collection._FinalStage
-
- All Known Implementing Classes:
Collection.Builder
- Enclosing class:
- Collection
public static interface Collection._FinalStage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collectionbuild()Collection._FinalStagedefaultLocale(java.lang.String defaultLocale)Collection._FinalStagedefaultLocale(java.util.Optional<java.lang.String> defaultLocale)The default locale of the help center.Collection._FinalStagedescription(java.lang.String description)Collection._FinalStagedescription(java.util.Optional<java.lang.String> description)The description of the collection.Collection._FinalStagehelpCenterId(java.lang.Integer helpCenterId)Collection._FinalStagehelpCenterId(java.util.Optional<java.lang.Integer> helpCenterId)The id of the help center the collection is in.Collection._FinalStageicon(java.lang.String icon)Collection._FinalStageicon(java.util.Optional<java.lang.String> icon)The icon of the collection.Collection._FinalStageparentId(java.lang.String parentId)Collection._FinalStageparentId(java.util.Optional<java.lang.String> parentId)The id of the parent collection.Collection._FinalStagetranslatedContent(GroupTranslatedContent translatedContent)Collection._FinalStagetranslatedContent(java.util.Optional<GroupTranslatedContent> translatedContent)Collection._FinalStageupdatedAt(java.lang.Integer updatedAt)Collection._FinalStageupdatedAt(java.util.Optional<java.lang.Integer> updatedAt)The time when the article was last updated (seconds).Collection._FinalStageurl(java.lang.String url)Collection._FinalStageurl(java.util.Optional<java.lang.String> url)The URL of the collection.
-
-
-
Method Detail
-
build
Collection build()
-
description
Collection._FinalStage description(java.util.Optional<java.lang.String> description)
The description of the collection. For multilingual help centers, this will be the description of the collection for the default language.
-
description
Collection._FinalStage description(java.lang.String description)
-
updatedAt
Collection._FinalStage updatedAt(java.util.Optional<java.lang.Integer> updatedAt)
The time when the article was last updated (seconds). For multilingual articles, this will be the timestamp of last update of the default language's content.
-
updatedAt
Collection._FinalStage updatedAt(java.lang.Integer updatedAt)
-
url
Collection._FinalStage url(java.util.Optional<java.lang.String> url)
The URL of the collection. For multilingual help centers, this will be the URL of the collection for the default language.
-
url
Collection._FinalStage url(java.lang.String url)
-
icon
Collection._FinalStage icon(java.util.Optional<java.lang.String> icon)
The icon of the collection.
-
icon
Collection._FinalStage icon(java.lang.String icon)
-
defaultLocale
Collection._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
Collection._FinalStage defaultLocale(java.lang.String defaultLocale)
-
translatedContent
Collection._FinalStage translatedContent(java.util.Optional<GroupTranslatedContent> translatedContent)
-
translatedContent
Collection._FinalStage translatedContent(GroupTranslatedContent translatedContent)
-
parentId
Collection._FinalStage parentId(java.util.Optional<java.lang.String> parentId)
The id of the parent collection. If
nullthen it is the first level collection.
-
parentId
Collection._FinalStage parentId(java.lang.String parentId)
-
helpCenterId
Collection._FinalStage helpCenterId(java.util.Optional<java.lang.Integer> helpCenterId)
The id of the help center the collection is in.
-
helpCenterId
Collection._FinalStage helpCenterId(java.lang.Integer helpCenterId)
-
-