Class Field

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

public class Field
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object containing field details.
  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static interface  Field.Type
    The type of the field.
  • Constructor Summary

    Constructors
    Constructor Description
    Field()  
  • Method Summary

    Modifier and Type Method Description
    String getField()
    Gets the field.
    String getType()
    Gets the type.

    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

    • Field

      public Field()
  • Method Details

    • getField

      public String getField()
      Gets the field.

      The name of the field.

      Returns:
      the field
    • getType

      public String getType()
      Gets the type.

      The type of the field.

      Returns:
      the type