Class CreateCollectionRequest.Builder
java.lang.Object
com.intercom.api.resources.helpcenters.collections.requests.CreateCollectionRequest.Builder
- All Implemented Interfaces:
CreateCollectionRequest._FinalStage,CreateCollectionRequest.NameStage
- Enclosing class:
CreateCollectionRequest
public static final class CreateCollectionRequest.Builder
extends Object
implements CreateCollectionRequest.NameStage, CreateCollectionRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()description(String description) The description of the collection.description(Optional<String> description) from(CreateCollectionRequest other) helpCenterId(Integer helpCenterId) The id of the help center where the collection will be created.helpCenterId(Optional<Integer> helpCenterId) The name of the collection.The id of the parent collection.translatedContent(GroupTranslatedContent translatedContent) translatedContent(Optional<GroupTranslatedContent> translatedContent)
-
Method Details
-
from
- Specified by:
fromin interfaceCreateCollectionRequest.NameStage
-
name
The name of the collection. For multilingual collections, this will be the name of the default language's content.
- Specified by:
namein interfaceCreateCollectionRequest.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
helpCenterId
The id of the help center where the collection will be created. If
nullthen it will be created in the default help center.- Specified by:
helpCenterIdin interfaceCreateCollectionRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
helpCenterId
- Specified by:
helpCenterIdin interfaceCreateCollectionRequest._FinalStage
-
parentId
The id of the parent collection. If
nullthen it will be created as the first level collection.- Specified by:
parentIdin interfaceCreateCollectionRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
parentId
- Specified by:
parentIdin interfaceCreateCollectionRequest._FinalStage
-
translatedContent
public CreateCollectionRequest._FinalStage translatedContent(GroupTranslatedContent translatedContent) - Specified by:
translatedContentin interfaceCreateCollectionRequest._FinalStage
-
translatedContent
public CreateCollectionRequest._FinalStage translatedContent(Optional<GroupTranslatedContent> translatedContent) - Specified by:
translatedContentin interfaceCreateCollectionRequest._FinalStage
-
description
The description of the collection. For multilingual collections, this will be the description of the default language's content.
- Specified by:
descriptionin interfaceCreateCollectionRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
description
- Specified by:
descriptionin interfaceCreateCollectionRequest._FinalStage
-
build
- Specified by:
buildin interfaceCreateCollectionRequest._FinalStage
-