Class CreateCollectionRequest

java.lang.Object
com.intercom.api.resources.helpcenters.collections.requests.CreateCollectionRequest

public final class CreateCollectionRequest extends Object
  • Method Details

    • getName

      public String getName()
      Returns:
      The name of the collection. For multilingual collections, this will be the name of the default language's content.
    • getDescription

      public Optional<String> getDescription()
      Returns:
      The description of the collection. For multilingual collections, this will be the description of the default language's content.
    • getTranslatedContent

      public Optional<GroupTranslatedContent> getTranslatedContent()
    • getParentId

      public Optional<String> getParentId()
      Returns:
      The id of the parent collection. If null then it will be created as the first level collection.
    • getHelpCenterId

      public Optional<Integer> getHelpCenterId()
      Returns:
      The id of the help center where the collection will be created. If null then it will be created in the default help center.
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static CreateCollectionRequest.NameStage builder()