UNPKG

@herd/angular-client

Version:

Swagger generated client for @herd/angular-client

48 lines (47 loc) 2.51 kB
/** * herd * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 0.219.0-SNAPSHOT * * * 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 } from '@angular/common/http'; import { Observable } from 'rxjs'; import { StoragePlatform } from '../model/storagePlatform'; import { StoragePlatforms } from '../model/storagePlatforms'; import { Configuration } from '../configuration'; export declare class StoragePlatformService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * @param consumes string[] mime-types * @return true: consumes contains 'multipart/form-data', false: otherwise */ private canConsumeForm; /** * getStoragePlatform * Gets an existing storage platform by name. * @param name the storage platform name. * @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. */ storagePlatformGetStoragePlatform(name: string, observe?: 'body', reportProgress?: boolean): Observable<StoragePlatform>; storagePlatformGetStoragePlatform(name: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<StoragePlatform>>; storagePlatformGetStoragePlatform(name: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<StoragePlatform>>; /** * getStoragePlatforms * Gets a list of existing storage platforms. * @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. */ storagePlatformGetStoragePlatforms(observe?: 'body', reportProgress?: boolean): Observable<StoragePlatforms>; storagePlatformGetStoragePlatforms(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<StoragePlatforms>>; storagePlatformGetStoragePlatforms(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<StoragePlatforms>>; }