Class CreateCollectionRequest


  • public final class CreateCollectionRequest
    extends java.lang.Object
    • Method Detail

      • getName

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

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

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

        public java.util.Optional<java.lang.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​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object