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 Summary
Constructors Constructor Description ClassificationCollection()
-
Method Summary
Modifier and Type Method Description String
getClassifierId()
Gets the classifierId.List<CollectionItem>
getCollection()
Gets the collection.String
getUrl()
Gets the url.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
ClassificationCollection
public ClassificationCollection()
-
-
Method Details
-
getClassifierId
Gets the classifierId.Unique identifier for this classifier.
- Returns:
- the classifierId
-
getUrl
Gets the url.Link to the classifier.
- Returns:
- the url
-
getCollection
Gets the collection.An array of classifier responses for each submitted phrase.
- Returns:
- the collection
-