diff --git a/.env.example b/.env.example
new file mode 100644
index 0000000..7d6736d
--- /dev/null
+++ b/.env.example
@@ -0,0 +1,2 @@
+TRIBUFU_API_KEY=""
+TRIBUFU_API_URL="https://api.tribufu.com"
diff --git a/.gitignore b/.gitignore
index cd402ad..b585321 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,8 @@
bin/
obj/
+.DS_Store
+.env
*.filters
*.user
-.DS_Store
+desktop.ini
diff --git a/.openapi-generator-ignore b/.openapi-generator-ignore
new file mode 100644
index 0000000..1dc3f29
--- /dev/null
+++ b/.openapi-generator-ignore
@@ -0,0 +1,9 @@
+docs/
+
+.gitignore
+*.sln
+**.csproj
+api/openapi.yaml
+appveyor.yml
+git_push.sh
+README.md
diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES
new file mode 100644
index 0000000..e13d875
--- /dev/null
+++ b/.openapi-generator/FILES
@@ -0,0 +1,60 @@
+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/.openapi-generator/VERSION b/.openapi-generator/VERSION
new file mode 100644
index 0000000..5f84a81
--- /dev/null
+++ b/.openapi-generator/VERSION
@@ -0,0 +1 @@
+7.12.0
diff --git a/Directory.Build.props b/Directory.Build.props
index 62f2166..32e4972 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -1,13 +1,13 @@
- 1.0.0.0
Tribufu
Tribufu
Copyright (c) Tribufu. All Rights Reserved.
- 1.0.0.0
MIT
git
- https://github.com/Tribufu/TribufuNet
- 1.0.0
+ https://github.com/tribufu/sdk-dotnet
+ 1.1.0
+ $(Version).0
+ $(NoWarn);0618;1591;1998;2002;8767
diff --git a/Directory.Packages.props b/Directory.Packages.props
index cd87747..e95a987 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -3,8 +3,11 @@
true
+
+
+
+
-
diff --git a/README.md b/README.md
index 2d26ce1..e684056 100644
--- a/README.md
+++ b/README.md
@@ -1,20 +1,279 @@
-# Tribufu .NET
+# Tribufu - the C# library for the Tribufu API
-.NET SDK to access Tribufu APIs and services.
+REST API to access Tribufu services.
-[![MIT License][mit-badge]][mit-url]
-[![Discord Chat][discord-badge]][discord-url]
+This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
-[mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg
-[mit-url]: https://github.com/tribufu/sdk-dotnet/blob/main/LICENSE.txt
-[discord-badge]: https://img.shields.io/discord/276504514616623104.svg?logo=discord&style=flat-square
-[discord-url]: https://www.tribufu.com/discord
+- API version: 1.1.0
+- SDK version: 1.0.0
+- Generator version: 7.8.0
+- Build package: org.openapitools.codegen.languages.CSharpClientCodegen
+ For more information, please visit [https://www.tribufu.com/contact](https://www.tribufu.com/contact)
-[Website](https://www.tribufu.com) |
-[Discord](https://www.tribufu.com/discord)
+
+## Frameworks supported
-## License
+
+## Dependencies
-This project is licensed under the [MIT License].
+- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 13.0.2 or later
+- [JsonSubTypes](https://www.nuget.org/packages/JsonSubTypes/) - 1.8.0 or later
+- [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations) - 5.0.0 or later
+
+The DLLs included in the package may not be the latest version. We recommend using [NuGet](https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:
+```
+Install-Package Newtonsoft.Json
+Install-Package JsonSubTypes
+Install-Package System.ComponentModel.Annotations
+```
+
+## Installation
+Run the following command to generate the DLL
+- [Mac/Linux] `/bin/sh build.sh`
+- [Windows] `build.bat`
+
+Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces:
+```csharp
+using Tribufu.Api;
+using Tribufu.Client;
+using Tribufu.Model;
+```
+
+## Packaging
+
+A `.nuspec` is included with the project. You can follow the Nuget quickstart to [create](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#create-the-package) and [publish](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package#publish-the-package) packages.
+
+This `.nuspec` uses placeholders from the `.csproj`, so build the `.csproj` directly:
+
+```
+nuget pack -Build -OutputDirectory out Tribufu.csproj
+```
+
+Then, publish to a [local feed](https://docs.microsoft.com/en-us/nuget/hosting-packages/local-feeds) or [other host](https://docs.microsoft.com/en-us/nuget/hosting-packages/overview) and consume the new package via Nuget as usual.
+
+
+## Usage
+
+To use the API client with a HTTP proxy, setup a `System.Net.WebProxy`
+```csharp
+Configuration c = new Configuration();
+System.Net.WebProxy webProxy = new System.Net.WebProxy("http://myProxyUrl:80/");
+webProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
+c.Proxy = webProxy;
+```
+
+### Connections
+Each ApiClass (properly the ApiClient inside it) will create an instance of HttpClient. It will use that for the entire lifecycle and dispose it when called the Dispose method.
+
+To better manager the connections it's a common practice to reuse the HttpClient and HttpClientHandler (see [here](https://docs.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests#issues-with-the-original-httpclient-class-available-in-net) for details). To use your own HttpClient instance just pass it to the ApiClass constructor.
+
+```csharp
+HttpClientHandler yourHandler = new HttpClientHandler();
+HttpClient yourHttpClient = new HttpClient(yourHandler);
+var api = new YourApiClass(yourHttpClient, yourHandler);
+```
+
+If you want to use an HttpClient and don't have access to the handler, for example in a DI context in Asp.net Core when using IHttpClientFactory.
+
+```csharp
+HttpClient yourHttpClient = new HttpClient();
+var api = new YourApiClass(yourHttpClient);
+```
+You'll loose some configuration settings, the features affected are: Setting and Retrieving Cookies, Client Certificates, Proxy settings. You need to either manually handle those in your setup of the HttpClient or they won't be available.
+
+Here an example of DI setup in a sample web project:
+
+```csharp
+services.AddHttpClient(httpClient =>
+ new PetApi(httpClient));
+```
+
+
+
+## Getting Started
+
+```csharp
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Net.Http;
+using Tribufu.Api;
+using Tribufu.Client;
+using Tribufu.Model;
+
+namespace Example
+{
+ public class Example
+ {
+ public static void Main()
+ {
+
+ Configuration config = new Configuration();
+ config.BasePath = "http://localhost";
+ // Configure API key authorization: ApiKey
+ config.ApiKey.Add("Authorization", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // config.ApiKeyPrefix.Add("Authorization", "Bearer");
+
+ // create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
+ HttpClient httpClient = new HttpClient();
+ HttpClientHandler httpClientHandler = new HttpClientHandler();
+ var apiInstance = new TribufuApi(httpClient, config, httpClientHandler);
+ var authorizeRequest = new AuthorizeRequest?(); // AuthorizeRequest? | (optional)
+
+ try
+ {
+ // Authorize the client to access the user information.
+ apiInstance.Authorize(authorizeRequest);
+ }
+ catch (ApiException e)
+ {
+ Debug.Print("Exception when calling TribufuApi.Authorize: " + e.Message );
+ Debug.Print("Status Code: "+ e.ErrorCode);
+ Debug.Print(e.StackTrace);
+ }
+
+ }
+ }
+}
+```
+
+
+## Documentation for API Endpoints
+
+All URIs are relative to *http://localhost*
+
+Class | Method | HTTP request | Description
+------------ | ------------- | ------------- | -------------
+*TribufuApi* | [**Authorize**](docs/TribufuApi.md#authorize) | **POST** /v1/oauth2/authorize | Authorize the client to access the user information.
+*TribufuApi* | [**ChangeEmail**](docs/TribufuApi.md#changeemail) | **PUT** /v1/users/{id}/email | Change the email of a user.
+*TribufuApi* | [**ChangePassword**](docs/TribufuApi.md#changepassword) | **PUT** /v1/users/{id}/password | Change the password of a user.
+*TribufuApi* | [**ClaimGameServer**](docs/TribufuApi.md#claimgameserver) | **PUT** /v1/servers/{id}/claim | Claim a game server.
+*TribufuApi* | [**ConvertBase64**](docs/TribufuApi.md#convertbase64) | **POST** /v1/utils/base64 | Convert a string to base64 or vice versa.
+*TribufuApi* | [**CreateGameServer**](docs/TribufuApi.md#creategameserver) | **POST** /v1/servers | Create a new game server.
+*TribufuApi* | [**CreateGameServerCluster**](docs/TribufuApi.md#creategameservercluster) | **POST** /v1/clusters | Create a new game server cluster.
+*TribufuApi* | [**CreateGroup**](docs/TribufuApi.md#creategroup) | **POST** /v1/groups | Create a new group.
+*TribufuApi* | [**CreateToken**](docs/TribufuApi.md#createtoken) | **POST** /v1/oauth2/token | Create a new token with grant type.
+*TribufuApi* | [**DeleteGameServer**](docs/TribufuApi.md#deletegameserver) | **DELETE** /v1/servers/{id} | Delete a game server.
+*TribufuApi* | [**DeleteGameServerCluster**](docs/TribufuApi.md#deletegameservercluster) | **DELETE** /v1/clusters/{id} | Delete a game server cluster.
+*TribufuApi* | [**DeleteGroup**](docs/TribufuApi.md#deletegroup) | **DELETE** /v1/groups/{id} | Delete a group.
+*TribufuApi* | [**GenerateFlakeId**](docs/TribufuApi.md#generateflakeid) | **GET** /v1/utils/flake | Generate one or more flake ids.
+*TribufuApi* | [**GenerateFlakeIdFromTimestamp**](docs/TribufuApi.md#generateflakeidfromtimestamp) | **GET** /v1/utils/flake/{timestamp} | Generate one or more flake ids from a timestamp.
+*TribufuApi* | [**GeneratePassword**](docs/TribufuApi.md#generatepassword) | **GET** /v1/utils/password | Generate a random password.
+*TribufuApi* | [**GenerateUuid**](docs/TribufuApi.md#generateuuid) | **GET** /v1/utils/uuid | Generate one or more uuids with a specific version.
+*TribufuApi* | [**GetClientInfo**](docs/TribufuApi.md#getclientinfo) | **GET** /v1/oauth2/clientinfo | Get current client information.
+*TribufuApi* | [**GetCurrentIpAddress**](docs/TribufuApi.md#getcurrentipaddress) | **GET** /v1/geoip | Get current ip address location.
+*TribufuApi* | [**GetGameById**](docs/TribufuApi.md#getgamebyid) | **GET** /v1/games/{id} | Get a game by id.
+*TribufuApi* | [**GetGameClustersByGameId**](docs/TribufuApi.md#getgameclustersbygameid) | **GET** /v1/games/{id}/clusters | Get a list of game server clusters of a game.
+*TribufuApi* | [**GetGameItems**](docs/TribufuApi.md#getgameitems) | **GET** /v1/games/{id}/items | Get a list of game items.
+*TribufuApi* | [**GetGameServerByAddressAndQueryPort**](docs/TribufuApi.md#getgameserverbyaddressandqueryport) | **GET** /v1/servers/address/{address}:{port} | Get a game server by address and query port.
+*TribufuApi* | [**GetGameServerById**](docs/TribufuApi.md#getgameserverbyid) | **GET** /v1/servers/{id} | Get a game server by id.
+*TribufuApi* | [**GetGameServerClusterById**](docs/TribufuApi.md#getgameserverclusterbyid) | **GET** /v1/clusters/{id} | Get a game server cluster by id.
+*TribufuApi* | [**GetGameServerClusters**](docs/TribufuApi.md#getgameserverclusters) | **GET** /v1/clusters | Get a list of game server clusters.
+*TribufuApi* | [**GetGameServers**](docs/TribufuApi.md#getgameservers) | **GET** /v1/servers | Get a list of game servers.
+*TribufuApi* | [**GetGameServersByCountry**](docs/TribufuApi.md#getgameserversbycountry) | **GET** /v1/servers/country/{country} | Get a list of game servers from a country.
+*TribufuApi* | [**GetGameServersByGameId**](docs/TribufuApi.md#getgameserversbygameid) | **GET** /v1/games/{id}/servers | Get a list of game servers of a game.
+*TribufuApi* | [**GetGameServersCountries**](docs/TribufuApi.md#getgameserverscountries) | **GET** /v1/servers/countries | Get a list of countries with the number of game servers.
+*TribufuApi* | [**GetGameServersMetrics**](docs/TribufuApi.md#getgameserversmetrics) | **GET** /v1/servers/metrics | Get metrics about the tracked game servers.
+*TribufuApi* | [**GetGames**](docs/TribufuApi.md#getgames) | **GET** /v1/games | Get a list of games.
+*TribufuApi* | [**GetGroupById**](docs/TribufuApi.md#getgroupbyid) | **GET** /v1/groups/{id} | Get a group by id.
+*TribufuApi* | [**GetGroupByTag**](docs/TribufuApi.md#getgroupbytag) | **GET** /v1/groups/tag/{tag} | Get a group by tag.
+*TribufuApi* | [**GetGroupByUuid**](docs/TribufuApi.md#getgroupbyuuid) | **GET** /v1/groups/uuid/{uuid} | Get a group by uuid.
+*TribufuApi* | [**GetGroupGames**](docs/TribufuApi.md#getgroupgames) | **GET** /v1/groups/{id}/games | Get a list of games of a group.
+*TribufuApi* | [**GetGroupMembers**](docs/TribufuApi.md#getgroupmembers) | **GET** /v1/groups/{id}/members | Get a list of members in a group.
+*TribufuApi* | [**GetGroups**](docs/TribufuApi.md#getgroups) | **GET** /v1/groups | Get a list of groups.
+*TribufuApi* | [**GetIpAddress**](docs/TribufuApi.md#getipaddress) | **GET** /v1/geoip/addresses/{address} | Get a ip address location.
+*TribufuApi* | [**GetIpAddresses**](docs/TribufuApi.md#getipaddresses) | **GET** /v1/geoip/addresses | Get a list of ip addresses.
+*TribufuApi* | [**GetLeaderboard**](docs/TribufuApi.md#getleaderboard) | **GET** /v1/leaderboard | Get the top 20 leaderboard users.
+*TribufuApi* | [**GetMe**](docs/TribufuApi.md#getme) | **GET** /v1/me | Get current user information.
+*TribufuApi* | [**GetPackageById**](docs/TribufuApi.md#getpackagebyid) | **GET** /v1/packages/{id} | Get a package by id.
+*TribufuApi* | [**GetPackages**](docs/TribufuApi.md#getpackages) | **GET** /v1/packages | Get a list of packages.
+*TribufuApi* | [**GetPublicKeys**](docs/TribufuApi.md#getpublickeys) | **GET** /v1/oauth2/jwks | Get the public keys for the client.
+*TribufuApi* | [**GetSubscriptionById**](docs/TribufuApi.md#getsubscriptionbyid) | **GET** /v1/subscriptions/{id} | Get a subscription by id.
+*TribufuApi* | [**GetSubscriptions**](docs/TribufuApi.md#getsubscriptions) | **GET** /v1/subscriptions | Get a list of subscriptions.
+*TribufuApi* | [**GetUserAccounts**](docs/TribufuApi.md#getuseraccounts) | **GET** /v1/users/{id}/accounts | Get a list of connected accounts of the user.
+*TribufuApi* | [**GetUserById**](docs/TribufuApi.md#getuserbyid) | **GET** /v1/users/{id} | Get a user profile by id.
+*TribufuApi* | [**GetUserByName**](docs/TribufuApi.md#getuserbyname) | **GET** /v1/users/name/{name} | Get a user profile by name.
+*TribufuApi* | [**GetUserByUuid**](docs/TribufuApi.md#getuserbyuuid) | **GET** /v1/users/uuid/{uuid} | Get a user profile by uuid.
+*TribufuApi* | [**GetUserFriends**](docs/TribufuApi.md#getuserfriends) | **GET** /v1/users/{id}/friends | Get a list of friends of the user.
+*TribufuApi* | [**GetUserGames**](docs/TribufuApi.md#getusergames) | **GET** /v1/users/{id}/games | Get a list of games the user has played.
+*TribufuApi* | [**GetUserGroups**](docs/TribufuApi.md#getusergroups) | **GET** /v1/users/{id}/groups | Get a list of groups the user is a member of.
+*TribufuApi* | [**GetUserInfo**](docs/TribufuApi.md#getuserinfo) | **GET** /v1/oauth2/userinfo | Get current user information.
+*TribufuApi* | [**GetUserPunishments**](docs/TribufuApi.md#getuserpunishments) | **GET** /v1/users/{id}/punishments | Get a list of punishments the user has received.
+*TribufuApi* | [**GetUserServers**](docs/TribufuApi.md#getuserservers) | **GET** /v1/users/{id}/servers | Get a list of servers the user is owner of.
+*TribufuApi* | [**GetUsers**](docs/TribufuApi.md#getusers) | **GET** /v1/users | Get a list of user profiles.
+*TribufuApi* | [**HashArgon2**](docs/TribufuApi.md#hashargon2) | **POST** /v1/utils/argon2 | Hash a string using argon2.
+*TribufuApi* | [**HashBcrypt**](docs/TribufuApi.md#hashbcrypt) | **POST** /v1/utils/bcrypt | Hash a string using bcrypt.
+*TribufuApi* | [**HashMd5**](docs/TribufuApi.md#hashmd5) | **POST** /v1/utils/md5 | Hash a string using md5.
+*TribufuApi* | [**HashSha256**](docs/TribufuApi.md#hashsha256) | **POST** /v1/utils/sha256 | Hash a string using sha256.
+*TribufuApi* | [**IntrospectToken**](docs/TribufuApi.md#introspecttoken) | **POST** /v1/oauth2/introspect | Introspect a token.
+*TribufuApi* | [**Login**](docs/TribufuApi.md#login) | **POST** /v1/login | Login with name or email and password.
+*TribufuApi* | [**Logout**](docs/TribufuApi.md#logout) | **POST** /v1/logout | Invalidate credentials.
+*TribufuApi* | [**Refresh**](docs/TribufuApi.md#refresh) | **POST** /v1/refresh | Refresh credentials.
+*TribufuApi* | [**Register**](docs/TribufuApi.md#register) | **POST** /v1/register | Create a new user.
+*TribufuApi* | [**RevokeToken**](docs/TribufuApi.md#revoketoken) | **POST** /v1/oauth2/revoke | Revoke a token.
+*TribufuApi* | [**Search**](docs/TribufuApi.md#search) | **POST** /v1/search | Advanced search for servers or players.
+*TribufuApi* | [**UpdateGameServer**](docs/TribufuApi.md#updategameserver) | **PUT** /v1/servers/{id} | Update a game server.
+*TribufuApi* | [**UpdateGameServerCluster**](docs/TribufuApi.md#updategameservercluster) | **PUT** /v1/clusters/{id} | Update a game server cluster.
+*TribufuApi* | [**UpdateGroup**](docs/TribufuApi.md#updategroup) | **PUT** /v1/groups/{id} | Update a group.
+*TribufuApi* | [**UpdateUserProfile**](docs/TribufuApi.md#updateuserprofile) | **PUT** /v1/users/{id}/profile | Update a user profile.
+
+
+
+## Documentation for Models
+
+ - [Model.Account](docs/Account.md)
+ - [Model.Application](docs/Application.md)
+ - [Model.ApplicationType](docs/ApplicationType.md)
+ - [Model.AuthorizeRequest](docs/AuthorizeRequest.md)
+ - [Model.CodeChallengeMethod](docs/CodeChallengeMethod.md)
+ - [Model.CryptoViewModel](docs/CryptoViewModel.md)
+ - [Model.Game](docs/Game.md)
+ - [Model.GameServer](docs/GameServer.md)
+ - [Model.GameServerCluster](docs/GameServerCluster.md)
+ - [Model.GrantType](docs/GrantType.md)
+ - [Model.Group](docs/Group.md)
+ - [Model.GroupGame](docs/GroupGame.md)
+ - [Model.GroupMember](docs/GroupMember.md)
+ - [Model.GroupRank](docs/GroupRank.md)
+ - [Model.HashViewModel](docs/HashViewModel.md)
+ - [Model.IntrospectRequest](docs/IntrospectRequest.md)
+ - [Model.IpAddress](docs/IpAddress.md)
+ - [Model.LeaderboardItem](docs/LeaderboardItem.md)
+ - [Model.LeaderboardOrder](docs/LeaderboardOrder.md)
+ - [Model.LoginProvider](docs/LoginProvider.md)
+ - [Model.LoginRequest](docs/LoginRequest.md)
+ - [Model.LoginResponse](docs/LoginResponse.md)
+ - [Model.Package](docs/Package.md)
+ - [Model.Profile](docs/Profile.md)
+ - [Model.ProfileGame](docs/ProfileGame.md)
+ - [Model.ProfileGroup](docs/ProfileGroup.md)
+ - [Model.RefreshRequest](docs/RefreshRequest.md)
+ - [Model.RegisterRequest](docs/RegisterRequest.md)
+ - [Model.ResponseType](docs/ResponseType.md)
+ - [Model.RevokeRequest](docs/RevokeRequest.md)
+ - [Model.SearchRequest](docs/SearchRequest.md)
+ - [Model.SearchType](docs/SearchType.md)
+ - [Model.ServerMetrics](docs/ServerMetrics.md)
+ - [Model.ServerStatus](docs/ServerStatus.md)
+ - [Model.Subscription](docs/Subscription.md)
+ - [Model.TokenHintType](docs/TokenHintType.md)
+ - [Model.TokenRequest](docs/TokenRequest.md)
+ - [Model.TokenResponse](docs/TokenResponse.md)
+ - [Model.TokenType](docs/TokenType.md)
+ - [Model.UpdateProfile](docs/UpdateProfile.md)
+ - [Model.UserInfo](docs/UserInfo.md)
+ - [Model.UserType](docs/UserType.md)
+
+
+
+## Documentation for Authorization
+
+
+Authentication schemes defined for the API:
+
+### ApiKey
+
+- **Type**: API key
+- **API key parameter name**: Authorization
+- **Location**: HTTP header
-[MIT License]: https://github.com/tribufu/sdk-dotnet/blob/main/LICENSE.txt
diff --git a/Tribufu.Sdk.sln b/Tribufu.Sdk.sln
deleted file mode 100644
index 1f89370..0000000
--- a/Tribufu.Sdk.sln
+++ /dev/null
@@ -1,50 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 16
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tribufu.Native", "src\Tribufu.Native\Tribufu.Native.csproj", "{C66D6B57-324D-EAF2-3B65-75C9A7C35054}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tribufu.Serialization", "vendor\dotnet-utils\src\Tribufu.Serialization\Tribufu.Serialization.csproj", "{322FE36B-9E9B-9E66-678F-36C4D3BAC0CE}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tribufu.Serialization.Newtonsoft", "vendor\dotnet-utils\src\Tribufu.Serialization.Newtonsoft\Tribufu.Serialization.Newtonsoft.csproj", "{B7019B7B-A352-86BD-CCB6-747FB8661927}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tribufu", "src\Tribufu\Tribufu.csproj", "{7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tribufu.Utils", "vendor\dotnet-utils\src\Tribufu.Utils\Tribufu.Utils.csproj", "{8F16FBBB-199E-4EE3-BFF3-31DD6F84DCD0}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tribufu.ComponentModel", "vendor\dotnet-utils\src\Tribufu.ComponentModel\Tribufu.ComponentModel.csproj", "{3DFBC35E-62A7-4CB0-81D9-5E7AA1882557}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {C66D6B57-324D-EAF2-3B65-75C9A7C35054}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {C66D6B57-324D-EAF2-3B65-75C9A7C35054}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {C66D6B57-324D-EAF2-3B65-75C9A7C35054}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {C66D6B57-324D-EAF2-3B65-75C9A7C35054}.Release|Any CPU.Build.0 = Release|Any CPU
- {322FE36B-9E9B-9E66-678F-36C4D3BAC0CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {322FE36B-9E9B-9E66-678F-36C4D3BAC0CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {322FE36B-9E9B-9E66-678F-36C4D3BAC0CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {322FE36B-9E9B-9E66-678F-36C4D3BAC0CE}.Release|Any CPU.Build.0 = Release|Any CPU
- {B7019B7B-A352-86BD-CCB6-747FB8661927}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {B7019B7B-A352-86BD-CCB6-747FB8661927}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B7019B7B-A352-86BD-CCB6-747FB8661927}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {B7019B7B-A352-86BD-CCB6-747FB8661927}.Release|Any CPU.Build.0 = Release|Any CPU
- {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Release|Any CPU.Build.0 = Release|Any CPU
- {8F16FBBB-199E-4EE3-BFF3-31DD6F84DCD0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {8F16FBBB-199E-4EE3-BFF3-31DD6F84DCD0}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {8F16FBBB-199E-4EE3-BFF3-31DD6F84DCD0}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {8F16FBBB-199E-4EE3-BFF3-31DD6F84DCD0}.Release|Any CPU.Build.0 = Release|Any CPU
- {3DFBC35E-62A7-4CB0-81D9-5E7AA1882557}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {3DFBC35E-62A7-4CB0-81D9-5E7AA1882557}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {3DFBC35E-62A7-4CB0-81D9-5E7AA1882557}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {3DFBC35E-62A7-4CB0-81D9-5E7AA1882557}.Release|Any CPU.Build.0 = Release|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
diff --git a/Tribufu.sln b/Tribufu.sln
new file mode 100644
index 0000000..b3ff43a
--- /dev/null
+++ b/Tribufu.sln
@@ -0,0 +1,60 @@
+
+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
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Debug|x64 = Debug|x64
+ Debug|x86 = Debug|x86
+ Release|Any CPU = Release|Any CPU
+ Release|x64 = Release|x64
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Debug|x64.Build.0 = Debug|Any CPU
+ {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Debug|x86.Build.0 = Debug|Any CPU
+ {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7B7890D8-863A-4F1D-98C0-4B7D8C46CB52}.Release|x64.ActiveCfg = Release|Any CPU
+ {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
+ {D6392A29-E2DC-4050-B4C1-B279DD2D226D}.Debug|x64.Build.0 = Debug|Any CPU
+ {D6392A29-E2DC-4050-B4C1-B279DD2D226D}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {D6392A29-E2DC-4050-B4C1-B279DD2D226D}.Debug|x86.Build.0 = Debug|Any CPU
+ {D6392A29-E2DC-4050-B4C1-B279DD2D226D}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D6392A29-E2DC-4050-B4C1-B279DD2D226D}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D6392A29-E2DC-4050-B4C1-B279DD2D226D}.Release|x64.ActiveCfg = Release|Any CPU
+ {D6392A29-E2DC-4050-B4C1-B279DD2D226D}.Release|x64.Build.0 = Release|Any CPU
+ {D6392A29-E2DC-4050-B4C1-B279DD2D226D}.Release|x86.ActiveCfg = Release|Any CPU
+ {D6392A29-E2DC-4050-B4C1-B279DD2D226D}.Release|x86.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/scripts/generate.ps1 b/scripts/generate.ps1
new file mode 100644
index 0000000..c2c8b9a
--- /dev/null
+++ b/scripts/generate.ps1
@@ -0,0 +1,12 @@
+#!/usr/bin/env pwsh
+
+$env:CSHARP_POST_PROCESS_FILE = ""
+
+java -jar ./vendor/openapi-generator/openapi-generator-cli.jar generate `
+ -i https://api.tribufu.com/openapi.json `
+ -g csharp `
+ -o . `
+ --global-property apis,models,supportingFiles,apiDocs=false,modelDocs=false,apiTests=false,modelTests=false `
+ --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/scripts/nswag.ps1 b/scripts/nswag.ps1
deleted file mode 100644
index 13d4968..0000000
--- a/scripts/nswag.ps1
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/env sh
-
-nswag run ./src/Tribufu/api.nswag
diff --git a/scripts/pack.sh b/scripts/package.sh
similarity index 100%
rename from scripts/pack.sh
rename to scripts/package.sh
diff --git a/src/Tribufu.Example/Program.cs b/src/Tribufu.Example/Program.cs
new file mode 100644
index 0000000..5462790
--- /dev/null
+++ b/src/Tribufu.Example/Program.cs
@@ -0,0 +1,31 @@
+// Copyright (c) Tribufu. All Rights Reserved.
+// SPDX-License-Identifier: UNLICENSED
+
+using dotenv.net;
+using Tribufu.Generated.Client;
+
+namespace Tribufu.Test
+{
+ public static class Program
+ {
+ public static async Task Main(string[] args)
+ {
+ DotEnv.Load(new DotEnvOptions(ignoreExceptions: true, envFilePaths: [".env", "../../.env"]));
+
+ var apiKey = Environment.GetEnvironmentVariable("TRIBUFU_API_KEY");
+ var tribufu = new TribufuApi(apiKey ?? "");
+
+ Console.WriteLine(TribufuApi.GetVersion());
+
+ try
+ {
+ var result = await tribufu.GetUserInfoAsync();
+ Console.WriteLine(result);
+ }
+ catch (ApiException e)
+ {
+ Console.WriteLine(e.Message);
+ }
+ }
+ }
+}
diff --git a/src/Tribufu.Example/Tribufu.Example.csproj b/src/Tribufu.Example/Tribufu.Example.csproj
new file mode 100644
index 0000000..25a4537
--- /dev/null
+++ b/src/Tribufu.Example/Tribufu.Example.csproj
@@ -0,0 +1,11 @@
+
+
+ enable
+ enable
+ Exe
+ net8.0
+
+
+
+
+
diff --git a/src/Tribufu.Generated/Api/TribufuGeneratedApi.cs b/src/Tribufu.Generated/Api/TribufuGeneratedApi.cs
new file mode 100644
index 0000000..4575450
--- /dev/null
+++ b/src/Tribufu.Generated/Api/TribufuGeneratedApi.cs
@@ -0,0 +1,15035 @@
+/*
+ * 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.Generic;
+using System.Collections.ObjectModel;
+using System.Linq;
+using System.Net;
+using System.Net.Mime;
+using Tribufu.Generated.Client;
+using Tribufu.Generated.Model;
+
+namespace Tribufu.Generated.Api
+{
+
+ ///
+ /// Represents a collection of functions to interact with the API endpoints
+ ///
+ public interface ITribufuGeneratedApiSync : IApiAccessor
+ {
+ #region Synchronous Operations
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ void Authorize(AuthorizeRequest? authorizeRequest = default(AuthorizeRequest?), int operationIndex = 0);
+
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse AuthorizeWithHttpInfo(AuthorizeRequest? authorizeRequest = default(AuthorizeRequest?), int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ void ChangeEmail(string id, Object? body = default(Object?), int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse ChangeEmailWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ void ChangePassword(string id, Object? body = default(Object?), int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse ChangePasswordWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ void ClaimGameServer(string id, Object? body = default(Object?), int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse ClaimGameServerWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0);
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ /// CryptoViewModel
+ CryptoViewModel ConvertBase64(CryptoViewModel? cryptoViewModel = default(CryptoViewModel?), int operationIndex = 0);
+
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of CryptoViewModel
+ ApiResponse ConvertBase64WithHttpInfo(CryptoViewModel? cryptoViewModel = default(CryptoViewModel?), int operationIndex = 0);
+ ///
+ /// Create a new game server.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ void CreateGameServer(Object? body = default(Object?), int operationIndex = 0);
+
+ ///
+ /// Create a new game server.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse CreateGameServerWithHttpInfo(Object? body = default(Object?), int operationIndex = 0);
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ void CreateGameServerCluster(Object? body = default(Object?), int operationIndex = 0);
+
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse CreateGameServerClusterWithHttpInfo(Object? body = default(Object?), int operationIndex = 0);
+ ///
+ /// Create a new group.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ void CreateGroup(Object? body = default(Object?), int operationIndex = 0);
+
+ ///
+ /// Create a new group.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse CreateGroupWithHttpInfo(Object? body = default(Object?), int operationIndex = 0);
+ ///
+ /// Create a new token with grant type.
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// TokenResponse
+ TokenResponse CreateToken(TokenRequest? tokenRequest = default(TokenRequest?), int operationIndex = 0);
+
+ ///
+ /// Create a new token with grant type.
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of TokenResponse
+ ApiResponse CreateTokenWithHttpInfo(TokenRequest? tokenRequest = default(TokenRequest?), int operationIndex = 0);
+ ///
+ /// Delete a game server.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.delete</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ ///
+ void DeleteGameServer(string id, int operationIndex = 0);
+
+ ///
+ /// Delete a game server.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.delete</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse DeleteGameServerWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// Delete a game server cluster.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.delete</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ ///
+ void DeleteGameServerCluster(string id, int operationIndex = 0);
+
+ ///
+ /// Delete a game server cluster.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.delete</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse DeleteGameServerClusterWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// Delete a group.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.delete</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ ///
+ void DeleteGroup(string id, int operationIndex = 0);
+
+ ///
+ /// Delete a group.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.delete</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse DeleteGroupWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// Generate one or more flake ids.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<string>
+ List GenerateFlakeId(int? amount = default(int?), int operationIndex = 0);
+
+ ///
+ /// Generate one or more flake ids.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<string>
+ ApiResponse> GenerateFlakeIdWithHttpInfo(int? amount = default(int?), int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<string>
+ List GenerateFlakeIdFromTimestamp(string timestamp, int? amount = default(int?), int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<string>
+ ApiResponse> GenerateFlakeIdFromTimestampWithHttpInfo(string timestamp, int? amount = default(int?), int operationIndex = 0);
+ ///
+ /// Generate a random password.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.password</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// HashViewModel
+ HashViewModel GeneratePassword(int? length = default(int?), bool? symbols = default(bool?), int operationIndex = 0);
+
+ ///
+ /// Generate a random password.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.password</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of HashViewModel
+ ApiResponse GeneratePasswordWithHttpInfo(int? length = default(int?), bool? symbols = default(bool?), int operationIndex = 0);
+ ///
+ /// 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
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<Guid>
+ List GenerateUuid(int? version = default(int?), int? amount = default(int?), int operationIndex = 0);
+
+ ///
+ /// 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
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<Guid>
+ ApiResponse> GenerateUuidWithHttpInfo(int? version = default(int?), int? amount = default(int?), int operationIndex = 0);
+ ///
+ /// Get current client information.
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ ///
+ void GetClientInfo(int operationIndex = 0);
+
+ ///
+ /// Get current client information.
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse GetClientInfoWithHttpInfo(int operationIndex = 0);
+ ///
+ /// Get current ip address location.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.current</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// List<IpAddress>
+ List GetCurrentIpAddress(int operationIndex = 0);
+
+ ///
+ /// Get current ip address location.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.current</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// ApiResponse of List<IpAddress>
+ ApiResponse> GetCurrentIpAddressWithHttpInfo(int operationIndex = 0);
+ ///
+ /// Get a game by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Game
+ Game GetGameById(string id, int operationIndex = 0);
+
+ ///
+ /// Get a game by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of Game
+ ApiResponse GetGameByIdWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<GameServerCluster>
+ List GetGameClustersByGameId(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<GameServerCluster>
+ ApiResponse> GetGameClustersByGameIdWithHttpInfo(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+ ///
+ /// Get a list of game items.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.item.list</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<Object>
+ List GetGameItems(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+
+ ///
+ /// Get a list of game items.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.item.list</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<Object>
+ ApiResponse> GetGameItemsWithHttpInfo(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ ///
+ /// Index associated with the operation.
+ /// GameServer
+ GameServer GetGameServerByAddressAndQueryPort(string address, int port, int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of GameServer
+ ApiResponse GetGameServerByAddressAndQueryPortWithHttpInfo(string address, int port, int operationIndex = 0);
+ ///
+ /// Get a game server by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// GameServer
+ GameServer GetGameServerById(string id, int operationIndex = 0);
+
+ ///
+ /// Get a game server by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of GameServer
+ ApiResponse GetGameServerByIdWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// GameServerCluster
+ GameServerCluster GetGameServerClusterById(string id, int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of GameServerCluster
+ ApiResponse GetGameServerClusterByIdWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// 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
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<GameServerCluster>
+ List GetGameServerClusters(int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+
+ ///
+ /// 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
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<GameServerCluster>
+ ApiResponse> GetGameServerClustersWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+ ///
+ /// Get a list of game servers.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<GameServer>
+ List GetGameServers(int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+
+ ///
+ /// Get a list of game servers.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<GameServer>
+ ApiResponse> GetGameServersWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<GameServer>
+ List GetGameServersByCountry(string country, int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<GameServer>
+ ApiResponse> GetGameServersByCountryWithHttpInfo(string country, int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<GameServer>
+ List GetGameServersByGameId(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<GameServer>
+ ApiResponse> GetGameServersByGameIdWithHttpInfo(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+ ///
+ /// 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
+ /// Index associated with the operation.
+ /// Dictionary<string, int>
+ Dictionary GetGameServersCountries(int operationIndex = 0);
+
+ ///
+ /// 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
+ /// Index associated with the operation.
+ /// ApiResponse of Dictionary<string, int>
+ ApiResponse> GetGameServersCountriesWithHttpInfo(int operationIndex = 0);
+ ///
+ /// 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
+ /// Index associated with the operation.
+ /// ServerMetrics
+ ServerMetrics GetGameServersMetrics(int operationIndex = 0);
+
+ ///
+ /// 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
+ /// Index associated with the operation.
+ /// ApiResponse of ServerMetrics
+ ApiResponse GetGameServersMetricsWithHttpInfo(int operationIndex = 0);
+ ///
+ /// Get a list of games.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// List<Game>
+ List GetGames(int operationIndex = 0);
+
+ ///
+ /// Get a list of games.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// ApiResponse of List<Game>
+ ApiResponse> GetGamesWithHttpInfo(int operationIndex = 0);
+ ///
+ /// Get a group by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Group
+ Group GetGroupById(string id, int operationIndex = 0);
+
+ ///
+ /// Get a group by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of Group
+ ApiResponse GetGroupByIdWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// Get a group by tag.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.tag</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Group
+ Group GetGroupByTag(string tag, int operationIndex = 0);
+
+ ///
+ /// Get a group by tag.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.tag</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of Group
+ ApiResponse GetGroupByTagWithHttpInfo(string tag, int operationIndex = 0);
+ ///
+ /// Get a group by uuid.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.uuid</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Group
+ Group GetGroupByUuid(Guid uuid, int operationIndex = 0);
+
+ ///
+ /// Get a group by uuid.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.uuid</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of Group
+ ApiResponse GetGroupByUuidWithHttpInfo(Guid uuid, int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// List<GroupGame>
+ List GetGroupGames(string id, int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of List<GroupGame>
+ ApiResponse> GetGroupGamesWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// List<GroupMember>
+ List GetGroupMembers(string id, int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of List<GroupMember>
+ ApiResponse> GetGroupMembersWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// Get a list of groups.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<Group>
+ List GetGroups(int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+
+ ///
+ /// Get a list of groups.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<Group>
+ ApiResponse> GetGroupsWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+ ///
+ /// Get a ip address location.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// IpAddress
+ IpAddress GetIpAddress(string address, int operationIndex = 0);
+
+ ///
+ /// Get a ip address location.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of IpAddress
+ ApiResponse GetIpAddressWithHttpInfo(string address, int operationIndex = 0);
+ ///
+ /// Get a list of ip addresses.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<IpAddress>
+ List GetIpAddresses(int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+
+ ///
+ /// Get a list of ip addresses.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<IpAddress>
+ ApiResponse> GetIpAddressesWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+ ///
+ /// Get the top 20 leaderboard users.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.leaderboard.get</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<LeaderboardItem>
+ List GetLeaderboard(LeaderboardOrder? order = default(LeaderboardOrder?), int operationIndex = 0);
+
+ ///
+ /// Get the top 20 leaderboard users.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.leaderboard.get</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<LeaderboardItem>
+ ApiResponse> GetLeaderboardWithHttpInfo(LeaderboardOrder? order = default(LeaderboardOrder?), int operationIndex = 0);
+ ///
+ /// Get current user information.
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// UserInfo
+ [Obsolete]
+ UserInfo GetMe(int operationIndex = 0);
+
+ ///
+ /// Get current user information.
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// ApiResponse of UserInfo
+ [Obsolete]
+ ApiResponse GetMeWithHttpInfo(int operationIndex = 0);
+ ///
+ /// Get a package by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Package
+ Package GetPackageById(string id, int operationIndex = 0);
+
+ ///
+ /// Get a package by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of Package
+ ApiResponse GetPackageByIdWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// Get a list of packages.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<Package>
+ List GetPackages(int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+
+ ///
+ /// Get a list of packages.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<Package>
+ ApiResponse> GetPackagesWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+ ///
+ /// 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
+ /// Index associated with the operation.
+ ///
+ void GetPublicKeys(int operationIndex = 0);
+
+ ///
+ /// 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
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse GetPublicKeysWithHttpInfo(int operationIndex = 0);
+ ///
+ /// Get a subscription by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Subscription
+ Subscription GetSubscriptionById(string id, int operationIndex = 0);
+
+ ///
+ /// Get a subscription by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of Subscription
+ ApiResponse GetSubscriptionByIdWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// Get a list of subscriptions.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<Subscription>
+ List GetSubscriptions(int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+
+ ///
+ /// Get a list of subscriptions.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<Subscription>
+ ApiResponse> GetSubscriptionsWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// List<Account>
+ List GetUserAccounts(string id, int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of List<Account>
+ ApiResponse> GetUserAccountsWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// Get a user profile by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Profile
+ Profile GetUserById(string id, int operationIndex = 0);
+
+ ///
+ /// Get a user profile by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of Profile
+ ApiResponse GetUserByIdWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// Get a user profile by name.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.name</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Profile
+ Profile GetUserByName(string name, int operationIndex = 0);
+
+ ///
+ /// Get a user profile by name.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.name</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of Profile
+ ApiResponse GetUserByNameWithHttpInfo(string name, int operationIndex = 0);
+ ///
+ /// Get a user profile by uuid.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.uuid</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Profile
+ Profile GetUserByUuid(Guid uuid, int operationIndex = 0);
+
+ ///
+ /// Get a user profile by uuid.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.uuid</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of Profile
+ ApiResponse GetUserByUuidWithHttpInfo(Guid uuid, int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// List<Object>
+ List GetUserFriends(string id, int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of List<Object>
+ ApiResponse> GetUserFriendsWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// List<ProfileGame>
+ List GetUserGames(string id, int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of List<ProfileGame>
+ ApiResponse> GetUserGamesWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// List<ProfileGroup>
+ List GetUserGroups(string id, int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of List<ProfileGroup>
+ ApiResponse> GetUserGroupsWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// Get current user information.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.user.info</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// UserInfo
+ UserInfo GetUserInfo(int operationIndex = 0);
+
+ ///
+ /// Get current user information.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.user.info</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// ApiResponse of UserInfo
+ ApiResponse GetUserInfoWithHttpInfo(int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// List<Object>
+ List GetUserPunishments(string id, int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// ApiResponse of List<Object>
+ ApiResponse> GetUserPunishmentsWithHttpInfo(string id, int operationIndex = 0);
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<GameServer>
+ List GetUserServers(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<GameServer>
+ ApiResponse> GetUserServersWithHttpInfo(string id, int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+ ///
+ /// Get a list of user profiles.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<Profile>
+ List GetUsers(int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+
+ ///
+ /// Get a list of user profiles.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<Profile>
+ ApiResponse> GetUsersWithHttpInfo(int? page = default(int?), int? limit = default(int?), int operationIndex = 0);
+ ///
+ /// Hash a string using argon2.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.argon2</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// HashViewModel
+ HashViewModel HashArgon2(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0);
+
+ ///
+ /// Hash a string using argon2.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.argon2</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of HashViewModel
+ ApiResponse HashArgon2WithHttpInfo(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0);
+ ///
+ /// Hash a string using bcrypt.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.bcrypt</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// HashViewModel
+ HashViewModel HashBcrypt(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0);
+
+ ///
+ /// Hash a string using bcrypt.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.bcrypt</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of HashViewModel
+ ApiResponse HashBcryptWithHttpInfo(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0);
+ ///
+ /// Hash a string using md5.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.md5</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// HashViewModel
+ HashViewModel HashMd5(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0);
+
+ ///
+ /// Hash a string using md5.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.md5</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of HashViewModel
+ ApiResponse HashMd5WithHttpInfo(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0);
+ ///
+ /// Hash a string using sha256.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.sha256</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// HashViewModel
+ HashViewModel HashSha256(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0);
+
+ ///
+ /// Hash a string using sha256.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.sha256</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of HashViewModel
+ ApiResponse HashSha256WithHttpInfo(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0);
+ ///
+ /// Introspect a token.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.introspect</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ void IntrospectToken(IntrospectRequest? introspectRequest = default(IntrospectRequest?), int operationIndex = 0);
+
+ ///
+ /// Introspect a token.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.introspect</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse IntrospectTokenWithHttpInfo(IntrospectRequest? introspectRequest = default(IntrospectRequest?), int operationIndex = 0);
+ ///
+ /// Login with name or email and password.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// LoginResponse
+ [Obsolete]
+ LoginResponse Login(LoginRequest? loginRequest = default(LoginRequest?), int operationIndex = 0);
+
+ ///
+ /// Login with name or email and password.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of LoginResponse
+ [Obsolete]
+ ApiResponse LoginWithHttpInfo(LoginRequest? loginRequest = default(LoginRequest?), int operationIndex = 0);
+ ///
+ /// Invalidate credentials.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.revoke</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ ///
+ [Obsolete]
+ void Logout(int operationIndex = 0);
+
+ ///
+ /// Invalidate credentials.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.revoke</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ [Obsolete]
+ ApiResponse LogoutWithHttpInfo(int operationIndex = 0);
+ ///
+ /// Refresh credentials.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.refresh</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// LoginResponse
+ [Obsolete]
+ LoginResponse Refresh(RefreshRequest? refreshRequest = default(RefreshRequest?), int operationIndex = 0);
+
+ ///
+ /// Refresh credentials.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.refresh</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of LoginResponse
+ [Obsolete]
+ ApiResponse RefreshWithHttpInfo(RefreshRequest? refreshRequest = default(RefreshRequest?), int operationIndex = 0);
+ ///
+ /// Create a new user.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.user.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// LoginResponse
+ LoginResponse Register(RegisterRequest? registerRequest = default(RegisterRequest?), int operationIndex = 0);
+
+ ///
+ /// Create a new user.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.user.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of LoginResponse
+ ApiResponse RegisterWithHttpInfo(RegisterRequest? registerRequest = default(RegisterRequest?), int operationIndex = 0);
+ ///
+ /// Revoke a token.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.revoke</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ void RevokeToken(RevokeRequest? revokeRequest = default(RevokeRequest?), int operationIndex = 0);
+
+ ///
+ /// Revoke a token.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.revoke</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse RevokeTokenWithHttpInfo(RevokeRequest? revokeRequest = default(RevokeRequest?), int operationIndex = 0);
+ ///
+ /// Advanced search for servers or players.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.search</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// List<Object>
+ List Search(SearchRequest? searchRequest = default(SearchRequest?), int operationIndex = 0);
+
+ ///
+ /// Advanced search for servers or players.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.search</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of List<Object>
+ ApiResponse> SearchWithHttpInfo(SearchRequest? searchRequest = default(SearchRequest?), int operationIndex = 0);
+ ///
+ /// Update a game server.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ void UpdateGameServer(string id, Object? body = default(Object?), int operationIndex = 0);
+
+ ///
+ /// Update a game server.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse UpdateGameServerWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0);
+ ///
+ /// Update a game server cluster.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ void UpdateGameServerCluster(string id, Object? body = default(Object?), int operationIndex = 0);
+
+ ///
+ /// Update a game server cluster.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse UpdateGameServerClusterWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0);
+ ///
+ /// Update a group.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ void UpdateGroup(string id, Object? body = default(Object?), int operationIndex = 0);
+
+ ///
+ /// Update a group.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ ApiResponse UpdateGroupWithHttpInfo(string id, Object? body = default(Object?), int operationIndex = 0);
+ ///
+ /// Update a user profile.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Profile
+ Profile UpdateUserProfile(string id, UpdateProfile? updateProfile = default(UpdateProfile?), int operationIndex = 0);
+
+ ///
+ /// Update a user profile.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Profile
+ ApiResponse UpdateUserProfileWithHttpInfo(string id, UpdateProfile? updateProfile = default(UpdateProfile?), int operationIndex = 0);
+ #endregion Synchronous Operations
+ }
+
+ ///
+ /// Represents a collection of functions to interact with the API endpoints
+ ///
+ public interface ITribufuGeneratedApiAsync : IApiAccessor
+ {
+ #region Asynchronous Operations
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task AuthorizeAsync(AuthorizeRequest? authorizeRequest = default(AuthorizeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> AuthorizeWithHttpInfoAsync(AuthorizeRequest? authorizeRequest = default(AuthorizeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task ChangeEmailAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> ChangeEmailWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task ChangePasswordAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> ChangePasswordWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task ClaimGameServerAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> ClaimGameServerWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of CryptoViewModel
+ System.Threading.Tasks.Task ConvertBase64Async(CryptoViewModel? cryptoViewModel = default(CryptoViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (CryptoViewModel)
+ System.Threading.Tasks.Task> ConvertBase64WithHttpInfoAsync(CryptoViewModel? cryptoViewModel = default(CryptoViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Create a new game server.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task CreateGameServerAsync(Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Create a new game server.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> CreateGameServerWithHttpInfoAsync(Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task CreateGameServerClusterAsync(Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> CreateGameServerClusterWithHttpInfoAsync(Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Create a new group.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task CreateGroupAsync(Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Create a new group.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> CreateGroupWithHttpInfoAsync(Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Create a new token with grant type.
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of TokenResponse
+ System.Threading.Tasks.Task CreateTokenAsync(TokenRequest? tokenRequest = default(TokenRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Create a new token with grant type.
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (TokenResponse)
+ System.Threading.Tasks.Task> CreateTokenWithHttpInfoAsync(TokenRequest? tokenRequest = default(TokenRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Delete a game server.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.delete</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task DeleteGameServerAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Delete a game server.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.delete</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> DeleteGameServerWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Delete a game server cluster.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.delete</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task DeleteGameServerClusterAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Delete a game server cluster.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.delete</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> DeleteGameServerClusterWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Delete a group.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.delete</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task DeleteGroupAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Delete a group.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.delete</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> DeleteGroupWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Generate one or more flake ids.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<string>
+ System.Threading.Tasks.Task> GenerateFlakeIdAsync(int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Generate one or more flake ids.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<string>)
+ System.Threading.Tasks.Task>> GenerateFlakeIdWithHttpInfoAsync(int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<string>
+ System.Threading.Tasks.Task> GenerateFlakeIdFromTimestampAsync(string timestamp, int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<string>)
+ System.Threading.Tasks.Task>> GenerateFlakeIdFromTimestampWithHttpInfoAsync(string timestamp, int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Generate a random password.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.password</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of HashViewModel
+ 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));
+
+ ///
+ /// Generate a random password.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.password</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (HashViewModel)
+ 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));
+ ///
+ /// 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
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<Guid>
+ 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));
+
+ ///
+ /// 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
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<Guid>)
+ 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));
+ ///
+ /// Get current client information.
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task GetClientInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get current client information.
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> GetClientInfoWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get current ip address location.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.current</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<IpAddress>
+ System.Threading.Tasks.Task> GetCurrentIpAddressAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get current ip address location.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.current</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<IpAddress>)
+ System.Threading.Tasks.Task>> GetCurrentIpAddressWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get a game by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of Game
+ System.Threading.Tasks.Task GetGameByIdAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get a game by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (Game)
+ System.Threading.Tasks.Task> GetGameByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<GameServerCluster>
+ 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));
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<GameServerCluster>)
+ 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));
+ ///
+ /// Get a list of game items.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.item.list</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<Object>
+ 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));
+
+ ///
+ /// Get a list of game items.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.item.list</code>
+ ///
+ /// 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>)
+ 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));
+ ///
+ /// 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
+ ///
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of GameServer
+ System.Threading.Tasks.Task GetGameServerByAddressAndQueryPortAsync(string address, int port, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ ///
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (GameServer)
+ System.Threading.Tasks.Task> GetGameServerByAddressAndQueryPortWithHttpInfoAsync(string address, int port, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get a game server by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of GameServer
+ System.Threading.Tasks.Task GetGameServerByIdAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get a game server by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (GameServer)
+ System.Threading.Tasks.Task> GetGameServerByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of GameServerCluster
+ System.Threading.Tasks.Task GetGameServerClusterByIdAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (GameServerCluster)
+ System.Threading.Tasks.Task> GetGameServerClusterByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<GameServerCluster>
+ 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));
+
+ ///
+ /// 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
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<GameServerCluster>)
+ 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));
+ ///
+ /// Get a list of game servers.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<GameServer>
+ 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));
+
+ ///
+ /// Get a list of game servers.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.list</code>
+ ///
+ /// 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>)
+ 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));
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<GameServer>
+ 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));
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<GameServer>)
+ 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));
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<GameServer>
+ 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));
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<GameServer>)
+ 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));
+ ///
+ /// 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
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of Dictionary<string, int>
+ System.Threading.Tasks.Task> GetGameServersCountriesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (Dictionary<string, int>)
+ System.Threading.Tasks.Task>> GetGameServersCountriesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ServerMetrics
+ System.Threading.Tasks.Task GetGameServersMetricsAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (ServerMetrics)
+ System.Threading.Tasks.Task> GetGameServersMetricsWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get a list of games.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<Game>
+ System.Threading.Tasks.Task> GetGamesAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get a list of games.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<Game>)
+ System.Threading.Tasks.Task>> GetGamesWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get a group by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of Group
+ System.Threading.Tasks.Task GetGroupByIdAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get a group by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (Group)
+ System.Threading.Tasks.Task> GetGroupByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get a group by tag.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.tag</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of Group
+ System.Threading.Tasks.Task GetGroupByTagAsync(string tag, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get a group by tag.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.tag</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (Group)
+ System.Threading.Tasks.Task> GetGroupByTagWithHttpInfoAsync(string tag, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get a group by uuid.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.uuid</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of Group
+ System.Threading.Tasks.Task GetGroupByUuidAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get a group by uuid.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.get.uuid</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (Group)
+ System.Threading.Tasks.Task> GetGroupByUuidWithHttpInfoAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<GroupGame>
+ System.Threading.Tasks.Task> GetGroupGamesAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<GroupGame>)
+ System.Threading.Tasks.Task>> GetGroupGamesWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<GroupMember>
+ System.Threading.Tasks.Task> GetGroupMembersAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<GroupMember>)
+ System.Threading.Tasks.Task>> GetGroupMembersWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get a list of groups.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<Group>
+ 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));
+
+ ///
+ /// Get a list of groups.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.list</code>
+ ///
+ /// 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>)
+ 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));
+ ///
+ /// Get a ip address location.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of IpAddress
+ System.Threading.Tasks.Task GetIpAddressAsync(string address, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get a ip address location.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (IpAddress)
+ System.Threading.Tasks.Task> GetIpAddressWithHttpInfoAsync(string address, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get a list of ip addresses.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<IpAddress>
+ 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));
+
+ ///
+ /// Get a list of ip addresses.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.geoip.address.list</code>
+ ///
+ /// 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>)
+ 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));
+ ///
+ /// Get the top 20 leaderboard users.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.leaderboard.get</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<LeaderboardItem>
+ System.Threading.Tasks.Task> GetLeaderboardAsync(LeaderboardOrder? order = default(LeaderboardOrder?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get the top 20 leaderboard users.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.leaderboard.get</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<LeaderboardItem>)
+ System.Threading.Tasks.Task>> GetLeaderboardWithHttpInfoAsync(LeaderboardOrder? order = default(LeaderboardOrder?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get current user information.
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of UserInfo
+ [Obsolete]
+ System.Threading.Tasks.Task GetMeAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get current user information.
+ ///
+ ///
+ ///
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (UserInfo)
+ [Obsolete]
+ System.Threading.Tasks.Task> GetMeWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get a package by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of Package
+ System.Threading.Tasks.Task GetPackageByIdAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get a package by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (Package)
+ System.Threading.Tasks.Task> GetPackageByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get a list of packages.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<Package>
+ 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));
+
+ ///
+ /// Get a list of packages.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.package.list</code>
+ ///
+ /// 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>)
+ 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));
+ ///
+ /// 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
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task GetPublicKeysAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> GetPublicKeysWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get a subscription by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of Subscription
+ System.Threading.Tasks.Task GetSubscriptionByIdAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get a subscription by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (Subscription)
+ System.Threading.Tasks.Task> GetSubscriptionByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get a list of subscriptions.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<Subscription>
+ 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));
+
+ ///
+ /// Get a list of subscriptions.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.store.subscription.list</code>
+ ///
+ /// 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>)
+ 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));
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<Account>
+ System.Threading.Tasks.Task> GetUserAccountsAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<Account>)
+ System.Threading.Tasks.Task>> GetUserAccountsWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get a user profile by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of Profile
+ System.Threading.Tasks.Task GetUserByIdAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get a user profile by id.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (Profile)
+ System.Threading.Tasks.Task> GetUserByIdWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get a user profile by name.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.name</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of Profile
+ System.Threading.Tasks.Task GetUserByNameAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get a user profile by name.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.name</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (Profile)
+ System.Threading.Tasks.Task> GetUserByNameWithHttpInfoAsync(string name, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get a user profile by uuid.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.uuid</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of Profile
+ System.Threading.Tasks.Task GetUserByUuidAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get a user profile by uuid.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.get.uuid</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (Profile)
+ System.Threading.Tasks.Task> GetUserByUuidWithHttpInfoAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<Object>
+ System.Threading.Tasks.Task> GetUserFriendsAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<Object>)
+ System.Threading.Tasks.Task>> GetUserFriendsWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<ProfileGame>
+ System.Threading.Tasks.Task> GetUserGamesAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<ProfileGame>)
+ System.Threading.Tasks.Task>> GetUserGamesWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<ProfileGroup>
+ System.Threading.Tasks.Task> GetUserGroupsAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<ProfileGroup>)
+ System.Threading.Tasks.Task>> GetUserGroupsWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Get current user information.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.user.info</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of UserInfo
+ System.Threading.Tasks.Task GetUserInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Get current user information.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.user.info</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (UserInfo)
+ System.Threading.Tasks.Task> GetUserInfoWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<Object>
+ System.Threading.Tasks.Task> GetUserPunishmentsAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// 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
+ ///
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<Object>)
+ System.Threading.Tasks.Task>> GetUserPunishmentsWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<GameServer>
+ 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));
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<GameServer>)
+ 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));
+ ///
+ /// Get a list of user profiles.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.list</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<Profile>
+ 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));
+
+ ///
+ /// Get a list of user profiles.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.list</code>
+ ///
+ /// 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>)
+ 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));
+ ///
+ /// Hash a string using argon2.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.argon2</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of HashViewModel
+ System.Threading.Tasks.Task HashArgon2Async(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Hash a string using argon2.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.argon2</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (HashViewModel)
+ System.Threading.Tasks.Task> HashArgon2WithHttpInfoAsync(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Hash a string using bcrypt.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.bcrypt</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of HashViewModel
+ System.Threading.Tasks.Task HashBcryptAsync(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Hash a string using bcrypt.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.bcrypt</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (HashViewModel)
+ System.Threading.Tasks.Task> HashBcryptWithHttpInfoAsync(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Hash a string using md5.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.md5</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of HashViewModel
+ System.Threading.Tasks.Task HashMd5Async(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Hash a string using md5.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.md5</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (HashViewModel)
+ System.Threading.Tasks.Task> HashMd5WithHttpInfoAsync(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Hash a string using sha256.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.sha256</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of HashViewModel
+ System.Threading.Tasks.Task HashSha256Async(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Hash a string using sha256.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.utils.hash.sha256</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (HashViewModel)
+ System.Threading.Tasks.Task> HashSha256WithHttpInfoAsync(HashViewModel? hashViewModel = default(HashViewModel?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Introspect a token.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.introspect</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task IntrospectTokenAsync(IntrospectRequest? introspectRequest = default(IntrospectRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Introspect a token.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.introspect</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> IntrospectTokenWithHttpInfoAsync(IntrospectRequest? introspectRequest = default(IntrospectRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Login with name or email and password.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of LoginResponse
+ [Obsolete]
+ System.Threading.Tasks.Task LoginAsync(LoginRequest? loginRequest = default(LoginRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Login with name or email and password.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (LoginResponse)
+ [Obsolete]
+ System.Threading.Tasks.Task> LoginWithHttpInfoAsync(LoginRequest? loginRequest = default(LoginRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Invalidate credentials.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.revoke</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ [Obsolete]
+ System.Threading.Tasks.Task LogoutAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Invalidate credentials.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.revoke</code>
+ ///
+ /// Thrown when fails to make API call
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ [Obsolete]
+ System.Threading.Tasks.Task> LogoutWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Refresh credentials.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.refresh</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of LoginResponse
+ [Obsolete]
+ System.Threading.Tasks.Task RefreshAsync(RefreshRequest? refreshRequest = default(RefreshRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Refresh credentials.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.token.refresh</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (LoginResponse)
+ [Obsolete]
+ System.Threading.Tasks.Task> RefreshWithHttpInfoAsync(RefreshRequest? refreshRequest = default(RefreshRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Create a new user.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.user.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of LoginResponse
+ System.Threading.Tasks.Task RegisterAsync(RegisterRequest? registerRequest = default(RegisterRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Create a new user.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.user.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (LoginResponse)
+ System.Threading.Tasks.Task> RegisterWithHttpInfoAsync(RegisterRequest? registerRequest = default(RegisterRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Revoke a token.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.revoke</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task RevokeTokenAsync(RevokeRequest? revokeRequest = default(RevokeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Revoke a token.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.identity.oauth2.token.revoke</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> RevokeTokenWithHttpInfoAsync(RevokeRequest? revokeRequest = default(RevokeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Advanced search for servers or players.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.search</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of List<Object>
+ System.Threading.Tasks.Task> SearchAsync(SearchRequest? searchRequest = default(SearchRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Advanced search for servers or players.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.search</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (List<Object>)
+ System.Threading.Tasks.Task>> SearchWithHttpInfoAsync(SearchRequest? searchRequest = default(SearchRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Update a game server.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task UpdateGameServerAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Update a game server.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> UpdateGameServerWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Update a game server cluster.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task UpdateGameServerClusterAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Update a game server cluster.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.cluster.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> UpdateGameServerClusterWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Update a group.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ System.Threading.Tasks.Task UpdateGroupAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Update a group.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.group.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse
+ System.Threading.Tasks.Task> UpdateGroupWithHttpInfoAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ ///
+ /// Update a user profile.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of Profile
+ System.Threading.Tasks.Task UpdateUserProfileAsync(string id, UpdateProfile? updateProfile = default(UpdateProfile?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+
+ ///
+ /// Update a user profile.
+ ///
+ ///
+ /// <b>🔒 Required permissions:</b> <code>tribufu.community.profile.update</code>
+ ///
+ /// Thrown when fails to make API call
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of ApiResponse (Profile)
+ System.Threading.Tasks.Task> UpdateUserProfileWithHttpInfoAsync(string id, UpdateProfile? updateProfile = default(UpdateProfile?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken));
+ #endregion Asynchronous Operations
+ }
+
+ ///
+ /// Represents a collection of functions to interact with the API endpoints
+ ///
+ public interface ITribufuGeneratedApi : ITribufuGeneratedApiSync, ITribufuGeneratedApiAsync
+ {
+
+ }
+
+ ///
+ /// Represents a collection of functions to interact with the API endpoints
+ ///
+ public partial class TribufuGeneratedApi : ITribufuGeneratedApi
+ {
+ private Tribufu.Generated.Client.ExceptionFactory _exceptionFactory = (name, response) => null;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ public TribufuGeneratedApi() : this((string)null)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ ///
+ public TribufuGeneratedApi(string basePath)
+ {
+ this.Configuration = Tribufu.Generated.Client.Configuration.MergeConfigurations(
+ Tribufu.Generated.Client.GlobalConfiguration.Instance,
+ new Tribufu.Generated.Client.Configuration { BasePath = basePath }
+ );
+ 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
+ /// using Configuration object
+ ///
+ /// An instance of Configuration
+ ///
+ public TribufuGeneratedApi(Tribufu.Generated.Client.Configuration configuration)
+ {
+ if (configuration == null) throw new ArgumentNullException("configuration");
+
+ this.Configuration = Tribufu.Generated.Client.Configuration.MergeConfigurations(
+ Tribufu.Generated.Client.GlobalConfiguration.Instance,
+ configuration
+ );
+ 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
+ /// 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 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");
+ if (configuration == null) throw new ArgumentNullException("configuration");
+
+ this.Client = client;
+ this.AsynchronousClient = asyncClient;
+ this.Configuration = configuration;
+ this.ExceptionFactory = Tribufu.Generated.Client.Configuration.DefaultExceptionFactory;
+ }
+
+ ///
+ /// The client for accessing this underlying API asynchronously.
+ ///
+ public Tribufu.Generated.Client.IAsynchronousClient AsynchronousClient { get; set; }
+
+ ///
+ /// The client for accessing this underlying API synchronously.
+ ///
+ public Tribufu.Generated.Client.ISynchronousClient Client { get; set; }
+
+ ///
+ /// Gets the base path of the API client.
+ ///
+ /// The base path
+ public string GetBasePath()
+ {
+ return this.Configuration.BasePath;
+ }
+
+ ///
+ /// Gets or sets the configuration object
+ ///
+ /// An instance of the Configuration
+ public Tribufu.Generated.Client.IReadableConfiguration Configuration { get; set; }
+
+ ///
+ /// Provides a factory method hook for the creation of exceptions.
+ ///
+ public Tribufu.Generated.Client.ExceptionFactory ExceptionFactory
+ {
+ get
+ {
+ if (_exceptionFactory != null && _exceptionFactory.GetInvocationList().Length > 1)
+ {
+ throw new InvalidOperationException("Multicast delegate for ExceptionFactory is unsupported.");
+ }
+ return _exceptionFactory;
+ }
+ set { _exceptionFactory = value; }
+ }
+
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ public void Authorize(AuthorizeRequest? authorizeRequest = default(AuthorizeRequest?), int operationIndex = 0)
+ {
+ AuthorizeWithHttpInfo(authorizeRequest);
+ }
+
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ public Tribufu.Generated.Client.ApiResponse AuthorizeWithHttpInfo(AuthorizeRequest? authorizeRequest = default(AuthorizeRequest?), int operationIndex = 0)
+ {
+ Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions();
+
+ string[] _contentTypes = new string[] {
+ "application/json-patch+json",
+ "application/json",
+ "text/json",
+ "application/*+json"
+ };
+
+ // to determine the Accept header
+ string[] _accepts = new string[] {
+ };
+
+ 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.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts);
+ if (localVarAccept != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
+ }
+
+ localVarRequestOptions.Data = authorizeRequest;
+
+ localVarRequestOptions.Operation = "TribufuGeneratedApi.Authorize";
+ localVarRequestOptions.OperationIndex = operationIndex;
+
+ // authentication (ApiKey) required
+ if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")))
+ {
+ localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization"));
+ }
+
+ // make the HTTP request
+ var localVarResponse = this.Client.Post("/v1/oauth2/authorize", localVarRequestOptions, this.Configuration);
+ if (this.ExceptionFactory != null)
+ {
+ Exception _exception = this.ExceptionFactory("Authorize", localVarResponse);
+ if (_exception != null)
+ {
+ throw _exception;
+ }
+ }
+
+ return localVarResponse;
+ }
+
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ public async System.Threading.Tasks.Task AuthorizeAsync(AuthorizeRequest? authorizeRequest = default(AuthorizeRequest?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ await AuthorizeWithHttpInfoAsync(authorizeRequest, operationIndex, cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// 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
+ /// (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))
+ {
+
+ Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions();
+
+ string[] _contentTypes = new string[] {
+ "application/json-patch+json",
+ "application/json",
+ "text/json",
+ "application/*+json"
+ };
+
+ // to determine the Accept header
+ string[] _accepts = new string[] {
+ };
+
+ var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes);
+ if (localVarContentType != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
+ }
+
+ var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts);
+ if (localVarAccept != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
+ }
+
+ localVarRequestOptions.Data = authorizeRequest;
+
+ localVarRequestOptions.Operation = "TribufuGeneratedApi.Authorize";
+ localVarRequestOptions.OperationIndex = operationIndex;
+
+ // authentication (ApiKey) required
+ if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")))
+ {
+ localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization"));
+ }
+
+ // make the HTTP request
+ var localVarResponse = await this.AsynchronousClient.PostAsync("/v1/oauth2/authorize", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);
+
+ if (this.ExceptionFactory != null)
+ {
+ Exception _exception = this.ExceptionFactory("Authorize", localVarResponse);
+ if (_exception != null)
+ {
+ throw _exception;
+ }
+ }
+
+ return localVarResponse;
+ }
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ public void ChangeEmail(string id, Object? body = default(Object?), int operationIndex = 0)
+ {
+ ChangeEmailWithHttpInfo(id, body);
+ }
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ 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.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->ChangeEmail");
+ }
+
+ Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions();
+
+ string[] _contentTypes = new string[] {
+ "application/json-patch+json",
+ "application/json",
+ "text/json",
+ "application/*+json"
+ };
+
+ // to determine the Accept header
+ string[] _accepts = new string[] {
+ };
+
+ 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.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts);
+ if (localVarAccept != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
+ }
+
+ localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter
+ localVarRequestOptions.Data = body;
+
+ localVarRequestOptions.Operation = "TribufuGeneratedApi.ChangeEmail";
+ localVarRequestOptions.OperationIndex = operationIndex;
+
+ // authentication (ApiKey) required
+ if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")))
+ {
+ localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization"));
+ }
+
+ // make the HTTP request
+ var localVarResponse = this.Client.Put("/v1/users/{id}/email", localVarRequestOptions, this.Configuration);
+ if (this.ExceptionFactory != null)
+ {
+ Exception _exception = this.ExceptionFactory("ChangeEmail", localVarResponse);
+ if (_exception != null)
+ {
+ throw _exception;
+ }
+ }
+
+ return localVarResponse;
+ }
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ public async System.Threading.Tasks.Task ChangeEmailAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ await ChangeEmailWithHttpInfoAsync(id, body, operationIndex, cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// 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
+ ///
+ /// (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))
+ {
+ // verify the required parameter 'id' is set
+ if (id == null)
+ {
+ throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->ChangeEmail");
+ }
+
+
+ Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions();
+
+ string[] _contentTypes = new string[] {
+ "application/json-patch+json",
+ "application/json",
+ "text/json",
+ "application/*+json"
+ };
+
+ // to determine the Accept header
+ string[] _accepts = new string[] {
+ };
+
+ var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes);
+ if (localVarContentType != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
+ }
+
+ var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts);
+ if (localVarAccept != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
+ }
+
+ localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter
+ localVarRequestOptions.Data = body;
+
+ localVarRequestOptions.Operation = "TribufuGeneratedApi.ChangeEmail";
+ localVarRequestOptions.OperationIndex = operationIndex;
+
+ // authentication (ApiKey) required
+ if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")))
+ {
+ localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization"));
+ }
+
+ // make the HTTP request
+ var localVarResponse = await this.AsynchronousClient.PutAsync("/v1/users/{id}/email", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);
+
+ if (this.ExceptionFactory != null)
+ {
+ Exception _exception = this.ExceptionFactory("ChangeEmail", localVarResponse);
+ if (_exception != null)
+ {
+ throw _exception;
+ }
+ }
+
+ return localVarResponse;
+ }
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ public void ChangePassword(string id, Object? body = default(Object?), int operationIndex = 0)
+ {
+ ChangePasswordWithHttpInfo(id, body);
+ }
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ 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.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->ChangePassword");
+ }
+
+ Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions();
+
+ string[] _contentTypes = new string[] {
+ "application/json-patch+json",
+ "application/json",
+ "text/json",
+ "application/*+json"
+ };
+
+ // to determine the Accept header
+ string[] _accepts = new string[] {
+ };
+
+ 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.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts);
+ if (localVarAccept != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
+ }
+
+ localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter
+ localVarRequestOptions.Data = body;
+
+ localVarRequestOptions.Operation = "TribufuGeneratedApi.ChangePassword";
+ localVarRequestOptions.OperationIndex = operationIndex;
+
+ // authentication (ApiKey) required
+ if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")))
+ {
+ localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization"));
+ }
+
+ // make the HTTP request
+ var localVarResponse = this.Client.Put("/v1/users/{id}/password", localVarRequestOptions, this.Configuration);
+ if (this.ExceptionFactory != null)
+ {
+ Exception _exception = this.ExceptionFactory("ChangePassword", localVarResponse);
+ if (_exception != null)
+ {
+ throw _exception;
+ }
+ }
+
+ return localVarResponse;
+ }
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ public async System.Threading.Tasks.Task ChangePasswordAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ await ChangePasswordWithHttpInfoAsync(id, body, operationIndex, cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// 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
+ ///
+ /// (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))
+ {
+ // verify the required parameter 'id' is set
+ if (id == null)
+ {
+ throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->ChangePassword");
+ }
+
+
+ Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions();
+
+ string[] _contentTypes = new string[] {
+ "application/json-patch+json",
+ "application/json",
+ "text/json",
+ "application/*+json"
+ };
+
+ // to determine the Accept header
+ string[] _accepts = new string[] {
+ };
+
+ var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes);
+ if (localVarContentType != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
+ }
+
+ var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts);
+ if (localVarAccept != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
+ }
+
+ localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter
+ localVarRequestOptions.Data = body;
+
+ localVarRequestOptions.Operation = "TribufuGeneratedApi.ChangePassword";
+ localVarRequestOptions.OperationIndex = operationIndex;
+
+ // authentication (ApiKey) required
+ if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")))
+ {
+ localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization"));
+ }
+
+ // make the HTTP request
+ var localVarResponse = await this.AsynchronousClient.PutAsync("/v1/users/{id}/password", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);
+
+ if (this.ExceptionFactory != null)
+ {
+ Exception _exception = this.ExceptionFactory("ChangePassword", localVarResponse);
+ if (_exception != null)
+ {
+ throw _exception;
+ }
+ }
+
+ return localVarResponse;
+ }
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ public void ClaimGameServer(string id, Object? body = default(Object?), int operationIndex = 0)
+ {
+ ClaimGameServerWithHttpInfo(id, body);
+ }
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ 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.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->ClaimGameServer");
+ }
+
+ Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions();
+
+ string[] _contentTypes = new string[] {
+ "application/json-patch+json",
+ "application/json",
+ "text/json",
+ "application/*+json"
+ };
+
+ // to determine the Accept header
+ string[] _accepts = new string[] {
+ };
+
+ 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.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts);
+ if (localVarAccept != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
+ }
+
+ localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter
+ localVarRequestOptions.Data = body;
+
+ localVarRequestOptions.Operation = "TribufuGeneratedApi.ClaimGameServer";
+ localVarRequestOptions.OperationIndex = operationIndex;
+
+ // authentication (ApiKey) required
+ if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")))
+ {
+ localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization"));
+ }
+
+ // make the HTTP request
+ var localVarResponse = this.Client.Put("/v1/servers/{id}/claim", localVarRequestOptions, this.Configuration);
+ if (this.ExceptionFactory != null)
+ {
+ Exception _exception = this.ExceptionFactory("ClaimGameServer", localVarResponse);
+ if (_exception != null)
+ {
+ throw _exception;
+ }
+ }
+
+ return localVarResponse;
+ }
+
+ ///
+ /// 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
+ ///
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ public async System.Threading.Tasks.Task ClaimGameServerAsync(string id, Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ await ClaimGameServerWithHttpInfoAsync(id, body, operationIndex, cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// 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
+ ///
+ /// (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))
+ {
+ // verify the required parameter 'id' is set
+ if (id == null)
+ {
+ throw new Tribufu.Generated.Client.ApiException(400, "Missing required parameter 'id' when calling TribufuGeneratedApi->ClaimGameServer");
+ }
+
+
+ Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions();
+
+ string[] _contentTypes = new string[] {
+ "application/json-patch+json",
+ "application/json",
+ "text/json",
+ "application/*+json"
+ };
+
+ // to determine the Accept header
+ string[] _accepts = new string[] {
+ };
+
+ var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes);
+ if (localVarContentType != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
+ }
+
+ var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts);
+ if (localVarAccept != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
+ }
+
+ localVarRequestOptions.PathParameters.Add("id", Tribufu.Generated.Client.ClientUtils.ParameterToString(id)); // path parameter
+ localVarRequestOptions.Data = body;
+
+ localVarRequestOptions.Operation = "TribufuGeneratedApi.ClaimGameServer";
+ localVarRequestOptions.OperationIndex = operationIndex;
+
+ // authentication (ApiKey) required
+ if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")))
+ {
+ localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization"));
+ }
+
+ // make the HTTP request
+ var localVarResponse = await this.AsynchronousClient.PutAsync("/v1/servers/{id}/claim", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);
+
+ if (this.ExceptionFactory != null)
+ {
+ Exception _exception = this.ExceptionFactory("ClaimGameServer", localVarResponse);
+ if (_exception != null)
+ {
+ throw _exception;
+ }
+ }
+
+ return localVarResponse;
+ }
+
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ /// CryptoViewModel
+ public CryptoViewModel ConvertBase64(CryptoViewModel? cryptoViewModel = default(CryptoViewModel?), int operationIndex = 0)
+ {
+ 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
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of CryptoViewModel
+ public Tribufu.Generated.Client.ApiResponse ConvertBase64WithHttpInfo(CryptoViewModel? cryptoViewModel = default(CryptoViewModel?), int operationIndex = 0)
+ {
+ Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions();
+
+ string[] _contentTypes = new string[] {
+ "application/json-patch+json",
+ "application/json",
+ "text/json",
+ "application/*+json"
+ };
+
+ // to determine the Accept header
+ string[] _accepts = new string[] {
+ "text/plain",
+ "application/json",
+ "text/json"
+ };
+
+ 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.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts);
+ if (localVarAccept != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
+ }
+
+ localVarRequestOptions.Data = cryptoViewModel;
+
+ localVarRequestOptions.Operation = "TribufuGeneratedApi.ConvertBase64";
+ localVarRequestOptions.OperationIndex = operationIndex;
+
+ // authentication (ApiKey) required
+ if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")))
+ {
+ localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization"));
+ }
+
+ // make the HTTP request
+ var localVarResponse = this.Client.Post("/v1/utils/base64", localVarRequestOptions, this.Configuration);
+ if (this.ExceptionFactory != null)
+ {
+ Exception _exception = this.ExceptionFactory("ConvertBase64", localVarResponse);
+ if (_exception != null)
+ {
+ throw _exception;
+ }
+ }
+
+ return localVarResponse;
+ }
+
+ ///
+ /// 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
+ /// (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.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
+ /// (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))
+ {
+
+ Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions();
+
+ string[] _contentTypes = new string[] {
+ "application/json-patch+json",
+ "application/json",
+ "text/json",
+ "application/*+json"
+ };
+
+ // to determine the Accept header
+ string[] _accepts = new string[] {
+ "text/plain",
+ "application/json",
+ "text/json"
+ };
+
+ var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes);
+ if (localVarContentType != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
+ }
+
+ var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts);
+ if (localVarAccept != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
+ }
+
+ localVarRequestOptions.Data = cryptoViewModel;
+
+ localVarRequestOptions.Operation = "TribufuGeneratedApi.ConvertBase64";
+ localVarRequestOptions.OperationIndex = operationIndex;
+
+ // authentication (ApiKey) required
+ if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")))
+ {
+ localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization"));
+ }
+
+ // make the HTTP request
+ var localVarResponse = await this.AsynchronousClient.PostAsync("/v1/utils/base64", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);
+
+ if (this.ExceptionFactory != null)
+ {
+ Exception _exception = this.ExceptionFactory("ConvertBase64", localVarResponse);
+ if (_exception != null)
+ {
+ throw _exception;
+ }
+ }
+
+ return localVarResponse;
+ }
+
+ ///
+ /// Create a new game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ public void CreateGameServer(Object? body = default(Object?), int operationIndex = 0)
+ {
+ CreateGameServerWithHttpInfo(body);
+ }
+
+ ///
+ /// Create a new game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ public Tribufu.Generated.Client.ApiResponse CreateGameServerWithHttpInfo(Object? body = default(Object?), int operationIndex = 0)
+ {
+ Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions();
+
+ string[] _contentTypes = new string[] {
+ "application/json-patch+json",
+ "application/json",
+ "text/json",
+ "application/*+json"
+ };
+
+ // to determine the Accept header
+ string[] _accepts = new string[] {
+ };
+
+ 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.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts);
+ if (localVarAccept != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
+ }
+
+ localVarRequestOptions.Data = body;
+
+ localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateGameServer";
+ localVarRequestOptions.OperationIndex = operationIndex;
+
+ // authentication (ApiKey) required
+ if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")))
+ {
+ localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization"));
+ }
+
+ // make the HTTP request
+ var localVarResponse = this.Client.Post("/v1/servers", localVarRequestOptions, this.Configuration);
+ if (this.ExceptionFactory != null)
+ {
+ Exception _exception = this.ExceptionFactory("CreateGameServer", localVarResponse);
+ if (_exception != null)
+ {
+ throw _exception;
+ }
+ }
+
+ return localVarResponse;
+ }
+
+ ///
+ /// Create a new game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code>
+ ///
+ /// Thrown when fails to make API call
+ /// (optional)
+ /// Index associated with the operation.
+ /// Cancellation Token to cancel the request.
+ /// Task of void
+ public async System.Threading.Tasks.Task CreateGameServerAsync(Object? body = default(Object?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
+ {
+ await CreateGameServerWithHttpInfoAsync(body, operationIndex, cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// Create a new game server. <b>🔒 Required permissions:</b> <code>tribufu.community.game.server.create</code>
+ ///
+ /// 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))
+ {
+
+ Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions();
+
+ string[] _contentTypes = new string[] {
+ "application/json-patch+json",
+ "application/json",
+ "text/json",
+ "application/*+json"
+ };
+
+ // to determine the Accept header
+ string[] _accepts = new string[] {
+ };
+
+ var localVarContentType = Tribufu.Generated.Client.ClientUtils.SelectHeaderContentType(_contentTypes);
+ if (localVarContentType != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType);
+ }
+
+ var localVarAccept = Tribufu.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts);
+ if (localVarAccept != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
+ }
+
+ localVarRequestOptions.Data = body;
+
+ localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateGameServer";
+ localVarRequestOptions.OperationIndex = operationIndex;
+
+ // authentication (ApiKey) required
+ if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")))
+ {
+ localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization"));
+ }
+
+ // make the HTTP request
+ var localVarResponse = await this.AsynchronousClient.PostAsync("/v1/servers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false);
+
+ if (this.ExceptionFactory != null)
+ {
+ Exception _exception = this.ExceptionFactory("CreateGameServer", localVarResponse);
+ if (_exception != null)
+ {
+ throw _exception;
+ }
+ }
+
+ return localVarResponse;
+ }
+
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ ///
+ public void CreateGameServerCluster(Object? body = default(Object?), int operationIndex = 0)
+ {
+ CreateGameServerClusterWithHttpInfo(body);
+ }
+
+ ///
+ /// 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
+ /// (optional)
+ /// Index associated with the operation.
+ /// ApiResponse of Object(void)
+ public Tribufu.Generated.Client.ApiResponse CreateGameServerClusterWithHttpInfo(Object? body = default(Object?), int operationIndex = 0)
+ {
+ Tribufu.Generated.Client.RequestOptions localVarRequestOptions = new Tribufu.Generated.Client.RequestOptions();
+
+ string[] _contentTypes = new string[] {
+ "application/json-patch+json",
+ "application/json",
+ "text/json",
+ "application/*+json"
+ };
+
+ // to determine the Accept header
+ string[] _accepts = new string[] {
+ };
+
+ 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.Generated.Client.ClientUtils.SelectHeaderAccept(_accepts);
+ if (localVarAccept != null)
+ {
+ localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept);
+ }
+
+ localVarRequestOptions.Data = body;
+
+ localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateGameServerCluster";
+ localVarRequestOptions.OperationIndex = operationIndex;
+
+ // authentication (ApiKey) required
+ if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("Authorization")))
+ {
+ localVarRequestOptions.HeaderParameters.Add("Authorization", this.Configuration.GetApiKeyWithPrefix("Authorization"));
+ }
+
+ // make the HTTP request
+ var localVarResponse = this.Client.Post