Search in sources :

Example 11 with DeleteCollectionOptions

use of com.ibm.watson.discovery.v1.model.DeleteCollectionOptions in project java-sdk by watson-developer-cloud.

the class VisualRecognitionIT method deleteTestCollection.

private void deleteTestCollection(String collectionId) {
    DeleteCollectionOptions deleteCollectionOptions = new DeleteCollectionOptions.Builder().collectionId(collectionId).build();
    service.deleteCollection(deleteCollectionOptions).execute();
}
Also used : DeleteCollectionOptions(com.ibm.watson.visual_recognition.v4.model.DeleteCollectionOptions)

Aggregations

RecordedRequest (okhttp3.mockwebserver.RecordedRequest)5 Test (org.junit.Test)4 DeleteCollectionOptions (com.ibm.watson.developer_cloud.discovery.v1.model.DeleteCollectionOptions)3 DeleteCollectionOptions (com.ibm.watson.discovery.v1.model.DeleteCollectionOptions)3 DeleteCollectionResponse (com.ibm.watson.discovery.v1.model.DeleteCollectionResponse)3 DeleteCollectionOptions (com.ibm.watson.visual_recognition.v4.model.DeleteCollectionOptions)3 MockResponse (okhttp3.mockwebserver.MockResponse)3 Test (org.testng.annotations.Test)3 WatsonServiceTest (com.ibm.watson.developer_cloud.WatsonServiceTest)2 Collection (com.ibm.watson.developer_cloud.discovery.v1.model.Collection)2 Configuration (com.ibm.watson.developer_cloud.discovery.v1.model.Configuration)2 CreateCollectionOptions (com.ibm.watson.developer_cloud.discovery.v1.model.CreateCollectionOptions)2 ByteArrayInputStream (java.io.ByteArrayInputStream)2 InputStream (java.io.InputStream)2 RequestBuilder (com.ibm.cloud.sdk.core.http.RequestBuilder)1 Authenticator (com.ibm.cloud.sdk.core.security.Authenticator)1 IamAuthenticator (com.ibm.cloud.sdk.core.security.IamAuthenticator)1 WatsonServiceTest (com.ibm.watson.common.WatsonServiceTest)1 WatsonServiceUnitTest (com.ibm.watson.common.WatsonServiceUnitTest)1 WatsonServiceUnitTest (com.ibm.watson.developer_cloud.WatsonServiceUnitTest)1