Package com.ibm.cloud.cloudant.v1.model
Class DocsResultRow
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.cloudant.v1.model.DocsResultRow
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DocsResultRow extends com.ibm.cloud.sdk.core.service.model.GenericModelSchema for a row of document information in a DocsResult.
-
-
Constructor Summary
Constructors Constructor Description DocsResultRow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCausedBy()Gets the causedBy.DocumentgetDoc()Gets the doc.StringgetError()Gets the error.StringgetId()Gets the id.StringgetKey()Gets the key.StringgetReason()Gets the reason.DocsResultRowValuegetValue()Gets the value.
-
-
-
Method Detail
-
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
-
getDoc
public Document getDoc()
Gets the doc. Schema for a document.- Returns:
- the doc
-
getId
public String getId()
Gets the id. id.- Returns:
- the id
-
getKey
public String getKey()
Gets the key. Document ID.- Returns:
- the key
-
getValue
public DocsResultRowValue getValue()
Gets the value. Value of built-in `/_all_docs` style view.- Returns:
- the value
-
-