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.GenericModel
Schema 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 String
getCausedBy()
Gets the causedBy.Document
getDoc()
Gets the doc.String
getError()
Gets the error.String
getId()
Gets the id.String
getKey()
Gets the key.String
getReason()
Gets the reason.DocsResultRowValue
getValue()
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
-
-