Class DeleteDocumentResponse
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.DeleteDocumentResponse
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DeleteDocumentResponse
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Information returned when a document is deleted.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DeleteDocumentResponse.Status
Status of the document. -
Constructor Summary
Constructors Constructor Description DeleteDocumentResponse()
-
Method Summary
Modifier and Type Method Description String
getDocumentId()
Gets the documentId.String
getStatus()
Gets the status.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
DeleteDocumentResponse
public DeleteDocumentResponse()
-
-
Method Details
-
getDocumentId
Gets the documentId.The unique identifier of the document.
- Returns:
- the documentId
-
getStatus
Gets the status.Status of the document. A deleted document has the status deleted.
- Returns:
- the status
-