@herd/angular-client
Version:
Swagger generated client for @herd/angular-client
71 lines (70 loc) • 5.53 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 { GlobalAttributeDefinition } from '../model/globalAttributeDefinition';
import { GlobalAttributeDefinitionCreateRequest } from '../model/globalAttributeDefinitionCreateRequest';
import { GlobalAttributeDefinitionKeys } from '../model/globalAttributeDefinitionKeys';
import { Configuration } from '../configuration';
export declare class GlobalAttributeDefinitionService {
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;
/**
* createGlobalAttributeDefinition
* Creates a new global Attribute Definition.
* @param globalAttributeDefinitionCreateRequest the information needed to create the global Attribute Definition
* @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.
*/
globalAttributeDefinitionCreateGlobalAttributeDefinition(globalAttributeDefinitionCreateRequest: GlobalAttributeDefinitionCreateRequest, observe?: 'body', reportProgress?: boolean): Observable<GlobalAttributeDefinition>;
globalAttributeDefinitionCreateGlobalAttributeDefinition(globalAttributeDefinitionCreateRequest: GlobalAttributeDefinitionCreateRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<GlobalAttributeDefinition>>;
globalAttributeDefinitionCreateGlobalAttributeDefinition(globalAttributeDefinitionCreateRequest: GlobalAttributeDefinitionCreateRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<GlobalAttributeDefinition>>;
/**
* deleteGlobalAttributeDefinition
* Deletes an existing global Attribute Definition.
* @param globalAttributeDefinitionLevel the global Attribute Definition level
* @param globalAttributeDefinitionName the global Attribute Definition 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.
*/
globalAttributeDefinitionDeleteGlobalAttributeDefinition(globalAttributeDefinitionLevel: string, globalAttributeDefinitionName: string, observe?: 'body', reportProgress?: boolean): Observable<GlobalAttributeDefinition>;
globalAttributeDefinitionDeleteGlobalAttributeDefinition(globalAttributeDefinitionLevel: string, globalAttributeDefinitionName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<GlobalAttributeDefinition>>;
globalAttributeDefinitionDeleteGlobalAttributeDefinition(globalAttributeDefinitionLevel: string, globalAttributeDefinitionName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<GlobalAttributeDefinition>>;
/**
* getGlobalAttributeDefinition
* Get an existing global Attribute Definition.
* @param globalAttributeDefinitionLevel the global Attribute Definition level
* @param globalAttributeDefinitionName the global Attribute Definition 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.
*/
globalAttributeDefinitionGetGlobalAttributeDefinition(globalAttributeDefinitionLevel: string, globalAttributeDefinitionName: string, observe?: 'body', reportProgress?: boolean): Observable<GlobalAttributeDefinition>;
globalAttributeDefinitionGetGlobalAttributeDefinition(globalAttributeDefinitionLevel: string, globalAttributeDefinitionName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<GlobalAttributeDefinition>>;
globalAttributeDefinitionGetGlobalAttributeDefinition(globalAttributeDefinitionLevel: string, globalAttributeDefinitionName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<GlobalAttributeDefinition>>;
/**
* getGlobalAttributeDefinitions
* Retrieves all global Attribute Definitions.
* @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.
*/
globalAttributeDefinitionGetGlobalAttributeDefinitions(observe?: 'body', reportProgress?: boolean): Observable<GlobalAttributeDefinitionKeys>;
globalAttributeDefinitionGetGlobalAttributeDefinitions(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<GlobalAttributeDefinitionKeys>>;
globalAttributeDefinitionGetGlobalAttributeDefinitions(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<GlobalAttributeDefinitionKeys>>;
}