Package com.ibm.cloud.cloudant.v1.model
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 Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getId
Gets the id. Schema for a document ID.- Returns:
- the id
-
getRev
Gets the rev. Schema for a document revision identifier.- Returns:
- the rev
-
isOk
Gets the ok. ok.- Returns:
- the ok
-
getCausedBy
Gets the causedBy. The cause of the error (if available).- Returns:
- the causedBy
-
getError
Gets the error. The name of the error.- Returns:
- the error
-
getReason
Gets the reason. The reason the error occurred (if available).- Returns:
- the reason
-
getRef
Gets the ref. An internal error reference (if available).- Returns:
- the ref
-