Repository URL to install this package:
/**
* Motif Context Service API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2.0.0
* Contact: info@vipera.com
*
* 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 { ServiceContextValue } from '../model/serviceContextValue';
import { Value } from '../model/value';
import { ValueCreate } from '../model/valueCreate';
import { Configuration } from '../configuration';
import { ValuesServiceInterface } from './values.serviceInterface';
export declare class ValuesService implements ValuesServiceInterface {
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;
/**
* Creates a Service Context Value
* Creates a Service Context Value
* @param domain Domain Name
* @param application Application Name
* @param context Context Name
* @param valueCreate
* @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.
*/
createValue(domain: string, application: string, context: string, valueCreate?: ValueCreate, observe?: 'body', reportProgress?: boolean): Observable<ServiceContextValue>;
createValue(domain: string, application: string, context: string, valueCreate?: ValueCreate, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ServiceContextValue>>;
createValue(domain: string, application: string, context: string, valueCreate?: ValueCreate, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ServiceContextValue>>;
/**
* Deletes a Service Context Value
* Deletes a Service Context Value
* @param domain Domain Name
* @param application Application Name
* @param context Context Name
* @param attribute Attribute 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.
*/
deleteValue(domain: string, application: string, context: string, attribute: string, observe?: 'body', reportProgress?: boolean): Observable<object>;
deleteValue(domain: string, application: string, context: string, attribute: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
deleteValue(domain: string, application: string, context: string, attribute: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
/**
* Retrieves a Service Context Value
* Retrieves a Service Context Value
* @param domain Domain Name
* @param application Application Name
* @param context Context Name
* @param attribute Attribute 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.
*/
getValue(domain: string, application: string, context: string, attribute: string, observe?: 'body', reportProgress?: boolean): Observable<ServiceContextValue>;
getValue(domain: string, application: string, context: string, attribute: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ServiceContextValue>>;
getValue(domain: string, application: string, context: string, attribute: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ServiceContextValue>>;
/**
* Retrieves Service Context Values
* Retrieves Service Context Values
* @param domain Domain Name
* @param application Application Name
* @param context Context 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.
*/
getValues(domain: string, application: string, context: string, observe?: 'body', reportProgress?: boolean): Observable<Array<ServiceContextValue>>;
getValues(domain: string, application: string, context: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<Array<ServiceContextValue>>>;
getValues(domain: string, application: string, context: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<Array<ServiceContextValue>>>;
/**
* Updates a Service Context Value
* Updates a Service Context Value
* @param domain Domain Name
* @param application Application Name
* @param context Context Name
* @param attribute Attribute Name
* @param value
* @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.
*/
updateValue(domain: string, application: string, context: string, attribute: string, value?: Value, observe?: 'body', reportProgress?: boolean): Observable<object>;
updateValue(domain: string, application: string, context: string, attribute: string, value?: Value, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<object>>;
updateValue(domain: string, application: string, context: string, attribute: string, value?: Value, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<object>>;
}