Package com.ibm.cloud.cloudant.v1.model
Class IndexField
java.lang.Object
com.ibm.cloud.sdk.core.service.model.DynamicModel<String>
com.ibm.cloud.cloudant.v1.model.IndexField
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
Schema for indexed fields for use with declarative JSON query.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder.static interface
The type of the named field. -
Constructor Summary
-
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.DynamicModel
equals, get, getAdditionalPropertyTypeToken, getProperties, getPropertyNames, hashCode, put, removeProperties, removeProperty, setProperties, toString
-
Constructor Details
-
IndexField
public IndexField()
-
-
Method Details
-
newBuilder
New builder.- Returns:
- a IndexField builder
-
getName
Gets the name. Name of the field.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name
- the new name
-
getType
Gets the type. The type of the named field.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type
- the new type
-