Class CollectionObjects

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.visual_recognition.v4.model.CollectionObjects
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class CollectionObjects
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The objects in a collection that are detected in an image.
  • Constructor Details

    • CollectionObjects

      public CollectionObjects()
  • Method Details

    • getCollectionId

      public String getCollectionId()
      Gets the collectionId.

      The identifier of the collection.

      Returns:
      the collectionId
    • getObjects

      public List<ObjectDetail> getObjects()
      Gets the objects.

      The identified objects in a collection.

      Returns:
      the objects