From 73739e318080529fa1c6b054220a30406d8619ef Mon Sep 17 00:00:00 2001 From: Guilherme Werner Date: Mon, 26 May 2025 21:39:00 -0300 Subject: [PATCH] Create wrapper class --- .env.example | 1 + .openapi-generator/FILES | 120 +- Tribufu.sln | 14 + scripts/generate.ps1 | 4 +- src/Tribufu.Example/Program.cs | 21 +- .../Api/TribufuGeneratedApi.cs} | 3280 ++++++++--------- .../Client/ApiClient.cs | 4 +- .../Client/ApiException.cs | 2 +- .../Client/ApiResponse.cs | 2 +- .../Client/ClientUtils.cs | 2 +- .../Client/Configuration.cs | 4 +- .../Client/ExceptionFactory.cs | 2 +- .../Client/GlobalConfiguration.cs | 2 +- .../Client/HttpMethod.cs | 2 +- .../Client/IApiAccessor.cs | 2 +- .../Client/IAsynchronousClient.cs | 2 +- .../Client/IReadableConfiguration.cs | 2 +- .../Client/ISynchronousClient.cs | 2 +- .../Client/Multimap.cs | 2 +- .../Client/OpenAPIDateConverter.cs | 2 +- .../Client/RequestOptions.cs | 2 +- .../Client/RetryConfiguration.cs | 2 +- .../Model/AbstractOpenAPISchema.cs | 2 +- .../Model/Account.cs | 4 +- .../Model/Application.cs | 4 +- .../Model/ApplicationType.cs | 4 +- .../Model/AuthorizeRequest.cs | 4 +- .../Model/CodeChallengeMethod.cs | 4 +- .../Model/CryptoViewModel.cs | 4 +- .../Model/Game.cs | 4 +- .../Model/GameServer.cs | 4 +- .../Model/GameServerCluster.cs | 4 +- .../Model/GrantType.cs | 4 +- .../Model/Group.cs | 4 +- .../Model/GroupGame.cs | 4 +- .../Model/GroupMember.cs | 4 +- .../Model/GroupRank.cs | 4 +- .../Model/HashViewModel.cs | 4 +- .../Model/IntrospectRequest.cs | 4 +- .../Model/IpAddress.cs | 4 +- .../Model/LeaderboardItem.cs | 4 +- .../Model/LeaderboardOrder.cs | 4 +- .../Model/LoginProvider.cs | 4 +- .../Model/LoginRequest.cs | 4 +- .../Model/LoginResponse.cs | 4 +- .../Model/Package.cs | 4 +- .../Model/Profile.cs | 4 +- .../Model/ProfileGame.cs | 4 +- .../Model/ProfileGroup.cs | 4 +- .../Model/RefreshRequest.cs | 4 +- .../Model/RegisterRequest.cs | 4 +- .../Model/ResponseType.cs | 4 +- .../Model/RevokeRequest.cs | 4 +- .../Model/SearchRequest.cs | 4 +- .../Model/SearchType.cs | 4 +- .../Model/ServerMetrics.cs | 4 +- .../Model/ServerStatus.cs | 4 +- .../Model/Subscription.cs | 4 +- .../Model/TokenHintType.cs | 4 +- .../Model/TokenRequest.cs | 4 +- .../Model/TokenResponse.cs | 4 +- .../Model/TokenType.cs | 4 +- .../Model/UpdateProfile.cs | 4 +- .../Model/UserInfo.cs | 4 +- .../Model/UserType.cs | 4 +- src/Tribufu.Generated/README.md | 1 + .../Tribufu.Generated.csproj | 27 + src/Tribufu/Model/Attachment.cs | 205 -- src/Tribufu/Model/ClientInfo.cs | 129 - src/Tribufu/Model/ClientType.cs | 54 - src/Tribufu/Model/CodeResponse.cs | 102 - src/Tribufu/Model/CreateUser.cs | 225 -- src/Tribufu/Model/GameServerQuery.cs | 152 - src/Tribufu/Model/GameServerStatus.cs | 54 - src/Tribufu/Model/IntrospectResponse.cs | 182 - src/Tribufu/Model/ModelClient.cs | 243 -- src/Tribufu/Model/PackageRelease.cs | 159 - src/Tribufu/Model/Search.cs | 120 - src/Tribufu/Model/SubscriptionPrice.cs | 117 - src/Tribufu/Tribufu.csproj | 7 +- src/Tribufu/TribufuApi.cs | 183 + src/Tribufu/TribufuApiSingleton.cs | 33 + 82 files changed, 2069 insertions(+), 3570 deletions(-) rename src/{Tribufu/Api/TribufuApi.cs => Tribufu.Generated/Api/TribufuGeneratedApi.cs} (76%) rename src/{Tribufu => Tribufu.Generated}/Client/ApiClient.cs (99%) rename src/{Tribufu => Tribufu.Generated}/Client/ApiException.cs (98%) rename src/{Tribufu => Tribufu.Generated}/Client/ApiResponse.cs (99%) rename src/{Tribufu => Tribufu.Generated}/Client/ClientUtils.cs (99%) rename src/{Tribufu => Tribufu.Generated}/Client/Configuration.cs (99%) rename src/{Tribufu => Tribufu.Generated}/Client/ExceptionFactory.cs (94%) rename src/{Tribufu => Tribufu.Generated}/Client/GlobalConfiguration.cs (98%) rename src/{Tribufu => Tribufu.Generated}/Client/HttpMethod.cs (95%) rename src/{Tribufu => Tribufu.Generated}/Client/IApiAccessor.cs (96%) rename src/{Tribufu => Tribufu.Generated}/Client/IAsynchronousClient.cs (99%) rename src/{Tribufu => Tribufu.Generated}/Client/IReadableConfiguration.cs (99%) rename src/{Tribufu => Tribufu.Generated}/Client/ISynchronousClient.cs (99%) rename src/{Tribufu => Tribufu.Generated}/Client/Multimap.cs (99%) rename src/{Tribufu => Tribufu.Generated}/Client/OpenAPIDateConverter.cs (96%) rename src/{Tribufu => Tribufu.Generated}/Client/RequestOptions.cs (98%) rename src/{Tribufu => Tribufu.Generated}/Client/RetryConfiguration.cs (95%) rename src/{Tribufu => Tribufu.Generated}/Model/AbstractOpenAPISchema.cs (98%) rename src/{Tribufu => Tribufu.Generated}/Model/Account.cs (97%) rename src/{Tribufu => Tribufu.Generated}/Model/Application.cs (99%) rename src/{Tribufu => Tribufu.Generated}/Model/ApplicationType.cs (90%) rename src/{Tribufu => Tribufu.Generated}/Model/AuthorizeRequest.cs (97%) rename src/{Tribufu => Tribufu.Generated}/Model/CodeChallengeMethod.cs (90%) rename src/{Tribufu => Tribufu.Generated}/Model/CryptoViewModel.cs (96%) rename src/{Tribufu => Tribufu.Generated}/Model/Game.cs (99%) rename src/{Tribufu => Tribufu.Generated}/Model/GameServer.cs (99%) rename src/{Tribufu => Tribufu.Generated}/Model/GameServerCluster.cs (98%) rename src/{Tribufu => Tribufu.Generated}/Model/GrantType.cs (92%) rename src/{Tribufu => Tribufu.Generated}/Model/Group.cs (98%) rename src/{Tribufu => Tribufu.Generated}/Model/GroupGame.cs (97%) rename src/{Tribufu => Tribufu.Generated}/Model/GroupMember.cs (97%) rename src/{Tribufu => Tribufu.Generated}/Model/GroupRank.cs (91%) rename src/{Tribufu => Tribufu.Generated}/Model/HashViewModel.cs (95%) rename src/{Tribufu => Tribufu.Generated}/Model/IntrospectRequest.cs (96%) rename src/{Tribufu => Tribufu.Generated}/Model/IpAddress.cs (99%) rename src/{Tribufu => Tribufu.Generated}/Model/LeaderboardItem.cs (97%) rename src/{Tribufu => Tribufu.Generated}/Model/LeaderboardOrder.cs (90%) rename src/{Tribufu => Tribufu.Generated}/Model/LoginProvider.cs (94%) rename src/{Tribufu => Tribufu.Generated}/Model/LoginRequest.cs (96%) rename src/{Tribufu => Tribufu.Generated}/Model/LoginResponse.cs (97%) rename src/{Tribufu => Tribufu.Generated}/Model/Package.cs (98%) rename src/{Tribufu => Tribufu.Generated}/Model/Profile.cs (98%) rename src/{Tribufu => Tribufu.Generated}/Model/ProfileGame.cs (98%) rename src/{Tribufu => Tribufu.Generated}/Model/ProfileGroup.cs (98%) rename src/{Tribufu => Tribufu.Generated}/Model/RefreshRequest.cs (95%) rename src/{Tribufu => Tribufu.Generated}/Model/RegisterRequest.cs (98%) rename src/{Tribufu => Tribufu.Generated}/Model/ResponseType.cs (90%) rename src/{Tribufu => Tribufu.Generated}/Model/RevokeRequest.cs (96%) rename src/{Tribufu => Tribufu.Generated}/Model/SearchRequest.cs (96%) rename src/{Tribufu => Tribufu.Generated}/Model/SearchType.cs (92%) rename src/{Tribufu => Tribufu.Generated}/Model/ServerMetrics.cs (96%) rename src/{Tribufu => Tribufu.Generated}/Model/ServerStatus.cs (91%) rename src/{Tribufu => Tribufu.Generated}/Model/Subscription.cs (97%) rename src/{Tribufu => Tribufu.Generated}/Model/TokenHintType.cs (90%) rename src/{Tribufu => Tribufu.Generated}/Model/TokenRequest.cs (97%) rename src/{Tribufu => Tribufu.Generated}/Model/TokenResponse.cs (97%) rename src/{Tribufu => Tribufu.Generated}/Model/TokenType.cs (88%) rename src/{Tribufu => Tribufu.Generated}/Model/UpdateProfile.cs (96%) rename src/{Tribufu => Tribufu.Generated}/Model/UserInfo.cs (99%) rename src/{Tribufu => Tribufu.Generated}/Model/UserType.cs (90%) create mode 100644 src/Tribufu.Generated/README.md create mode 100644 src/Tribufu.Generated/Tribufu.Generated.csproj delete mode 100644 src/Tribufu/Model/Attachment.cs delete mode 100644 src/Tribufu/Model/ClientInfo.cs delete mode 100644 src/Tribufu/Model/ClientType.cs delete mode 100644 src/Tribufu/Model/CodeResponse.cs delete mode 100644 src/Tribufu/Model/CreateUser.cs delete mode 100644 src/Tribufu/Model/GameServerQuery.cs delete mode 100644 src/Tribufu/Model/GameServerStatus.cs delete mode 100644 src/Tribufu/Model/IntrospectResponse.cs delete mode 100644 src/Tribufu/Model/ModelClient.cs delete mode 100644 src/Tribufu/Model/PackageRelease.cs delete mode 100644 src/Tribufu/Model/Search.cs delete mode 100644 src/Tribufu/Model/SubscriptionPrice.cs create mode 100644 src/Tribufu/TribufuApi.cs create mode 100644 src/Tribufu/TribufuApiSingleton.cs diff --git a/.env.example b/.env.example index 0776f1f..7d6736d 100644 --- a/.env.example +++ b/.env.example @@ -1 +1,2 @@ TRIBUFU_API_KEY="" +TRIBUFU_API_URL="https://api.tribufu.com" diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index e479aee..e13d875 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -1,60 +1,60 @@ -src/Tribufu/Api/TribufuApi.cs -src/Tribufu/Client/ApiClient.cs -src/Tribufu/Client/ApiException.cs -src/Tribufu/Client/ApiResponse.cs -src/Tribufu/Client/ClientUtils.cs -src/Tribufu/Client/Configuration.cs -src/Tribufu/Client/ExceptionFactory.cs -src/Tribufu/Client/GlobalConfiguration.cs -src/Tribufu/Client/HttpMethod.cs -src/Tribufu/Client/IApiAccessor.cs -src/Tribufu/Client/IAsynchronousClient.cs -src/Tribufu/Client/IReadableConfiguration.cs -src/Tribufu/Client/ISynchronousClient.cs -src/Tribufu/Client/Multimap.cs -src/Tribufu/Client/OpenAPIDateConverter.cs -src/Tribufu/Client/RequestOptions.cs -src/Tribufu/Client/RetryConfiguration.cs -src/Tribufu/Model/AbstractOpenAPISchema.cs -src/Tribufu/Model/Account.cs -src/Tribufu/Model/Application.cs -src/Tribufu/Model/ApplicationType.cs -src/Tribufu/Model/AuthorizeRequest.cs -src/Tribufu/Model/CodeChallengeMethod.cs -src/Tribufu/Model/CryptoViewModel.cs -src/Tribufu/Model/Game.cs -src/Tribufu/Model/GameServer.cs -src/Tribufu/Model/GameServerCluster.cs -src/Tribufu/Model/GrantType.cs -src/Tribufu/Model/Group.cs -src/Tribufu/Model/GroupGame.cs -src/Tribufu/Model/GroupMember.cs -src/Tribufu/Model/GroupRank.cs -src/Tribufu/Model/HashViewModel.cs -src/Tribufu/Model/IntrospectRequest.cs -src/Tribufu/Model/IpAddress.cs -src/Tribufu/Model/LeaderboardItem.cs -src/Tribufu/Model/LeaderboardOrder.cs -src/Tribufu/Model/LoginProvider.cs -src/Tribufu/Model/LoginRequest.cs -src/Tribufu/Model/LoginResponse.cs -src/Tribufu/Model/Package.cs -src/Tribufu/Model/Profile.cs -src/Tribufu/Model/ProfileGame.cs -src/Tribufu/Model/ProfileGroup.cs -src/Tribufu/Model/RefreshRequest.cs -src/Tribufu/Model/RegisterRequest.cs -src/Tribufu/Model/ResponseType.cs -src/Tribufu/Model/RevokeRequest.cs -src/Tribufu/Model/SearchRequest.cs -src/Tribufu/Model/SearchType.cs -src/Tribufu/Model/ServerMetrics.cs -src/Tribufu/Model/ServerStatus.cs -src/Tribufu/Model/Subscription.cs -src/Tribufu/Model/TokenHintType.cs -src/Tribufu/Model/TokenRequest.cs -src/Tribufu/Model/TokenResponse.cs -src/Tribufu/Model/TokenType.cs -src/Tribufu/Model/UpdateProfile.cs -src/Tribufu/Model/UserInfo.cs -src/Tribufu/Model/UserType.cs +src/Tribufu.Generated/Api/TribufuGeneratedApi.cs +src/Tribufu.Generated/Client/ApiClient.cs +src/Tribufu.Generated/Client/ApiException.cs +src/Tribufu.Generated/Client/ApiResponse.cs +src/Tribufu.Generated/Client/ClientUtils.cs +src/Tribufu.Generated/Client/Configuration.cs +src/Tribufu.Generated/Client/ExceptionFactory.cs +src/Tribufu.Generated/Client/GlobalConfiguration.cs +src/Tribufu.Generated/Client/HttpMethod.cs +src/Tribufu.Generated/Client/IApiAccessor.cs +src/Tribufu.Generated/Client/IAsynchronousClient.cs +src/Tribufu.Generated/Client/IReadableConfiguration.cs +src/Tribufu.Generated/Client/ISynchronousClient.cs +src/Tribufu.Generated/Client/Multimap.cs +src/Tribufu.Generated/Client/OpenAPIDateConverter.cs +src/Tribufu.Generated/Client/RequestOptions.cs +src/Tribufu.Generated/Client/RetryConfiguration.cs +src/Tribufu.Generated/Model/AbstractOpenAPISchema.cs +src/Tribufu.Generated/Model/Account.cs +src/Tribufu.Generated/Model/Application.cs +src/Tribufu.Generated/Model/ApplicationType.cs +src/Tribufu.Generated/Model/AuthorizeRequest.cs +src/Tribufu.Generated/Model/CodeChallengeMethod.cs +src/Tribufu.Generated/Model/CryptoViewModel.cs +src/Tribufu.Generated/Model/Game.cs +src/Tribufu.Generated/Model/GameServer.cs +src/Tribufu.Generated/Model/GameServerCluster.cs +src/Tribufu.Generated/Model/GrantType.cs +src/Tribufu.Generated/Model/Group.cs +src/Tribufu.Generated/Model/GroupGame.cs +src/Tribufu.Generated/Model/GroupMember.cs +src/Tribufu.Generated/Model/GroupRank.cs +src/Tribufu.Generated/Model/HashViewModel.cs +src/Tribufu.Generated/Model/IntrospectRequest.cs +src/Tribufu.Generated/Model/IpAddress.cs +src/Tribufu.Generated/Model/LeaderboardItem.cs +src/Tribufu.Generated/Model/LeaderboardOrder.cs +src/Tribufu.Generated/Model/LoginProvider.cs +src/Tribufu.Generated/Model/LoginRequest.cs +src/Tribufu.Generated/Model/LoginResponse.cs +src/Tribufu.Generated/Model/Package.cs +src/Tribufu.Generated/Model/Profile.cs +src/Tribufu.Generated/Model/ProfileGame.cs +src/Tribufu.Generated/Model/ProfileGroup.cs +src/Tribufu.Generated/Model/RefreshRequest.cs +src/Tribufu.Generated/Model/RegisterRequest.cs +src/Tribufu.Generated/Model/ResponseType.cs +src/Tribufu.Generated/Model/RevokeRequest.cs +src/Tribufu.Generated/Model/SearchRequest.cs +src/Tribufu.Generated/Model/SearchType.cs +src/Tribufu.Generated/Model/ServerMetrics.cs +src/Tribufu.Generated/Model/ServerStatus.cs +src/Tribufu.Generated/Model/Subscription.cs +src/Tribufu.Generated/Model/TokenHintType.cs +src/Tribufu.Generated/Model/TokenRequest.cs +src/Tribufu.Generated/Model/TokenResponse.cs +src/Tribufu.Generated/Model/TokenType.cs +src/Tribufu.Generated/Model/UpdateProfile.cs +src/Tribufu.Generated/Model/UserInfo.cs +src/Tribufu.Generated/Model/UserType.cs diff --git a/Tribufu.sln b/Tribufu.sln index 5f20314..b3ff43a 100644 --- a/Tribufu.sln +++ b/Tribufu.sln @@ -3,6 +3,8 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tribufu", "src\Tribufu\Tribufu.csproj", "{7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tribufu.Generated", "src\Tribufu.Generated\Tribufu.Generated.csproj", "{FF9B3170-0FD8-44A5-B6E3-01A8D11D2BEF}" +EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tribufu.Example", "src\Tribufu.Example\Tribufu.Example.csproj", "{D6392A29-E2DC-4050-B4C1-B279DD2D226D}" EndProject Global @@ -27,6 +29,18 @@ Global {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Release|x64.Build.0 = Release|Any CPU {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Release|x86.ActiveCfg = Release|Any CPU {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Release|x86.Build.0 = Release|Any CPU + {FF9B3170-0FD8-44A5-B6E3-01A8D11D2BEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FF9B3170-0FD8-44A5-B6E3-01A8D11D2BEF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FF9B3170-0FD8-44A5-B6E3-01A8D11D2BEF}.Debug|x64.ActiveCfg = Debug|Any CPU + {FF9B3170-0FD8-44A5-B6E3-01A8D11D2BEF}.Debug|x64.Build.0 = Debug|Any CPU + {FF9B3170-0FD8-44A5-B6E3-01A8D11D2BEF}.Debug|x86.ActiveCfg = Debug|Any CPU + {FF9B3170-0FD8-44A5-B6E3-01A8D11D2BEF}.Debug|x86.Build.0 = Debug|Any CPU + {FF9B3170-0FD8-44A5-B6E3-01A8D11D2BEF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FF9B3170-0FD8-44A5-B6E3-01A8D11D2BEF}.Release|Any CPU.Build.0 = Release|Any CPU + {FF9B3170-0FD8-44A5-B6E3-01A8D11D2BEF}.Release|x64.ActiveCfg = Release|Any CPU + {FF9B3170-0FD8-44A5-B6E3-01A8D11D2BEF}.Release|x64.Build.0 = Release|Any CPU + {FF9B3170-0FD8-44A5-B6E3-01A8D11D2BEF}.Release|x86.ActiveCfg = Release|Any CPU + {FF9B3170-0FD8-44A5-B6E3-01A8D11D2BEF}.Release|x86.Build.0 = Release|Any CPU {D6392A29-E2DC-4050-B4C1-B279DD2D226D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D6392A29-E2DC-4050-B4C1-B279DD2D226D}.Debug|Any CPU.Build.0 = Debug|Any CPU {D6392A29-E2DC-4050-B4C1-B279DD2D226D}.Debug|x64.ActiveCfg = Debug|Any CPU diff --git a/scripts/generate.ps1 b/scripts/generate.ps1 index 431b596..c2c8b9a 100644 --- a/scripts/generate.ps1 +++ b/scripts/generate.ps1 @@ -7,6 +7,6 @@ java -jar ./vendor/openapi-generator/openapi-generator-cli.jar generate ` -g csharp ` -o . ` --global-property apis,models,supportingFiles,apiDocs=false,modelDocs=false,apiTests=false,modelTests=false ` - --additional-properties=packageName=Tribufu,library=restsharp,apiName=TribufuApi,zeroBasedEnums=true,nullableReferenceTypes=true ` - --openapi-normalizer SET_TAGS_FOR_ALL_OPERATIONS=Tribufu ` + --additional-properties=packageName=Tribufu.Generated,library=restsharp,zeroBasedEnums=true,nullableReferenceTypes=true ` + --openapi-normalizer SET_TAGS_FOR_ALL_OPERATIONS=TribufuGenerated ` --skip-validate-spec diff --git a/src/Tribufu.Example/Program.cs b/src/Tribufu.Example/Program.cs index 9d5fef8..5462790 100644 --- a/src/Tribufu.Example/Program.cs +++ b/src/Tribufu.Example/Program.cs @@ -2,8 +2,7 @@ // SPDX-License-Identifier: UNLICENSED using dotenv.net; -using Tribufu.Api; -using Tribufu.Client; +using Tribufu.Generated.Client; namespace Tribufu.Test { @@ -13,31 +12,19 @@ namespace Tribufu.Test { DotEnv.Load(new DotEnvOptions(ignoreExceptions: true, envFilePaths: [".env", "../../.env"])); - var config = new Configuration - { - BasePath = "https://api.tribufu.com" - }; - var apiKey = Environment.GetEnvironmentVariable("TRIBUFU_API_KEY"); - if (!string.IsNullOrEmpty(apiKey)) - { - config.AddApiKey("Authorization", "DvyTVeT6EBsvqsPE1mRuW7ewwiP1f9playWE9wLTmdXnCuBQqBrluhU0p1KXYaRi"); - config.AddApiKeyPrefix("Authorization", "ApiKey"); - } + var tribufu = new TribufuApi(apiKey ?? ""); - var tribufu = new TribufuApi(config); + Console.WriteLine(TribufuApi.GetVersion()); try { var result = await tribufu.GetUserInfoAsync(); - Console.WriteLine("Result:"); Console.WriteLine(result); } catch (ApiException e) { - Console.WriteLine("---- API Error ----"); - Console.WriteLine($"Status: {e.ErrorCode}"); - Console.WriteLine($"Details: {e.Data}"); + Console.WriteLine(e.Message); } } } diff --git a/src/Tribufu/Api/TribufuApi.cs b/src/Tribufu.Generated/Api/TribufuGeneratedApi.cs similarity index 76% rename from src/Tribufu/Api/TribufuApi.cs rename to src/Tribufu.Generated/Api/TribufuGeneratedApi.cs index 6c9cb15..4575450 100644 --- a/src/Tribufu/Api/TribufuApi.cs +++ b/src/Tribufu.Generated/Api/TribufuGeneratedApi.cs @@ -15,16 +15,16 @@ using System.Collections.ObjectModel; using System.Linq; using System.Net; using System.Net.Mime; -using Tribufu.Client; -using Tribufu.Model; +using Tribufu.Generated.Client; +using Tribufu.Generated.Model; -namespace Tribufu.Api +namespace Tribufu.Generated.Api { /// /// Represents a collection of functions to interact with the API endpoints /// - public interface ITribufuApiSync : IApiAccessor + public interface ITribufuGeneratedApiSync : IApiAccessor { #region Synchronous Operations /// @@ -33,7 +33,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.authorize</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// @@ -45,7 +45,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.authorize</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) @@ -56,7 +56,7 @@ namespace Tribufu.Api /// /// This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.email.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -69,7 +69,7 @@ namespace Tribufu.Api /// /// This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.email.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -81,7 +81,7 @@ namespace Tribufu.Api /// /// This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.password.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -94,7 +94,7 @@ namespace Tribufu.Api /// /// This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.password.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -106,7 +106,7 @@ namespace Tribufu.Api /// /// This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.community.game.server.claim</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -119,7 +119,7 @@ namespace Tribufu.Api /// /// This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.community.game.server.claim</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -131,7 +131,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.convert.base64</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CryptoViewModel @@ -143,7 +143,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.convert.base64</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CryptoViewModel @@ -154,7 +154,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// @@ -166,7 +166,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) @@ -177,7 +177,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// @@ -189,7 +189,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) @@ -200,7 +200,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// @@ -212,7 +212,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) @@ -220,7 +220,7 @@ namespace Tribufu.Api /// /// Create a new token with grant type. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// TokenResponse @@ -232,7 +232,7 @@ namespace Tribufu.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of TokenResponse @@ -243,7 +243,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// @@ -255,7 +255,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Object(void) @@ -266,7 +266,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// @@ -278,7 +278,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Object(void) @@ -289,7 +289,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// @@ -301,7 +301,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Object(void) @@ -312,7 +312,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// List<string> @@ -324,7 +324,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of List<string> @@ -335,7 +335,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake.timestamp</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -348,7 +348,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake.timestamp</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -360,7 +360,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.password</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -373,7 +373,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.password</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -385,7 +385,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -398,7 +398,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -407,7 +407,7 @@ namespace Tribufu.Api /// /// Get current client information. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// void GetClientInfo(int operationIndex = 0); @@ -418,7 +418,7 @@ namespace Tribufu.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of Object(void) ApiResponse GetClientInfoWithHttpInfo(int operationIndex = 0); @@ -428,7 +428,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.current</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// List<IpAddress> List GetCurrentIpAddress(int operationIndex = 0); @@ -439,7 +439,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.current</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of List<IpAddress> ApiResponse> GetCurrentIpAddressWithHttpInfo(int operationIndex = 0); @@ -449,7 +449,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Game @@ -461,7 +461,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Game @@ -472,7 +472,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -486,7 +486,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -499,7 +499,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.item.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -513,7 +513,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.item.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -526,7 +526,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get.address</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Index associated with the operation. @@ -539,7 +539,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get.address</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Index associated with the operation. @@ -551,7 +551,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// GameServer @@ -563,7 +563,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of GameServer @@ -574,7 +574,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// GameServerCluster @@ -586,7 +586,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of GameServerCluster @@ -597,7 +597,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -610,7 +610,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -622,7 +622,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -635,7 +635,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -647,7 +647,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list.country</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -661,7 +661,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list.country</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -674,7 +674,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -688,7 +688,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -701,7 +701,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.country.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Dictionary<string, int> Dictionary GetGameServersCountries(int operationIndex = 0); @@ -712,7 +712,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.country.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of Dictionary<string, int> ApiResponse> GetGameServersCountriesWithHttpInfo(int operationIndex = 0); @@ -722,7 +722,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.metric.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ServerMetrics ServerMetrics GetGameServersMetrics(int operationIndex = 0); @@ -733,7 +733,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.metric.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of ServerMetrics ApiResponse GetGameServersMetricsWithHttpInfo(int operationIndex = 0); @@ -743,7 +743,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// List<Game> List GetGames(int operationIndex = 0); @@ -754,7 +754,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of List<Game> ApiResponse> GetGamesWithHttpInfo(int operationIndex = 0); @@ -764,7 +764,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Group @@ -776,7 +776,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Group @@ -787,7 +787,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.tag</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Group @@ -799,7 +799,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.tag</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Group @@ -810,7 +810,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Group @@ -822,7 +822,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Group @@ -833,7 +833,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// List<GroupGame> @@ -845,7 +845,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of List<GroupGame> @@ -856,7 +856,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.member.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// List<GroupMember> @@ -868,7 +868,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.member.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of List<GroupMember> @@ -879,7 +879,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -892,7 +892,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -904,7 +904,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// IpAddress @@ -916,7 +916,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of IpAddress @@ -927,7 +927,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -940,7 +940,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -952,7 +952,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.leaderboard.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// List<LeaderboardItem> @@ -964,7 +964,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.leaderboard.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of List<LeaderboardItem> @@ -972,7 +972,7 @@ namespace Tribufu.Api /// /// Get current user information. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// UserInfo [Obsolete] @@ -984,7 +984,7 @@ namespace Tribufu.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of UserInfo [Obsolete] @@ -995,7 +995,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Package @@ -1007,7 +1007,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Package @@ -1018,7 +1018,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -1031,7 +1031,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -1043,7 +1043,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.client.keys</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// void GetPublicKeys(int operationIndex = 0); @@ -1054,7 +1054,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.client.keys</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of Object(void) ApiResponse GetPublicKeysWithHttpInfo(int operationIndex = 0); @@ -1064,7 +1064,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Subscription @@ -1076,7 +1076,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Subscription @@ -1087,7 +1087,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -1100,7 +1100,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -1112,7 +1112,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.user.account.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// List<Account> @@ -1124,7 +1124,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.user.account.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of List<Account> @@ -1135,7 +1135,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Profile @@ -1147,7 +1147,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Profile @@ -1158,7 +1158,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.name</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Profile @@ -1170,7 +1170,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.name</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Profile @@ -1181,7 +1181,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Profile @@ -1193,7 +1193,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Profile @@ -1204,7 +1204,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.friend.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// List<Object> @@ -1216,7 +1216,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.friend.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of List<Object> @@ -1227,7 +1227,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// List<ProfileGame> @@ -1239,7 +1239,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of List<ProfileGame> @@ -1250,7 +1250,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// List<ProfileGroup> @@ -1262,7 +1262,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of List<ProfileGroup> @@ -1273,7 +1273,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.user.info</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// UserInfo UserInfo GetUserInfo(int operationIndex = 0); @@ -1284,7 +1284,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.user.info</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of UserInfo ApiResponse GetUserInfoWithHttpInfo(int operationIndex = 0); @@ -1294,7 +1294,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.punishment.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// List<Object> @@ -1306,7 +1306,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.punishment.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of List<Object> @@ -1317,7 +1317,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -1331,7 +1331,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -1344,7 +1344,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -1357,7 +1357,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -1369,7 +1369,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.argon2</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// HashViewModel @@ -1381,7 +1381,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.argon2</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of HashViewModel @@ -1392,7 +1392,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.bcrypt</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// HashViewModel @@ -1404,7 +1404,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.bcrypt</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of HashViewModel @@ -1415,7 +1415,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.md5</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// HashViewModel @@ -1427,7 +1427,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.md5</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of HashViewModel @@ -1438,7 +1438,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.sha256</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// HashViewModel @@ -1450,7 +1450,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.sha256</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of HashViewModel @@ -1461,7 +1461,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.introspect</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// @@ -1473,7 +1473,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.introspect</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) @@ -1484,7 +1484,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// LoginResponse @@ -1497,7 +1497,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of LoginResponse @@ -1509,7 +1509,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// [Obsolete] @@ -1521,7 +1521,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of Object(void) [Obsolete] @@ -1532,7 +1532,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.refresh</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// LoginResponse @@ -1545,7 +1545,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.refresh</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of LoginResponse @@ -1557,7 +1557,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.user.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// LoginResponse @@ -1569,7 +1569,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.user.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of LoginResponse @@ -1580,7 +1580,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// @@ -1592,7 +1592,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) @@ -1603,7 +1603,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.search</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// List<Object> @@ -1615,7 +1615,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.search</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of List<Object> @@ -1626,7 +1626,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -1639,7 +1639,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -1651,7 +1651,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -1664,7 +1664,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -1676,7 +1676,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -1689,7 +1689,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -1701,7 +1701,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -1714,7 +1714,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -1726,7 +1726,7 @@ namespace Tribufu.Api /// /// Represents a collection of functions to interact with the API endpoints /// - public interface ITribufuApiAsync : IApiAccessor + public interface ITribufuGeneratedApiAsync : IApiAccessor { #region Asynchronous Operations /// @@ -1735,7 +1735,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.authorize</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1748,7 +1748,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.authorize</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1760,7 +1760,7 @@ namespace Tribufu.Api /// /// This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.email.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -1774,7 +1774,7 @@ namespace Tribufu.Api /// /// This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.email.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -1787,7 +1787,7 @@ namespace Tribufu.Api /// /// This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.password.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -1801,7 +1801,7 @@ namespace Tribufu.Api /// /// This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.password.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -1814,7 +1814,7 @@ namespace Tribufu.Api /// /// This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.community.game.server.claim</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -1828,7 +1828,7 @@ namespace Tribufu.Api /// /// This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.community.game.server.claim</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -1841,7 +1841,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.convert.base64</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1854,7 +1854,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.convert.base64</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1866,7 +1866,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1879,7 +1879,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1891,7 +1891,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1904,7 +1904,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1916,7 +1916,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1929,7 +1929,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1941,7 +1941,7 @@ namespace Tribufu.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1954,7 +1954,7 @@ namespace Tribufu.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1966,7 +1966,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1979,7 +1979,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1991,7 +1991,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2004,7 +2004,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2016,7 +2016,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2029,7 +2029,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2041,7 +2041,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2054,7 +2054,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2066,7 +2066,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake.timestamp</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -2080,7 +2080,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake.timestamp</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -2093,7 +2093,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.password</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2107,7 +2107,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.password</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2120,7 +2120,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2134,7 +2134,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2147,7 +2147,7 @@ namespace Tribufu.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of void @@ -2159,7 +2159,7 @@ namespace Tribufu.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -2170,7 +2170,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.current</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<IpAddress> @@ -2182,7 +2182,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.current</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<IpAddress>) @@ -2193,7 +2193,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2206,7 +2206,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2218,7 +2218,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -2233,7 +2233,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -2247,7 +2247,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.item.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -2262,7 +2262,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.item.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -2276,7 +2276,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get.address</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Index associated with the operation. @@ -2290,7 +2290,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get.address</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Index associated with the operation. @@ -2303,7 +2303,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2316,7 +2316,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2328,7 +2328,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2341,7 +2341,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2353,7 +2353,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2367,7 +2367,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2380,7 +2380,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2394,7 +2394,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2407,7 +2407,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list.country</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -2422,7 +2422,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list.country</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -2436,7 +2436,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -2451,7 +2451,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -2465,7 +2465,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.country.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Dictionary<string, int> @@ -2477,7 +2477,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.country.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Dictionary<string, int>) @@ -2488,7 +2488,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.metric.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ServerMetrics @@ -2500,7 +2500,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.metric.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (ServerMetrics) @@ -2511,7 +2511,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Game> @@ -2523,7 +2523,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Game>) @@ -2534,7 +2534,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2547,7 +2547,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2559,7 +2559,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.tag</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2572,7 +2572,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.tag</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2584,7 +2584,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2597,7 +2597,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2609,7 +2609,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2622,7 +2622,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2634,7 +2634,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.member.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2647,7 +2647,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.member.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2659,7 +2659,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2673,7 +2673,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2686,7 +2686,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2699,7 +2699,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2711,7 +2711,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2725,7 +2725,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2738,7 +2738,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.leaderboard.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2751,7 +2751,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.leaderboard.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2763,7 +2763,7 @@ namespace Tribufu.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of UserInfo @@ -2776,7 +2776,7 @@ namespace Tribufu.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (UserInfo) @@ -2788,7 +2788,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2801,7 +2801,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2813,7 +2813,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2827,7 +2827,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2840,7 +2840,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.client.keys</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of void @@ -2852,7 +2852,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.client.keys</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -2863,7 +2863,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2876,7 +2876,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2888,7 +2888,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2902,7 +2902,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -2915,7 +2915,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.user.account.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2928,7 +2928,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.user.account.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2940,7 +2940,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2953,7 +2953,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2965,7 +2965,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.name</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2978,7 +2978,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.name</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2990,7 +2990,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3003,7 +3003,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3015,7 +3015,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.friend.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3028,7 +3028,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.friend.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3040,7 +3040,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3053,7 +3053,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3065,7 +3065,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3078,7 +3078,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3090,7 +3090,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.user.info</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of UserInfo @@ -3102,7 +3102,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.user.info</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (UserInfo) @@ -3113,7 +3113,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.punishment.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3126,7 +3126,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.punishment.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3138,7 +3138,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -3153,7 +3153,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -3167,7 +3167,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -3181,7 +3181,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -3194,7 +3194,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.argon2</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3207,7 +3207,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.argon2</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3219,7 +3219,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.bcrypt</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3232,7 +3232,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.bcrypt</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3244,7 +3244,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.md5</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3257,7 +3257,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.md5</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3269,7 +3269,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.sha256</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3282,7 +3282,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.sha256</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3294,7 +3294,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.introspect</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3307,7 +3307,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.introspect</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3319,7 +3319,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3333,7 +3333,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3346,7 +3346,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of void @@ -3359,7 +3359,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -3371,7 +3371,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.refresh</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3385,7 +3385,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.refresh</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3398,7 +3398,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.user.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3411,7 +3411,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.user.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3423,7 +3423,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3436,7 +3436,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3448,7 +3448,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.search</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3461,7 +3461,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.search</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3473,7 +3473,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -3487,7 +3487,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -3500,7 +3500,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -3514,7 +3514,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -3527,7 +3527,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -3541,7 +3541,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -3554,7 +3554,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -3568,7 +3568,7 @@ namespace Tribufu.Api /// /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -3581,7 +3581,7 @@ namespace Tribufu.Api /// /// Represents a collection of functions to interact with the API endpoints /// - public interface ITribufuApi : ITribufuApiSync, ITribufuApiAsync + public interface ITribufuGeneratedApi : ITribufuGeneratedApiSync, ITribufuGeneratedApiAsync { } @@ -3589,60 +3589,60 @@ namespace Tribufu.Api /// /// Represents a collection of functions to interact with the API endpoints /// - public partial class TribufuApi : ITribufuApi + public partial class TribufuGeneratedApi : ITribufuGeneratedApi { - private Tribufu.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private Tribufu.Generated.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// - public TribufuApi() : this((string)null) + public TribufuGeneratedApi() : this((string)null) { } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// - public TribufuApi(string basePath) + public TribufuGeneratedApi(string basePath) { - this.Configuration = Tribufu.Client.Configuration.MergeConfigurations( - Tribufu.Client.GlobalConfiguration.Instance, - new Tribufu.Client.Configuration { BasePath = basePath } + this.Configuration = Tribufu.Generated.Client.Configuration.MergeConfigurations( + Tribufu.Generated.Client.GlobalConfiguration.Instance, + new Tribufu.Generated.Client.Configuration { BasePath = basePath } ); - this.Client = new Tribufu.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Tribufu.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = Tribufu.Client.Configuration.DefaultExceptionFactory; + this.Client = new Tribufu.Generated.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Tribufu.Generated.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = Tribufu.Generated.Client.Configuration.DefaultExceptionFactory; } /// - /// Initializes a new instance of the class + /// Initializes a new instance of the class /// using Configuration object /// /// An instance of Configuration /// - public TribufuApi(Tribufu.Client.Configuration configuration) + public TribufuGeneratedApi(Tribufu.Generated.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = Tribufu.Client.Configuration.MergeConfigurations( - Tribufu.Client.GlobalConfiguration.Instance, + this.Configuration = Tribufu.Generated.Client.Configuration.MergeConfigurations( + Tribufu.Generated.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new Tribufu.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new Tribufu.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = Tribufu.Client.Configuration.DefaultExceptionFactory; + this.Client = new Tribufu.Generated.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new Tribufu.Generated.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = Tribufu.Generated.Client.Configuration.DefaultExceptionFactory; } /// - /// Initializes a new instance of the class + /// Initializes a new instance of the class /// using a Configuration object and client instance. /// /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public TribufuApi(Tribufu.Client.ISynchronousClient client, Tribufu.Client.IAsynchronousClient asyncClient, Tribufu.Client.IReadableConfiguration configuration) + public TribufuGeneratedApi(Tribufu.Generated.Client.ISynchronousClient client, Tribufu.Generated.Client.IAsynchronousClient asyncClient, Tribufu.Generated.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -3651,18 +3651,18 @@ namespace Tribufu.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = Tribufu.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = Tribufu.Generated.Client.Configuration.DefaultExceptionFactory; } /// /// The client for accessing this underlying API asynchronously. /// - public Tribufu.Client.IAsynchronousClient AsynchronousClient { get; set; } + public Tribufu.Generated.Client.IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public Tribufu.Client.ISynchronousClient Client { get; set; } + public Tribufu.Generated.Client.ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. @@ -3677,12 +3677,12 @@ namespace Tribufu.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public Tribufu.Client.IReadableConfiguration Configuration { get; set; } + public Tribufu.Generated.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public Tribufu.Client.ExceptionFactory ExceptionFactory + public Tribufu.Generated.Client.ExceptionFactory ExceptionFactory { get { @@ -3698,7 +3698,7 @@ namespace Tribufu.Api /// /// Authorize the client to access the user information. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.authorize</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// @@ -3710,13 +3710,13 @@ namespace Tribufu.Api /// /// Authorize the client to access the user information. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.authorize</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse AuthorizeWithHttpInfo(AuthorizeRequest? authorizeRequest = default(AuthorizeRequest?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse AuthorizeWithHttpInfo(AuthorizeRequest? authorizeRequest = default(AuthorizeRequest?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -3729,14 +3729,14 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -3744,7 +3744,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = authorizeRequest; - localVarRequestOptions.Operation = "TribufuApi.Authorize"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.Authorize"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -3770,7 +3770,7 @@ namespace Tribufu.Api /// /// Authorize the client to access the user information. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.authorize</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -3783,15 +3783,15 @@ namespace Tribufu.Api /// /// Authorize the client to access the user information. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.authorize</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> AuthorizeWithHttpInfoAsync(AuthorizeRequest? authorizeRequest = default(AuthorizeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> AuthorizeWithHttpInfoAsync(AuthorizeRequest? authorizeRequest = default(AuthorizeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -3804,13 +3804,13 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -3818,7 +3818,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = authorizeRequest; - localVarRequestOptions.Operation = "TribufuApi.Authorize"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.Authorize"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -3845,7 +3845,7 @@ namespace Tribufu.Api /// /// Change the email of a user. This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.email.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -3858,20 +3858,20 @@ namespace Tribufu.Api /// /// Change the email of a user. This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.email.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse ChangeEmailWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse ChangeEmailWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->ChangeEmail"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->ChangeEmail"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -3884,23 +3884,23 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.ChangeEmail"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.ChangeEmail"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -3926,7 +3926,7 @@ namespace Tribufu.Api /// /// Change the email of a user. This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.email.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -3940,22 +3940,22 @@ namespace Tribufu.Api /// /// Change the email of a user. This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.email.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ChangeEmailWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ChangeEmailWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->ChangeEmail"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->ChangeEmail"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -3968,22 +3968,22 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.ChangeEmail"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.ChangeEmail"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -4010,7 +4010,7 @@ namespace Tribufu.Api /// /// Change the password of a user. This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.password.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -4023,20 +4023,20 @@ namespace Tribufu.Api /// /// Change the password of a user. This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.password.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse ChangePasswordWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse ChangePasswordWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->ChangePassword"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->ChangePassword"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -4049,23 +4049,23 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.ChangePassword"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.ChangePassword"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -4091,7 +4091,7 @@ namespace Tribufu.Api /// /// Change the password of a user. This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.password.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -4105,22 +4105,22 @@ namespace Tribufu.Api /// /// Change the password of a user. This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.identity.user.password.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ChangePasswordWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ChangePasswordWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->ChangePassword"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->ChangePassword"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -4133,22 +4133,22 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.ChangePassword"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.ChangePassword"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -4175,7 +4175,7 @@ namespace Tribufu.Api /// /// Claim a game server. This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.community.game.server.claim</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -4188,20 +4188,20 @@ namespace Tribufu.Api /// /// Claim a game server. This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.community.game.server.claim</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse ClaimGameServerWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse ClaimGameServerWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->ClaimGameServer"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->ClaimGameServer"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -4214,23 +4214,23 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.ClaimGameServer"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.ClaimGameServer"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -4256,7 +4256,7 @@ namespace Tribufu.Api /// /// Claim a game server. This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.community.game.server.claim</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -4270,22 +4270,22 @@ namespace Tribufu.Api /// /// Claim a game server. This endpoint is not available with an api key, only with a bearer token.<br/><br/><b>🔒 Required permissions:</b> <code>tribufu.community.game.server.claim</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ClaimGameServerWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ClaimGameServerWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->ClaimGameServer"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->ClaimGameServer"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -4298,22 +4298,22 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.ClaimGameServer"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.ClaimGameServer"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -4340,26 +4340,26 @@ namespace Tribufu.Api /// /// Convert a string to base64 or vice versa. <b>🔒 Required permissions:</b> <code>tribufu.utils.convert.base64</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// CryptoViewModel public CryptoViewModel ConvertBase64(CryptoViewModel? cryptoViewModel = default(CryptoViewModel?), int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = ConvertBase64WithHttpInfo(cryptoViewModel); + Tribufu.Generated.Client.ApiResponse localVarResponse = ConvertBase64WithHttpInfo(cryptoViewModel); return localVarResponse.Data; } /// /// Convert a string to base64 or vice versa. <b>🔒 Required permissions:</b> <code>tribufu.utils.convert.base64</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of CryptoViewModel - public Tribufu.Client.ApiResponse ConvertBase64WithHttpInfo(CryptoViewModel? cryptoViewModel = default(CryptoViewModel?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse ConvertBase64WithHttpInfo(CryptoViewModel? cryptoViewModel = default(CryptoViewModel?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -4375,14 +4375,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -4390,7 +4390,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = cryptoViewModel; - localVarRequestOptions.Operation = "TribufuApi.ConvertBase64"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.ConvertBase64"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -4416,29 +4416,29 @@ namespace Tribufu.Api /// /// Convert a string to base64 or vice versa. <b>🔒 Required permissions:</b> <code>tribufu.utils.convert.base64</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of CryptoViewModel public async System.Threading.Tasks.Task ConvertBase64Async(CryptoViewModel? cryptoViewModel = default(CryptoViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await ConvertBase64WithHttpInfoAsync(cryptoViewModel, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await ConvertBase64WithHttpInfoAsync(cryptoViewModel, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Convert a string to base64 or vice versa. <b>🔒 Required permissions:</b> <code>tribufu.utils.convert.base64</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (CryptoViewModel) - public async System.Threading.Tasks.Task> ConvertBase64WithHttpInfoAsync(CryptoViewModel? cryptoViewModel = default(CryptoViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ConvertBase64WithHttpInfoAsync(CryptoViewModel? cryptoViewModel = default(CryptoViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -4454,13 +4454,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -4468,7 +4468,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = cryptoViewModel; - localVarRequestOptions.Operation = "TribufuApi.ConvertBase64"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.ConvertBase64"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -4495,7 +4495,7 @@ namespace Tribufu.Api /// /// Create a new game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// @@ -4507,13 +4507,13 @@ namespace Tribufu.Api /// /// Create a new game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse CreateGameServerWithHttpInfo(Object? body = default(Object?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse CreateGameServerWithHttpInfo(Object? body = default(Object?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -4526,14 +4526,14 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -4541,7 +4541,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.CreateGameServer"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateGameServer"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -4567,7 +4567,7 @@ namespace Tribufu.Api /// /// Create a new game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -4580,15 +4580,15 @@ namespace Tribufu.Api /// /// Create a new game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> CreateGameServerWithHttpInfoAsync(Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateGameServerWithHttpInfoAsync(Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -4601,13 +4601,13 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -4615,7 +4615,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.CreateGameServer"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateGameServer"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -4642,7 +4642,7 @@ namespace Tribufu.Api /// /// Create a new game server cluster. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// @@ -4654,13 +4654,13 @@ namespace Tribufu.Api /// /// Create a new game server cluster. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse CreateGameServerClusterWithHttpInfo(Object? body = default(Object?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse CreateGameServerClusterWithHttpInfo(Object? body = default(Object?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -4673,14 +4673,14 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -4688,7 +4688,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.CreateGameServerCluster"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateGameServerCluster"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -4714,7 +4714,7 @@ namespace Tribufu.Api /// /// Create a new game server cluster. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -4727,15 +4727,15 @@ namespace Tribufu.Api /// /// Create a new game server cluster. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> CreateGameServerClusterWithHttpInfoAsync(Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateGameServerClusterWithHttpInfoAsync(Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -4748,13 +4748,13 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -4762,7 +4762,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.CreateGameServerCluster"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateGameServerCluster"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -4789,7 +4789,7 @@ namespace Tribufu.Api /// /// Create a new group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// @@ -4801,13 +4801,13 @@ namespace Tribufu.Api /// /// Create a new group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse CreateGroupWithHttpInfo(Object? body = default(Object?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse CreateGroupWithHttpInfo(Object? body = default(Object?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -4820,14 +4820,14 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -4835,7 +4835,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.CreateGroup"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateGroup"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -4861,7 +4861,7 @@ namespace Tribufu.Api /// /// Create a new group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -4874,15 +4874,15 @@ namespace Tribufu.Api /// /// Create a new group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> CreateGroupWithHttpInfoAsync(Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateGroupWithHttpInfoAsync(Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -4895,13 +4895,13 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -4909,7 +4909,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.CreateGroup"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateGroup"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -4936,26 +4936,26 @@ namespace Tribufu.Api /// /// Create a new token with grant type. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// TokenResponse public TokenResponse CreateToken(TokenRequest? tokenRequest = default(TokenRequest?), int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = CreateTokenWithHttpInfo(tokenRequest); + Tribufu.Generated.Client.ApiResponse localVarResponse = CreateTokenWithHttpInfo(tokenRequest); return localVarResponse.Data; } /// /// Create a new token with grant type. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of TokenResponse - public Tribufu.Client.ApiResponse CreateTokenWithHttpInfo(TokenRequest? tokenRequest = default(TokenRequest?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse CreateTokenWithHttpInfo(TokenRequest? tokenRequest = default(TokenRequest?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -4969,14 +4969,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -4984,7 +4984,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = tokenRequest; - localVarRequestOptions.Operation = "TribufuApi.CreateToken"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateToken"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -5010,29 +5010,29 @@ namespace Tribufu.Api /// /// Create a new token with grant type. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of TokenResponse public async System.Threading.Tasks.Task CreateTokenAsync(TokenRequest? tokenRequest = default(TokenRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await CreateTokenWithHttpInfoAsync(tokenRequest, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await CreateTokenWithHttpInfoAsync(tokenRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create a new token with grant type. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (TokenResponse) - public async System.Threading.Tasks.Task> CreateTokenWithHttpInfoAsync(TokenRequest? tokenRequest = default(TokenRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> CreateTokenWithHttpInfoAsync(TokenRequest? tokenRequest = default(TokenRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -5046,13 +5046,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -5060,7 +5060,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = tokenRequest; - localVarRequestOptions.Operation = "TribufuApi.CreateToken"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateToken"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -5087,7 +5087,7 @@ namespace Tribufu.Api /// /// Delete a game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// @@ -5099,19 +5099,19 @@ namespace Tribufu.Api /// /// Delete a game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse DeleteGameServerWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse DeleteGameServerWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->DeleteGameServer"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->DeleteGameServer"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5120,22 +5120,22 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.DeleteGameServer"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGameServer"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -5161,7 +5161,7 @@ namespace Tribufu.Api /// /// Delete a game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -5174,21 +5174,21 @@ namespace Tribufu.Api /// /// Delete a game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteGameServerWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteGameServerWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->DeleteGameServer"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->DeleteGameServer"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5197,21 +5197,21 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.DeleteGameServer"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGameServer"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -5238,7 +5238,7 @@ namespace Tribufu.Api /// /// Delete a game server cluster. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// @@ -5250,19 +5250,19 @@ namespace Tribufu.Api /// /// Delete a game server cluster. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse DeleteGameServerClusterWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse DeleteGameServerClusterWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->DeleteGameServerCluster"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->DeleteGameServerCluster"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5271,22 +5271,22 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.DeleteGameServerCluster"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGameServerCluster"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -5312,7 +5312,7 @@ namespace Tribufu.Api /// /// Delete a game server cluster. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -5325,21 +5325,21 @@ namespace Tribufu.Api /// /// Delete a game server cluster. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteGameServerClusterWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteGameServerClusterWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->DeleteGameServerCluster"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->DeleteGameServerCluster"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5348,21 +5348,21 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.DeleteGameServerCluster"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGameServerCluster"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -5389,7 +5389,7 @@ namespace Tribufu.Api /// /// Delete a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// @@ -5401,19 +5401,19 @@ namespace Tribufu.Api /// /// Delete a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse DeleteGroupWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse DeleteGroupWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->DeleteGroup"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->DeleteGroup"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5422,22 +5422,22 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.DeleteGroup"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGroup"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -5463,7 +5463,7 @@ namespace Tribufu.Api /// /// Delete a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -5476,21 +5476,21 @@ namespace Tribufu.Api /// /// Delete a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.delete</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteGroupWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> DeleteGroupWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->DeleteGroup"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->DeleteGroup"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5499,21 +5499,21 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.DeleteGroup"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGroup"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -5540,26 +5540,26 @@ namespace Tribufu.Api /// /// Generate one or more flake ids. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// List<string> public List GenerateFlakeId(int? amount = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GenerateFlakeIdWithHttpInfo(amount); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GenerateFlakeIdWithHttpInfo(amount); return localVarResponse.Data; } /// /// Generate one or more flake ids. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of List<string> - public Tribufu.Client.ApiResponse> GenerateFlakeIdWithHttpInfo(int? amount = default(int?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GenerateFlakeIdWithHttpInfo(int? amount = default(int?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5571,14 +5571,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -5586,10 +5586,10 @@ namespace Tribufu.Api if (amount != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "amount", amount)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "amount", amount)); } - localVarRequestOptions.Operation = "TribufuApi.GenerateFlakeId"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GenerateFlakeId"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -5615,29 +5615,29 @@ namespace Tribufu.Api /// /// Generate one or more flake ids. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<string> public async System.Threading.Tasks.Task> GenerateFlakeIdAsync(int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GenerateFlakeIdWithHttpInfoAsync(amount, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GenerateFlakeIdWithHttpInfoAsync(amount, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Generate one or more flake ids. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<string>) - public async System.Threading.Tasks.Task>> GenerateFlakeIdWithHttpInfoAsync(int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GenerateFlakeIdWithHttpInfoAsync(int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5649,13 +5649,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -5663,10 +5663,10 @@ namespace Tribufu.Api if (amount != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "amount", amount)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "amount", amount)); } - localVarRequestOptions.Operation = "TribufuApi.GenerateFlakeId"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GenerateFlakeId"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -5693,34 +5693,34 @@ namespace Tribufu.Api /// /// Generate one or more flake ids from a timestamp. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake.timestamp</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// List<string> public List GenerateFlakeIdFromTimestamp(string timestamp, int? amount = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GenerateFlakeIdFromTimestampWithHttpInfo(timestamp, amount); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GenerateFlakeIdFromTimestampWithHttpInfo(timestamp, amount); return localVarResponse.Data; } /// /// Generate one or more flake ids from a timestamp. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake.timestamp</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// ApiResponse of List<string> - public Tribufu.Client.ApiResponse> GenerateFlakeIdFromTimestampWithHttpInfo(string timestamp, int? amount = default(int?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GenerateFlakeIdFromTimestampWithHttpInfo(string timestamp, int? amount = default(int?), int operationIndex = 0) { // verify the required parameter 'timestamp' is set if (timestamp == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'timestamp' when calling TribufuApi->GenerateFlakeIdFromTimestamp"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'timestamp' when calling TribufuGeneratedApi->GenerateFlakeIdFromTimestamp"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5732,26 +5732,26 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("timestamp", Tribufu.Client.ClientUtils.ParameterToString(timestamp)); // path parameter + localVarRequestOptions.PathParameters.Add("timestamp", Tribufu.Generated.Client.ClientUtils.ParameterToString(timestamp)); // path parameter if (amount != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "amount", amount)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "amount", amount)); } - localVarRequestOptions.Operation = "TribufuApi.GenerateFlakeIdFromTimestamp"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GenerateFlakeIdFromTimestamp"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -5777,7 +5777,7 @@ namespace Tribufu.Api /// /// Generate one or more flake ids from a timestamp. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake.timestamp</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -5785,29 +5785,29 @@ namespace Tribufu.Api /// Task of List<string> public async System.Threading.Tasks.Task> GenerateFlakeIdFromTimestampAsync(string timestamp, int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GenerateFlakeIdFromTimestampWithHttpInfoAsync(timestamp, amount, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GenerateFlakeIdFromTimestampWithHttpInfoAsync(timestamp, amount, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Generate one or more flake ids from a timestamp. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake.timestamp</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<string>) - public async System.Threading.Tasks.Task>> GenerateFlakeIdFromTimestampWithHttpInfoAsync(string timestamp, int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GenerateFlakeIdFromTimestampWithHttpInfoAsync(string timestamp, int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'timestamp' is set if (timestamp == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'timestamp' when calling TribufuApi->GenerateFlakeIdFromTimestamp"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'timestamp' when calling TribufuGeneratedApi->GenerateFlakeIdFromTimestamp"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5819,25 +5819,25 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("timestamp", Tribufu.Client.ClientUtils.ParameterToString(timestamp)); // path parameter + localVarRequestOptions.PathParameters.Add("timestamp", Tribufu.Generated.Client.ClientUtils.ParameterToString(timestamp)); // path parameter if (amount != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "amount", amount)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "amount", amount)); } - localVarRequestOptions.Operation = "TribufuApi.GenerateFlakeIdFromTimestamp"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GenerateFlakeIdFromTimestamp"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -5864,28 +5864,28 @@ namespace Tribufu.Api /// /// Generate a random password. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.password</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// HashViewModel public HashViewModel GeneratePassword(int? length = default(int?), bool? symbols = default(bool?), int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GeneratePasswordWithHttpInfo(length, symbols); + Tribufu.Generated.Client.ApiResponse localVarResponse = GeneratePasswordWithHttpInfo(length, symbols); return localVarResponse.Data; } /// /// Generate a random password. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.password</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// ApiResponse of HashViewModel - public Tribufu.Client.ApiResponse GeneratePasswordWithHttpInfo(int? length = default(int?), bool? symbols = default(bool?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GeneratePasswordWithHttpInfo(int? length = default(int?), bool? symbols = default(bool?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5897,14 +5897,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -5912,14 +5912,14 @@ namespace Tribufu.Api if (length != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "length", length)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "length", length)); } if (symbols != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "symbols", symbols)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "symbols", symbols)); } - localVarRequestOptions.Operation = "TribufuApi.GeneratePassword"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GeneratePassword"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -5945,7 +5945,7 @@ namespace Tribufu.Api /// /// Generate a random password. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.password</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -5953,23 +5953,23 @@ namespace Tribufu.Api /// Task of HashViewModel public async System.Threading.Tasks.Task GeneratePasswordAsync(int? length = default(int?), bool? symbols = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GeneratePasswordWithHttpInfoAsync(length, symbols, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GeneratePasswordWithHttpInfoAsync(length, symbols, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Generate a random password. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.password</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (HashViewModel) - public async System.Threading.Tasks.Task> GeneratePasswordWithHttpInfoAsync(int? length = default(int?), bool? symbols = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GeneratePasswordWithHttpInfoAsync(int? length = default(int?), bool? symbols = default(bool?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -5981,13 +5981,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -5995,14 +5995,14 @@ namespace Tribufu.Api if (length != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "length", length)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "length", length)); } if (symbols != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "symbols", symbols)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "symbols", symbols)); } - localVarRequestOptions.Operation = "TribufuApi.GeneratePassword"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GeneratePassword"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -6029,28 +6029,28 @@ namespace Tribufu.Api /// /// Generate one or more uuids with a specific version. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// List<Guid> public List GenerateUuid(int? version = default(int?), int? amount = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GenerateUuidWithHttpInfo(version, amount); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GenerateUuidWithHttpInfo(version, amount); return localVarResponse.Data; } /// /// Generate one or more uuids with a specific version. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// ApiResponse of List<Guid> - public Tribufu.Client.ApiResponse> GenerateUuidWithHttpInfo(int? version = default(int?), int? amount = default(int?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GenerateUuidWithHttpInfo(int? version = default(int?), int? amount = default(int?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6062,14 +6062,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -6077,14 +6077,14 @@ namespace Tribufu.Api if (version != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "version", version)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "version", version)); } if (amount != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "amount", amount)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "amount", amount)); } - localVarRequestOptions.Operation = "TribufuApi.GenerateUuid"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GenerateUuid"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -6110,7 +6110,7 @@ namespace Tribufu.Api /// /// Generate one or more uuids with a specific version. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -6118,23 +6118,23 @@ namespace Tribufu.Api /// Task of List<Guid> public async System.Threading.Tasks.Task> GenerateUuidAsync(int? version = default(int?), int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GenerateUuidWithHttpInfoAsync(version, amount, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GenerateUuidWithHttpInfoAsync(version, amount, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Generate one or more uuids with a specific version. <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Guid>) - public async System.Threading.Tasks.Task>> GenerateUuidWithHttpInfoAsync(int? version = default(int?), int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GenerateUuidWithHttpInfoAsync(int? version = default(int?), int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6146,13 +6146,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -6160,14 +6160,14 @@ namespace Tribufu.Api if (version != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "version", version)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "version", version)); } if (amount != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "amount", amount)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "amount", amount)); } - localVarRequestOptions.Operation = "TribufuApi.GenerateUuid"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GenerateUuid"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -6194,7 +6194,7 @@ namespace Tribufu.Api /// /// Get current client information. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// public void GetClientInfo(int operationIndex = 0) @@ -6205,12 +6205,12 @@ namespace Tribufu.Api /// /// Get current client information. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse GetClientInfoWithHttpInfo(int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetClientInfoWithHttpInfo(int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6219,21 +6219,21 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetClientInfo"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetClientInfo"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -6259,7 +6259,7 @@ namespace Tribufu.Api /// /// Get current client information. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of void @@ -6271,14 +6271,14 @@ namespace Tribufu.Api /// /// Get current client information. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> GetClientInfoWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetClientInfoWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6287,20 +6287,20 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetClientInfo"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetClientInfo"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -6327,24 +6327,24 @@ namespace Tribufu.Api /// /// Get current ip address location. <b>🔒 Required permissions:</b> <code>tribufu.geoip.current</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// List<IpAddress> public List GetCurrentIpAddress(int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetCurrentIpAddressWithHttpInfo(); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetCurrentIpAddressWithHttpInfo(); return localVarResponse.Data; } /// /// Get current ip address location. <b>🔒 Required permissions:</b> <code>tribufu.geoip.current</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of List<IpAddress> - public Tribufu.Client.ApiResponse> GetCurrentIpAddressWithHttpInfo(int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetCurrentIpAddressWithHttpInfo(int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6356,21 +6356,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetCurrentIpAddress"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetCurrentIpAddress"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -6396,27 +6396,27 @@ namespace Tribufu.Api /// /// Get current ip address location. <b>🔒 Required permissions:</b> <code>tribufu.geoip.current</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<IpAddress> public async System.Threading.Tasks.Task> GetCurrentIpAddressAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetCurrentIpAddressWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetCurrentIpAddressWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get current ip address location. <b>🔒 Required permissions:</b> <code>tribufu.geoip.current</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<IpAddress>) - public async System.Threading.Tasks.Task>> GetCurrentIpAddressWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetCurrentIpAddressWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6428,20 +6428,20 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetCurrentIpAddress"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetCurrentIpAddress"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -6468,32 +6468,32 @@ namespace Tribufu.Api /// /// Get a game by id. <b>🔒 Required permissions:</b> <code>tribufu.community.game.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Game public Game GetGameById(string id, int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetGameByIdWithHttpInfo(id); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetGameByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get a game by id. <b>🔒 Required permissions:</b> <code>tribufu.community.game.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Game - public Tribufu.Client.ApiResponse GetGameByIdWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetGameByIdWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGameById"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGameById"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6505,22 +6505,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGameById"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameById"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -6546,35 +6546,35 @@ namespace Tribufu.Api /// /// Get a game by id. <b>🔒 Required permissions:</b> <code>tribufu.community.game.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Game public async System.Threading.Tasks.Task GetGameByIdAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetGameByIdWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetGameByIdWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a game by id. <b>🔒 Required permissions:</b> <code>tribufu.community.game.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Game) - public async System.Threading.Tasks.Task> GetGameByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetGameByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGameById"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGameById"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6586,21 +6586,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGameById"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameById"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -6627,7 +6627,7 @@ namespace Tribufu.Api /// /// Get a list of game server clusters of a game. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -6635,28 +6635,28 @@ namespace Tribufu.Api /// List<GameServerCluster> public List GetGameClustersByGameId(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetGameClustersByGameIdWithHttpInfo(id, page, limit); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetGameClustersByGameIdWithHttpInfo(id, page, limit); return localVarResponse.Data; } /// /// Get a list of game server clusters of a game. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) /// Index associated with the operation. /// ApiResponse of List<GameServerCluster> - public Tribufu.Client.ApiResponse> GetGameClustersByGameIdWithHttpInfo(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetGameClustersByGameIdWithHttpInfo(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGameClustersByGameId"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGameClustersByGameId"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6668,30 +6668,30 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetGameClustersByGameId"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameClustersByGameId"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -6717,7 +6717,7 @@ namespace Tribufu.Api /// /// Get a list of game server clusters of a game. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -6726,30 +6726,30 @@ namespace Tribufu.Api /// Task of List<GameServerCluster> public async System.Threading.Tasks.Task> GetGameClustersByGameIdAsync(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetGameClustersByGameIdWithHttpInfoAsync(id, page, limit, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetGameClustersByGameIdWithHttpInfoAsync(id, page, limit, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of game server clusters of a game. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<GameServerCluster>) - public async System.Threading.Tasks.Task>> GetGameClustersByGameIdWithHttpInfoAsync(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetGameClustersByGameIdWithHttpInfoAsync(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGameClustersByGameId"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGameClustersByGameId"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6761,29 +6761,29 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetGameClustersByGameId"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameClustersByGameId"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -6810,7 +6810,7 @@ namespace Tribufu.Api /// /// Get a list of game items. <b>🔒 Required permissions:</b> <code>tribufu.community.game.item.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -6818,28 +6818,28 @@ namespace Tribufu.Api /// List<Object> public List GetGameItems(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetGameItemsWithHttpInfo(id, page, limit); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetGameItemsWithHttpInfo(id, page, limit); return localVarResponse.Data; } /// /// Get a list of game items. <b>🔒 Required permissions:</b> <code>tribufu.community.game.item.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) /// Index associated with the operation. /// ApiResponse of List<Object> - public Tribufu.Client.ApiResponse> GetGameItemsWithHttpInfo(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetGameItemsWithHttpInfo(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGameItems"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGameItems"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6851,30 +6851,30 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetGameItems"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameItems"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -6900,7 +6900,7 @@ namespace Tribufu.Api /// /// Get a list of game items. <b>🔒 Required permissions:</b> <code>tribufu.community.game.item.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -6909,30 +6909,30 @@ namespace Tribufu.Api /// Task of List<Object> public async System.Threading.Tasks.Task> GetGameItemsAsync(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetGameItemsWithHttpInfoAsync(id, page, limit, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetGameItemsWithHttpInfoAsync(id, page, limit, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of game items. <b>🔒 Required permissions:</b> <code>tribufu.community.game.item.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Object>) - public async System.Threading.Tasks.Task>> GetGameItemsWithHttpInfoAsync(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetGameItemsWithHttpInfoAsync(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGameItems"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGameItems"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -6944,29 +6944,29 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetGameItems"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameItems"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -6993,34 +6993,34 @@ namespace Tribufu.Api /// /// Get a game server by address and query port. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get.address</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Index associated with the operation. /// GameServer public GameServer GetGameServerByAddressAndQueryPort(string address, int port, int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetGameServerByAddressAndQueryPortWithHttpInfo(address, port); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetGameServerByAddressAndQueryPortWithHttpInfo(address, port); return localVarResponse.Data; } /// /// Get a game server by address and query port. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get.address</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Index associated with the operation. /// ApiResponse of GameServer - public Tribufu.Client.ApiResponse GetGameServerByAddressAndQueryPortWithHttpInfo(string address, int port, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetGameServerByAddressAndQueryPortWithHttpInfo(string address, int port, int operationIndex = 0) { // verify the required parameter 'address' is set if (address == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'address' when calling TribufuApi->GetGameServerByAddressAndQueryPort"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'address' when calling TribufuGeneratedApi->GetGameServerByAddressAndQueryPort"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -7032,23 +7032,23 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("address", Tribufu.Client.ClientUtils.ParameterToString(address)); // path parameter - localVarRequestOptions.PathParameters.Add("port", Tribufu.Client.ClientUtils.ParameterToString(port)); // path parameter + localVarRequestOptions.PathParameters.Add("address", Tribufu.Generated.Client.ClientUtils.ParameterToString(address)); // path parameter + localVarRequestOptions.PathParameters.Add("port", Tribufu.Generated.Client.ClientUtils.ParameterToString(port)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGameServerByAddressAndQueryPort"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerByAddressAndQueryPort"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -7074,7 +7074,7 @@ namespace Tribufu.Api /// /// Get a game server by address and query port. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get.address</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Index associated with the operation. @@ -7082,29 +7082,29 @@ namespace Tribufu.Api /// Task of GameServer public async System.Threading.Tasks.Task GetGameServerByAddressAndQueryPortAsync(string address, int port, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetGameServerByAddressAndQueryPortWithHttpInfoAsync(address, port, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetGameServerByAddressAndQueryPortWithHttpInfoAsync(address, port, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a game server by address and query port. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get.address</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GameServer) - public async System.Threading.Tasks.Task> GetGameServerByAddressAndQueryPortWithHttpInfoAsync(string address, int port, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetGameServerByAddressAndQueryPortWithHttpInfoAsync(string address, int port, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'address' is set if (address == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'address' when calling TribufuApi->GetGameServerByAddressAndQueryPort"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'address' when calling TribufuGeneratedApi->GetGameServerByAddressAndQueryPort"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -7116,22 +7116,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("address", Tribufu.Client.ClientUtils.ParameterToString(address)); // path parameter - localVarRequestOptions.PathParameters.Add("port", Tribufu.Client.ClientUtils.ParameterToString(port)); // path parameter + localVarRequestOptions.PathParameters.Add("address", Tribufu.Generated.Client.ClientUtils.ParameterToString(address)); // path parameter + localVarRequestOptions.PathParameters.Add("port", Tribufu.Generated.Client.ClientUtils.ParameterToString(port)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGameServerByAddressAndQueryPort"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerByAddressAndQueryPort"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -7158,32 +7158,32 @@ namespace Tribufu.Api /// /// Get a game server by id. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// GameServer public GameServer GetGameServerById(string id, int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetGameServerByIdWithHttpInfo(id); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetGameServerByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get a game server by id. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of GameServer - public Tribufu.Client.ApiResponse GetGameServerByIdWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetGameServerByIdWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGameServerById"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGameServerById"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -7195,22 +7195,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGameServerById"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerById"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -7236,35 +7236,35 @@ namespace Tribufu.Api /// /// Get a game server by id. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GameServer public async System.Threading.Tasks.Task GetGameServerByIdAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetGameServerByIdWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetGameServerByIdWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a game server by id. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GameServer) - public async System.Threading.Tasks.Task> GetGameServerByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetGameServerByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGameServerById"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGameServerById"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -7276,21 +7276,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGameServerById"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerById"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -7317,32 +7317,32 @@ namespace Tribufu.Api /// /// Get a game server cluster by id. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// GameServerCluster public GameServerCluster GetGameServerClusterById(string id, int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetGameServerClusterByIdWithHttpInfo(id); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetGameServerClusterByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get a game server cluster by id. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of GameServerCluster - public Tribufu.Client.ApiResponse GetGameServerClusterByIdWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetGameServerClusterByIdWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGameServerClusterById"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGameServerClusterById"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -7354,22 +7354,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGameServerClusterById"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClusterById"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -7395,35 +7395,35 @@ namespace Tribufu.Api /// /// Get a game server cluster by id. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of GameServerCluster public async System.Threading.Tasks.Task GetGameServerClusterByIdAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetGameServerClusterByIdWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetGameServerClusterByIdWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a game server cluster by id. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (GameServerCluster) - public async System.Threading.Tasks.Task> GetGameServerClusterByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetGameServerClusterByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGameServerClusterById"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGameServerClusterById"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -7435,21 +7435,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGameServerClusterById"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClusterById"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -7476,28 +7476,28 @@ namespace Tribufu.Api /// /// Get a list of game server clusters. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// List<GameServerCluster> public List GetGameServerClusters(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetGameServerClustersWithHttpInfo(page, limit); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetGameServerClustersWithHttpInfo(page, limit); return localVarResponse.Data; } /// /// Get a list of game server clusters. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// ApiResponse of List<GameServerCluster> - public Tribufu.Client.ApiResponse> GetGameServerClustersWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetGameServerClustersWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -7509,14 +7509,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -7524,14 +7524,14 @@ namespace Tribufu.Api if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetGameServerClusters"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClusters"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -7557,7 +7557,7 @@ namespace Tribufu.Api /// /// Get a list of game server clusters. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -7565,23 +7565,23 @@ namespace Tribufu.Api /// Task of List<GameServerCluster> public async System.Threading.Tasks.Task> GetGameServerClustersAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetGameServerClustersWithHttpInfoAsync(page, limit, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetGameServerClustersWithHttpInfoAsync(page, limit, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of game server clusters. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<GameServerCluster>) - public async System.Threading.Tasks.Task>> GetGameServerClustersWithHttpInfoAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetGameServerClustersWithHttpInfoAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -7593,13 +7593,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -7607,14 +7607,14 @@ namespace Tribufu.Api if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetGameServerClusters"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClusters"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -7641,28 +7641,28 @@ namespace Tribufu.Api /// /// Get a list of game servers. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// List<GameServer> public List GetGameServers(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetGameServersWithHttpInfo(page, limit); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetGameServersWithHttpInfo(page, limit); return localVarResponse.Data; } /// /// Get a list of game servers. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// ApiResponse of List<GameServer> - public Tribufu.Client.ApiResponse> GetGameServersWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetGameServersWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -7674,14 +7674,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -7689,14 +7689,14 @@ namespace Tribufu.Api if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetGameServers"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServers"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -7722,7 +7722,7 @@ namespace Tribufu.Api /// /// Get a list of game servers. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -7730,23 +7730,23 @@ namespace Tribufu.Api /// Task of List<GameServer> public async System.Threading.Tasks.Task> GetGameServersAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetGameServersWithHttpInfoAsync(page, limit, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetGameServersWithHttpInfoAsync(page, limit, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of game servers. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<GameServer>) - public async System.Threading.Tasks.Task>> GetGameServersWithHttpInfoAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetGameServersWithHttpInfoAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -7758,13 +7758,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -7772,14 +7772,14 @@ namespace Tribufu.Api if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetGameServers"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServers"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -7806,7 +7806,7 @@ namespace Tribufu.Api /// /// Get a list of game servers from a country. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list.country</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -7814,28 +7814,28 @@ namespace Tribufu.Api /// List<GameServer> public List GetGameServersByCountry(string country, int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetGameServersByCountryWithHttpInfo(country, page, limit); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetGameServersByCountryWithHttpInfo(country, page, limit); return localVarResponse.Data; } /// /// Get a list of game servers from a country. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list.country</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) /// Index associated with the operation. /// ApiResponse of List<GameServer> - public Tribufu.Client.ApiResponse> GetGameServersByCountryWithHttpInfo(string country, int? page = default(int?), int? limit = default(int?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetGameServersByCountryWithHttpInfo(string country, int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { // verify the required parameter 'country' is set if (country == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'country' when calling TribufuApi->GetGameServersByCountry"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'country' when calling TribufuGeneratedApi->GetGameServersByCountry"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -7847,30 +7847,30 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("country", Tribufu.Client.ClientUtils.ParameterToString(country)); // path parameter + localVarRequestOptions.PathParameters.Add("country", Tribufu.Generated.Client.ClientUtils.ParameterToString(country)); // path parameter if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetGameServersByCountry"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersByCountry"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -7896,7 +7896,7 @@ namespace Tribufu.Api /// /// Get a list of game servers from a country. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list.country</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -7905,30 +7905,30 @@ namespace Tribufu.Api /// Task of List<GameServer> public async System.Threading.Tasks.Task> GetGameServersByCountryAsync(string country, int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetGameServersByCountryWithHttpInfoAsync(country, page, limit, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetGameServersByCountryWithHttpInfoAsync(country, page, limit, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of game servers from a country. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list.country</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<GameServer>) - public async System.Threading.Tasks.Task>> GetGameServersByCountryWithHttpInfoAsync(string country, int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetGameServersByCountryWithHttpInfoAsync(string country, int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'country' is set if (country == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'country' when calling TribufuApi->GetGameServersByCountry"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'country' when calling TribufuGeneratedApi->GetGameServersByCountry"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -7940,29 +7940,29 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("country", Tribufu.Client.ClientUtils.ParameterToString(country)); // path parameter + localVarRequestOptions.PathParameters.Add("country", Tribufu.Generated.Client.ClientUtils.ParameterToString(country)); // path parameter if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetGameServersByCountry"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersByCountry"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -7989,7 +7989,7 @@ namespace Tribufu.Api /// /// Get a list of game servers of a game. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -7997,28 +7997,28 @@ namespace Tribufu.Api /// List<GameServer> public List GetGameServersByGameId(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetGameServersByGameIdWithHttpInfo(id, page, limit); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetGameServersByGameIdWithHttpInfo(id, page, limit); return localVarResponse.Data; } /// /// Get a list of game servers of a game. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) /// Index associated with the operation. /// ApiResponse of List<GameServer> - public Tribufu.Client.ApiResponse> GetGameServersByGameIdWithHttpInfo(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetGameServersByGameIdWithHttpInfo(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGameServersByGameId"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGameServersByGameId"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8030,30 +8030,30 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetGameServersByGameId"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersByGameId"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -8079,7 +8079,7 @@ namespace Tribufu.Api /// /// Get a list of game servers of a game. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -8088,30 +8088,30 @@ namespace Tribufu.Api /// Task of List<GameServer> public async System.Threading.Tasks.Task> GetGameServersByGameIdAsync(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetGameServersByGameIdWithHttpInfoAsync(id, page, limit, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetGameServersByGameIdWithHttpInfoAsync(id, page, limit, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of game servers of a game. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<GameServer>) - public async System.Threading.Tasks.Task>> GetGameServersByGameIdWithHttpInfoAsync(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetGameServersByGameIdWithHttpInfoAsync(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGameServersByGameId"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGameServersByGameId"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8123,29 +8123,29 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetGameServersByGameId"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersByGameId"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -8172,24 +8172,24 @@ namespace Tribufu.Api /// /// Get a list of countries with the number of game servers. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.country.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Dictionary<string, int> public Dictionary GetGameServersCountries(int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetGameServersCountriesWithHttpInfo(); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetGameServersCountriesWithHttpInfo(); return localVarResponse.Data; } /// /// Get a list of countries with the number of game servers. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.country.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of Dictionary<string, int> - public Tribufu.Client.ApiResponse> GetGameServersCountriesWithHttpInfo(int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetGameServersCountriesWithHttpInfo(int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8201,21 +8201,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetGameServersCountries"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersCountries"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -8241,27 +8241,27 @@ namespace Tribufu.Api /// /// Get a list of countries with the number of game servers. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.country.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Dictionary<string, int> public async System.Threading.Tasks.Task> GetGameServersCountriesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetGameServersCountriesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetGameServersCountriesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of countries with the number of game servers. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.country.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Dictionary<string, int>) - public async System.Threading.Tasks.Task>> GetGameServersCountriesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetGameServersCountriesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8273,20 +8273,20 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetGameServersCountries"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersCountries"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -8313,24 +8313,24 @@ namespace Tribufu.Api /// /// Get metrics about the tracked game servers. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.metric.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ServerMetrics public ServerMetrics GetGameServersMetrics(int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetGameServersMetricsWithHttpInfo(); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetGameServersMetricsWithHttpInfo(); return localVarResponse.Data; } /// /// Get metrics about the tracked game servers. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.metric.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of ServerMetrics - public Tribufu.Client.ApiResponse GetGameServersMetricsWithHttpInfo(int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetGameServersMetricsWithHttpInfo(int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8342,21 +8342,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetGameServersMetrics"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersMetrics"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -8382,27 +8382,27 @@ namespace Tribufu.Api /// /// Get metrics about the tracked game servers. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.metric.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ServerMetrics public async System.Threading.Tasks.Task GetGameServersMetricsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetGameServersMetricsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetGameServersMetricsWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get metrics about the tracked game servers. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.metric.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (ServerMetrics) - public async System.Threading.Tasks.Task> GetGameServersMetricsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetGameServersMetricsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8414,20 +8414,20 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetGameServersMetrics"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersMetrics"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -8454,24 +8454,24 @@ namespace Tribufu.Api /// /// Get a list of games. <b>🔒 Required permissions:</b> <code>tribufu.community.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// List<Game> public List GetGames(int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetGamesWithHttpInfo(); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetGamesWithHttpInfo(); return localVarResponse.Data; } /// /// Get a list of games. <b>🔒 Required permissions:</b> <code>tribufu.community.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of List<Game> - public Tribufu.Client.ApiResponse> GetGamesWithHttpInfo(int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetGamesWithHttpInfo(int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8483,21 +8483,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetGames"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGames"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -8523,27 +8523,27 @@ namespace Tribufu.Api /// /// Get a list of games. <b>🔒 Required permissions:</b> <code>tribufu.community.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Game> public async System.Threading.Tasks.Task> GetGamesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetGamesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetGamesWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of games. <b>🔒 Required permissions:</b> <code>tribufu.community.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Game>) - public async System.Threading.Tasks.Task>> GetGamesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetGamesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8555,20 +8555,20 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetGames"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGames"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -8595,32 +8595,32 @@ namespace Tribufu.Api /// /// Get a group by id. <b>🔒 Required permissions:</b> <code>tribufu.community.group.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Group public Group GetGroupById(string id, int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetGroupByIdWithHttpInfo(id); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetGroupByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get a group by id. <b>🔒 Required permissions:</b> <code>tribufu.community.group.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Group - public Tribufu.Client.ApiResponse GetGroupByIdWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetGroupByIdWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGroupById"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGroupById"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8632,22 +8632,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGroupById"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupById"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -8673,35 +8673,35 @@ namespace Tribufu.Api /// /// Get a group by id. <b>🔒 Required permissions:</b> <code>tribufu.community.group.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Group public async System.Threading.Tasks.Task GetGroupByIdAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetGroupByIdWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetGroupByIdWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a group by id. <b>🔒 Required permissions:</b> <code>tribufu.community.group.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Group) - public async System.Threading.Tasks.Task> GetGroupByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetGroupByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGroupById"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGroupById"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8713,21 +8713,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGroupById"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupById"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -8754,32 +8754,32 @@ namespace Tribufu.Api /// /// Get a group by tag. <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.tag</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Group public Group GetGroupByTag(string tag, int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetGroupByTagWithHttpInfo(tag); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetGroupByTagWithHttpInfo(tag); return localVarResponse.Data; } /// /// Get a group by tag. <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.tag</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Group - public Tribufu.Client.ApiResponse GetGroupByTagWithHttpInfo(string tag, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetGroupByTagWithHttpInfo(string tag, int operationIndex = 0) { // verify the required parameter 'tag' is set if (tag == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'tag' when calling TribufuApi->GetGroupByTag"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'tag' when calling TribufuGeneratedApi->GetGroupByTag"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8791,22 +8791,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("tag", Tribufu.Client.ClientUtils.ParameterToString(tag)); // path parameter + localVarRequestOptions.PathParameters.Add("tag", Tribufu.Generated.Client.ClientUtils.ParameterToString(tag)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGroupByTag"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupByTag"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -8832,35 +8832,35 @@ namespace Tribufu.Api /// /// Get a group by tag. <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.tag</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Group public async System.Threading.Tasks.Task GetGroupByTagAsync(string tag, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetGroupByTagWithHttpInfoAsync(tag, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetGroupByTagWithHttpInfoAsync(tag, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a group by tag. <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.tag</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Group) - public async System.Threading.Tasks.Task> GetGroupByTagWithHttpInfoAsync(string tag, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetGroupByTagWithHttpInfoAsync(string tag, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'tag' is set if (tag == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'tag' when calling TribufuApi->GetGroupByTag"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'tag' when calling TribufuGeneratedApi->GetGroupByTag"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8872,21 +8872,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("tag", Tribufu.Client.ClientUtils.ParameterToString(tag)); // path parameter + localVarRequestOptions.PathParameters.Add("tag", Tribufu.Generated.Client.ClientUtils.ParameterToString(tag)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGroupByTag"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupByTag"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -8913,26 +8913,26 @@ namespace Tribufu.Api /// /// Get a group by uuid. <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Group public Group GetGroupByUuid(Guid uuid, int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetGroupByUuidWithHttpInfo(uuid); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetGroupByUuidWithHttpInfo(uuid); return localVarResponse.Data; } /// /// Get a group by uuid. <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Group - public Tribufu.Client.ApiResponse GetGroupByUuidWithHttpInfo(Guid uuid, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetGroupByUuidWithHttpInfo(Guid uuid, int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -8944,22 +8944,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("uuid", Tribufu.Client.ClientUtils.ParameterToString(uuid)); // path parameter + localVarRequestOptions.PathParameters.Add("uuid", Tribufu.Generated.Client.ClientUtils.ParameterToString(uuid)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGroupByUuid"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupByUuid"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -8985,29 +8985,29 @@ namespace Tribufu.Api /// /// Get a group by uuid. <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Group public async System.Threading.Tasks.Task GetGroupByUuidAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetGroupByUuidWithHttpInfoAsync(uuid, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetGroupByUuidWithHttpInfoAsync(uuid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a group by uuid. <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Group) - public async System.Threading.Tasks.Task> GetGroupByUuidWithHttpInfoAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetGroupByUuidWithHttpInfoAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9019,21 +9019,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("uuid", Tribufu.Client.ClientUtils.ParameterToString(uuid)); // path parameter + localVarRequestOptions.PathParameters.Add("uuid", Tribufu.Generated.Client.ClientUtils.ParameterToString(uuid)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGroupByUuid"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupByUuid"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -9060,32 +9060,32 @@ namespace Tribufu.Api /// /// Get a list of games of a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// List<GroupGame> public List GetGroupGames(string id, int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetGroupGamesWithHttpInfo(id); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetGroupGamesWithHttpInfo(id); return localVarResponse.Data; } /// /// Get a list of games of a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of List<GroupGame> - public Tribufu.Client.ApiResponse> GetGroupGamesWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetGroupGamesWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGroupGames"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGroupGames"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9097,22 +9097,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGroupGames"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupGames"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -9138,35 +9138,35 @@ namespace Tribufu.Api /// /// Get a list of games of a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<GroupGame> public async System.Threading.Tasks.Task> GetGroupGamesAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetGroupGamesWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetGroupGamesWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of games of a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<GroupGame>) - public async System.Threading.Tasks.Task>> GetGroupGamesWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetGroupGamesWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGroupGames"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGroupGames"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9178,21 +9178,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGroupGames"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupGames"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -9219,32 +9219,32 @@ namespace Tribufu.Api /// /// Get a list of members in a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.member.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// List<GroupMember> public List GetGroupMembers(string id, int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetGroupMembersWithHttpInfo(id); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetGroupMembersWithHttpInfo(id); return localVarResponse.Data; } /// /// Get a list of members in a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.member.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of List<GroupMember> - public Tribufu.Client.ApiResponse> GetGroupMembersWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetGroupMembersWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGroupMembers"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGroupMembers"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9256,22 +9256,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGroupMembers"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupMembers"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -9297,35 +9297,35 @@ namespace Tribufu.Api /// /// Get a list of members in a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.member.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<GroupMember> public async System.Threading.Tasks.Task> GetGroupMembersAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetGroupMembersWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetGroupMembersWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of members in a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.member.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<GroupMember>) - public async System.Threading.Tasks.Task>> GetGroupMembersWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetGroupMembersWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetGroupMembers"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetGroupMembers"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9337,21 +9337,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetGroupMembers"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupMembers"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -9378,28 +9378,28 @@ namespace Tribufu.Api /// /// Get a list of groups. <b>🔒 Required permissions:</b> <code>tribufu.community.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// List<Group> public List GetGroups(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetGroupsWithHttpInfo(page, limit); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetGroupsWithHttpInfo(page, limit); return localVarResponse.Data; } /// /// Get a list of groups. <b>🔒 Required permissions:</b> <code>tribufu.community.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// ApiResponse of List<Group> - public Tribufu.Client.ApiResponse> GetGroupsWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetGroupsWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9411,14 +9411,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -9426,14 +9426,14 @@ namespace Tribufu.Api if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetGroups"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroups"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -9459,7 +9459,7 @@ namespace Tribufu.Api /// /// Get a list of groups. <b>🔒 Required permissions:</b> <code>tribufu.community.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -9467,23 +9467,23 @@ namespace Tribufu.Api /// Task of List<Group> public async System.Threading.Tasks.Task> GetGroupsAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetGroupsWithHttpInfoAsync(page, limit, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetGroupsWithHttpInfoAsync(page, limit, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of groups. <b>🔒 Required permissions:</b> <code>tribufu.community.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Group>) - public async System.Threading.Tasks.Task>> GetGroupsWithHttpInfoAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetGroupsWithHttpInfoAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9495,13 +9495,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -9509,14 +9509,14 @@ namespace Tribufu.Api if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetGroups"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroups"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -9543,32 +9543,32 @@ namespace Tribufu.Api /// /// Get a ip address location. <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// IpAddress public IpAddress GetIpAddress(string address, int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetIpAddressWithHttpInfo(address); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetIpAddressWithHttpInfo(address); return localVarResponse.Data; } /// /// Get a ip address location. <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of IpAddress - public Tribufu.Client.ApiResponse GetIpAddressWithHttpInfo(string address, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetIpAddressWithHttpInfo(string address, int operationIndex = 0) { // verify the required parameter 'address' is set if (address == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'address' when calling TribufuApi->GetIpAddress"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'address' when calling TribufuGeneratedApi->GetIpAddress"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9580,22 +9580,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("address", Tribufu.Client.ClientUtils.ParameterToString(address)); // path parameter + localVarRequestOptions.PathParameters.Add("address", Tribufu.Generated.Client.ClientUtils.ParameterToString(address)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetIpAddress"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetIpAddress"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -9621,35 +9621,35 @@ namespace Tribufu.Api /// /// Get a ip address location. <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of IpAddress public async System.Threading.Tasks.Task GetIpAddressAsync(string address, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetIpAddressWithHttpInfoAsync(address, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetIpAddressWithHttpInfoAsync(address, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a ip address location. <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (IpAddress) - public async System.Threading.Tasks.Task> GetIpAddressWithHttpInfoAsync(string address, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetIpAddressWithHttpInfoAsync(string address, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'address' is set if (address == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'address' when calling TribufuApi->GetIpAddress"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'address' when calling TribufuGeneratedApi->GetIpAddress"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9661,21 +9661,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("address", Tribufu.Client.ClientUtils.ParameterToString(address)); // path parameter + localVarRequestOptions.PathParameters.Add("address", Tribufu.Generated.Client.ClientUtils.ParameterToString(address)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetIpAddress"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetIpAddress"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -9702,28 +9702,28 @@ namespace Tribufu.Api /// /// Get a list of ip addresses. <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// List<IpAddress> public List GetIpAddresses(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetIpAddressesWithHttpInfo(page, limit); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetIpAddressesWithHttpInfo(page, limit); return localVarResponse.Data; } /// /// Get a list of ip addresses. <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// ApiResponse of List<IpAddress> - public Tribufu.Client.ApiResponse> GetIpAddressesWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetIpAddressesWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9735,14 +9735,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -9750,14 +9750,14 @@ namespace Tribufu.Api if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetIpAddresses"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetIpAddresses"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -9783,7 +9783,7 @@ namespace Tribufu.Api /// /// Get a list of ip addresses. <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -9791,23 +9791,23 @@ namespace Tribufu.Api /// Task of List<IpAddress> public async System.Threading.Tasks.Task> GetIpAddressesAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetIpAddressesWithHttpInfoAsync(page, limit, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetIpAddressesWithHttpInfoAsync(page, limit, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of ip addresses. <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<IpAddress>) - public async System.Threading.Tasks.Task>> GetIpAddressesWithHttpInfoAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetIpAddressesWithHttpInfoAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9819,13 +9819,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -9833,14 +9833,14 @@ namespace Tribufu.Api if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetIpAddresses"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetIpAddresses"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -9867,26 +9867,26 @@ namespace Tribufu.Api /// /// Get the top 20 leaderboard users. <b>🔒 Required permissions:</b> <code>tribufu.community.leaderboard.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// List<LeaderboardItem> public List GetLeaderboard(LeaderboardOrder? order = default(LeaderboardOrder?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetLeaderboardWithHttpInfo(order); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetLeaderboardWithHttpInfo(order); return localVarResponse.Data; } /// /// Get the top 20 leaderboard users. <b>🔒 Required permissions:</b> <code>tribufu.community.leaderboard.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of List<LeaderboardItem> - public Tribufu.Client.ApiResponse> GetLeaderboardWithHttpInfo(LeaderboardOrder? order = default(LeaderboardOrder?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetLeaderboardWithHttpInfo(LeaderboardOrder? order = default(LeaderboardOrder?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9898,14 +9898,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -9913,10 +9913,10 @@ namespace Tribufu.Api if (order != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "Order", order)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "Order", order)); } - localVarRequestOptions.Operation = "TribufuApi.GetLeaderboard"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetLeaderboard"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -9942,29 +9942,29 @@ namespace Tribufu.Api /// /// Get the top 20 leaderboard users. <b>🔒 Required permissions:</b> <code>tribufu.community.leaderboard.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<LeaderboardItem> public async System.Threading.Tasks.Task> GetLeaderboardAsync(LeaderboardOrder? order = default(LeaderboardOrder?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetLeaderboardWithHttpInfoAsync(order, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetLeaderboardWithHttpInfoAsync(order, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get the top 20 leaderboard users. <b>🔒 Required permissions:</b> <code>tribufu.community.leaderboard.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<LeaderboardItem>) - public async System.Threading.Tasks.Task>> GetLeaderboardWithHttpInfoAsync(LeaderboardOrder? order = default(LeaderboardOrder?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetLeaderboardWithHttpInfoAsync(LeaderboardOrder? order = default(LeaderboardOrder?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -9976,13 +9976,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -9990,10 +9990,10 @@ namespace Tribufu.Api if (order != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "Order", order)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "Order", order)); } - localVarRequestOptions.Operation = "TribufuApi.GetLeaderboard"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetLeaderboard"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -10020,26 +10020,26 @@ namespace Tribufu.Api /// /// Get current user information. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// UserInfo [Obsolete] public UserInfo GetMe(int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetMeWithHttpInfo(); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetMeWithHttpInfo(); return localVarResponse.Data; } /// /// Get current user information. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of UserInfo [Obsolete] - public Tribufu.Client.ApiResponse GetMeWithHttpInfo(int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetMeWithHttpInfo(int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10051,21 +10051,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetMe"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetMe"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -10091,29 +10091,29 @@ namespace Tribufu.Api /// /// Get current user information. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of UserInfo [Obsolete] public async System.Threading.Tasks.Task GetMeAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetMeWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetMeWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get current user information. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (UserInfo) [Obsolete] - public async System.Threading.Tasks.Task> GetMeWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetMeWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10125,20 +10125,20 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetMe"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetMe"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -10165,32 +10165,32 @@ namespace Tribufu.Api /// /// Get a package by id. <b>🔒 Required permissions:</b> <code>tribufu.community.package.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Package public Package GetPackageById(string id, int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetPackageByIdWithHttpInfo(id); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetPackageByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get a package by id. <b>🔒 Required permissions:</b> <code>tribufu.community.package.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Package - public Tribufu.Client.ApiResponse GetPackageByIdWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetPackageByIdWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetPackageById"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetPackageById"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10202,22 +10202,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetPackageById"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetPackageById"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -10243,35 +10243,35 @@ namespace Tribufu.Api /// /// Get a package by id. <b>🔒 Required permissions:</b> <code>tribufu.community.package.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Package public async System.Threading.Tasks.Task GetPackageByIdAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetPackageByIdWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetPackageByIdWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a package by id. <b>🔒 Required permissions:</b> <code>tribufu.community.package.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Package) - public async System.Threading.Tasks.Task> GetPackageByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetPackageByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetPackageById"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetPackageById"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10283,21 +10283,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetPackageById"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetPackageById"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -10324,28 +10324,28 @@ namespace Tribufu.Api /// /// Get a list of packages. <b>🔒 Required permissions:</b> <code>tribufu.community.package.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// List<Package> public List GetPackages(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetPackagesWithHttpInfo(page, limit); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetPackagesWithHttpInfo(page, limit); return localVarResponse.Data; } /// /// Get a list of packages. <b>🔒 Required permissions:</b> <code>tribufu.community.package.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// ApiResponse of List<Package> - public Tribufu.Client.ApiResponse> GetPackagesWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetPackagesWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10357,14 +10357,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -10372,14 +10372,14 @@ namespace Tribufu.Api if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetPackages"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetPackages"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -10405,7 +10405,7 @@ namespace Tribufu.Api /// /// Get a list of packages. <b>🔒 Required permissions:</b> <code>tribufu.community.package.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -10413,23 +10413,23 @@ namespace Tribufu.Api /// Task of List<Package> public async System.Threading.Tasks.Task> GetPackagesAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetPackagesWithHttpInfoAsync(page, limit, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetPackagesWithHttpInfoAsync(page, limit, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of packages. <b>🔒 Required permissions:</b> <code>tribufu.community.package.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Package>) - public async System.Threading.Tasks.Task>> GetPackagesWithHttpInfoAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetPackagesWithHttpInfoAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10441,13 +10441,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -10455,14 +10455,14 @@ namespace Tribufu.Api if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetPackages"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetPackages"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -10489,7 +10489,7 @@ namespace Tribufu.Api /// /// Get the public keys for the client. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.client.keys</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// public void GetPublicKeys(int operationIndex = 0) @@ -10500,12 +10500,12 @@ namespace Tribufu.Api /// /// Get the public keys for the client. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.client.keys</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse GetPublicKeysWithHttpInfo(int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetPublicKeysWithHttpInfo(int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10514,21 +10514,21 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetPublicKeys"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetPublicKeys"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -10554,7 +10554,7 @@ namespace Tribufu.Api /// /// Get the public keys for the client. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.client.keys</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of void @@ -10566,14 +10566,14 @@ namespace Tribufu.Api /// /// Get the public keys for the client. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.client.keys</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> GetPublicKeysWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetPublicKeysWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10582,20 +10582,20 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetPublicKeys"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetPublicKeys"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -10622,32 +10622,32 @@ namespace Tribufu.Api /// /// Get a subscription by id. <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Subscription public Subscription GetSubscriptionById(string id, int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetSubscriptionByIdWithHttpInfo(id); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetSubscriptionByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get a subscription by id. <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Subscription - public Tribufu.Client.ApiResponse GetSubscriptionByIdWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetSubscriptionByIdWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetSubscriptionById"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetSubscriptionById"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10659,22 +10659,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetSubscriptionById"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetSubscriptionById"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -10700,35 +10700,35 @@ namespace Tribufu.Api /// /// Get a subscription by id. <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Subscription public async System.Threading.Tasks.Task GetSubscriptionByIdAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetSubscriptionByIdWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetSubscriptionByIdWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a subscription by id. <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Subscription) - public async System.Threading.Tasks.Task> GetSubscriptionByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetSubscriptionByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetSubscriptionById"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetSubscriptionById"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10740,21 +10740,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetSubscriptionById"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetSubscriptionById"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -10781,28 +10781,28 @@ namespace Tribufu.Api /// /// Get a list of subscriptions. <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// List<Subscription> public List GetSubscriptions(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetSubscriptionsWithHttpInfo(page, limit); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetSubscriptionsWithHttpInfo(page, limit); return localVarResponse.Data; } /// /// Get a list of subscriptions. <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// ApiResponse of List<Subscription> - public Tribufu.Client.ApiResponse> GetSubscriptionsWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetSubscriptionsWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10814,14 +10814,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -10829,14 +10829,14 @@ namespace Tribufu.Api if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetSubscriptions"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetSubscriptions"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -10862,7 +10862,7 @@ namespace Tribufu.Api /// /// Get a list of subscriptions. <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -10870,23 +10870,23 @@ namespace Tribufu.Api /// Task of List<Subscription> public async System.Threading.Tasks.Task> GetSubscriptionsAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetSubscriptionsWithHttpInfoAsync(page, limit, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetSubscriptionsWithHttpInfoAsync(page, limit, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of subscriptions. <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Subscription>) - public async System.Threading.Tasks.Task>> GetSubscriptionsWithHttpInfoAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetSubscriptionsWithHttpInfoAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10898,13 +10898,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -10912,14 +10912,14 @@ namespace Tribufu.Api if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetSubscriptions"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetSubscriptions"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -10946,32 +10946,32 @@ namespace Tribufu.Api /// /// Get a list of connected accounts of the user. <b>🔒 Required permissions:</b> <code>tribufu.identity.user.account.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// List<Account> public List GetUserAccounts(string id, int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetUserAccountsWithHttpInfo(id); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetUserAccountsWithHttpInfo(id); return localVarResponse.Data; } /// /// Get a list of connected accounts of the user. <b>🔒 Required permissions:</b> <code>tribufu.identity.user.account.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of List<Account> - public Tribufu.Client.ApiResponse> GetUserAccountsWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetUserAccountsWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetUserAccounts"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetUserAccounts"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -10983,22 +10983,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserAccounts"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserAccounts"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -11024,35 +11024,35 @@ namespace Tribufu.Api /// /// Get a list of connected accounts of the user. <b>🔒 Required permissions:</b> <code>tribufu.identity.user.account.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Account> public async System.Threading.Tasks.Task> GetUserAccountsAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetUserAccountsWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetUserAccountsWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of connected accounts of the user. <b>🔒 Required permissions:</b> <code>tribufu.identity.user.account.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Account>) - public async System.Threading.Tasks.Task>> GetUserAccountsWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetUserAccountsWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetUserAccounts"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetUserAccounts"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -11064,21 +11064,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserAccounts"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserAccounts"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -11105,32 +11105,32 @@ namespace Tribufu.Api /// /// Get a user profile by id. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Profile public Profile GetUserById(string id, int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetUserByIdWithHttpInfo(id); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetUserByIdWithHttpInfo(id); return localVarResponse.Data; } /// /// Get a user profile by id. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Profile - public Tribufu.Client.ApiResponse GetUserByIdWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetUserByIdWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetUserById"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetUserById"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -11142,22 +11142,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserById"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserById"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -11183,35 +11183,35 @@ namespace Tribufu.Api /// /// Get a user profile by id. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Profile public async System.Threading.Tasks.Task GetUserByIdAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetUserByIdWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetUserByIdWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a user profile by id. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Profile) - public async System.Threading.Tasks.Task> GetUserByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetUserByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetUserById"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetUserById"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -11223,21 +11223,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserById"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserById"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -11264,32 +11264,32 @@ namespace Tribufu.Api /// /// Get a user profile by name. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.name</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Profile public Profile GetUserByName(string name, int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetUserByNameWithHttpInfo(name); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetUserByNameWithHttpInfo(name); return localVarResponse.Data; } /// /// Get a user profile by name. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.name</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Profile - public Tribufu.Client.ApiResponse GetUserByNameWithHttpInfo(string name, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetUserByNameWithHttpInfo(string name, int operationIndex = 0) { // verify the required parameter 'name' is set if (name == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'name' when calling TribufuApi->GetUserByName"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'name' when calling TribufuGeneratedApi->GetUserByName"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -11301,22 +11301,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("name", Tribufu.Client.ClientUtils.ParameterToString(name)); // path parameter + localVarRequestOptions.PathParameters.Add("name", Tribufu.Generated.Client.ClientUtils.ParameterToString(name)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserByName"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserByName"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -11342,35 +11342,35 @@ namespace Tribufu.Api /// /// Get a user profile by name. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.name</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Profile public async System.Threading.Tasks.Task GetUserByNameAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetUserByNameWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetUserByNameWithHttpInfoAsync(name, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a user profile by name. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.name</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Profile) - public async System.Threading.Tasks.Task> GetUserByNameWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetUserByNameWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'name' is set if (name == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'name' when calling TribufuApi->GetUserByName"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'name' when calling TribufuGeneratedApi->GetUserByName"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -11382,21 +11382,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("name", Tribufu.Client.ClientUtils.ParameterToString(name)); // path parameter + localVarRequestOptions.PathParameters.Add("name", Tribufu.Generated.Client.ClientUtils.ParameterToString(name)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserByName"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserByName"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -11423,26 +11423,26 @@ namespace Tribufu.Api /// /// Get a user profile by uuid. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Profile public Profile GetUserByUuid(Guid uuid, int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetUserByUuidWithHttpInfo(uuid); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetUserByUuidWithHttpInfo(uuid); return localVarResponse.Data; } /// /// Get a user profile by uuid. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Profile - public Tribufu.Client.ApiResponse GetUserByUuidWithHttpInfo(Guid uuid, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetUserByUuidWithHttpInfo(Guid uuid, int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -11454,22 +11454,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("uuid", Tribufu.Client.ClientUtils.ParameterToString(uuid)); // path parameter + localVarRequestOptions.PathParameters.Add("uuid", Tribufu.Generated.Client.ClientUtils.ParameterToString(uuid)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserByUuid"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserByUuid"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -11495,29 +11495,29 @@ namespace Tribufu.Api /// /// Get a user profile by uuid. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Profile public async System.Threading.Tasks.Task GetUserByUuidAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetUserByUuidWithHttpInfoAsync(uuid, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetUserByUuidWithHttpInfoAsync(uuid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a user profile by uuid. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.uuid</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Profile) - public async System.Threading.Tasks.Task> GetUserByUuidWithHttpInfoAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetUserByUuidWithHttpInfoAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -11529,21 +11529,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("uuid", Tribufu.Client.ClientUtils.ParameterToString(uuid)); // path parameter + localVarRequestOptions.PathParameters.Add("uuid", Tribufu.Generated.Client.ClientUtils.ParameterToString(uuid)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserByUuid"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserByUuid"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -11570,32 +11570,32 @@ namespace Tribufu.Api /// /// Get a list of friends of the user. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.friend.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// List<Object> public List GetUserFriends(string id, int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetUserFriendsWithHttpInfo(id); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetUserFriendsWithHttpInfo(id); return localVarResponse.Data; } /// /// Get a list of friends of the user. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.friend.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of List<Object> - public Tribufu.Client.ApiResponse> GetUserFriendsWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetUserFriendsWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetUserFriends"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetUserFriends"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -11607,22 +11607,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserFriends"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserFriends"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -11648,35 +11648,35 @@ namespace Tribufu.Api /// /// Get a list of friends of the user. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.friend.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Object> public async System.Threading.Tasks.Task> GetUserFriendsAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetUserFriendsWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetUserFriendsWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of friends of the user. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.friend.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Object>) - public async System.Threading.Tasks.Task>> GetUserFriendsWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetUserFriendsWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetUserFriends"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetUserFriends"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -11688,21 +11688,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserFriends"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserFriends"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -11729,32 +11729,32 @@ namespace Tribufu.Api /// /// Get a list of games the user has played. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// List<ProfileGame> public List GetUserGames(string id, int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetUserGamesWithHttpInfo(id); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetUserGamesWithHttpInfo(id); return localVarResponse.Data; } /// /// Get a list of games the user has played. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of List<ProfileGame> - public Tribufu.Client.ApiResponse> GetUserGamesWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetUserGamesWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetUserGames"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetUserGames"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -11766,22 +11766,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserGames"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserGames"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -11807,35 +11807,35 @@ namespace Tribufu.Api /// /// Get a list of games the user has played. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<ProfileGame> public async System.Threading.Tasks.Task> GetUserGamesAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetUserGamesWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetUserGamesWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of games the user has played. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ProfileGame>) - public async System.Threading.Tasks.Task>> GetUserGamesWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetUserGamesWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetUserGames"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetUserGames"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -11847,21 +11847,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserGames"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserGames"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -11888,32 +11888,32 @@ namespace Tribufu.Api /// /// Get a list of groups the user is a member of. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// List<ProfileGroup> public List GetUserGroups(string id, int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetUserGroupsWithHttpInfo(id); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetUserGroupsWithHttpInfo(id); return localVarResponse.Data; } /// /// Get a list of groups the user is a member of. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of List<ProfileGroup> - public Tribufu.Client.ApiResponse> GetUserGroupsWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetUserGroupsWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetUserGroups"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetUserGroups"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -11925,22 +11925,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserGroups"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserGroups"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -11966,35 +11966,35 @@ namespace Tribufu.Api /// /// Get a list of groups the user is a member of. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<ProfileGroup> public async System.Threading.Tasks.Task> GetUserGroupsAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetUserGroupsWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetUserGroupsWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of groups the user is a member of. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.group.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<ProfileGroup>) - public async System.Threading.Tasks.Task>> GetUserGroupsWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetUserGroupsWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetUserGroups"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetUserGroups"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -12006,21 +12006,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserGroups"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserGroups"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -12047,24 +12047,24 @@ namespace Tribufu.Api /// /// Get current user information. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.user.info</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// UserInfo public UserInfo GetUserInfo(int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = GetUserInfoWithHttpInfo(); + Tribufu.Generated.Client.ApiResponse localVarResponse = GetUserInfoWithHttpInfo(); return localVarResponse.Data; } /// /// Get current user information. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.user.info</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of UserInfo - public Tribufu.Client.ApiResponse GetUserInfoWithHttpInfo(int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse GetUserInfoWithHttpInfo(int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -12076,21 +12076,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetUserInfo"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserInfo"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -12116,27 +12116,27 @@ namespace Tribufu.Api /// /// Get current user information. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.user.info</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of UserInfo public async System.Threading.Tasks.Task GetUserInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await GetUserInfoWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await GetUserInfoWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get current user information. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.user.info</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (UserInfo) - public async System.Threading.Tasks.Task> GetUserInfoWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetUserInfoWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -12148,20 +12148,20 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.GetUserInfo"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserInfo"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -12188,32 +12188,32 @@ namespace Tribufu.Api /// /// Get a list of punishments the user has received. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.punishment.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// List<Object> public List GetUserPunishments(string id, int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetUserPunishmentsWithHttpInfo(id); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetUserPunishmentsWithHttpInfo(id); return localVarResponse.Data; } /// /// Get a list of punishments the user has received. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.punishment.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of List<Object> - public Tribufu.Client.ApiResponse> GetUserPunishmentsWithHttpInfo(string id, int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetUserPunishmentsWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetUserPunishments"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetUserPunishments"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -12225,22 +12225,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserPunishments"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserPunishments"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -12266,35 +12266,35 @@ namespace Tribufu.Api /// /// Get a list of punishments the user has received. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.punishment.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Object> public async System.Threading.Tasks.Task> GetUserPunishmentsAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetUserPunishmentsWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetUserPunishmentsWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of punishments the user has received. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.punishment.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Object>) - public async System.Threading.Tasks.Task>> GetUserPunishmentsWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetUserPunishmentsWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetUserPunishments"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetUserPunishments"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -12306,21 +12306,21 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter - localVarRequestOptions.Operation = "TribufuApi.GetUserPunishments"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserPunishments"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -12347,7 +12347,7 @@ namespace Tribufu.Api /// /// Get a list of servers the user is owner of. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -12355,28 +12355,28 @@ namespace Tribufu.Api /// List<GameServer> public List GetUserServers(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetUserServersWithHttpInfo(id, page, limit); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetUserServersWithHttpInfo(id, page, limit); return localVarResponse.Data; } /// /// Get a list of servers the user is owner of. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) /// Index associated with the operation. /// ApiResponse of List<GameServer> - public Tribufu.Client.ApiResponse> GetUserServersWithHttpInfo(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetUserServersWithHttpInfo(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetUserServers"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetUserServers"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -12388,30 +12388,30 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetUserServers"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserServers"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -12437,7 +12437,7 @@ namespace Tribufu.Api /// /// Get a list of servers the user is owner of. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) @@ -12446,30 +12446,30 @@ namespace Tribufu.Api /// Task of List<GameServer> public async System.Threading.Tasks.Task> GetUserServersAsync(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetUserServersWithHttpInfoAsync(id, page, limit, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetUserServersWithHttpInfoAsync(id, page, limit, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of servers the user is owner of. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.game.server.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<GameServer>) - public async System.Threading.Tasks.Task>> GetUserServersWithHttpInfoAsync(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetUserServersWithHttpInfoAsync(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->GetUserServers"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->GetUserServers"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -12481,29 +12481,29 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetUserServers"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserServers"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -12530,28 +12530,28 @@ namespace Tribufu.Api /// /// Get a list of user profiles. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// List<Profile> public List GetUsers(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetUsersWithHttpInfo(page, limit); + Tribufu.Generated.Client.ApiResponse> localVarResponse = GetUsersWithHttpInfo(page, limit); return localVarResponse.Data; } /// /// Get a list of user profiles. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// ApiResponse of List<Profile> - public Tribufu.Client.ApiResponse> GetUsersWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> GetUsersWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -12563,14 +12563,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -12578,14 +12578,14 @@ namespace Tribufu.Api if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetUsers"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUsers"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -12611,7 +12611,7 @@ namespace Tribufu.Api /// /// Get a list of user profiles. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. @@ -12619,23 +12619,23 @@ namespace Tribufu.Api /// Task of List<Profile> public async System.Threading.Tasks.Task> GetUsersAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetUsersWithHttpInfoAsync(page, limit, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await GetUsersWithHttpInfoAsync(page, limit, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get a list of user profiles. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.list</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Profile>) - public async System.Threading.Tasks.Task>> GetUsersWithHttpInfoAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> GetUsersWithHttpInfoAsync(int? page = default(int?), int? limit = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -12647,13 +12647,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -12661,14 +12661,14 @@ namespace Tribufu.Api if (page != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "page", page)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "page", page)); } if (limit != null) { - localVarRequestOptions.QueryParameters.Add(Tribufu.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); + localVarRequestOptions.QueryParameters.Add(Tribufu.Generated.Client.ClientUtils.ParameterToMultiMap("", "limit", limit)); } - localVarRequestOptions.Operation = "TribufuApi.GetUsers"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUsers"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -12695,26 +12695,26 @@ namespace Tribufu.Api /// /// Hash a string using argon2. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.argon2</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// HashViewModel public HashViewModel HashArgon2(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = HashArgon2WithHttpInfo(hashViewModel); + Tribufu.Generated.Client.ApiResponse localVarResponse = HashArgon2WithHttpInfo(hashViewModel); return localVarResponse.Data; } /// /// Hash a string using argon2. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.argon2</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of HashViewModel - public Tribufu.Client.ApiResponse HashArgon2WithHttpInfo(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse HashArgon2WithHttpInfo(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -12730,14 +12730,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -12745,7 +12745,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = hashViewModel; - localVarRequestOptions.Operation = "TribufuApi.HashArgon2"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.HashArgon2"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -12771,29 +12771,29 @@ namespace Tribufu.Api /// /// Hash a string using argon2. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.argon2</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of HashViewModel public async System.Threading.Tasks.Task HashArgon2Async(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await HashArgon2WithHttpInfoAsync(hashViewModel, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await HashArgon2WithHttpInfoAsync(hashViewModel, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Hash a string using argon2. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.argon2</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (HashViewModel) - public async System.Threading.Tasks.Task> HashArgon2WithHttpInfoAsync(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> HashArgon2WithHttpInfoAsync(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -12809,13 +12809,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -12823,7 +12823,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = hashViewModel; - localVarRequestOptions.Operation = "TribufuApi.HashArgon2"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.HashArgon2"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -12850,26 +12850,26 @@ namespace Tribufu.Api /// /// Hash a string using bcrypt. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.bcrypt</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// HashViewModel public HashViewModel HashBcrypt(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = HashBcryptWithHttpInfo(hashViewModel); + Tribufu.Generated.Client.ApiResponse localVarResponse = HashBcryptWithHttpInfo(hashViewModel); return localVarResponse.Data; } /// /// Hash a string using bcrypt. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.bcrypt</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of HashViewModel - public Tribufu.Client.ApiResponse HashBcryptWithHttpInfo(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse HashBcryptWithHttpInfo(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -12885,14 +12885,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -12900,7 +12900,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = hashViewModel; - localVarRequestOptions.Operation = "TribufuApi.HashBcrypt"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.HashBcrypt"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -12926,29 +12926,29 @@ namespace Tribufu.Api /// /// Hash a string using bcrypt. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.bcrypt</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of HashViewModel public async System.Threading.Tasks.Task HashBcryptAsync(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await HashBcryptWithHttpInfoAsync(hashViewModel, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await HashBcryptWithHttpInfoAsync(hashViewModel, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Hash a string using bcrypt. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.bcrypt</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (HashViewModel) - public async System.Threading.Tasks.Task> HashBcryptWithHttpInfoAsync(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> HashBcryptWithHttpInfoAsync(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -12964,13 +12964,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -12978,7 +12978,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = hashViewModel; - localVarRequestOptions.Operation = "TribufuApi.HashBcrypt"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.HashBcrypt"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -13005,26 +13005,26 @@ namespace Tribufu.Api /// /// Hash a string using md5. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.md5</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// HashViewModel public HashViewModel HashMd5(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = HashMd5WithHttpInfo(hashViewModel); + Tribufu.Generated.Client.ApiResponse localVarResponse = HashMd5WithHttpInfo(hashViewModel); return localVarResponse.Data; } /// /// Hash a string using md5. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.md5</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of HashViewModel - public Tribufu.Client.ApiResponse HashMd5WithHttpInfo(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse HashMd5WithHttpInfo(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -13040,14 +13040,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -13055,7 +13055,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = hashViewModel; - localVarRequestOptions.Operation = "TribufuApi.HashMd5"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.HashMd5"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -13081,29 +13081,29 @@ namespace Tribufu.Api /// /// Hash a string using md5. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.md5</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of HashViewModel public async System.Threading.Tasks.Task HashMd5Async(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await HashMd5WithHttpInfoAsync(hashViewModel, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await HashMd5WithHttpInfoAsync(hashViewModel, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Hash a string using md5. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.md5</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (HashViewModel) - public async System.Threading.Tasks.Task> HashMd5WithHttpInfoAsync(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> HashMd5WithHttpInfoAsync(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -13119,13 +13119,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -13133,7 +13133,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = hashViewModel; - localVarRequestOptions.Operation = "TribufuApi.HashMd5"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.HashMd5"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -13160,26 +13160,26 @@ namespace Tribufu.Api /// /// Hash a string using sha256. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.sha256</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// HashViewModel public HashViewModel HashSha256(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = HashSha256WithHttpInfo(hashViewModel); + Tribufu.Generated.Client.ApiResponse localVarResponse = HashSha256WithHttpInfo(hashViewModel); return localVarResponse.Data; } /// /// Hash a string using sha256. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.sha256</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of HashViewModel - public Tribufu.Client.ApiResponse HashSha256WithHttpInfo(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse HashSha256WithHttpInfo(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -13195,14 +13195,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -13210,7 +13210,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = hashViewModel; - localVarRequestOptions.Operation = "TribufuApi.HashSha256"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.HashSha256"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -13236,29 +13236,29 @@ namespace Tribufu.Api /// /// Hash a string using sha256. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.sha256</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of HashViewModel public async System.Threading.Tasks.Task HashSha256Async(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await HashSha256WithHttpInfoAsync(hashViewModel, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await HashSha256WithHttpInfoAsync(hashViewModel, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Hash a string using sha256. <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.sha256</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (HashViewModel) - public async System.Threading.Tasks.Task> HashSha256WithHttpInfoAsync(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> HashSha256WithHttpInfoAsync(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -13274,13 +13274,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -13288,7 +13288,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = hashViewModel; - localVarRequestOptions.Operation = "TribufuApi.HashSha256"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.HashSha256"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -13315,7 +13315,7 @@ namespace Tribufu.Api /// /// Introspect a token. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.introspect</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// @@ -13327,13 +13327,13 @@ namespace Tribufu.Api /// /// Introspect a token. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.introspect</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse IntrospectTokenWithHttpInfo(IntrospectRequest? introspectRequest = default(IntrospectRequest?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse IntrospectTokenWithHttpInfo(IntrospectRequest? introspectRequest = default(IntrospectRequest?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -13344,14 +13344,14 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -13359,7 +13359,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = introspectRequest; - localVarRequestOptions.Operation = "TribufuApi.IntrospectToken"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.IntrospectToken"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -13385,7 +13385,7 @@ namespace Tribufu.Api /// /// Introspect a token. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.introspect</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -13398,15 +13398,15 @@ namespace Tribufu.Api /// /// Introspect a token. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.introspect</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> IntrospectTokenWithHttpInfoAsync(IntrospectRequest? introspectRequest = default(IntrospectRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> IntrospectTokenWithHttpInfoAsync(IntrospectRequest? introspectRequest = default(IntrospectRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -13417,13 +13417,13 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -13431,7 +13431,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = introspectRequest; - localVarRequestOptions.Operation = "TribufuApi.IntrospectToken"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.IntrospectToken"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -13458,28 +13458,28 @@ namespace Tribufu.Api /// /// Login with name or email and password. <b>🔒 Required permissions:</b> <code>tribufu.identity.token.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// LoginResponse [Obsolete] public LoginResponse Login(LoginRequest? loginRequest = default(LoginRequest?), int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = LoginWithHttpInfo(loginRequest); + Tribufu.Generated.Client.ApiResponse localVarResponse = LoginWithHttpInfo(loginRequest); return localVarResponse.Data; } /// /// Login with name or email and password. <b>🔒 Required permissions:</b> <code>tribufu.identity.token.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of LoginResponse [Obsolete] - public Tribufu.Client.ApiResponse LoginWithHttpInfo(LoginRequest? loginRequest = default(LoginRequest?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse LoginWithHttpInfo(LoginRequest? loginRequest = default(LoginRequest?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -13495,14 +13495,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -13510,7 +13510,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = loginRequest; - localVarRequestOptions.Operation = "TribufuApi.Login"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.Login"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -13536,7 +13536,7 @@ namespace Tribufu.Api /// /// Login with name or email and password. <b>🔒 Required permissions:</b> <code>tribufu.identity.token.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -13544,23 +13544,23 @@ namespace Tribufu.Api [Obsolete] public async System.Threading.Tasks.Task LoginAsync(LoginRequest? loginRequest = default(LoginRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await LoginWithHttpInfoAsync(loginRequest, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await LoginWithHttpInfoAsync(loginRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Login with name or email and password. <b>🔒 Required permissions:</b> <code>tribufu.identity.token.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (LoginResponse) [Obsolete] - public async System.Threading.Tasks.Task> LoginWithHttpInfoAsync(LoginRequest? loginRequest = default(LoginRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> LoginWithHttpInfoAsync(LoginRequest? loginRequest = default(LoginRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -13576,13 +13576,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -13590,7 +13590,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = loginRequest; - localVarRequestOptions.Operation = "TribufuApi.Login"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.Login"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -13617,7 +13617,7 @@ namespace Tribufu.Api /// /// Invalidate credentials. <b>🔒 Required permissions:</b> <code>tribufu.identity.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// [Obsolete] @@ -13629,13 +13629,13 @@ namespace Tribufu.Api /// /// Invalidate credentials. <b>🔒 Required permissions:</b> <code>tribufu.identity.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of Object(void) [Obsolete] - public Tribufu.Client.ApiResponse LogoutWithHttpInfo(int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse LogoutWithHttpInfo(int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -13644,21 +13644,21 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.Logout"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.Logout"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -13684,7 +13684,7 @@ namespace Tribufu.Api /// /// Invalidate credentials. <b>🔒 Required permissions:</b> <code>tribufu.identity.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of void @@ -13697,15 +13697,15 @@ namespace Tribufu.Api /// /// Invalidate credentials. <b>🔒 Required permissions:</b> <code>tribufu.identity.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse [Obsolete] - public async System.Threading.Tasks.Task> LogoutWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> LogoutWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { }; @@ -13714,20 +13714,20 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.Operation = "TribufuApi.Logout"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.Logout"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -13754,28 +13754,28 @@ namespace Tribufu.Api /// /// Refresh credentials. <b>🔒 Required permissions:</b> <code>tribufu.identity.token.refresh</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// LoginResponse [Obsolete] public LoginResponse Refresh(RefreshRequest? refreshRequest = default(RefreshRequest?), int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = RefreshWithHttpInfo(refreshRequest); + Tribufu.Generated.Client.ApiResponse localVarResponse = RefreshWithHttpInfo(refreshRequest); return localVarResponse.Data; } /// /// Refresh credentials. <b>🔒 Required permissions:</b> <code>tribufu.identity.token.refresh</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of LoginResponse [Obsolete] - public Tribufu.Client.ApiResponse RefreshWithHttpInfo(RefreshRequest? refreshRequest = default(RefreshRequest?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse RefreshWithHttpInfo(RefreshRequest? refreshRequest = default(RefreshRequest?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -13791,14 +13791,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -13806,7 +13806,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = refreshRequest; - localVarRequestOptions.Operation = "TribufuApi.Refresh"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.Refresh"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -13832,7 +13832,7 @@ namespace Tribufu.Api /// /// Refresh credentials. <b>🔒 Required permissions:</b> <code>tribufu.identity.token.refresh</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -13840,23 +13840,23 @@ namespace Tribufu.Api [Obsolete] public async System.Threading.Tasks.Task RefreshAsync(RefreshRequest? refreshRequest = default(RefreshRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await RefreshWithHttpInfoAsync(refreshRequest, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await RefreshWithHttpInfoAsync(refreshRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Refresh credentials. <b>🔒 Required permissions:</b> <code>tribufu.identity.token.refresh</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (LoginResponse) [Obsolete] - public async System.Threading.Tasks.Task> RefreshWithHttpInfoAsync(RefreshRequest? refreshRequest = default(RefreshRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> RefreshWithHttpInfoAsync(RefreshRequest? refreshRequest = default(RefreshRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -13872,13 +13872,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -13886,7 +13886,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = refreshRequest; - localVarRequestOptions.Operation = "TribufuApi.Refresh"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.Refresh"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -13913,26 +13913,26 @@ namespace Tribufu.Api /// /// Create a new user. <b>🔒 Required permissions:</b> <code>tribufu.identity.user.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// LoginResponse public LoginResponse Register(RegisterRequest? registerRequest = default(RegisterRequest?), int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = RegisterWithHttpInfo(registerRequest); + Tribufu.Generated.Client.ApiResponse localVarResponse = RegisterWithHttpInfo(registerRequest); return localVarResponse.Data; } /// /// Create a new user. <b>🔒 Required permissions:</b> <code>tribufu.identity.user.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of LoginResponse - public Tribufu.Client.ApiResponse RegisterWithHttpInfo(RegisterRequest? registerRequest = default(RegisterRequest?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse RegisterWithHttpInfo(RegisterRequest? registerRequest = default(RegisterRequest?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -13948,14 +13948,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -13963,7 +13963,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = registerRequest; - localVarRequestOptions.Operation = "TribufuApi.Register"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.Register"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -13989,29 +13989,29 @@ namespace Tribufu.Api /// /// Create a new user. <b>🔒 Required permissions:</b> <code>tribufu.identity.user.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of LoginResponse public async System.Threading.Tasks.Task RegisterAsync(RegisterRequest? registerRequest = default(RegisterRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await RegisterWithHttpInfoAsync(registerRequest, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await RegisterWithHttpInfoAsync(registerRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Create a new user. <b>🔒 Required permissions:</b> <code>tribufu.identity.user.create</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (LoginResponse) - public async System.Threading.Tasks.Task> RegisterWithHttpInfoAsync(RegisterRequest? registerRequest = default(RegisterRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> RegisterWithHttpInfoAsync(RegisterRequest? registerRequest = default(RegisterRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -14027,13 +14027,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -14041,7 +14041,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = registerRequest; - localVarRequestOptions.Operation = "TribufuApi.Register"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.Register"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -14068,7 +14068,7 @@ namespace Tribufu.Api /// /// Revoke a token. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// @@ -14080,13 +14080,13 @@ namespace Tribufu.Api /// /// Revoke a token. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse RevokeTokenWithHttpInfo(RevokeRequest? revokeRequest = default(RevokeRequest?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse RevokeTokenWithHttpInfo(RevokeRequest? revokeRequest = default(RevokeRequest?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -14097,14 +14097,14 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -14112,7 +14112,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = revokeRequest; - localVarRequestOptions.Operation = "TribufuApi.RevokeToken"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.RevokeToken"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -14138,7 +14138,7 @@ namespace Tribufu.Api /// /// Revoke a token. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -14151,15 +14151,15 @@ namespace Tribufu.Api /// /// Revoke a token. <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.revoke</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> RevokeTokenWithHttpInfoAsync(RevokeRequest? revokeRequest = default(RevokeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> RevokeTokenWithHttpInfoAsync(RevokeRequest? revokeRequest = default(RevokeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json", @@ -14170,13 +14170,13 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -14184,7 +14184,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = revokeRequest; - localVarRequestOptions.Operation = "TribufuApi.RevokeToken"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.RevokeToken"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -14211,26 +14211,26 @@ namespace Tribufu.Api /// /// Advanced search for servers or players. <b>🔒 Required permissions:</b> <code>tribufu.community.search</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// List<Object> public List Search(SearchRequest? searchRequest = default(SearchRequest?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = SearchWithHttpInfo(searchRequest); + Tribufu.Generated.Client.ApiResponse> localVarResponse = SearchWithHttpInfo(searchRequest); return localVarResponse.Data; } /// /// Advanced search for servers or players. <b>🔒 Required permissions:</b> <code>tribufu.community.search</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// ApiResponse of List<Object> - public Tribufu.Client.ApiResponse> SearchWithHttpInfo(SearchRequest? searchRequest = default(SearchRequest?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse> SearchWithHttpInfo(SearchRequest? searchRequest = default(SearchRequest?), int operationIndex = 0) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -14246,14 +14246,14 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -14261,7 +14261,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = searchRequest; - localVarRequestOptions.Operation = "TribufuApi.Search"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.Search"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -14287,29 +14287,29 @@ namespace Tribufu.Api /// /// Advanced search for servers or players. <b>🔒 Required permissions:</b> <code>tribufu.community.search</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Object> public async System.Threading.Tasks.Task> SearchAsync(SearchRequest? searchRequest = default(SearchRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await SearchWithHttpInfoAsync(searchRequest, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse> localVarResponse = await SearchWithHttpInfoAsync(searchRequest, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Advanced search for servers or players. <b>🔒 Required permissions:</b> <code>tribufu.community.search</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Object>) - public async System.Threading.Tasks.Task>> SearchWithHttpInfoAsync(SearchRequest? searchRequest = default(SearchRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> SearchWithHttpInfoAsync(SearchRequest? searchRequest = default(SearchRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -14325,13 +14325,13 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -14339,7 +14339,7 @@ namespace Tribufu.Api localVarRequestOptions.Data = searchRequest; - localVarRequestOptions.Operation = "TribufuApi.Search"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.Search"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -14366,7 +14366,7 @@ namespace Tribufu.Api /// /// Update a game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -14379,20 +14379,20 @@ namespace Tribufu.Api /// /// Update a game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse UpdateGameServerWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse UpdateGameServerWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->UpdateGameServer"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->UpdateGameServer"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -14405,23 +14405,23 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.UpdateGameServer"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGameServer"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -14447,7 +14447,7 @@ namespace Tribufu.Api /// /// Update a game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -14461,22 +14461,22 @@ namespace Tribufu.Api /// /// Update a game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> UpdateGameServerWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateGameServerWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->UpdateGameServer"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->UpdateGameServer"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -14489,22 +14489,22 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.UpdateGameServer"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGameServer"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -14531,7 +14531,7 @@ namespace Tribufu.Api /// /// Update a game server cluster. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -14544,20 +14544,20 @@ namespace Tribufu.Api /// /// Update a game server cluster. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse UpdateGameServerClusterWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse UpdateGameServerClusterWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->UpdateGameServerCluster"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->UpdateGameServerCluster"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -14570,23 +14570,23 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.UpdateGameServerCluster"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGameServerCluster"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -14612,7 +14612,7 @@ namespace Tribufu.Api /// /// Update a game server cluster. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -14626,22 +14626,22 @@ namespace Tribufu.Api /// /// Update a game server cluster. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> UpdateGameServerClusterWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateGameServerClusterWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->UpdateGameServerCluster"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->UpdateGameServerCluster"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -14654,22 +14654,22 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.UpdateGameServerCluster"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGameServerCluster"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -14696,7 +14696,7 @@ namespace Tribufu.Api /// /// Update a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -14709,20 +14709,20 @@ namespace Tribufu.Api /// /// Update a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// ApiResponse of Object(void) - public Tribufu.Client.ApiResponse UpdateGroupWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse UpdateGroupWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->UpdateGroup"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->UpdateGroup"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -14735,23 +14735,23 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.UpdateGroup"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGroup"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -14777,7 +14777,7 @@ namespace Tribufu.Api /// /// Update a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -14791,22 +14791,22 @@ namespace Tribufu.Api /// /// Update a group. <b>🔒 Required permissions:</b> <code>tribufu.community.group.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> UpdateGroupWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateGroupWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->UpdateGroup"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->UpdateGroup"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -14819,22 +14819,22 @@ namespace Tribufu.Api string[] _accepts = new string[] { }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = body; - localVarRequestOptions.Operation = "TribufuApi.UpdateGroup"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGroup"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -14861,34 +14861,34 @@ namespace Tribufu.Api /// /// Update a user profile. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// Profile public Profile UpdateUserProfile(string id, UpdateProfile? updateProfile = default(UpdateProfile?), int operationIndex = 0) { - Tribufu.Client.ApiResponse localVarResponse = UpdateUserProfileWithHttpInfo(id, updateProfile); + Tribufu.Generated.Client.ApiResponse localVarResponse = UpdateUserProfileWithHttpInfo(id, updateProfile); return localVarResponse.Data; } /// /// Update a user profile. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// ApiResponse of Profile - public Tribufu.Client.ApiResponse UpdateUserProfileWithHttpInfo(string id, UpdateProfile? updateProfile = default(UpdateProfile?), int operationIndex = 0) + public Tribufu.Generated.Client.ApiResponse UpdateUserProfileWithHttpInfo(string id, UpdateProfile? updateProfile = default(UpdateProfile?), int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->UpdateUserProfile"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->UpdateUserProfile"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -14904,23 +14904,23 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); var localVarMultipartFormData = localVarContentType == "multipart/form-data"; if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateProfile; - localVarRequestOptions.Operation = "TribufuApi.UpdateUserProfile"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateUserProfile"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -14946,7 +14946,7 @@ namespace Tribufu.Api /// /// Update a user profile. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. @@ -14954,29 +14954,29 @@ namespace Tribufu.Api /// Task of Profile public async System.Threading.Tasks.Task UpdateUserProfileAsync(string id, UpdateProfile? updateProfile = default(UpdateProfile?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse localVarResponse = await UpdateUserProfileWithHttpInfoAsync(id, updateProfile, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Generated.Client.ApiResponse localVarResponse = await UpdateUserProfileWithHttpInfoAsync(id, updateProfile, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Update a user profile. <b>🔒 Required permissions:</b> <code>tribufu.community.profile.update</code> /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Profile) - public async System.Threading.Tasks.Task> UpdateUserProfileWithHttpInfoAsync(string id, UpdateProfile? updateProfile = default(UpdateProfile?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> UpdateUserProfileWithHttpInfoAsync(string id, UpdateProfile? updateProfile = default(UpdateProfile?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuApi->UpdateUserProfile"); + throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->UpdateUserProfile"); } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); + Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json-patch+json", @@ -14992,22 +14992,22 @@ namespace Tribufu.Api "text/json" }; - var localVarContentType = Tribufu.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = Tribufu.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.PathParameters.Add("id", Tribufu.Client.ClientUtils.ParameterToString(id)); // path parameter + localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter localVarRequestOptions.Data = updateProfile; - localVarRequestOptions.Operation = "TribufuApi.UpdateUserProfile"; + localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateUserProfile"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required diff --git a/src/Tribufu/Client/ApiClient.cs b/src/Tribufu.Generated/Client/ApiClient.cs similarity index 99% rename from src/Tribufu/Client/ApiClient.cs rename to src/Tribufu.Generated/Client/ApiClient.cs index 048b32e..d24469d 100644 --- a/src/Tribufu/Client/ApiClient.cs +++ b/src/Tribufu.Generated/Client/ApiClient.cs @@ -30,9 +30,9 @@ using RestSharp.Serializers; using RestSharpMethod = RestSharp.Method; using FileIO = System.IO.File; using Polly; -using Tribufu.Model; +using Tribufu.Generated.Model; -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// Allows RestSharp to Serialize/Deserialize JSON using our custom logic, but only when ContentType is JSON. diff --git a/src/Tribufu/Client/ApiException.cs b/src/Tribufu.Generated/Client/ApiException.cs similarity index 98% rename from src/Tribufu/Client/ApiException.cs rename to src/Tribufu.Generated/Client/ApiException.cs index f002113..3962857 100644 --- a/src/Tribufu/Client/ApiException.cs +++ b/src/Tribufu.Generated/Client/ApiException.cs @@ -11,7 +11,7 @@ using System; -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// API Exception diff --git a/src/Tribufu/Client/ApiResponse.cs b/src/Tribufu.Generated/Client/ApiResponse.cs similarity index 99% rename from src/Tribufu/Client/ApiResponse.cs rename to src/Tribufu.Generated/Client/ApiResponse.cs index c8e766a..8a8a71a 100644 --- a/src/Tribufu/Client/ApiResponse.cs +++ b/src/Tribufu.Generated/Client/ApiResponse.cs @@ -13,7 +13,7 @@ using System; using System.Collections.Generic; using System.Net; -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// Provides a non-generic contract for the ApiResponse wrapper. diff --git a/src/Tribufu/Client/ClientUtils.cs b/src/Tribufu.Generated/Client/ClientUtils.cs similarity index 99% rename from src/Tribufu/Client/ClientUtils.cs rename to src/Tribufu.Generated/Client/ClientUtils.cs index 818e090..674a366 100644 --- a/src/Tribufu/Client/ClientUtils.cs +++ b/src/Tribufu.Generated/Client/ClientUtils.cs @@ -19,7 +19,7 @@ using System.Runtime.Serialization; using System.Text; using System.Text.RegularExpressions; -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// Utility functions providing some benefit to API client consumers. diff --git a/src/Tribufu/Client/Configuration.cs b/src/Tribufu.Generated/Client/Configuration.cs similarity index 99% rename from src/Tribufu/Client/Configuration.cs rename to src/Tribufu.Generated/Client/Configuration.cs index 28d183f..0339d4d 100644 --- a/src/Tribufu/Client/Configuration.cs +++ b/src/Tribufu.Generated/Client/Configuration.cs @@ -21,7 +21,7 @@ using System.Text; using System.Net.Http; using System.Net.Security; -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// Represents a set of configuration settings @@ -537,7 +537,7 @@ namespace Tribufu.Client /// public static string ToDebugReport() { - string report = "C# SDK (Tribufu) Debug Report:\n"; + string report = "C# SDK (Tribufu.Generated) Debug Report:\n"; report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; report += " Version of the API: 1.1.0\n"; diff --git a/src/Tribufu/Client/ExceptionFactory.cs b/src/Tribufu.Generated/Client/ExceptionFactory.cs similarity index 94% rename from src/Tribufu/Client/ExceptionFactory.cs rename to src/Tribufu.Generated/Client/ExceptionFactory.cs index 5a0250d..1437210 100644 --- a/src/Tribufu/Client/ExceptionFactory.cs +++ b/src/Tribufu.Generated/Client/ExceptionFactory.cs @@ -11,7 +11,7 @@ using System; -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// A delegate to ExceptionFactory method diff --git a/src/Tribufu/Client/GlobalConfiguration.cs b/src/Tribufu.Generated/Client/GlobalConfiguration.cs similarity index 98% rename from src/Tribufu/Client/GlobalConfiguration.cs rename to src/Tribufu.Generated/Client/GlobalConfiguration.cs index 524af97..3be8ef2 100644 --- a/src/Tribufu/Client/GlobalConfiguration.cs +++ b/src/Tribufu.Generated/Client/GlobalConfiguration.cs @@ -11,7 +11,7 @@ using System.Collections.Generic; -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// provides a compile-time extension point for globally configuring diff --git a/src/Tribufu/Client/HttpMethod.cs b/src/Tribufu.Generated/Client/HttpMethod.cs similarity index 95% rename from src/Tribufu/Client/HttpMethod.cs rename to src/Tribufu.Generated/Client/HttpMethod.cs index 832712b..bead31f 100644 --- a/src/Tribufu/Client/HttpMethod.cs +++ b/src/Tribufu.Generated/Client/HttpMethod.cs @@ -9,7 +9,7 @@ */ -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// Http methods supported by swagger diff --git a/src/Tribufu/Client/IApiAccessor.cs b/src/Tribufu.Generated/Client/IApiAccessor.cs similarity index 96% rename from src/Tribufu/Client/IApiAccessor.cs rename to src/Tribufu.Generated/Client/IApiAccessor.cs index bd13433..98b6309 100644 --- a/src/Tribufu/Client/IApiAccessor.cs +++ b/src/Tribufu.Generated/Client/IApiAccessor.cs @@ -11,7 +11,7 @@ using System; -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// Represents configuration aspects required to interact with the API endpoints. diff --git a/src/Tribufu/Client/IAsynchronousClient.cs b/src/Tribufu.Generated/Client/IAsynchronousClient.cs similarity index 99% rename from src/Tribufu/Client/IAsynchronousClient.cs rename to src/Tribufu.Generated/Client/IAsynchronousClient.cs index b2f172a..b8dbb82 100644 --- a/src/Tribufu/Client/IAsynchronousClient.cs +++ b/src/Tribufu.Generated/Client/IAsynchronousClient.cs @@ -12,7 +12,7 @@ using System; using System.Threading.Tasks; -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// Contract for Asynchronous RESTful API interactions. diff --git a/src/Tribufu/Client/IReadableConfiguration.cs b/src/Tribufu.Generated/Client/IReadableConfiguration.cs similarity index 99% rename from src/Tribufu/Client/IReadableConfiguration.cs rename to src/Tribufu.Generated/Client/IReadableConfiguration.cs index 85b1799..82bfda4 100644 --- a/src/Tribufu/Client/IReadableConfiguration.cs +++ b/src/Tribufu.Generated/Client/IReadableConfiguration.cs @@ -15,7 +15,7 @@ using System.Net; using System.Net.Security; using System.Security.Cryptography.X509Certificates; -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// Represents a readable-only configuration contract. diff --git a/src/Tribufu/Client/ISynchronousClient.cs b/src/Tribufu.Generated/Client/ISynchronousClient.cs similarity index 99% rename from src/Tribufu/Client/ISynchronousClient.cs rename to src/Tribufu.Generated/Client/ISynchronousClient.cs index d126294..6a607c2 100644 --- a/src/Tribufu/Client/ISynchronousClient.cs +++ b/src/Tribufu.Generated/Client/ISynchronousClient.cs @@ -12,7 +12,7 @@ using System; using System.IO; -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// Contract for Synchronous RESTful API interactions. diff --git a/src/Tribufu/Client/Multimap.cs b/src/Tribufu.Generated/Client/Multimap.cs similarity index 99% rename from src/Tribufu/Client/Multimap.cs rename to src/Tribufu.Generated/Client/Multimap.cs index 98924d3..69f31e6 100644 --- a/src/Tribufu/Client/Multimap.cs +++ b/src/Tribufu.Generated/Client/Multimap.cs @@ -13,7 +13,7 @@ using System; using System.Collections; using System.Collections.Generic; -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// A dictionary in which one key has many associated values. diff --git a/src/Tribufu/Client/OpenAPIDateConverter.cs b/src/Tribufu.Generated/Client/OpenAPIDateConverter.cs similarity index 96% rename from src/Tribufu/Client/OpenAPIDateConverter.cs rename to src/Tribufu.Generated/Client/OpenAPIDateConverter.cs index ab56d45..65f2ce5 100644 --- a/src/Tribufu/Client/OpenAPIDateConverter.cs +++ b/src/Tribufu.Generated/Client/OpenAPIDateConverter.cs @@ -10,7 +10,7 @@ using Newtonsoft.Json.Converters; -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// Formatter for 'date' openapi formats ss defined by full-date - RFC3339 diff --git a/src/Tribufu/Client/RequestOptions.cs b/src/Tribufu.Generated/Client/RequestOptions.cs similarity index 98% rename from src/Tribufu/Client/RequestOptions.cs rename to src/Tribufu.Generated/Client/RequestOptions.cs index 5dcf1ce..d23f0fe 100644 --- a/src/Tribufu/Client/RequestOptions.cs +++ b/src/Tribufu.Generated/Client/RequestOptions.cs @@ -14,7 +14,7 @@ using System.Collections.Generic; using System.IO; using System.Net; -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// A container for generalized request inputs. This type allows consumers to extend the request functionality diff --git a/src/Tribufu/Client/RetryConfiguration.cs b/src/Tribufu.Generated/Client/RetryConfiguration.cs similarity index 95% rename from src/Tribufu/Client/RetryConfiguration.cs rename to src/Tribufu.Generated/Client/RetryConfiguration.cs index fd3319c..1b53371 100644 --- a/src/Tribufu/Client/RetryConfiguration.cs +++ b/src/Tribufu.Generated/Client/RetryConfiguration.cs @@ -12,7 +12,7 @@ using Polly; using RestSharp; -namespace Tribufu.Client +namespace Tribufu.Generated.Client { /// /// Configuration class to set the polly retry policies to be applied to the requests. diff --git a/src/Tribufu/Model/AbstractOpenAPISchema.cs b/src/Tribufu.Generated/Model/AbstractOpenAPISchema.cs similarity index 98% rename from src/Tribufu/Model/AbstractOpenAPISchema.cs rename to src/Tribufu.Generated/Model/AbstractOpenAPISchema.cs index b6e24c1..730a611 100644 --- a/src/Tribufu/Model/AbstractOpenAPISchema.cs +++ b/src/Tribufu.Generated/Model/AbstractOpenAPISchema.cs @@ -13,7 +13,7 @@ using System; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Abstract base class for oneOf, anyOf schemas in the OpenAPI specification diff --git a/src/Tribufu/Model/Account.cs b/src/Tribufu.Generated/Model/Account.cs similarity index 97% rename from src/Tribufu/Model/Account.cs rename to src/Tribufu.Generated/Model/Account.cs index 828d434..21abd08 100644 --- a/src/Tribufu/Model/Account.cs +++ b/src/Tribufu.Generated/Model/Account.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Account diff --git a/src/Tribufu/Model/Application.cs b/src/Tribufu.Generated/Model/Application.cs similarity index 99% rename from src/Tribufu/Model/Application.cs rename to src/Tribufu.Generated/Model/Application.cs index 964aa01..d5e43c4 100644 --- a/src/Tribufu/Model/Application.cs +++ b/src/Tribufu.Generated/Model/Application.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Application diff --git a/src/Tribufu/Model/ApplicationType.cs b/src/Tribufu.Generated/Model/ApplicationType.cs similarity index 90% rename from src/Tribufu/Model/ApplicationType.cs rename to src/Tribufu.Generated/Model/ApplicationType.cs index c02e829..4b4ee6b 100644 --- a/src/Tribufu/Model/ApplicationType.cs +++ b/src/Tribufu.Generated/Model/ApplicationType.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Defines ApplicationType diff --git a/src/Tribufu/Model/AuthorizeRequest.cs b/src/Tribufu.Generated/Model/AuthorizeRequest.cs similarity index 97% rename from src/Tribufu/Model/AuthorizeRequest.cs rename to src/Tribufu.Generated/Model/AuthorizeRequest.cs index 22e791e..705b07a 100644 --- a/src/Tribufu/Model/AuthorizeRequest.cs +++ b/src/Tribufu.Generated/Model/AuthorizeRequest.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// AuthorizeRequest diff --git a/src/Tribufu/Model/CodeChallengeMethod.cs b/src/Tribufu.Generated/Model/CodeChallengeMethod.cs similarity index 90% rename from src/Tribufu/Model/CodeChallengeMethod.cs rename to src/Tribufu.Generated/Model/CodeChallengeMethod.cs index 5e0ad4d..37c2476 100644 --- a/src/Tribufu/Model/CodeChallengeMethod.cs +++ b/src/Tribufu.Generated/Model/CodeChallengeMethod.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Defines CodeChallengeMethod diff --git a/src/Tribufu/Model/CryptoViewModel.cs b/src/Tribufu.Generated/Model/CryptoViewModel.cs similarity index 96% rename from src/Tribufu/Model/CryptoViewModel.cs rename to src/Tribufu.Generated/Model/CryptoViewModel.cs index 63127d6..dbe6d1d 100644 --- a/src/Tribufu/Model/CryptoViewModel.cs +++ b/src/Tribufu.Generated/Model/CryptoViewModel.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// CryptoViewModel diff --git a/src/Tribufu/Model/Game.cs b/src/Tribufu.Generated/Model/Game.cs similarity index 99% rename from src/Tribufu/Model/Game.cs rename to src/Tribufu.Generated/Model/Game.cs index c341e8d..b967c71 100644 --- a/src/Tribufu/Model/Game.cs +++ b/src/Tribufu.Generated/Model/Game.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Game diff --git a/src/Tribufu/Model/GameServer.cs b/src/Tribufu.Generated/Model/GameServer.cs similarity index 99% rename from src/Tribufu/Model/GameServer.cs rename to src/Tribufu.Generated/Model/GameServer.cs index c335bd5..df225a1 100644 --- a/src/Tribufu/Model/GameServer.cs +++ b/src/Tribufu.Generated/Model/GameServer.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// GameServer diff --git a/src/Tribufu/Model/GameServerCluster.cs b/src/Tribufu.Generated/Model/GameServerCluster.cs similarity index 98% rename from src/Tribufu/Model/GameServerCluster.cs rename to src/Tribufu.Generated/Model/GameServerCluster.cs index 96bb62b..efc9c40 100644 --- a/src/Tribufu/Model/GameServerCluster.cs +++ b/src/Tribufu.Generated/Model/GameServerCluster.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// GameServerCluster diff --git a/src/Tribufu/Model/GrantType.cs b/src/Tribufu.Generated/Model/GrantType.cs similarity index 92% rename from src/Tribufu/Model/GrantType.cs rename to src/Tribufu.Generated/Model/GrantType.cs index 970eae7..74ecc72 100644 --- a/src/Tribufu/Model/GrantType.cs +++ b/src/Tribufu.Generated/Model/GrantType.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Defines GrantType diff --git a/src/Tribufu/Model/Group.cs b/src/Tribufu.Generated/Model/Group.cs similarity index 98% rename from src/Tribufu/Model/Group.cs rename to src/Tribufu.Generated/Model/Group.cs index 651b4f8..45d4b63 100644 --- a/src/Tribufu/Model/Group.cs +++ b/src/Tribufu.Generated/Model/Group.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Group diff --git a/src/Tribufu/Model/GroupGame.cs b/src/Tribufu.Generated/Model/GroupGame.cs similarity index 97% rename from src/Tribufu/Model/GroupGame.cs rename to src/Tribufu.Generated/Model/GroupGame.cs index c03322f..49a4fe7 100644 --- a/src/Tribufu/Model/GroupGame.cs +++ b/src/Tribufu.Generated/Model/GroupGame.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// GroupGame diff --git a/src/Tribufu/Model/GroupMember.cs b/src/Tribufu.Generated/Model/GroupMember.cs similarity index 97% rename from src/Tribufu/Model/GroupMember.cs rename to src/Tribufu.Generated/Model/GroupMember.cs index cb0f498..77d3e6e 100644 --- a/src/Tribufu/Model/GroupMember.cs +++ b/src/Tribufu.Generated/Model/GroupMember.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// GroupMember diff --git a/src/Tribufu/Model/GroupRank.cs b/src/Tribufu.Generated/Model/GroupRank.cs similarity index 91% rename from src/Tribufu/Model/GroupRank.cs rename to src/Tribufu.Generated/Model/GroupRank.cs index a4feb72..4d640b7 100644 --- a/src/Tribufu/Model/GroupRank.cs +++ b/src/Tribufu.Generated/Model/GroupRank.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Defines GroupRank diff --git a/src/Tribufu/Model/HashViewModel.cs b/src/Tribufu.Generated/Model/HashViewModel.cs similarity index 95% rename from src/Tribufu/Model/HashViewModel.cs rename to src/Tribufu.Generated/Model/HashViewModel.cs index 6a667a9..0043a2e 100644 --- a/src/Tribufu/Model/HashViewModel.cs +++ b/src/Tribufu.Generated/Model/HashViewModel.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// HashViewModel diff --git a/src/Tribufu/Model/IntrospectRequest.cs b/src/Tribufu.Generated/Model/IntrospectRequest.cs similarity index 96% rename from src/Tribufu/Model/IntrospectRequest.cs rename to src/Tribufu.Generated/Model/IntrospectRequest.cs index 6dd7081..f36ab8f 100644 --- a/src/Tribufu/Model/IntrospectRequest.cs +++ b/src/Tribufu.Generated/Model/IntrospectRequest.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// IntrospectRequest diff --git a/src/Tribufu/Model/IpAddress.cs b/src/Tribufu.Generated/Model/IpAddress.cs similarity index 99% rename from src/Tribufu/Model/IpAddress.cs rename to src/Tribufu.Generated/Model/IpAddress.cs index 5dcab7c..dfc86bd 100644 --- a/src/Tribufu/Model/IpAddress.cs +++ b/src/Tribufu.Generated/Model/IpAddress.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// IpAddress diff --git a/src/Tribufu/Model/LeaderboardItem.cs b/src/Tribufu.Generated/Model/LeaderboardItem.cs similarity index 97% rename from src/Tribufu/Model/LeaderboardItem.cs rename to src/Tribufu.Generated/Model/LeaderboardItem.cs index 635580c..4967692 100644 --- a/src/Tribufu/Model/LeaderboardItem.cs +++ b/src/Tribufu.Generated/Model/LeaderboardItem.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// LeaderboardItem diff --git a/src/Tribufu/Model/LeaderboardOrder.cs b/src/Tribufu.Generated/Model/LeaderboardOrder.cs similarity index 90% rename from src/Tribufu/Model/LeaderboardOrder.cs rename to src/Tribufu.Generated/Model/LeaderboardOrder.cs index 56bf8f8..1f103f7 100644 --- a/src/Tribufu/Model/LeaderboardOrder.cs +++ b/src/Tribufu.Generated/Model/LeaderboardOrder.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Defines LeaderboardOrder diff --git a/src/Tribufu/Model/LoginProvider.cs b/src/Tribufu.Generated/Model/LoginProvider.cs similarity index 94% rename from src/Tribufu/Model/LoginProvider.cs rename to src/Tribufu.Generated/Model/LoginProvider.cs index 1eb110a..92dfbee 100644 --- a/src/Tribufu/Model/LoginProvider.cs +++ b/src/Tribufu.Generated/Model/LoginProvider.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Defines LoginProvider diff --git a/src/Tribufu/Model/LoginRequest.cs b/src/Tribufu.Generated/Model/LoginRequest.cs similarity index 96% rename from src/Tribufu/Model/LoginRequest.cs rename to src/Tribufu.Generated/Model/LoginRequest.cs index 9ab4c84..a464ac3 100644 --- a/src/Tribufu/Model/LoginRequest.cs +++ b/src/Tribufu.Generated/Model/LoginRequest.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// LoginRequest diff --git a/src/Tribufu/Model/LoginResponse.cs b/src/Tribufu.Generated/Model/LoginResponse.cs similarity index 97% rename from src/Tribufu/Model/LoginResponse.cs rename to src/Tribufu.Generated/Model/LoginResponse.cs index 3df7730..ae854ce 100644 --- a/src/Tribufu/Model/LoginResponse.cs +++ b/src/Tribufu.Generated/Model/LoginResponse.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// LoginResponse diff --git a/src/Tribufu/Model/Package.cs b/src/Tribufu.Generated/Model/Package.cs similarity index 98% rename from src/Tribufu/Model/Package.cs rename to src/Tribufu.Generated/Model/Package.cs index 2d52048..8c36319 100644 --- a/src/Tribufu/Model/Package.cs +++ b/src/Tribufu.Generated/Model/Package.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Package diff --git a/src/Tribufu/Model/Profile.cs b/src/Tribufu.Generated/Model/Profile.cs similarity index 98% rename from src/Tribufu/Model/Profile.cs rename to src/Tribufu.Generated/Model/Profile.cs index 20964b8..adc7828 100644 --- a/src/Tribufu/Model/Profile.cs +++ b/src/Tribufu.Generated/Model/Profile.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Profile diff --git a/src/Tribufu/Model/ProfileGame.cs b/src/Tribufu.Generated/Model/ProfileGame.cs similarity index 98% rename from src/Tribufu/Model/ProfileGame.cs rename to src/Tribufu.Generated/Model/ProfileGame.cs index dfd581a..fd9519d 100644 --- a/src/Tribufu/Model/ProfileGame.cs +++ b/src/Tribufu.Generated/Model/ProfileGame.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// ProfileGame diff --git a/src/Tribufu/Model/ProfileGroup.cs b/src/Tribufu.Generated/Model/ProfileGroup.cs similarity index 98% rename from src/Tribufu/Model/ProfileGroup.cs rename to src/Tribufu.Generated/Model/ProfileGroup.cs index a3362a5..6574720 100644 --- a/src/Tribufu/Model/ProfileGroup.cs +++ b/src/Tribufu.Generated/Model/ProfileGroup.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// ProfileGroup diff --git a/src/Tribufu/Model/RefreshRequest.cs b/src/Tribufu.Generated/Model/RefreshRequest.cs similarity index 95% rename from src/Tribufu/Model/RefreshRequest.cs rename to src/Tribufu.Generated/Model/RefreshRequest.cs index d74a72b..231dbbc 100644 --- a/src/Tribufu/Model/RefreshRequest.cs +++ b/src/Tribufu.Generated/Model/RefreshRequest.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// RefreshRequest diff --git a/src/Tribufu/Model/RegisterRequest.cs b/src/Tribufu.Generated/Model/RegisterRequest.cs similarity index 98% rename from src/Tribufu/Model/RegisterRequest.cs rename to src/Tribufu.Generated/Model/RegisterRequest.cs index 75689fe..14d095d 100644 --- a/src/Tribufu/Model/RegisterRequest.cs +++ b/src/Tribufu.Generated/Model/RegisterRequest.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// RegisterRequest diff --git a/src/Tribufu/Model/ResponseType.cs b/src/Tribufu.Generated/Model/ResponseType.cs similarity index 90% rename from src/Tribufu/Model/ResponseType.cs rename to src/Tribufu.Generated/Model/ResponseType.cs index 73f3453..0d3ccff 100644 --- a/src/Tribufu/Model/ResponseType.cs +++ b/src/Tribufu.Generated/Model/ResponseType.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Defines ResponseType diff --git a/src/Tribufu/Model/RevokeRequest.cs b/src/Tribufu.Generated/Model/RevokeRequest.cs similarity index 96% rename from src/Tribufu/Model/RevokeRequest.cs rename to src/Tribufu.Generated/Model/RevokeRequest.cs index 6b36939..75cf6ea 100644 --- a/src/Tribufu/Model/RevokeRequest.cs +++ b/src/Tribufu.Generated/Model/RevokeRequest.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// RevokeRequest diff --git a/src/Tribufu/Model/SearchRequest.cs b/src/Tribufu.Generated/Model/SearchRequest.cs similarity index 96% rename from src/Tribufu/Model/SearchRequest.cs rename to src/Tribufu.Generated/Model/SearchRequest.cs index a8ba57f..a97dbae 100644 --- a/src/Tribufu/Model/SearchRequest.cs +++ b/src/Tribufu.Generated/Model/SearchRequest.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// SearchRequest diff --git a/src/Tribufu/Model/SearchType.cs b/src/Tribufu.Generated/Model/SearchType.cs similarity index 92% rename from src/Tribufu/Model/SearchType.cs rename to src/Tribufu.Generated/Model/SearchType.cs index 925aa3d..c72bb3e 100644 --- a/src/Tribufu/Model/SearchType.cs +++ b/src/Tribufu.Generated/Model/SearchType.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Defines SearchType diff --git a/src/Tribufu/Model/ServerMetrics.cs b/src/Tribufu.Generated/Model/ServerMetrics.cs similarity index 96% rename from src/Tribufu/Model/ServerMetrics.cs rename to src/Tribufu.Generated/Model/ServerMetrics.cs index bbac263..6d63a58 100644 --- a/src/Tribufu/Model/ServerMetrics.cs +++ b/src/Tribufu.Generated/Model/ServerMetrics.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// ServerMetrics diff --git a/src/Tribufu/Model/ServerStatus.cs b/src/Tribufu.Generated/Model/ServerStatus.cs similarity index 91% rename from src/Tribufu/Model/ServerStatus.cs rename to src/Tribufu.Generated/Model/ServerStatus.cs index d293bdf..aa7b037 100644 --- a/src/Tribufu/Model/ServerStatus.cs +++ b/src/Tribufu.Generated/Model/ServerStatus.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Defines ServerStatus diff --git a/src/Tribufu/Model/Subscription.cs b/src/Tribufu.Generated/Model/Subscription.cs similarity index 97% rename from src/Tribufu/Model/Subscription.cs rename to src/Tribufu.Generated/Model/Subscription.cs index 2adbcbc..2bafbfe 100644 --- a/src/Tribufu/Model/Subscription.cs +++ b/src/Tribufu.Generated/Model/Subscription.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Subscription diff --git a/src/Tribufu/Model/TokenHintType.cs b/src/Tribufu.Generated/Model/TokenHintType.cs similarity index 90% rename from src/Tribufu/Model/TokenHintType.cs rename to src/Tribufu.Generated/Model/TokenHintType.cs index 255e55d..ff19eec 100644 --- a/src/Tribufu/Model/TokenHintType.cs +++ b/src/Tribufu.Generated/Model/TokenHintType.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Defines TokenHintType diff --git a/src/Tribufu/Model/TokenRequest.cs b/src/Tribufu.Generated/Model/TokenRequest.cs similarity index 97% rename from src/Tribufu/Model/TokenRequest.cs rename to src/Tribufu.Generated/Model/TokenRequest.cs index 1740ba0..4b686c8 100644 --- a/src/Tribufu/Model/TokenRequest.cs +++ b/src/Tribufu.Generated/Model/TokenRequest.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// TokenRequest diff --git a/src/Tribufu/Model/TokenResponse.cs b/src/Tribufu.Generated/Model/TokenResponse.cs similarity index 97% rename from src/Tribufu/Model/TokenResponse.cs rename to src/Tribufu.Generated/Model/TokenResponse.cs index 58fb22b..c9f475f 100644 --- a/src/Tribufu/Model/TokenResponse.cs +++ b/src/Tribufu.Generated/Model/TokenResponse.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// TokenResponse diff --git a/src/Tribufu/Model/TokenType.cs b/src/Tribufu.Generated/Model/TokenType.cs similarity index 88% rename from src/Tribufu/Model/TokenType.cs rename to src/Tribufu.Generated/Model/TokenType.cs index f529d6a..b89cd3c 100644 --- a/src/Tribufu/Model/TokenType.cs +++ b/src/Tribufu.Generated/Model/TokenType.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Defines TokenType diff --git a/src/Tribufu/Model/UpdateProfile.cs b/src/Tribufu.Generated/Model/UpdateProfile.cs similarity index 96% rename from src/Tribufu/Model/UpdateProfile.cs rename to src/Tribufu.Generated/Model/UpdateProfile.cs index 7de2188..4fbe86a 100644 --- a/src/Tribufu/Model/UpdateProfile.cs +++ b/src/Tribufu.Generated/Model/UpdateProfile.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// UpdateProfile diff --git a/src/Tribufu/Model/UserInfo.cs b/src/Tribufu.Generated/Model/UserInfo.cs similarity index 99% rename from src/Tribufu/Model/UserInfo.cs rename to src/Tribufu.Generated/Model/UserInfo.cs index 3b682f6..66fb2f8 100644 --- a/src/Tribufu/Model/UserInfo.cs +++ b/src/Tribufu.Generated/Model/UserInfo.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// UserInfo diff --git a/src/Tribufu/Model/UserType.cs b/src/Tribufu.Generated/Model/UserType.cs similarity index 90% rename from src/Tribufu/Model/UserType.cs rename to src/Tribufu.Generated/Model/UserType.cs index 152743e..7c74db6 100644 --- a/src/Tribufu/Model/UserType.cs +++ b/src/Tribufu.Generated/Model/UserType.cs @@ -22,9 +22,9 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = Tribufu.Generated.Client.OpenAPIDateConverter; -namespace Tribufu.Model +namespace Tribufu.Generated.Model { /// /// Defines UserType diff --git a/src/Tribufu.Generated/README.md b/src/Tribufu.Generated/README.md new file mode 100644 index 0000000..54c1ab5 --- /dev/null +++ b/src/Tribufu.Generated/README.md @@ -0,0 +1 @@ +# Tribufu diff --git a/src/Tribufu.Generated/Tribufu.Generated.csproj b/src/Tribufu.Generated/Tribufu.Generated.csproj new file mode 100644 index 0000000..2defe9f --- /dev/null +++ b/src/Tribufu.Generated/Tribufu.Generated.csproj @@ -0,0 +1,27 @@ + + + Tribufu.Generated + Tribufu .NET SDK + README.md + + + Properties + true + true + enable + annotations + Library + net6.0 + + + + + + + + + + + + + diff --git a/src/Tribufu/Model/Attachment.cs b/src/Tribufu/Model/Attachment.cs deleted file mode 100644 index 2c8a998..0000000 --- a/src/Tribufu/Model/Attachment.cs +++ /dev/null @@ -1,205 +0,0 @@ -/* - * Tribufu API - * - * REST API to access Tribufu services. - * - * The version of the OpenAPI document: 1.1.0 - * Contact: contact@tribufu.com - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; - -namespace Tribufu.Model -{ - /// - /// Attachment - /// - [DataContract(Name = "Attachment")] - public partial class Attachment : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - [JsonConstructorAttribute] - protected Attachment() { } - /// - /// Initializes a new instance of the class. - /// - /// id. - /// name (required). - /// contentType (required). - /// url (required). - /// size. - /// hash. - /// etag. - /// created. - /// updated. - public Attachment(string id = default(string), string name = default(string), string contentType = default(string), string url = default(string), long size = default(long), string hash = default(string), string etag = default(string), DateTime created = default(DateTime), DateTime? updated = default(DateTime?)) - { - // to ensure "name" is required (not null) - if (name == null) - { - throw new ArgumentNullException("name is a required property for Attachment and cannot be null"); - } - this.Name = name; - // to ensure "contentType" is required (not null) - if (contentType == null) - { - throw new ArgumentNullException("contentType is a required property for Attachment and cannot be null"); - } - this.ContentType = contentType; - // to ensure "url" is required (not null) - if (url == null) - { - throw new ArgumentNullException("url is a required property for Attachment and cannot be null"); - } - this.Url = url; - this.Id = id; - this.Size = size; - this.Hash = hash; - this.Etag = etag; - this.Created = created; - this.Updated = updated; - } - - /// - /// Gets or Sets Id - /// - [DataMember(Name = "id", EmitDefaultValue = false)] - public string Id { get; set; } - - /// - /// Gets or Sets Name - /// - [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)] - public string Name { get; set; } - - /// - /// Gets or Sets ContentType - /// - [DataMember(Name = "content_type", IsRequired = true, EmitDefaultValue = true)] - public string ContentType { get; set; } - - /// - /// Gets or Sets Url - /// - [DataMember(Name = "url", IsRequired = true, EmitDefaultValue = true)] - public string Url { get; set; } - - /// - /// Gets or Sets Size - /// - [DataMember(Name = "size", EmitDefaultValue = false)] - public long Size { get; set; } - - /// - /// Gets or Sets Hash - /// - [DataMember(Name = "hash", EmitDefaultValue = true)] - public string Hash { get; set; } - - /// - /// Gets or Sets Etag - /// - [DataMember(Name = "etag", EmitDefaultValue = true)] - public string Etag { get; set; } - - /// - /// Gets or Sets Created - /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } - - /// - /// Gets or Sets Updated - /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class Attachment {\n"); - sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append(" Name: ").Append(Name).Append("\n"); - sb.Append(" ContentType: ").Append(ContentType).Append("\n"); - sb.Append(" Url: ").Append(Url).Append("\n"); - sb.Append(" Size: ").Append(Size).Append("\n"); - sb.Append(" Hash: ").Append(Hash).Append("\n"); - sb.Append(" Etag: ").Append(Etag).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append(" Updated: ").Append(Updated).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - // Name (string) maxLength - if (this.Name != null && this.Name.Length > 45) - { - yield return new ValidationResult("Invalid value for Name, length must be less than 45.", new [] { "Name" }); - } - - // ContentType (string) maxLength - if (this.ContentType != null && this.ContentType.Length > 45) - { - yield return new ValidationResult("Invalid value for ContentType, length must be less than 45.", new [] { "ContentType" }); - } - - // Url (string) maxLength - if (this.Url != null && this.Url.Length > 255) - { - yield return new ValidationResult("Invalid value for Url, length must be less than 255.", new [] { "Url" }); - } - - // Hash (string) maxLength - if (this.Hash != null && this.Hash.Length > 64) - { - yield return new ValidationResult("Invalid value for Hash, length must be less than 64.", new [] { "Hash" }); - } - - // Etag (string) maxLength - if (this.Etag != null && this.Etag.Length > 32) - { - yield return new ValidationResult("Invalid value for Etag, length must be less than 32.", new [] { "Etag" }); - } - - yield break; - } - } - -} diff --git a/src/Tribufu/Model/ClientInfo.cs b/src/Tribufu/Model/ClientInfo.cs deleted file mode 100644 index 881663b..0000000 --- a/src/Tribufu/Model/ClientInfo.cs +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Tribufu API - * - * REST API to access Tribufu services. - * - * The version of the OpenAPI document: 1.1.0 - * Contact: contact@tribufu.com - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; - -namespace Tribufu.Model -{ - /// - /// ClientInfo - /// - [DataContract(Name = "ClientInfo")] - public partial class ClientInfo : IValidatableObject - { - - /// - /// Gets or Sets Type - /// - [DataMember(Name = "type", EmitDefaultValue = false)] - public ClientType? Type { get; set; } - /// - /// Initializes a new instance of the class. - /// - [JsonConstructorAttribute] - protected ClientInfo() { } - /// - /// Initializes a new instance of the class. - /// - /// id. - /// name (required). - /// type. - /// photoUrl. - /// permissions. - public ClientInfo(string id = default(string), string name = default(string), ClientType? type = default(ClientType?), string photoUrl = default(string), List permissions = default(List)) - { - // to ensure "name" is required (not null) - if (name == null) - { - throw new ArgumentNullException("name is a required property for ClientInfo and cannot be null"); - } - this.Name = name; - this.Id = id; - this.Type = type; - this.PhotoUrl = photoUrl; - this.Permissions = permissions; - } - - /// - /// Gets or Sets Id - /// - [DataMember(Name = "id", EmitDefaultValue = false)] - public string Id { get; set; } - - /// - /// Gets or Sets Name - /// - [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)] - public string Name { get; set; } - - /// - /// Gets or Sets PhotoUrl - /// - [DataMember(Name = "photo_url", EmitDefaultValue = true)] - public string PhotoUrl { get; set; } - - /// - /// Gets or Sets Permissions - /// - [DataMember(Name = "permissions", EmitDefaultValue = true)] - public List Permissions { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class ClientInfo {\n"); - sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append(" Name: ").Append(Name).Append("\n"); - sb.Append(" Type: ").Append(Type).Append("\n"); - sb.Append(" PhotoUrl: ").Append(PhotoUrl).Append("\n"); - sb.Append(" Permissions: ").Append(Permissions).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Tribufu/Model/ClientType.cs b/src/Tribufu/Model/ClientType.cs deleted file mode 100644 index f68c872..0000000 --- a/src/Tribufu/Model/ClientType.cs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Tribufu API - * - * REST API to access Tribufu services. - * - * The version of the OpenAPI document: 1.1.0 - * Contact: contact@tribufu.com - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; - -namespace Tribufu.Model -{ - /// - /// Defines ClientType - /// - [JsonConverter(typeof(StringEnumConverter))] - public enum ClientType - { - /// - /// Enum Web for value: web - /// - [EnumMember(Value = "web")] - Web, - - /// - /// Enum Desktop for value: desktop - /// - [EnumMember(Value = "desktop")] - Desktop, - - /// - /// Enum Mobile for value: mobile - /// - [EnumMember(Value = "mobile")] - Mobile - } - -} diff --git a/src/Tribufu/Model/CodeResponse.cs b/src/Tribufu/Model/CodeResponse.cs deleted file mode 100644 index 4aa8b1b..0000000 --- a/src/Tribufu/Model/CodeResponse.cs +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Tribufu API - * - * REST API to access Tribufu services. - * - * The version of the OpenAPI document: 1.1.0 - * Contact: contact@tribufu.com - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; - -namespace Tribufu.Model -{ - /// - /// CodeResponse - /// - [DataContract(Name = "CodeResponse")] - public partial class CodeResponse : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - [JsonConstructorAttribute] - protected CodeResponse() { } - /// - /// Initializes a new instance of the class. - /// - /// code (required). - /// state. - public CodeResponse(string code = default(string), string state = default(string)) - { - // to ensure "code" is required (not null) - if (code == null) - { - throw new ArgumentNullException("code is a required property for CodeResponse and cannot be null"); - } - this.Code = code; - this.State = state; - } - - /// - /// Gets or Sets Code - /// - [DataMember(Name = "code", IsRequired = true, EmitDefaultValue = true)] - public string Code { get; set; } - - /// - /// Gets or Sets State - /// - [DataMember(Name = "state", EmitDefaultValue = true)] - public string State { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class CodeResponse {\n"); - sb.Append(" Code: ").Append(Code).Append("\n"); - sb.Append(" State: ").Append(State).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Tribufu/Model/CreateUser.cs b/src/Tribufu/Model/CreateUser.cs deleted file mode 100644 index 33fa6df..0000000 --- a/src/Tribufu/Model/CreateUser.cs +++ /dev/null @@ -1,225 +0,0 @@ -/* - * Tribufu API - * - * REST API to access Tribufu services. - * - * The version of the OpenAPI document: 1.1.0 - * Contact: contact@tribufu.com - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; - -namespace Tribufu.Model -{ - /// - /// CreateUser - /// - [DataContract(Name = "CreateUser")] - public partial class CreateUser : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - [JsonConstructorAttribute] - protected CreateUser() { } - /// - /// Initializes a new instance of the class. - /// - /// uuid. - /// name (required). - /// displayName. - /// email. - /// password. - /// language. - /// timezone. - /// currency. - /// ipAddress. - public CreateUser(Guid? uuid = default(Guid?), string name = default(string), string displayName = default(string), string email = default(string), string password = default(string), string language = default(string), string timezone = default(string), string currency = default(string), string ipAddress = default(string)) - { - // to ensure "name" is required (not null) - if (name == null) - { - throw new ArgumentNullException("name is a required property for CreateUser and cannot be null"); - } - this.Name = name; - this.Uuid = uuid; - this.DisplayName = displayName; - this.Email = email; - this.Password = password; - this.Language = language; - this.Timezone = timezone; - this.Currency = currency; - this.IpAddress = ipAddress; - } - - /// - /// Gets or Sets Uuid - /// - [DataMember(Name = "uuid", EmitDefaultValue = true)] - public Guid? Uuid { get; set; } - - /// - /// Gets or Sets Name - /// - [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)] - public string Name { get; set; } - - /// - /// Gets or Sets DisplayName - /// - [DataMember(Name = "display_name", EmitDefaultValue = true)] - public string DisplayName { get; set; } - - /// - /// Gets or Sets Email - /// - [DataMember(Name = "email", EmitDefaultValue = true)] - public string Email { get; set; } - - /// - /// Gets or Sets Password - /// - [DataMember(Name = "password", EmitDefaultValue = true)] - public string Password { get; set; } - - /// - /// Gets or Sets Language - /// - [DataMember(Name = "language", EmitDefaultValue = true)] - public string Language { get; set; } - - /// - /// Gets or Sets Timezone - /// - [DataMember(Name = "timezone", EmitDefaultValue = true)] - public string Timezone { get; set; } - - /// - /// Gets or Sets Currency - /// - [DataMember(Name = "currency", EmitDefaultValue = true)] - public string Currency { get; set; } - - /// - /// Gets or Sets IpAddress - /// - [DataMember(Name = "ip_address", EmitDefaultValue = true)] - public string IpAddress { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class CreateUser {\n"); - sb.Append(" Uuid: ").Append(Uuid).Append("\n"); - sb.Append(" Name: ").Append(Name).Append("\n"); - sb.Append(" DisplayName: ").Append(DisplayName).Append("\n"); - sb.Append(" Email: ").Append(Email).Append("\n"); - sb.Append(" Password: ").Append(Password).Append("\n"); - sb.Append(" Language: ").Append(Language).Append("\n"); - sb.Append(" Timezone: ").Append(Timezone).Append("\n"); - sb.Append(" Currency: ").Append(Currency).Append("\n"); - sb.Append(" IpAddress: ").Append(IpAddress).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - // Name (string) maxLength - if (this.Name != null && this.Name.Length > 45) - { - yield return new ValidationResult("Invalid value for Name, length must be less than 45.", new [] { "Name" }); - } - - // Name (string) minLength - if (this.Name != null && this.Name.Length < 1) - { - yield return new ValidationResult("Invalid value for Name, length must be greater than 1.", new [] { "Name" }); - } - - if (this.Name != null) { - // Name (string) pattern - Regex regexName = new Regex(@"^[a-zA-Z0-9-_]*$", RegexOptions.CultureInvariant); - if (!regexName.Match(this.Name).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, must match a pattern of " + regexName, new [] { "Name" }); - } - } - - // DisplayName (string) maxLength - if (this.DisplayName != null && this.DisplayName.Length > 45) - { - yield return new ValidationResult("Invalid value for DisplayName, length must be less than 45.", new [] { "DisplayName" }); - } - - if (this.DisplayName != null) { - // DisplayName (string) pattern - Regex regexDisplayName = new Regex(@"^[a-zA-Z0-9-_ ]*$", RegexOptions.CultureInvariant); - if (!regexDisplayName.Match(this.DisplayName).Success) - { - yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for DisplayName, must match a pattern of " + regexDisplayName, new [] { "DisplayName" }); - } - } - - // Email (string) maxLength - if (this.Email != null && this.Email.Length > 255) - { - yield return new ValidationResult("Invalid value for Email, length must be less than 255.", new [] { "Email" }); - } - - // Language (string) maxLength - if (this.Language != null && this.Language.Length > 5) - { - yield return new ValidationResult("Invalid value for Language, length must be less than 5.", new [] { "Language" }); - } - - // Currency (string) maxLength - if (this.Currency != null && this.Currency.Length > 3) - { - yield return new ValidationResult("Invalid value for Currency, length must be less than 3.", new [] { "Currency" }); - } - - // IpAddress (string) maxLength - if (this.IpAddress != null && this.IpAddress.Length > 255) - { - yield return new ValidationResult("Invalid value for IpAddress, length must be less than 255.", new [] { "IpAddress" }); - } - - yield break; - } - } - -} diff --git a/src/Tribufu/Model/GameServerQuery.cs b/src/Tribufu/Model/GameServerQuery.cs deleted file mode 100644 index 90d15f9..0000000 --- a/src/Tribufu/Model/GameServerQuery.cs +++ /dev/null @@ -1,152 +0,0 @@ -/* - * Tribufu API - * - * REST API to access Tribufu services. - * - * The version of the OpenAPI document: 1.1.0 - * Contact: contact@tribufu.com - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; - -namespace Tribufu.Model -{ - /// - /// GameServerQuery - /// - [DataContract(Name = "GameServerQuery")] - public partial class GameServerQuery : IValidatableObject - { - - /// - /// Gets or Sets Status - /// - [DataMember(Name = "status", EmitDefaultValue = false)] - public GameServerStatus? Status { get; set; } - /// - /// Initializes a new instance of the class. - /// - /// id. - /// serverId. - /// status. - /// ping. - /// currentPlayers. - /// maxPlayers. - /// motd. - /// created. - public GameServerQuery(string id = default(string), string serverId = default(string), GameServerStatus? status = default(GameServerStatus?), int ping = default(int), int currentPlayers = default(int), int maxPlayers = default(int), string motd = default(string), DateTime created = default(DateTime)) - { - this.Id = id; - this.ServerId = serverId; - this.Status = status; - this.Ping = ping; - this.CurrentPlayers = currentPlayers; - this.MaxPlayers = maxPlayers; - this.Motd = motd; - this.Created = created; - } - - /// - /// Gets or Sets Id - /// - [DataMember(Name = "id", EmitDefaultValue = false)] - public string Id { get; set; } - - /// - /// Gets or Sets ServerId - /// - [DataMember(Name = "server_id", EmitDefaultValue = false)] - public string ServerId { get; set; } - - /// - /// Gets or Sets Ping - /// - [DataMember(Name = "ping", EmitDefaultValue = false)] - public int Ping { get; set; } - - /// - /// Gets or Sets CurrentPlayers - /// - [DataMember(Name = "current_players", EmitDefaultValue = false)] - public int CurrentPlayers { get; set; } - - /// - /// Gets or Sets MaxPlayers - /// - [DataMember(Name = "max_players", EmitDefaultValue = false)] - public int MaxPlayers { get; set; } - - /// - /// Gets or Sets Motd - /// - [DataMember(Name = "motd", EmitDefaultValue = true)] - public string Motd { get; set; } - - /// - /// Gets or Sets Created - /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class GameServerQuery {\n"); - sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append(" ServerId: ").Append(ServerId).Append("\n"); - sb.Append(" Status: ").Append(Status).Append("\n"); - sb.Append(" Ping: ").Append(Ping).Append("\n"); - sb.Append(" CurrentPlayers: ").Append(CurrentPlayers).Append("\n"); - sb.Append(" MaxPlayers: ").Append(MaxPlayers).Append("\n"); - sb.Append(" Motd: ").Append(Motd).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - // Motd (string) maxLength - if (this.Motd != null && this.Motd.Length > 255) - { - yield return new ValidationResult("Invalid value for Motd, length must be less than 255.", new [] { "Motd" }); - } - - yield break; - } - } - -} diff --git a/src/Tribufu/Model/GameServerStatus.cs b/src/Tribufu/Model/GameServerStatus.cs deleted file mode 100644 index cb99243..0000000 --- a/src/Tribufu/Model/GameServerStatus.cs +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Tribufu API - * - * REST API to access Tribufu services. - * - * The version of the OpenAPI document: 1.1.0 - * Contact: contact@tribufu.com - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; - -namespace Tribufu.Model -{ - /// - /// Defines GameServerStatus - /// - [JsonConverter(typeof(StringEnumConverter))] - public enum GameServerStatus - { - /// - /// Enum Unknown for value: unknown - /// - [EnumMember(Value = "unknown")] - Unknown, - - /// - /// Enum Offline for value: offline - /// - [EnumMember(Value = "offline")] - Offline, - - /// - /// Enum Online for value: online - /// - [EnumMember(Value = "online")] - Online - } - -} diff --git a/src/Tribufu/Model/IntrospectResponse.cs b/src/Tribufu/Model/IntrospectResponse.cs deleted file mode 100644 index b311ad4..0000000 --- a/src/Tribufu/Model/IntrospectResponse.cs +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Tribufu API - * - * REST API to access Tribufu services. - * - * The version of the OpenAPI document: 1.1.0 - * Contact: contact@tribufu.com - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; - -namespace Tribufu.Model -{ - /// - /// IntrospectResponse - /// - [DataContract(Name = "IntrospectResponse")] - public partial class IntrospectResponse : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - /// jti. - /// active. - /// tokenType. - /// clientId. - /// sub. - /// username. - /// scope. - /// iss. - /// aud. - /// iat. - /// exp. - /// nbf. - public IntrospectResponse(string jti = default(string), bool active = default(bool), string tokenType = default(string), string clientId = default(string), string sub = default(string), string username = default(string), string scope = default(string), string iss = default(string), string aud = default(string), long? iat = default(long?), long? exp = default(long?), long? nbf = default(long?)) - { - this.Jti = jti; - this.Active = active; - this.TokenType = tokenType; - this.ClientId = clientId; - this.Sub = sub; - this.Username = username; - this.Scope = scope; - this.Iss = iss; - this.Aud = aud; - this.Iat = iat; - this.Exp = exp; - this.Nbf = nbf; - } - - /// - /// Gets or Sets Jti - /// - [DataMember(Name = "jti", EmitDefaultValue = true)] - public string Jti { get; set; } - - /// - /// Gets or Sets Active - /// - [DataMember(Name = "active", EmitDefaultValue = true)] - public bool Active { get; set; } - - /// - /// Gets or Sets TokenType - /// - [DataMember(Name = "token_type", EmitDefaultValue = true)] - public string TokenType { get; set; } - - /// - /// Gets or Sets ClientId - /// - [DataMember(Name = "client_id", EmitDefaultValue = true)] - public string ClientId { get; set; } - - /// - /// Gets or Sets Sub - /// - [DataMember(Name = "sub", EmitDefaultValue = true)] - public string Sub { get; set; } - - /// - /// Gets or Sets Username - /// - [DataMember(Name = "username", EmitDefaultValue = true)] - public string Username { get; set; } - - /// - /// Gets or Sets Scope - /// - [DataMember(Name = "scope", EmitDefaultValue = true)] - public string Scope { get; set; } - - /// - /// Gets or Sets Iss - /// - [DataMember(Name = "iss", EmitDefaultValue = true)] - public string Iss { get; set; } - - /// - /// Gets or Sets Aud - /// - [DataMember(Name = "aud", EmitDefaultValue = true)] - public string Aud { get; set; } - - /// - /// Gets or Sets Iat - /// - [DataMember(Name = "iat", EmitDefaultValue = true)] - public long? Iat { get; set; } - - /// - /// Gets or Sets Exp - /// - [DataMember(Name = "exp", EmitDefaultValue = true)] - public long? Exp { get; set; } - - /// - /// Gets or Sets Nbf - /// - [DataMember(Name = "nbf", EmitDefaultValue = true)] - public long? Nbf { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class IntrospectResponse {\n"); - sb.Append(" Jti: ").Append(Jti).Append("\n"); - sb.Append(" Active: ").Append(Active).Append("\n"); - sb.Append(" TokenType: ").Append(TokenType).Append("\n"); - sb.Append(" ClientId: ").Append(ClientId).Append("\n"); - sb.Append(" Sub: ").Append(Sub).Append("\n"); - sb.Append(" Username: ").Append(Username).Append("\n"); - sb.Append(" Scope: ").Append(Scope).Append("\n"); - sb.Append(" Iss: ").Append(Iss).Append("\n"); - sb.Append(" Aud: ").Append(Aud).Append("\n"); - sb.Append(" Iat: ").Append(Iat).Append("\n"); - sb.Append(" Exp: ").Append(Exp).Append("\n"); - sb.Append(" Nbf: ").Append(Nbf).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Tribufu/Model/ModelClient.cs b/src/Tribufu/Model/ModelClient.cs deleted file mode 100644 index 19cba28..0000000 --- a/src/Tribufu/Model/ModelClient.cs +++ /dev/null @@ -1,243 +0,0 @@ -/* - * Tribufu API - * - * REST API to access Tribufu services. - * - * The version of the OpenAPI document: 1.1.0 - * Contact: contact@tribufu.com - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; - -namespace Tribufu.Model -{ - /// - /// ModelClient - /// - [DataContract(Name = "varClient")] - public partial class ModelClient : IValidatableObject - { - - /// - /// Gets or Sets Type - /// - [DataMember(Name = "type", EmitDefaultValue = false)] - public ClientType? Type { get; set; } - /// - /// Initializes a new instance of the class. - /// - [JsonConstructorAttribute] - protected ModelClient() { } - /// - /// Initializes a new instance of the class. - /// - /// id. - /// name (required). - /// type. - /// organizationId. - /// trusted. - /// packageId. - /// websiteUrl. - /// photoUrl. - /// backgroundUrl. - /// customSchema. - /// redirects. - /// scopes. - /// created. - /// updated. - public ModelClient(string id = default(string), string name = default(string), ClientType? type = default(ClientType?), string organizationId = default(string), bool trusted = default(bool), string packageId = default(string), string websiteUrl = default(string), string photoUrl = default(string), string backgroundUrl = default(string), string customSchema = default(string), string redirects = default(string), string scopes = default(string), DateTime created = default(DateTime), DateTime? updated = default(DateTime?)) - { - // to ensure "name" is required (not null) - if (name == null) - { - throw new ArgumentNullException("name is a required property for ModelClient and cannot be null"); - } - this.Name = name; - this.Id = id; - this.Type = type; - this.OrganizationId = organizationId; - this.Trusted = trusted; - this.PackageId = packageId; - this.WebsiteUrl = websiteUrl; - this.PhotoUrl = photoUrl; - this.BackgroundUrl = backgroundUrl; - this.CustomSchema = customSchema; - this.Redirects = redirects; - this.Scopes = scopes; - this.Created = created; - this.Updated = updated; - } - - /// - /// Gets or Sets Id - /// - [DataMember(Name = "id", EmitDefaultValue = false)] - public string Id { get; set; } - - /// - /// Gets or Sets Name - /// - [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)] - public string Name { get; set; } - - /// - /// Gets or Sets OrganizationId - /// - [DataMember(Name = "organization_id", EmitDefaultValue = false)] - public string OrganizationId { get; set; } - - /// - /// Gets or Sets Trusted - /// - [DataMember(Name = "trusted", EmitDefaultValue = true)] - public bool Trusted { get; set; } - - /// - /// Gets or Sets PackageId - /// - [DataMember(Name = "package_id", EmitDefaultValue = true)] - public string PackageId { get; set; } - - /// - /// Gets or Sets WebsiteUrl - /// - [DataMember(Name = "website_url", EmitDefaultValue = true)] - public string WebsiteUrl { get; set; } - - /// - /// Gets or Sets PhotoUrl - /// - [DataMember(Name = "photo_url", EmitDefaultValue = true)] - public string PhotoUrl { get; set; } - - /// - /// Gets or Sets BackgroundUrl - /// - [DataMember(Name = "background_url", EmitDefaultValue = true)] - public string BackgroundUrl { get; set; } - - /// - /// Gets or Sets CustomSchema - /// - [DataMember(Name = "custom_schema", EmitDefaultValue = true)] - public string CustomSchema { get; set; } - - /// - /// Gets or Sets Redirects - /// - [DataMember(Name = "redirects", EmitDefaultValue = true)] - public string Redirects { get; set; } - - /// - /// Gets or Sets Scopes - /// - [DataMember(Name = "scopes", EmitDefaultValue = true)] - public string Scopes { get; set; } - - /// - /// Gets or Sets Permissions - /// - [DataMember(Name = "permissions", EmitDefaultValue = true)] - public List Permissions { get; private set; } - - /// - /// Returns false as Permissions should not be serialized given that it's read-only. - /// - /// false (boolean) - public bool ShouldSerializePermissions() - { - return false; - } - /// - /// Gets or Sets Created - /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } - - /// - /// Gets or Sets Updated - /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class ModelClient {\n"); - sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append(" Name: ").Append(Name).Append("\n"); - sb.Append(" Type: ").Append(Type).Append("\n"); - sb.Append(" OrganizationId: ").Append(OrganizationId).Append("\n"); - sb.Append(" Trusted: ").Append(Trusted).Append("\n"); - sb.Append(" PackageId: ").Append(PackageId).Append("\n"); - sb.Append(" WebsiteUrl: ").Append(WebsiteUrl).Append("\n"); - sb.Append(" PhotoUrl: ").Append(PhotoUrl).Append("\n"); - sb.Append(" BackgroundUrl: ").Append(BackgroundUrl).Append("\n"); - sb.Append(" CustomSchema: ").Append(CustomSchema).Append("\n"); - sb.Append(" Redirects: ").Append(Redirects).Append("\n"); - sb.Append(" Scopes: ").Append(Scopes).Append("\n"); - sb.Append(" Permissions: ").Append(Permissions).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append(" Updated: ").Append(Updated).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - // Name (string) maxLength - if (this.Name != null && this.Name.Length > 75) - { - yield return new ValidationResult("Invalid value for Name, length must be less than 75.", new [] { "Name" }); - } - - // PhotoUrl (string) maxLength - if (this.PhotoUrl != null && this.PhotoUrl.Length > 255) - { - yield return new ValidationResult("Invalid value for PhotoUrl, length must be less than 255.", new [] { "PhotoUrl" }); - } - - // BackgroundUrl (string) maxLength - if (this.BackgroundUrl != null && this.BackgroundUrl.Length > 255) - { - yield return new ValidationResult("Invalid value for BackgroundUrl, length must be less than 255.", new [] { "BackgroundUrl" }); - } - - yield break; - } - } - -} diff --git a/src/Tribufu/Model/PackageRelease.cs b/src/Tribufu/Model/PackageRelease.cs deleted file mode 100644 index a3e80e1..0000000 --- a/src/Tribufu/Model/PackageRelease.cs +++ /dev/null @@ -1,159 +0,0 @@ -/* - * Tribufu API - * - * REST API to access Tribufu services. - * - * The version of the OpenAPI document: 1.1.0 - * Contact: contact@tribufu.com - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; - -namespace Tribufu.Model -{ - /// - /// PackageRelease - /// - [DataContract(Name = "PackageRelease")] - public partial class PackageRelease : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - [JsonConstructorAttribute] - protected PackageRelease() { } - /// - /// Initializes a new instance of the class. - /// - /// id. - /// varVersion (required). - /// packageId. - /// notes. - /// created. - /// updated. - public PackageRelease(string id = default(string), string varVersion = default(string), string packageId = default(string), string notes = default(string), DateTime created = default(DateTime), DateTime? updated = default(DateTime?)) - { - // to ensure "varVersion" is required (not null) - if (varVersion == null) - { - throw new ArgumentNullException("varVersion is a required property for PackageRelease and cannot be null"); - } - this.VarVersion = varVersion; - this.Id = id; - this.PackageId = packageId; - this.Notes = notes; - this.Created = created; - this.Updated = updated; - } - - /// - /// Gets or Sets Id - /// - [DataMember(Name = "id", EmitDefaultValue = false)] - public string Id { get; set; } - - /// - /// Gets or Sets VarVersion - /// - [DataMember(Name = "version", IsRequired = true, EmitDefaultValue = true)] - public string VarVersion { get; set; } - - /// - /// Gets or Sets PackageId - /// - [DataMember(Name = "package_id", EmitDefaultValue = false)] - public string PackageId { get; set; } - - /// - /// Gets or Sets Notes - /// - [DataMember(Name = "notes", EmitDefaultValue = true)] - public string Notes { get; set; } - - /// - /// Gets or Sets Attachments - /// - [DataMember(Name = "attachments", EmitDefaultValue = true)] - public List Attachments { get; private set; } - - /// - /// Returns false as Attachments should not be serialized given that it's read-only. - /// - /// false (boolean) - public bool ShouldSerializeAttachments() - { - return false; - } - /// - /// Gets or Sets Created - /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } - - /// - /// Gets or Sets Updated - /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class PackageRelease {\n"); - sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append(" VarVersion: ").Append(VarVersion).Append("\n"); - sb.Append(" PackageId: ").Append(PackageId).Append("\n"); - sb.Append(" Notes: ").Append(Notes).Append("\n"); - sb.Append(" Attachments: ").Append(Attachments).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append(" Updated: ").Append(Updated).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - // VarVersion (string) maxLength - if (this.VarVersion != null && this.VarVersion.Length > 45) - { - yield return new ValidationResult("Invalid value for VarVersion, length must be less than 45.", new [] { "VarVersion" }); - } - - yield break; - } - } - -} diff --git a/src/Tribufu/Model/Search.cs b/src/Tribufu/Model/Search.cs deleted file mode 100644 index 833ee5f..0000000 --- a/src/Tribufu/Model/Search.cs +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Tribufu API - * - * REST API to access Tribufu services. - * - * The version of the OpenAPI document: 1.1.0 - * Contact: contact@tribufu.com - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; - -namespace Tribufu.Model -{ - /// - /// Search - /// - [DataContract(Name = "Search")] - public partial class Search : IValidatableObject - { - - /// - /// Gets or Sets Type - /// - [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)] - public SearchType Type { get; set; } - /// - /// Initializes a new instance of the class. - /// - [JsonConstructorAttribute] - protected Search() { } - /// - /// Initializes a new instance of the class. - /// - /// type (required). - /// query (required). - /// page. - /// gameId. - public Search(SearchType type = default(SearchType), string query = default(string), int? page = default(int?), string gameId = default(string)) - { - this.Type = type; - // to ensure "query" is required (not null) - if (query == null) - { - throw new ArgumentNullException("query is a required property for Search and cannot be null"); - } - this.Query = query; - this.Page = page; - this.GameId = gameId; - } - - /// - /// Gets or Sets Query - /// - [DataMember(Name = "query", IsRequired = true, EmitDefaultValue = true)] - public string Query { get; set; } - - /// - /// Gets or Sets Page - /// - [DataMember(Name = "page", EmitDefaultValue = true)] - public int? Page { get; set; } - - /// - /// Gets or Sets GameId - /// - [DataMember(Name = "game_id", EmitDefaultValue = true)] - public string GameId { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class Search {\n"); - sb.Append(" Type: ").Append(Type).Append("\n"); - sb.Append(" Query: ").Append(Query).Append("\n"); - sb.Append(" Page: ").Append(Page).Append("\n"); - sb.Append(" GameId: ").Append(GameId).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - yield break; - } - } - -} diff --git a/src/Tribufu/Model/SubscriptionPrice.cs b/src/Tribufu/Model/SubscriptionPrice.cs deleted file mode 100644 index de3778c..0000000 --- a/src/Tribufu/Model/SubscriptionPrice.cs +++ /dev/null @@ -1,117 +0,0 @@ -/* - * Tribufu API - * - * REST API to access Tribufu services. - * - * The version of the OpenAPI document: 1.1.0 - * Contact: contact@tribufu.com - * Generated by: https://github.com/openapitools/openapi-generator.git - */ - - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.IO; -using System.Runtime.Serialization; -using System.Text; -using System.Text.RegularExpressions; -using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using Newtonsoft.Json.Linq; -using System.ComponentModel.DataAnnotations; -using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; - -namespace Tribufu.Model -{ - /// - /// SubscriptionPrice - /// - [DataContract(Name = "SubscriptionPrice")] - public partial class SubscriptionPrice : IValidatableObject - { - /// - /// Initializes a new instance of the class. - /// - [JsonConstructorAttribute] - protected SubscriptionPrice() { } - /// - /// Initializes a new instance of the class. - /// - /// currency (required). - /// amount (required). - /// renewal. - public SubscriptionPrice(string currency = default(string), double amount = default(double), double? renewal = default(double?)) - { - // to ensure "currency" is required (not null) - if (currency == null) - { - throw new ArgumentNullException("currency is a required property for SubscriptionPrice and cannot be null"); - } - this.Currency = currency; - this.Amount = amount; - this.Renewal = renewal; - } - - /// - /// Gets or Sets Currency - /// - [DataMember(Name = "currency", IsRequired = true, EmitDefaultValue = true)] - public string Currency { get; set; } - - /// - /// Gets or Sets Amount - /// - [DataMember(Name = "amount", IsRequired = true, EmitDefaultValue = true)] - public double Amount { get; set; } - - /// - /// Gets or Sets Renewal - /// - [DataMember(Name = "renewal", EmitDefaultValue = true)] - public double? Renewal { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - StringBuilder sb = new StringBuilder(); - sb.Append("class SubscriptionPrice {\n"); - sb.Append(" Currency: ").Append(Currency).Append("\n"); - sb.Append(" Amount: ").Append(Amount).Append("\n"); - sb.Append(" Renewal: ").Append(Renewal).Append("\n"); - sb.Append("}\n"); - return sb.ToString(); - } - - /// - /// Returns the JSON string presentation of the object - /// - /// JSON string presentation of the object - public virtual string ToJson() - { - return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); - } - - /// - /// To validate all properties of the instance - /// - /// Validation context - /// Validation Result - IEnumerable IValidatableObject.Validate(ValidationContext validationContext) - { - // Currency (string) maxLength - if (this.Currency != null && this.Currency.Length > 3) - { - yield return new ValidationResult("Invalid value for Currency, length must be less than 3.", new [] { "Currency" }); - } - - yield break; - } - } - -} diff --git a/src/Tribufu/Tribufu.csproj b/src/Tribufu/Tribufu.csproj index 306fcbd..39dc5af 100644 --- a/src/Tribufu/Tribufu.csproj +++ b/src/Tribufu/Tribufu.csproj @@ -17,11 +17,6 @@ - - - - - - + diff --git a/src/Tribufu/TribufuApi.cs b/src/Tribufu/TribufuApi.cs new file mode 100644 index 0000000..d0a97eb --- /dev/null +++ b/src/Tribufu/TribufuApi.cs @@ -0,0 +1,183 @@ +// Copyright (c) Tribufu. All Rights Reserved. +// SPDX-License-Identifier: MIT + +using System.Net; +using System.Runtime.InteropServices; +using Tribufu.Generated.Api; +using Tribufu.Generated.Client; + +namespace Tribufu +{ + /// + /// Tribufu API + /// + /// + /// Use this class to interact with the Tribufu API. + /// + public class TribufuApi : TribufuGeneratedApi + { + /// + /// The default base URL for the Tribufu API. + /// + public const string DefaultBaseUrl = "https://api.tribufu.com"; + + /// + /// Create a with the default options. + /// + /// instance with default configuration + public TribufuApi() : this(string.Empty) + { + } + + /// + /// Create a with the given API key. + /// + /// + /// A API key gives you public read only access to the Tribufu API. + /// + /// The API key for authentication + /// instance configured with the API key + public TribufuApi(string apiKey) : base(CreateConfiguration(apiKey)) + { + } + + /// + /// Create a TribufuApi with the default options. + /// + /// TribufuApi instance with default configuration + public static TribufuApi Default() + { + return new TribufuApi(); + } + + /// + /// Create a with the given API key. + /// + /// + /// A API key gives you public read only access to the Tribufu API. + /// + /// The API key for authentication + /// instance configured with the API key + public static TribufuApi WithApiKey(string apiKey) + { + return new TribufuApi(apiKey); + } + + /// + /// Try to create a from environment variables. + /// + /// + /// This will only work if the environment variables are set. + /// + /// A prefix for the environment variables. Default is "TRIBUFU". + /// instance or null if environment variables not set + /// + /// // Environment variable TRIBUFU_API_KEY must be set + /// var api = TribufuApi.FromEnv(); + /// + public static TribufuApi? FromEnv(string? prefix = null) + { + prefix ??= "TRIBUFU"; + + var apiKey = Environment.GetEnvironmentVariable($"{prefix}_API_KEY"); + + if (!string.IsNullOrEmpty(apiKey)) + { + return WithApiKey(apiKey); + } + + return null; + } + + /// + /// Create a from environment variables or the default API. + /// + /// + /// This will fallback to the default API if the environment variables are not set. + /// + /// A prefix for the environment variables. Default is "TRIBUFU". + /// instance + /// + /// // Environment variable TRIBUFU_API_KEY might be unset + /// var api = TribufuApi.FromEnvOrDefault(); + /// + public static TribufuApi FromEnvOrDefault(string prefix = "TRIBUFU") + { + return FromEnv(prefix) ?? Default(); + } + + /// + /// Gets the version of the Tribufu API client. + /// + public static string GetVersion() + { + var version = typeof(TribufuApi).Assembly.GetName().Version; + return $"{version?.Major}.{version?.Minor}.{version?.Build}"; + } + + /// + /// Gets the user agent string for the Tribufu API client. + /// + private static string GetUserAgent() + { + var version = GetVersion(); + var frameworkDescription = RuntimeInformation.FrameworkDescription.Trim(); + var runtimeIdentifier = RuntimeInformation.RuntimeIdentifier.Trim(); + return $"Tribufu/{version} ({frameworkDescription}; {runtimeIdentifier})"; + } + + /// + /// Get the base URL for the Tribufu API. + /// + /// + /// The base URL can be set using the environment variable TRIBUFU_API_URL. + /// The custom base URL is only used if debug mode is enabled. + /// The default base URL is https://api.tribufu.com. + /// + /// Base URL string + private static string GetBaseUrl() + { + var baseUrl = Environment.GetEnvironmentVariable("TRIBUFU_API_URL"); + + if (DebugEnabled() && !string.IsNullOrEmpty(baseUrl)) + { + return baseUrl; + } + + return DefaultBaseUrl; + } + + /// + /// Checks if debug mode is enabled. + /// + /// True if debug mode is enabled, otherwise false + private static bool DebugEnabled() + { +#if DEBUG + return true; +#else + return false; +#endif + } + + /// + /// Creates a configuration for the Tribufu API client. + /// + private static Configuration CreateConfiguration(string apiKey) + { + var config = new Configuration + { + BasePath = GetBaseUrl(), + UserAgent = WebUtility.UrlEncode(GetUserAgent()), + }; + + if (!string.IsNullOrEmpty(apiKey)) + { + config.AddApiKeyPrefix("Authorization", "ApiKey"); + config.AddApiKey("Authorization", apiKey); + } + + return config; + } + } +} diff --git a/src/Tribufu/TribufuApiSingleton.cs b/src/Tribufu/TribufuApiSingleton.cs new file mode 100644 index 0000000..1a01583 --- /dev/null +++ b/src/Tribufu/TribufuApiSingleton.cs @@ -0,0 +1,33 @@ +// Copyright (c) Tribufu. All Rights Reserved. +// SPDX-License-Identifier: MIT + +namespace Tribufu +{ + /// + /// Tribufu API + /// + /// + /// Helper class to get a singleton instance of the . + /// + public static class TribufuApiSingleton + { + private static TribufuApi? _instance = null; + + /// + /// Get the singleton instance of . + /// + public static TribufuApi GetInstance() + { + _instance ??= TribufuApi.FromEnvOrDefault(); + return _instance; + } + + /// + /// Reset the singleton instance of . + /// + public static void ResetInstance() + { + _instance = null; + } + } +}