Class ListCollectionsResponse

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.ListCollectionsResponse
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class ListCollectionsResponse
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Response object that contains an array of collection details.
  • Constructor Details

    • ListCollectionsResponse

      public ListCollectionsResponse()
  • Method Details

    • getCollections

      public List<Collection> getCollections()
      Gets the collections.

      An array that contains information about each collection in the project.

      Returns:
      the collections