/********************************************************************************************************************************* This class has been automatically generated using KLTT-APIRestGenerator project, don't do manual file modifications. Mon Oct 22 12:45:26 CEST 2018 "Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0. " **********************************************************************************************************************************/ import { MyComplexObjectRef } from '../model/my-complex-object-ref.model'; import { MyComplexObject } from '../model/my-complex-object.model'; import { StandardHttpException } from './../utils/standard-http-exception.utils'; import { Observable } from 'rxjs'; import { HttpClient, HttpHeaders } from '@angular/common/http'; /** * ------------------------------------------------ * @author API Rest Generator * ------------------------------------------------ */ export declare class PakkkExceptiontestsService { private baseURI; private http; /** Constant - API Version - Key */ static API_VERSION_KEY: string; /** Constant - API Version - Value */ static API_VERSION_VALUE: string; constructor(baseURI: string, http: HttpClient); getBaseURI(scheme: string): string; exampleDouble(scheme: string): Observable; /** * Validate the input scheme with the expected for this */ exampleDoubleValidateScheme(scheme: any): boolean; /** * The following method get the full URL */ exampleDoubleFullUrl(scheme: string): string; /** * The following method assign every path parameter with the value */ exampleDoublePathAssignment(urlWithScheme: string): string; /** * The following method assign every query parameter with the value */ exampleDoubleQueryAssignment(): string; /** * The following method assign every header parameter with the value */ exampleDoubleHeaderAssignment(): HttpHeaders; exampleBoolean(scheme: string): Observable; /** * Validate the input scheme with the expected for this */ exampleBooleanValidateScheme(scheme: any): boolean; /** * The following method get the full URL */ exampleBooleanFullUrl(scheme: string): string; /** * The following method assign every path parameter with the value */ exampleBooleanPathAssignment(urlWithScheme: string): string; /** * The following method assign every query parameter with the value */ exampleBooleanQueryAssignment(): string; /** * The following method assign every header parameter with the value */ exampleBooleanHeaderAssignment(): HttpHeaders; exampleComplexObject(scheme: string): Observable; /** * Validate the input scheme with the expected for this */ exampleComplexObjectValidateScheme(scheme: any): boolean; /** * The following method get the full URL */ exampleComplexObjectFullUrl(scheme: string): string; /** * The following method assign every path parameter with the value */ exampleComplexObjectPathAssignment(urlWithScheme: string): string; /** * The following method assign every query parameter with the value */ exampleComplexObjectQueryAssignment(): string; /** * The following method assign every header parameter with the value */ exampleComplexObjectHeaderAssignment(): HttpHeaders; exampleString(scheme: string): Observable; /** * Validate the input scheme with the expected for this */ exampleStringValidateScheme(scheme: any): boolean; /** * The following method get the full URL */ exampleStringFullUrl(scheme: string): string; /** * The following method assign every path parameter with the value */ exampleStringPathAssignment(urlWithScheme: string): string; /** * The following method assign every query parameter with the value */ exampleStringQueryAssignment(): string; /** * The following method assign every header parameter with the value */ exampleStringHeaderAssignment(): HttpHeaders; exampleComplexObjectRef(scheme: string): Observable; /** * Validate the input scheme with the expected for this */ exampleComplexObjectRefValidateScheme(scheme: any): boolean; /** * The following method get the full URL */ exampleComplexObjectRefFullUrl(scheme: string): string; /** * The following method assign every path parameter with the value */ exampleComplexObjectRefPathAssignment(urlWithScheme: string): string; /** * The following method assign every query parameter with the value */ exampleComplexObjectRefQueryAssignment(): string; /** * The following method assign every header parameter with the value */ exampleComplexObjectRefHeaderAssignment(): HttpHeaders; exampleInteger(scheme: string): Observable; /** * Validate the input scheme with the expected for this */ exampleIntegerValidateScheme(scheme: any): boolean; /** * The following method get the full URL */ exampleIntegerFullUrl(scheme: string): string; /** * The following method assign every path parameter with the value */ exampleIntegerPathAssignment(urlWithScheme: string): string; /** * The following method assign every query parameter with the value */ exampleIntegerQueryAssignment(): string; /** * The following method assign every header parameter with the value */ exampleIntegerHeaderAssignment(): HttpHeaders; exampleFloat(scheme: string): Observable; /** * Validate the input scheme with the expected for this */ exampleFloatValidateScheme(scheme: any): boolean; /** * The following method get the full URL */ exampleFloatFullUrl(scheme: string): string; /** * The following method assign every path parameter with the value */ exampleFloatPathAssignment(urlWithScheme: string): string; /** * The following method assign every query parameter with the value */ exampleFloatQueryAssignment(): string; /** * The following method assign every header parameter with the value */ exampleFloatHeaderAssignment(): HttpHeaders; exampleLong(scheme: string): Observable; /** * Validate the input scheme with the expected for this */ exampleLongValidateScheme(scheme: any): boolean; /** * The following method get the full URL */ exampleLongFullUrl(scheme: string): string; /** * The following method assign every path parameter with the value */ exampleLongPathAssignment(urlWithScheme: string): string; /** * The following method assign every query parameter with the value */ exampleLongQueryAssignment(): string; /** * The following method assign every header parameter with the value */ exampleLongHeaderAssignment(): HttpHeaders; /** * @param statusCode with the status code * @param error with the instance of the error * @return a new instance of standard HTTP exception */ generateStandardHttpExceptionFromErrorInstance(statusCode: any, error: any): StandardHttpException; /** * @param statusCode with the status code * @param errorString with the error message * @param message with the exception message * @param exception with the stack trace error * @param path with the path error * @param timestamp with the timestamp * @return a new instance of standard HTTP exception */ generateStandardHttpException(statusCode: number, errorString: string, message: string, exception: string, path: string, timestamp: number): StandardHttpException; }