|
|
|
@@ -103,19 +103,36 @@ export class PartnerService { |
|
|
|
* Retrieves the collection of Partner resources. |
|
|
|
* Retrieves the collection of Partner resources. |
|
|
|
* @param page The collection page number |
|
|
|
* @param orderName |
|
|
|
* @param type |
|
|
|
* @param type2 |
|
|
|
* @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 partnersGetCollection(page?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext}): Observable<ApiPartnersGetCollection200Response>; |
|
|
|
public partnersGetCollection(page?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext}): Observable<HttpResponse<ApiPartnersGetCollection200Response>>; |
|
|
|
public partnersGetCollection(page?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext}): Observable<HttpEvent<ApiPartnersGetCollection200Response>>; |
|
|
|
public partnersGetCollection(page?: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext}): Observable<any> { |
|
|
|
public partnersGetCollection(page?: number, orderName?: 'asc' | 'desc', type?: string, type2?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext}): Observable<ApiPartnersGetCollection200Response>; |
|
|
|
public partnersGetCollection(page?: number, orderName?: 'asc' | 'desc', type?: string, type2?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext}): Observable<HttpResponse<ApiPartnersGetCollection200Response>>; |
|
|
|
public partnersGetCollection(page?: number, orderName?: 'asc' | 'desc', type?: string, type2?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext}): Observable<HttpEvent<ApiPartnersGetCollection200Response>>; |
|
|
|
public partnersGetCollection(page?: number, orderName?: 'asc' | 'desc', type?: string, type2?: Array<string>, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext}): Observable<any> { |
|
|
|
|
|
|
|
let localVarQueryParameters = new HttpParams({encoder: this.encoder}); |
|
|
|
if (page !== undefined && page !== null) { |
|
|
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, |
|
|
|
<any>page, 'page'); |
|
|
|
} |
|
|
|
if (orderName !== undefined && orderName !== null) { |
|
|
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, |
|
|
|
<any>orderName, 'order[name]'); |
|
|
|
} |
|
|
|
if (type !== undefined && type !== null) { |
|
|
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, |
|
|
|
<any>type, 'type'); |
|
|
|
} |
|
|
|
if (type2) { |
|
|
|
type2.forEach((element) => { |
|
|
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, |
|
|
|
<any>element, 'type[]'); |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
let localVarHeaders = this.defaultHeaders; |
|
|
|
|
|
|
|
|