Class DeleteCollectionResponse
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.DeleteCollectionResponse
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DeleteCollectionResponse
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Response object returned when deleting a colleciton.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DeleteCollectionResponse.Status
The status of the collection. -
Constructor Summary
Constructors Constructor Description DeleteCollectionResponse()
-
Method Summary
Modifier and Type Method Description String
getCollectionId()
Gets the collectionId.String
getStatus()
Gets the status.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
DeleteCollectionResponse
public DeleteCollectionResponse()
-
-
Method Details
-
getCollectionId
Gets the collectionId.The unique identifier of the collection that is being deleted.
- Returns:
- the collectionId
-
getStatus
Gets the status.The status of the collection. The status of a successful deletion operation is `deleted`.
- Returns:
- the status
-