@herd/angular-client
Version:
Swagger generated client for @herd/angular-client
98 lines (97 loc) • 10.6 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 { StorageUnitNotificationRegistration } from '../model/storageUnitNotificationRegistration';
import { StorageUnitNotificationRegistrationCreateRequest } from '../model/storageUnitNotificationRegistrationCreateRequest';
import { StorageUnitNotificationRegistrationKeys } from '../model/storageUnitNotificationRegistrationKeys';
import { StorageUnitNotificationRegistrationUpdateRequest } from '../model/storageUnitNotificationRegistrationUpdateRequest';
import { Configuration } from '../configuration';
export declare class StorageUnitNotificationRegistrationService {
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;
/**
* createStorageUnitNotificationRegistration
* Creates a new storage unit notification registration. <p>Requires WRITE permission on namespace</p> <p>Requires READ permission on filter namespace</p> <p>Requires EXECUTE permission on ALL job action namespaces</p>
* @param storageUnitNotificationRegistrationCreateRequest the information needed to create the storage unit notification registration
* @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.
*/
storageUnitNotificationRegistrationCreateStorageUnitNotificationRegistration(storageUnitNotificationRegistrationCreateRequest: StorageUnitNotificationRegistrationCreateRequest, observe?: 'body', reportProgress?: boolean): Observable<StorageUnitNotificationRegistration>;
storageUnitNotificationRegistrationCreateStorageUnitNotificationRegistration(storageUnitNotificationRegistrationCreateRequest: StorageUnitNotificationRegistrationCreateRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<StorageUnitNotificationRegistration>>;
storageUnitNotificationRegistrationCreateStorageUnitNotificationRegistration(storageUnitNotificationRegistrationCreateRequest: StorageUnitNotificationRegistrationCreateRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<StorageUnitNotificationRegistration>>;
/**
* deleteStorageUnitNotification
* Deletes an existing storage unit notification registration by key. <p>Requires WRITE permission on namespace</p>
* @param namespace the namespace of the storage unit notification registration
* @param notificationName the name of the storage unit notification registration
* @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.
*/
storageUnitNotificationRegistrationDeleteStorageUnitNotification(namespace: string, notificationName: string, observe?: 'body', reportProgress?: boolean): Observable<StorageUnitNotificationRegistration>;
storageUnitNotificationRegistrationDeleteStorageUnitNotification(namespace: string, notificationName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<StorageUnitNotificationRegistration>>;
storageUnitNotificationRegistrationDeleteStorageUnitNotification(namespace: string, notificationName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<StorageUnitNotificationRegistration>>;
/**
* getStorageUnitNotificationRegistration
* Gets an existing storage unit notification registration by key. <p>Requires READ permission on namespace</p>
* @param namespace the namespace of the storage unit notification registration
* @param notificationName the name of the storage unit notification registration
* @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.
*/
storageUnitNotificationRegistrationGetStorageUnitNotificationRegistration(namespace: string, notificationName: string, observe?: 'body', reportProgress?: boolean): Observable<StorageUnitNotificationRegistration>;
storageUnitNotificationRegistrationGetStorageUnitNotificationRegistration(namespace: string, notificationName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<StorageUnitNotificationRegistration>>;
storageUnitNotificationRegistrationGetStorageUnitNotificationRegistration(namespace: string, notificationName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<StorageUnitNotificationRegistration>>;
/**
* getStorageUnitNotificationRegistrationsByNamespace
* Gets a list of keys for all existing storage unit notification registrations for the specified storage unit notification registration namespace.
* @param namespace the namespace of the storage unit notification registration
* @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.
*/
storageUnitNotificationRegistrationGetStorageUnitNotificationRegistrationsByNamespace(namespace: string, observe?: 'body', reportProgress?: boolean): Observable<StorageUnitNotificationRegistrationKeys>;
storageUnitNotificationRegistrationGetStorageUnitNotificationRegistrationsByNamespace(namespace: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<StorageUnitNotificationRegistrationKeys>>;
storageUnitNotificationRegistrationGetStorageUnitNotificationRegistrationsByNamespace(namespace: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<StorageUnitNotificationRegistrationKeys>>;
/**
* getStorageUnitNotificationRegistrationsByNotificationFilter
* <p> Gets a list of keys for all existing storage unit notification registrations that match the specified storage unit notification filter parameters. </p> <p> This endpoint requires both namespace and name of the business object definition. </p> <p>Requires READ permission on business object definition namespace</p>
* @param businessObjectDefinitionNamespace the namespace of the business object definition
* @param businessObjectDefinitionName the name of the business object definition
* @param businessObjectFormatUsage the usage of the business object format
* @param businessObjectFormatFileType the file type of the business object format
* @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.
*/
storageUnitNotificationRegistrationGetStorageUnitNotificationRegistrationsByNotificationFilter(businessObjectDefinitionNamespace: string, businessObjectDefinitionName: string, businessObjectFormatUsage?: string, businessObjectFormatFileType?: string, observe?: 'body', reportProgress?: boolean): Observable<StorageUnitNotificationRegistrationKeys>;
storageUnitNotificationRegistrationGetStorageUnitNotificationRegistrationsByNotificationFilter(businessObjectDefinitionNamespace: string, businessObjectDefinitionName: string, businessObjectFormatUsage?: string, businessObjectFormatFileType?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<StorageUnitNotificationRegistrationKeys>>;
storageUnitNotificationRegistrationGetStorageUnitNotificationRegistrationsByNotificationFilter(businessObjectDefinitionNamespace: string, businessObjectDefinitionName: string, businessObjectFormatUsage?: string, businessObjectFormatFileType?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<StorageUnitNotificationRegistrationKeys>>;
/**
* updateStorageUnitNotificationRegistration
* Updates an existing storage unit notification registration by key. <p>Requires WRITE permission on namespace</p> <p>Requires READ permission on filter namespace</p> <p>Requires EXECUTE permission on ALL job action namespaces</p>
* @param namespace the namespace of the storage unit notification registration
* @param notificationName the name of the storage unit notification registration
* @param storageUnitNotificationRegistrationUpdateRequest the information needed to update the storage unit notification registration
* @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.
*/
storageUnitNotificationRegistrationUpdateStorageUnitNotificationRegistration(namespace: string, notificationName: string, storageUnitNotificationRegistrationUpdateRequest: StorageUnitNotificationRegistrationUpdateRequest, observe?: 'body', reportProgress?: boolean): Observable<StorageUnitNotificationRegistration>;
storageUnitNotificationRegistrationUpdateStorageUnitNotificationRegistration(namespace: string, notificationName: string, storageUnitNotificationRegistrationUpdateRequest: StorageUnitNotificationRegistrationUpdateRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<StorageUnitNotificationRegistration>>;
storageUnitNotificationRegistrationUpdateStorageUnitNotificationRegistration(namespace: string, notificationName: string, storageUnitNotificationRegistrationUpdateRequest: StorageUnitNotificationRegistrationUpdateRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<StorageUnitNotificationRegistration>>;
}