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:
 ObjectModel
Schema for indexed fields for use with declarative JSON query.
 This type supports additional properties of type String. Schema for sort direction.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder.static interfaceThe type of the named field. - 
Constructor Summary
Constructors - 
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
 
 -