Class ObjectMetadata

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

public class ObjectMetadata
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Basic information about an object.
  • Constructor Summary

    Constructors
    Constructor Description
    ObjectMetadata()  
  • Method Summary

    Modifier and Type Method Description
    Long getCount()
    Gets the count.
    String getObject()
    Gets the object.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ObjectMetadata

      public ObjectMetadata()
  • Method Details

    • getObject

      public String getObject()
      Gets the object.

      The name of the object.

      Returns:
      the object
    • getCount

      public Long getCount()
      Gets the count.

      Number of bounding boxes with this object name in the collection.

      Returns:
      the count