Class Field
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.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 that contains 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
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
Field
public Field()
-
-
Method Details
-
getField
Gets the field.The name of the field.
- Returns:
- the field
-
getType
Gets the type.The type of the field.
- Returns:
- the type
-
getCollectionId
Gets the collectionId.The collection Id of the collection where the field was found.
- Returns:
- the collectionId
-