/** * 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 { Artifact } from '../model/artifact'; import { Configuration } from '../configuration'; export declare class ArtifactService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * adds an artifact * Adds an artifact * @param execution The execution\'s id * @param artifact Artifact 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. */ addArtifact(execution: string, artifact?: Artifact, observe?: 'body', reportProgress?: boolean): Observable; addArtifact(execution: string, artifact?: Artifact, observe?: 'response', reportProgress?: boolean): Observable>; addArtifact(execution: string, artifact?: Artifact, observe?: 'events', reportProgress?: boolean): Observable>; /** * list of artifacts * Return list of artifacts * @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. */ getArtifactsByExecution(execution: string, observe?: 'body', reportProgress?: boolean): Observable>; getArtifactsByExecution(execution: string, observe?: 'response', reportProgress?: boolean): Observable>>; getArtifactsByExecution(execution: string, observe?: 'events', reportProgress?: boolean): Observable>>; /** * list of artifacts * Return list of artifacts * @param experiment The experiemnt\'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. */ getArtifactsByExperiment(experiment: string, observe?: 'body', reportProgress?: boolean): Observable>; getArtifactsByExperiment(experiment: string, observe?: 'response', reportProgress?: boolean): Observable>>; getArtifactsByExperiment(experiment: string, observe?: 'events', reportProgress?: boolean): Observable>>; /** * return artifact by id * Return one artifact * @param artifact The artifact\'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. */ getArtifactsById(artifact: string, observe?: 'body', reportProgress?: boolean): Observable; getArtifactsById(artifact: string, observe?: 'response', reportProgress?: boolean): Observable>; getArtifactsById(artifact: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * list of artifacts * Return list of artifacts * @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. */ getArtifactsByRun(run: string, observe?: 'body', reportProgress?: boolean): Observable>; getArtifactsByRun(run: string, observe?: 'response', reportProgress?: boolean): Observable>>; getArtifactsByRun(run: string, observe?: 'events', reportProgress?: boolean): Observable>>; }