@herd/angular-client
Version:
Swagger generated client for @herd/angular-client
69 lines (68 loc) • 4.67 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 { SecurityFunction } from '../model/securityFunction';
import { SecurityFunctionCreateRequest } from '../model/securityFunctionCreateRequest';
import { SecurityFunctionKeys } from '../model/securityFunctionKeys';
import { Configuration } from '../configuration';
export declare class SecurityFunctionService {
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;
/**
* createSecurityFunction
* Creates a new security function.
* @param securityFunctionCreateRequest the information needed to create a security function
* @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.
*/
securityFunctionCreateSecurityFunction(securityFunctionCreateRequest: SecurityFunctionCreateRequest, observe?: 'body', reportProgress?: boolean): Observable<SecurityFunction>;
securityFunctionCreateSecurityFunction(securityFunctionCreateRequest: SecurityFunctionCreateRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<SecurityFunction>>;
securityFunctionCreateSecurityFunction(securityFunctionCreateRequest: SecurityFunctionCreateRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<SecurityFunction>>;
/**
* deleteSecurityFunction
* Deletes an existing security function by security function name.
* @param securityFunctionName the security function 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.
*/
securityFunctionDeleteSecurityFunction(securityFunctionName: string, observe?: 'body', reportProgress?: boolean): Observable<SecurityFunction>;
securityFunctionDeleteSecurityFunction(securityFunctionName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<SecurityFunction>>;
securityFunctionDeleteSecurityFunction(securityFunctionName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<SecurityFunction>>;
/**
* getSecurityFunction
* Retrieves an existing security function by security function name.
* @param securityFunctionName the security function 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.
*/
securityFunctionGetSecurityFunction(securityFunctionName: string, observe?: 'body', reportProgress?: boolean): Observable<SecurityFunction>;
securityFunctionGetSecurityFunction(securityFunctionName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<SecurityFunction>>;
securityFunctionGetSecurityFunction(securityFunctionName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<SecurityFunction>>;
/**
* getSecurityFunctions
* Gets a list of security function keys for all security functions defined in the system. The result list is sorted by security function name in ascending order.
* @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.
*/
securityFunctionGetSecurityFunctions(observe?: 'body', reportProgress?: boolean): Observable<SecurityFunctionKeys>;
securityFunctionGetSecurityFunctions(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<SecurityFunctionKeys>>;
securityFunctionGetSecurityFunctions(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<SecurityFunctionKeys>>;
}