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 
    Flag to show whether the index was created or one already exists.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the id.
    Gets the name.
    Gets the result.

    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
  • Method Details

    • 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