Skip to content

Commit

Permalink
fix(LBTNewtonsoft): add extern alias LBTNewtonsoft
Browse files Browse the repository at this point in the history
  • Loading branch information
MingboPeng committed May 2, 2024
1 parent 4a1d3b9 commit 2deb023
Show file tree
Hide file tree
Showing 336 changed files with 984 additions and 973 deletions.
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/APITokensApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/AccountsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/ApplicationsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/ArtifactsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/JobsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/LicensesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/OrgsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/PluginsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/ProjectsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/RecipesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/RegistriesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/RunsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/SubscriptionPlansApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/SubscriptionsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/TeamsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/UserApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Api/UsersApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using RestSharp;
using LBTRestSharp::RestSharp;
using PollinationSDK.Client;
using PollinationSDK.Model;

Expand Down
12 changes: 6 additions & 6 deletions src/PollinationSDK/Client/ApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
Expand All @@ -19,8 +19,8 @@
using System.Linq;
using System.Net;
using System.Text;
using Newtonsoft.Json;
using RestSharp;
using LBTNewtonsoft::Newtonsoft.Json;
using LBTRestSharp::RestSharp;

namespace PollinationSDK.Client
{
Expand Down Expand Up @@ -112,7 +112,7 @@ public ApiClient(String basePath = "http://localhost")

// Creates and sets up a RestRequest prior to a call.
private RestRequest PrepareRequest(
String path, RestSharp.Method method, List<KeyValuePair<String, String>> queryParams, Object postBody,
String path, LBTRestSharp.RestSharp.Method method, List<KeyValuePair<String, String>> queryParams, Object postBody,
Dictionary<String, String> headerParams, Dictionary<String, String> formParams,
Dictionary<String, FileParameter> fileParams, Dictionary<String, String> pathParams,
String contentType)
Expand Down Expand Up @@ -163,7 +163,7 @@ private RestRequest PrepareRequest(
/// <param name="contentType">Content Type of the request</param>
/// <returns>Object</returns>
public Object CallApi(
String path, RestSharp.Method method, List<KeyValuePair<String, String>> queryParams, Object postBody,
String path, LBTRestSharp.RestSharp.Method method, List<KeyValuePair<String, String>> queryParams, Object postBody,
Dictionary<String, String> headerParams, Dictionary<String, String> formParams,
Dictionary<String, FileParameter> fileParams, Dictionary<String, String> pathParams,
String contentType)
Expand Down Expand Up @@ -198,7 +198,7 @@ public Object CallApi(
/// <param name="cancellationToken">Cancellation Token.</param>
/// <returns>The Task instance.</returns>
public async System.Threading.Tasks.Task<Object> CallApiAsync(
String path, RestSharp.Method method, List<KeyValuePair<String, String>> queryParams, Object postBody,
String path, LBTRestSharp.RestSharp.Method method, List<KeyValuePair<String, String>> queryParams, Object postBody,
Dictionary<String, String> headerParams, Dictionary<String, String> formParams,
Dictionary<String, FileParameter> fileParams, Dictionary<String, String> pathParams,
String contentType, CancellationToken cancellationToken)
Expand Down
2 changes: 1 addition & 1 deletion src/PollinationSDK/Client/ApiException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;

namespace PollinationSDK.Client
{
Expand Down
2 changes: 1 addition & 1 deletion src/PollinationSDK/Client/ApiResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;

namespace PollinationSDK.Client
Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Reflection;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using RestSharp;
using LBTRestSharp::RestSharp;

namespace PollinationSDK.Client
{
Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Client/ExceptionFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
*/


using System;
using RestSharp;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using LBTRestSharp::RestSharp;

namespace PollinationSDK.Client
{
Expand Down
2 changes: 1 addition & 1 deletion src/PollinationSDK/Client/GlobalConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/


using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Reflection;
using System.Collections.Generic;
using System.IO;
Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Client/IApiAccessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
*/


using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using RestSharp;
using LBTRestSharp::RestSharp;

namespace PollinationSDK.Client
{
Expand Down
4 changes: 2 additions & 2 deletions src/PollinationSDK/Client/OpenAPIDateConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* Contact: [email protected]
* Generated by: https://github.com/openapitools/openapi-generator.git
*/

using Newtonsoft.Json.Converters;
extern alias LBTNewtonsoft;
using LBTNewtonsoft::Newtonsoft.Json.Converters;

namespace PollinationSDK.Client
{
Expand Down
2 changes: 1 addition & 1 deletion src/PollinationSDK/Helper/AuthHelper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;
using System.Net;
using System.Text;
using System.Threading.Tasks;
Expand Down
2 changes: 1 addition & 1 deletion src/PollinationSDK/Helper/Env.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
extern alias LBTNewtonsoft; extern alias LBTRestSharp; using System;

namespace PollinationSDK
{
Expand Down
Loading

0 comments on commit 2deb023

Please sign in to comment.