|
7 | 7 | * Generated by: https://github.com/openapitools/openapi-generator.git
|
8 | 8 | */
|
9 | 9 |
|
10 |
| -using System; |
| 10 | +extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System; |
11 | 11 | using System.Collections;
|
12 | 12 | using System.Collections.Generic;
|
13 | 13 | using System.Globalization;
|
|
19 | 19 | using System.Linq;
|
20 | 20 | using System.Net;
|
21 | 21 | using System.Text;
|
22 |
| -using Newtonsoft.Json; |
23 |
| -using RestSharp; |
| 22 | +using LBTNewtonsoft::Newtonsoft.Json; |
| 23 | +using LBTRestSharp::RestSharp; |
24 | 24 |
|
25 | 25 | namespace PollinationSDK.Client
|
26 | 26 | {
|
@@ -112,7 +112,7 @@ public ApiClient(String basePath = "http://localhost")
|
112 | 112 |
|
113 | 113 | // Creates and sets up a RestRequest prior to a call.
|
114 | 114 | private RestRequest PrepareRequest(
|
115 |
| - String path, RestSharp.Method method, List<KeyValuePair<String, String>> queryParams, Object postBody, |
| 115 | + String path, LBTRestSharp.RestSharp.Method method, List<KeyValuePair<String, String>> queryParams, Object postBody, |
116 | 116 | Dictionary<String, String> headerParams, Dictionary<String, String> formParams,
|
117 | 117 | Dictionary<String, FileParameter> fileParams, Dictionary<String, String> pathParams,
|
118 | 118 | String contentType)
|
@@ -163,7 +163,7 @@ private RestRequest PrepareRequest(
|
163 | 163 | /// <param name="contentType">Content Type of the request</param>
|
164 | 164 | /// <returns>Object</returns>
|
165 | 165 | public Object CallApi(
|
166 |
| - String path, RestSharp.Method method, List<KeyValuePair<String, String>> queryParams, Object postBody, |
| 166 | + String path, LBTRestSharp.RestSharp.Method method, List<KeyValuePair<String, String>> queryParams, Object postBody, |
167 | 167 | Dictionary<String, String> headerParams, Dictionary<String, String> formParams,
|
168 | 168 | Dictionary<String, FileParameter> fileParams, Dictionary<String, String> pathParams,
|
169 | 169 | String contentType)
|
@@ -198,7 +198,7 @@ public Object CallApi(
|
198 | 198 | /// <param name="cancellationToken">Cancellation Token.</param>
|
199 | 199 | /// <returns>The Task instance.</returns>
|
200 | 200 | public async System.Threading.Tasks.Task<Object> CallApiAsync(
|
201 |
| - String path, RestSharp.Method method, List<KeyValuePair<String, String>> queryParams, Object postBody, |
| 201 | + String path, LBTRestSharp.RestSharp.Method method, List<KeyValuePair<String, String>> queryParams, Object postBody, |
202 | 202 | Dictionary<String, String> headerParams, Dictionary<String, String> formParams,
|
203 | 203 | Dictionary<String, FileParameter> fileParams, Dictionary<String, String> pathParams,
|
204 | 204 | String contentType, CancellationToken cancellationToken)
|
|
0 commit comments