code: public Observable<ServiceResponse<Export>> exportIterationWithServiceResponseAsync(UUID projectId, UUID iterationId, String platform, ExportIterationOptionalParameter exportIterationOptionalParameter) {
          if (projectId == null) {
              throw new IllegalArgumentException("Parameter projectId is required and cannot be null.");
          }
          if (iterationId == null) {
              throw new IllegalArgumentException("Parameter iterationId is required and cannot be null.");
          }
          if (platform == null) {
              throw new IllegalArgumentException("Parameter platform is required and cannot be null.");
          }
          if (this.client.apiKey() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiKey() is required and cannot be null.");
          }
          final String flavor = exportIterationOptionalParameter != null ? exportIterationOptionalParameter.flavor() : null;
  
          return exportIterationWithServiceResponseAsync(projectId, iterationId, platform, flavor);
      }
docs: Export a trained iteration.
  
  @param projectId The project id
  @param iterationId The iteration id
  @param platform The target platform (coreml or tensorflow). Possible values include: 'CoreML', 'TensorFlow', 'DockerFile', 'ONNX'
  @param exportIterationOptionalParameter the object representing the optional parameters to be set before calling this API
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the Export object