Class ListCollectionsResponse

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.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 containing an array of collection details.
  • Constructor Details

    • ListCollectionsResponse

      public ListCollectionsResponse()
  • Method Details

    • getCollections

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

      An array containing information about each collection in the environment.

      Returns:
      the collections