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.GenericModelSchema for the result of a document modification.
-
-
Constructor Summary
Constructors Constructor Description DocumentResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCausedBy()Gets the causedBy.StringgetError()Gets the error.StringgetId()Gets the id.StringgetReason()Gets the reason.StringgetRev()Gets the rev.BooleanisOk()Gets the ok.
-
-
-
Method Detail
-
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
-
-