Class ClassificationCollection

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_classifier.v1.model.ClassificationCollection
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class ClassificationCollection
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Response from the classifier for multiple phrases.
  • Constructor Details

    • ClassificationCollection

      public ClassificationCollection()
  • Method Details

    • getClassifierId

      public String getClassifierId()
      Gets the classifierId.

      Unique identifier for this classifier.

      Returns:
      the classifierId
    • getUrl

      public String getUrl()
      Gets the url.

      Link to the classifier.

      Returns:
      the url
    • getCollection

      public List<CollectionItem> getCollection()
      Gets the collection.

      An array of classifier responses for each submitted phrase.

      Returns:
      the collection