|
|
|
@@ -106,16 +106,16 @@ export class LocationService { |
|
|
|
* Retrieves the collection of Location resources. |
|
|
|
* @param page The collection page number |
|
|
|
* @param itemsPerPage The number of items per page |
|
|
|
* @param name |
|
|
|
* @param locationNameCodeSearch |
|
|
|
* @param customJsonFilter |
|
|
|
* @param customJsonOrder |
|
|
|
* @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. |
|
|
|
*/ |
|
|
|
public locationsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ApiLocationsGetCollection200Response>; |
|
|
|
public locationsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiLocationsGetCollection200Response>>; |
|
|
|
public locationsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiLocationsGetCollection200Response>>; |
|
|
|
public locationsGetCollection(page?: number, itemsPerPage?: number, name?: string, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { |
|
|
|
public locationsGetCollection(page?: number, itemsPerPage?: number, locationNameCodeSearch?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ApiLocationsGetCollection200Response>; |
|
|
|
public locationsGetCollection(page?: number, itemsPerPage?: number, locationNameCodeSearch?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ApiLocationsGetCollection200Response>>; |
|
|
|
public locationsGetCollection(page?: number, itemsPerPage?: number, locationNameCodeSearch?: string, customJsonFilter?: string, customJsonOrder?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ApiLocationsGetCollection200Response>>; |
|
|
|
public locationsGetCollection(page?: number, itemsPerPage?: number, locationNameCodeSearch?: string, customJsonFilter?: string, customJsonOrder?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/problem+json' | 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> { |
|
|
|
|
|
|
|
let localVarQueryParameters = new HttpParams({encoder: this.encoder}); |
|
|
|
if (page !== undefined && page !== null) { |
|
|
|
@@ -126,9 +126,9 @@ export class LocationService { |
|
|
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, |
|
|
|
<any>itemsPerPage, 'itemsPerPage'); |
|
|
|
} |
|
|
|
if (name !== undefined && name !== null) { |
|
|
|
if (locationNameCodeSearch !== undefined && locationNameCodeSearch !== null) { |
|
|
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, |
|
|
|
<any>name, 'name'); |
|
|
|
<any>locationNameCodeSearch, 'locationNameCodeSearch'); |
|
|
|
} |
|
|
|
if (customJsonFilter !== undefined && customJsonFilter !== null) { |
|
|
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, |
|
|
|
|