UNPKG

@herd/angular-client

Version:

Swagger generated client for @herd/angular-client

71 lines (70 loc) 5.19 kB
/** * herd * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 0.220.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 { AttributeValueList } from '../model/attributeValueList'; import { AttributeValueListCreateRequest } from '../model/attributeValueListCreateRequest'; import { AttributeValueListKeys } from '../model/attributeValueListKeys'; import { Configuration } from '../configuration'; export declare class AttributeValueListService { 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; /** * createAttributeValueList * Creates a new attribute value list. &lt;p&gt;Requires WRITE permission on namespace&lt;/p&gt; * @param attributeValueListCreateRequest the information needed to create an attribute value list * @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. */ attributeValueListCreateAttributeValueList(attributeValueListCreateRequest: AttributeValueListCreateRequest, observe?: 'body', reportProgress?: boolean): Observable<AttributeValueList>; attributeValueListCreateAttributeValueList(attributeValueListCreateRequest: AttributeValueListCreateRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<AttributeValueList>>; attributeValueListCreateAttributeValueList(attributeValueListCreateRequest: AttributeValueListCreateRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<AttributeValueList>>; /** * deleteAttributeValueList * Deletes an existing attribute value list. &lt;p&gt;Requires WRITE permission on namespace&lt;/p&gt; * @param namespace the namespace of the attribute value list * @param attributeValueListName the name of the attribute value list * @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. */ attributeValueListDeleteAttributeValueList(namespace: string, attributeValueListName: string, observe?: 'body', reportProgress?: boolean): Observable<AttributeValueList>; attributeValueListDeleteAttributeValueList(namespace: string, attributeValueListName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<AttributeValueList>>; attributeValueListDeleteAttributeValueList(namespace: string, attributeValueListName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<AttributeValueList>>; /** * getAttributeValueList * Gets an existing attribute value list. &lt;p&gt;Requires READ permission on namespace&lt;/p&gt; * @param namespace the namespace of the attribute value list * @param attributeValueListName the name of the attribute value list * @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. */ attributeValueListGetAttributeValueList(namespace: string, attributeValueListName: string, observe?: 'body', reportProgress?: boolean): Observable<AttributeValueList>; attributeValueListGetAttributeValueList(namespace: string, attributeValueListName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<AttributeValueList>>; attributeValueListGetAttributeValueList(namespace: string, attributeValueListName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<AttributeValueList>>; /** * getAttributeValueLists * Gets a list of keys for all attribute value lists registered in the system that user has access to. &lt;p&gt;Requires READ permission on namespace&lt;/p&gt; * @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. */ attributeValueListGetAttributeValueLists(observe?: 'body', reportProgress?: boolean): Observable<AttributeValueListKeys>; attributeValueListGetAttributeValueLists(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<AttributeValueListKeys>>; attributeValueListGetAttributeValueLists(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<AttributeValueListKeys>>; }