Skip to content

Commit 2deb023

Browse files
committed
fix(LBTNewtonsoft): add extern alias LBTNewtonsoft
1 parent 4a1d3b9 commit 2deb023

File tree

336 files changed

+984
-973
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

336 files changed

+984
-973
lines changed

src/PollinationSDK/Api/APITokensApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/AccountsApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/ApplicationsApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/ArtifactsApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/JobsApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/LicensesApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/OrgsApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/PluginsApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/ProjectsApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/RecipesApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/RegistriesApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/RunsApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/SubscriptionPlansApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/SubscriptionsApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/TeamsApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/UserApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Api/UsersApi.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212
using System.Collections.ObjectModel;
1313
using System.Linq;
1414
using System.Threading;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616
using PollinationSDK.Client;
1717
using PollinationSDK.Model;
1818

src/PollinationSDK/Client/ApiClient.cs

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections;
1212
using System.Collections.Generic;
1313
using System.Globalization;
@@ -19,8 +19,8 @@
1919
using System.Linq;
2020
using System.Net;
2121
using System.Text;
22-
using Newtonsoft.Json;
23-
using RestSharp;
22+
using LBTNewtonsoft::Newtonsoft.Json;
23+
using LBTRestSharp::RestSharp;
2424

2525
namespace PollinationSDK.Client
2626
{
@@ -112,7 +112,7 @@ public ApiClient(String basePath = "http://localhost")
112112

113113
// Creates and sets up a RestRequest prior to a call.
114114
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,
116116
Dictionary<String, String> headerParams, Dictionary<String, String> formParams,
117117
Dictionary<String, FileParameter> fileParams, Dictionary<String, String> pathParams,
118118
String contentType)
@@ -163,7 +163,7 @@ private RestRequest PrepareRequest(
163163
/// <param name="contentType">Content Type of the request</param>
164164
/// <returns>Object</returns>
165165
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,
167167
Dictionary<String, String> headerParams, Dictionary<String, String> formParams,
168168
Dictionary<String, FileParameter> fileParams, Dictionary<String, String> pathParams,
169169
String contentType)
@@ -198,7 +198,7 @@ public Object CallApi(
198198
/// <param name="cancellationToken">Cancellation Token.</param>
199199
/// <returns>The Task instance.</returns>
200200
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,
202202
Dictionary<String, String> headerParams, Dictionary<String, String> formParams,
203203
Dictionary<String, FileParameter> fileParams, Dictionary<String, String> pathParams,
204204
String contentType, CancellationToken cancellationToken)

src/PollinationSDK/Client/ApiException.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111

1212
namespace PollinationSDK.Client
1313
{

src/PollinationSDK/Client/ApiResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Collections.Generic;
1212

1313
namespace PollinationSDK.Client

src/PollinationSDK/Client/Configuration.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
99

10-
using System;
10+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1111
using System.Reflection;
1212
using System.Collections.Concurrent;
1313
using System.Collections.Generic;
1414
using System.IO;
1515
using System.Linq;
1616
using System.Text;
17-
using RestSharp;
17+
using LBTRestSharp::RestSharp;
1818

1919
namespace PollinationSDK.Client
2020
{

src/PollinationSDK/Client/ExceptionFactory.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
*/
99

1010

11-
using System;
12-
using RestSharp;
11+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
12+
using LBTRestSharp::RestSharp;
1313

1414
namespace PollinationSDK.Client
1515
{

src/PollinationSDK/Client/GlobalConfiguration.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010

11-
using System;
11+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1212
using System.Reflection;
1313
using System.Collections.Generic;
1414
using System.IO;

src/PollinationSDK/Client/IApiAccessor.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
*/
99

1010

11-
using System;
11+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
1212
using System.Collections.Generic;
1313
using System.Collections.ObjectModel;
1414
using System.Linq;
15-
using RestSharp;
15+
using LBTRestSharp::RestSharp;
1616

1717
namespace PollinationSDK.Client
1818
{

src/PollinationSDK/Client/OpenAPIDateConverter.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* Contact: [email protected]
77
* Generated by: https://github.com/openapitools/openapi-generator.git
88
*/
9-
10-
using Newtonsoft.Json.Converters;
9+
extern alias LBTNewtonsoft;
10+
using LBTNewtonsoft::Newtonsoft.Json.Converters;
1111

1212
namespace PollinationSDK.Client
1313
{

src/PollinationSDK/Helper/AuthHelper.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
22
using System.Net;
33
using System.Text;
44
using System.Threading.Tasks;

src/PollinationSDK/Helper/Env.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
22

33
namespace PollinationSDK
44
{

0 commit comments

Comments
 (0)