@herd/angular-client
Version:
Swagger generated client for @herd/angular-client
48 lines (47 loc) • 2.76 kB
TypeScript
/**
* 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 { ConfigurationEntry } from '../model/configurationEntry';
import { ConfigurationEntryKeys } from '../model/configurationEntryKeys';
import { Configuration } from '../configuration';
export declare class ConfigurationEntryService {
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;
/**
* getConfigurationEntries
* Gets a list of configuration entry keys for all configuration entries defined in the system.
* @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.
*/
configurationEntryGetConfigurationEntries(observe?: 'body', reportProgress?: boolean): Observable<ConfigurationEntryKeys>;
configurationEntryGetConfigurationEntries(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ConfigurationEntryKeys>>;
configurationEntryGetConfigurationEntries(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ConfigurationEntryKeys>>;
/**
* getConfigurationEntry
* Gets an existing configuration entry by its configuration entry key.
* @param configurationEntryKey the key of the configuration entry
* @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.
*/
configurationEntryGetConfigurationEntry(configurationEntryKey: string, observe?: 'body', reportProgress?: boolean): Observable<ConfigurationEntry>;
configurationEntryGetConfigurationEntry(configurationEntryKey: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ConfigurationEntry>>;
configurationEntryGetConfigurationEntry(configurationEntryKey: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ConfigurationEntry>>;
}