Class UpdateCollectionRequest


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

      • getCollectionId

        public int getCollectionId()
        Returns:
        The unique identifier for the collection which is given by Intercom.
      • getName

        public java.util.Optional<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 updated as the first level collection.
      • 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