|
|
|
@@ -103,19 +103,31 @@ export class ContactService { |
|
|
|
* Retrieves the collection of Contact resources. |
|
|
|
* Retrieves the collection of Contact resources. |
|
|
|
* @param page The collection page number |
|
|
|
* @param partner |
|
|
|
* @param partner2 |
|
|
|
* @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 contactsGetCollection(page?: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext}): Observable<ApiContactsGetCollection200Response>; |
|
|
|
public contactsGetCollection(page?: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext}): Observable<HttpResponse<ApiContactsGetCollection200Response>>; |
|
|
|
public contactsGetCollection(page?: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext}): Observable<HttpEvent<ApiContactsGetCollection200Response>>; |
|
|
|
public contactsGetCollection(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 contactsGetCollection(page?: number, partner?: string, partner2?: Array<string>, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext}): Observable<ApiContactsGetCollection200Response>; |
|
|
|
public contactsGetCollection(page?: number, partner?: string, partner2?: Array<string>, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext}): Observable<HttpResponse<ApiContactsGetCollection200Response>>; |
|
|
|
public contactsGetCollection(page?: number, partner?: string, partner2?: Array<string>, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/ld+json' | 'application/json' | 'text/html' | 'application/hal+json', context?: HttpContext}): Observable<HttpEvent<ApiContactsGetCollection200Response>>; |
|
|
|
public contactsGetCollection(page?: number, partner?: string, partner2?: 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 (partner !== undefined && partner !== null) { |
|
|
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, |
|
|
|
<any>partner, 'partner'); |
|
|
|
} |
|
|
|
if (partner2) { |
|
|
|
partner2.forEach((element) => { |
|
|
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, |
|
|
|
<any>element, 'partner[]'); |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
let localVarHeaders = this.defaultHeaders; |
|
|
|
|
|
|
|
|