code: public Observable<ServiceResponse<Project>> createProjectWithServiceResponseAsync(String name, String description, UUID domainId, String classificationType) {
          if (name == null) {
              throw new IllegalArgumentException("Parameter name is required and cannot be null.");
          }
          if (this.client.apiKey() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiKey() is required and cannot be null.");
          }
          return service.createProject(name, description, domainId, classificationType, this.client.apiKey(), this.client.acceptLanguage(), this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Project>>>() {
                  @Override
                  public Observable<ServiceResponse<Project>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<Project> clientResponse = createProjectDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: Create a project.
  
  @param name Name of the project
  @param description The description of the project
  @param domainId The id of the domain to use for this project. Defaults to General
  @param classificationType The type of classifier to create for this project. Possible values include: 'Multiclass', 'Multilabel'
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the Project object