@veeroute/lss-studio-angular
Version:
OpenAPI client for @veeroute/lss-studio-angular
62 lines (61 loc) • 3.35 kB
TypeScript
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { Configuration } from '../configuration';
import { BackupsServiceInterface, CreateBackupRequestParams, RestoreBackupRequestParams } from './backupsServiceInterface';
import * as i0 from "@angular/core";
export declare class BackupsService implements BackupsServiceInterface {
protected httpClient: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
encoder: HttpParameterCodec;
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
private addToHttpParams;
private addToHttpParamsRecursive;
/**
* Folder export
* Export folder with experiments.
* @param requestParameters
* @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.
*/
createBackup(requestParameters: CreateBackupRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/octet-stream' | 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<string>;
createBackup(requestParameters: CreateBackupRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/octet-stream' | 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<string>>;
createBackup(requestParameters: CreateBackupRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/octet-stream' | 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<string>>;
/**
* Folder import
* Import folder with experiments. The folder should not be of type ROOT and should be empty.
* @param requestParameters
* @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.
*/
restoreBackup(requestParameters: RestoreBackupRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<any>;
restoreBackup(requestParameters: RestoreBackupRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<any>>;
restoreBackup(requestParameters: RestoreBackupRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<any>>;
static ɵfac: i0.ɵɵFactoryDeclaration<BackupsService, [null, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<BackupsService>;
}