Class DocumentResult

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.DocumentResult
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class DocumentResult extends com.ibm.cloud.sdk.core.service.model.GenericModel
Schema for the result of a document modification.
  • Method Details

    • getId

      public String getId()
      Gets the id. Schema for a document ID.
      Returns:
      the id
    • getRev

      public String getRev()
      Gets the rev. Schema for a document revision identifier.
      Returns:
      the rev
    • isOk

      public Boolean isOk()
      Gets the ok. ok.
      Returns:
      the ok
    • getCausedBy

      public String getCausedBy()
      Gets the causedBy. The cause of the error (if available).
      Returns:
      the causedBy
    • getError

      public String getError()
      Gets the error. The name of the error.
      Returns:
      the error
    • getReason

      public String getReason()
      Gets the reason. The reason the error occurred (if available).
      Returns:
      the reason
    • getRef

      public Long getRef()
      Gets the ref. An internal error reference (if available).
      Returns:
      the ref