Class ListFieldsResponse

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

public class ListFieldsResponse
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The list of fetched fields.

The fields are returned using a fully qualified name format, however, the format differs slightly from that used by the query operations.

* Fields which contain nested objects are assigned a type of "nested".

* Fields which belong to a nested object are prefixed with `.properties` (for example, `warnings.properties.severity` means that the `warnings` object has a property called `severity`).

  • Constructor Summary

    Constructors
    Constructor Description
    ListFieldsResponse()  
  • Method Summary

    Modifier and Type Method Description
    List<Field> getFields()
    Gets the fields.

    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

    • ListFieldsResponse

      public ListFieldsResponse()
  • Method Details

    • getFields

      public List<Field> getFields()
      Gets the fields.

      An array that contains information about each field in the collections.

      Returns:
      the fields