@herd/angular-client
Version:
Swagger generated client for @herd/angular-client
69 lines (68 loc) • 4.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 { PartitionKeyGroup } from '../model/partitionKeyGroup';
import { PartitionKeyGroupCreateRequest } from '../model/partitionKeyGroupCreateRequest';
import { PartitionKeyGroupKeys } from '../model/partitionKeyGroupKeys';
import { Configuration } from '../configuration';
export declare class PartitionKeyGroupService {
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;
/**
* createPartitionKeyGroup
* Creates a new partition key group.
* @param partitionKeyGroupCreateRequest the information needed to create a partition key group
* @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.
*/
partitionKeyGroupCreatePartitionKeyGroup(partitionKeyGroupCreateRequest: PartitionKeyGroupCreateRequest, observe?: 'body', reportProgress?: boolean): Observable<PartitionKeyGroup>;
partitionKeyGroupCreatePartitionKeyGroup(partitionKeyGroupCreateRequest: PartitionKeyGroupCreateRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<PartitionKeyGroup>>;
partitionKeyGroupCreatePartitionKeyGroup(partitionKeyGroupCreateRequest: PartitionKeyGroupCreateRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<PartitionKeyGroup>>;
/**
* deletePartitionKeyGroup
* Deletes an existing partition key group by name.
* @param partitionKeyGroupName the partition key group 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.
*/
partitionKeyGroupDeletePartitionKeyGroup(partitionKeyGroupName: string, observe?: 'body', reportProgress?: boolean): Observable<PartitionKeyGroup>;
partitionKeyGroupDeletePartitionKeyGroup(partitionKeyGroupName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<PartitionKeyGroup>>;
partitionKeyGroupDeletePartitionKeyGroup(partitionKeyGroupName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<PartitionKeyGroup>>;
/**
* getPartitionKeyGroup
* Gets an existing partition key group by name.
* @param partitionKeyGroupName the partition key group 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.
*/
partitionKeyGroupGetPartitionKeyGroup(partitionKeyGroupName: string, observe?: 'body', reportProgress?: boolean): Observable<PartitionKeyGroup>;
partitionKeyGroupGetPartitionKeyGroup(partitionKeyGroupName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<PartitionKeyGroup>>;
partitionKeyGroupGetPartitionKeyGroup(partitionKeyGroupName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<PartitionKeyGroup>>;
/**
* getPartitionKeyGroups
* Gets a list of all existing partition key groups.
* @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.
*/
partitionKeyGroupGetPartitionKeyGroups(observe?: 'body', reportProgress?: boolean): Observable<PartitionKeyGroupKeys>;
partitionKeyGroupGetPartitionKeyGroups(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<PartitionKeyGroupKeys>>;
partitionKeyGroupGetPartitionKeyGroups(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<PartitionKeyGroupKeys>>;
}