Package com.ibm.cloud.cloudant.v1.model
Class IndexResult
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.cloudant.v1.model.IndexResult
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class IndexResult extends com.ibm.cloud.sdk.core.service.model.GenericModel
Schema for the result of creating an index.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
IndexResult.Result
Flag to show whether the index was created or one already exists.
-
Constructor Summary
Constructors Constructor Description IndexResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Gets the id.String
getName()
Gets the name.String
getResult()
Gets the result.
-
-
-
Method Detail
-
getId
public String getId()
Gets the id. Id of the design document the index was created in.- Returns:
- the id
-
getName
public String getName()
Gets the name. Name of the index created.- Returns:
- the name
-
getResult
public String getResult()
Gets the result. Flag to show whether the index was created or one already exists.- Returns:
- the result
-
-