UNPKG

@herd/angular-client

Version:

Swagger generated client for @herd/angular-client

61 lines (60 loc) 4.59 kB
/** * 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 { AllowedAttributeValuesCreateRequest } from '../model/allowedAttributeValuesCreateRequest'; import { AllowedAttributeValuesDeleteRequest } from '../model/allowedAttributeValuesDeleteRequest'; import { AllowedAttributeValuesInformation } from '../model/allowedAttributeValuesInformation'; import { Configuration } from '../configuration'; export declare class AllowedAttributeValueService { 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; /** * createAllowedAttributeValues * Creates a list of allowed attribute values for an existing attribute value list. * @param allowedAttributeValuesCreateRequest the information needed to create the allowed attribute values * @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. */ allowedAttributeValueCreateAllowedAttributeValues(allowedAttributeValuesCreateRequest: AllowedAttributeValuesCreateRequest, observe?: 'body', reportProgress?: boolean): Observable<AllowedAttributeValuesInformation>; allowedAttributeValueCreateAllowedAttributeValues(allowedAttributeValuesCreateRequest: AllowedAttributeValuesCreateRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<AllowedAttributeValuesInformation>>; allowedAttributeValueCreateAllowedAttributeValues(allowedAttributeValuesCreateRequest: AllowedAttributeValuesCreateRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<AllowedAttributeValuesInformation>>; /** * deleteAllowedAttributeValues * Deletes specified allowed attribute values from an existing attribute value list. * @param allowedAttributeValuesDeleteRequest the allowed attribute values delete request * @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. */ allowedAttributeValueDeleteAllowedAttributeValues(allowedAttributeValuesDeleteRequest: AllowedAttributeValuesDeleteRequest, observe?: 'body', reportProgress?: boolean): Observable<AllowedAttributeValuesInformation>; allowedAttributeValueDeleteAllowedAttributeValues(allowedAttributeValuesDeleteRequest: AllowedAttributeValuesDeleteRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<AllowedAttributeValuesInformation>>; allowedAttributeValueDeleteAllowedAttributeValues(allowedAttributeValuesDeleteRequest: AllowedAttributeValuesDeleteRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<AllowedAttributeValuesInformation>>; /** * getAllowedAttributeValues * Retrieves a range of existing allowed attribute values. * @param namespace the namespace * @param attributeValueListName the attribute value list 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. */ allowedAttributeValueGetAllowedAttributeValues(namespace: string, attributeValueListName: string, observe?: 'body', reportProgress?: boolean): Observable<AllowedAttributeValuesInformation>; allowedAttributeValueGetAllowedAttributeValues(namespace: string, attributeValueListName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<AllowedAttributeValuesInformation>>; allowedAttributeValueGetAllowedAttributeValues(namespace: string, attributeValueListName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<AllowedAttributeValuesInformation>>; }