/** * MMP Metadata * This is a API for MMP Metadata * * The version of the OpenAPI document: 1.0.0-oas3 * Contact: st116848@stud.uni-stuttgart.de.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http'; import { Observable } from 'rxjs'; import { Execution } from '../model/execution'; import { Configuration } from '../configuration'; export declare class ExecutionService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * adds an execution * Adds an execution * @param run The run\'s id * @param execution Execution item to add * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ addExecution(run: string, execution?: Execution, observe?: 'body', reportProgress?: boolean): Observable; addExecution(run: string, execution?: Execution, observe?: 'response', reportProgress?: boolean): Observable>; addExecution(run: string, execution?: Execution, observe?: 'events', reportProgress?: boolean): Observable>; /** * run by id * Return one run by `id` * @param execution The execution\'s id * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ getExecutionById(execution: string, observe?: 'body', reportProgress?: boolean): Observable; getExecutionById(execution: string, observe?: 'response', reportProgress?: boolean): Observable>; getExecutionById(execution: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * list of executions * Return list of executions * @param run The run\'s id * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ getExecutionsByRun(run: string, observe?: 'body', reportProgress?: boolean): Observable>; getExecutionsByRun(run: string, observe?: 'response', reportProgress?: boolean): Observable>>; getExecutionsByRun(run: string, observe?: 'events', reportProgress?: boolean): Observable>>; /** * update execution by id * Updates an execution * @param executionId The execution\'s id * @param execution Execution item to updated * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ updateExecutionById(executionId: string, execution?: Execution, observe?: 'body', reportProgress?: boolean): Observable; updateExecutionById(executionId: string, execution?: Execution, observe?: 'response', reportProgress?: boolean): Observable>; updateExecutionById(executionId: string, execution?: Execution, observe?: 'events', reportProgress?: boolean): Observable>; }