Class ClassifiersCreateRequest


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

      • getName

        public java.lang.String getName()
        Returns:
        The name of the classifier.
      • getCloneClassifierId

        public java.util.Optional<java.lang.String> getCloneClassifierId()
        Returns:
        The ID of an existing classifier to clone. If provided, the new classifier will be created with the same config as the classifier with this ID. Cannot be provided together with config.

        Example: "cl_BMdfq_yWM3sT-ZzvCnA3f"

      • getConfig

        public java.util.Optional<ClassifyConfig> getConfig()
        Returns:
        The configuration for the classifier. Cannot be provided together with cloneClassifierId.
      • 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