NaturalLanguageClassifier extends BaseService { public ServiceCall<Void> deleteClassifier(DeleteClassifierOptions deleteClassifierOptions) { com.ibm.cloud.sdk.core.util.Validator.notNull( deleteClassifierOptions, "deleteClassifierOptions cannot be null"); String[] pathSegments = {"v1/classifiers"}; String[] pathParameters = {deleteClassifierOptions.classifierId()}; RequestBuilder builder = RequestBuilder.delete( RequestBuilder.constructHttpUrl(getServiceUrl(), pathSegments, pathParameters)); Map<String, String> sdkHeaders = SdkCommon.getSdkHeaders("natural_language_classifier", "v1", "deleteClassifier"); for (Entry<String, String> header : sdkHeaders.entrySet()) { builder.header(header.getKey(), header.getValue()); } builder.header("Accept", "application/json"); ResponseConverter<Void> responseConverter = ResponseConverterUtils.getVoid(); return createServiceCall(builder.build(), responseConverter); } NaturalLanguageClassifier();  NaturalLanguageClassifier(Authenticator authenticator);  NaturalLanguageClassifier(String serviceName);  NaturalLanguageClassifier(String serviceName, Authenticator authenticator); ServiceCall<Classification> classify(ClassifyOptions classifyOptions); ServiceCall<ClassificationCollection> classifyCollection(
      ClassifyCollectionOptions classifyCollectionOptions); ServiceCall<Classifier> createClassifier(CreateClassifierOptions createClassifierOptions); ServiceCall<ClassifierList> listClassifiers(
      ListClassifiersOptions listClassifiersOptions); ServiceCall<ClassifierList> listClassifiers(); ServiceCall<Classifier> getClassifier(GetClassifierOptions getClassifierOptions); ServiceCall<Void> deleteClassifier(DeleteClassifierOptions deleteClassifierOptions);  }
@Test public void testDeleteClassifier() throws InterruptedException { DeleteClassifierOptions deleteOptions = new DeleteClassifierOptions.Builder().classifierId(classifierId).build(); service.deleteClassifier(deleteOptions); }
@Test(expected = IllegalArgumentException.class) public void testNullDeleteClassifier() { DeleteClassifierOptions deleteOptions = new DeleteClassifierOptions.Builder().build(); service.deleteClassifier(deleteOptions); }