From be25ee8fe3bedfa101b16c843931e261ffc63b91 Mon Sep 17 00:00:00 2001 From: Guilherme Werner Date: Mon, 15 Jun 2026 20:30:07 -0300 Subject: [PATCH] Update api to 1.4.3 --- .openapi-generator/FILES | 4 +- src/Tribufu/Api/TribufuGeneratedApi.cs | 1268 ++---------------- src/Tribufu/Client/ApiClient.cs | 2 +- src/Tribufu/Client/ApiException.cs | 2 +- src/Tribufu/Client/ApiResponse.cs | 2 +- src/Tribufu/Client/ClientUtils.cs | 2 +- src/Tribufu/Client/Configuration.cs | 4 +- src/Tribufu/Client/ExceptionFactory.cs | 2 +- src/Tribufu/Client/GlobalConfiguration.cs | 2 +- src/Tribufu/Client/HttpMethod.cs | 2 +- src/Tribufu/Client/IApiAccessor.cs | 2 +- src/Tribufu/Client/IAsynchronousClient.cs | 2 +- src/Tribufu/Client/IReadableConfiguration.cs | 2 +- src/Tribufu/Client/ISynchronousClient.cs | 2 +- src/Tribufu/Client/Multimap.cs | 2 +- src/Tribufu/Client/OpenAPIDateConverter.cs | 2 +- src/Tribufu/Client/RequestOptions.cs | 2 +- src/Tribufu/Client/RetryConfiguration.cs | 2 +- src/Tribufu/Model/AbstractOpenAPISchema.cs | 2 +- src/Tribufu/Model/Application.cs | 39 +- src/Tribufu/Model/ApplicationType.cs | 8 +- src/Tribufu/Model/AuthorizeRequest.cs | 2 +- src/Tribufu/Model/ClientInfo.cs | 2 +- src/Tribufu/Model/ClientType.cs | 2 +- src/Tribufu/Model/CodeChallengeMethod.cs | 2 +- src/Tribufu/Model/CodeResponse.cs | 2 +- src/Tribufu/Model/CreateUser.cs | 8 +- src/Tribufu/Model/CryptoViewModel.cs | 2 +- src/Tribufu/Model/ExternalAccount.cs | 177 +++ src/Tribufu/Model/Game.cs | 39 +- src/Tribufu/Model/GameServer.cs | 43 +- src/Tribufu/Model/GameServerCluster.cs | 39 +- src/Tribufu/Model/GameServerQuery.cs | 16 +- src/Tribufu/Model/GameServerStatus.cs | 2 +- src/Tribufu/Model/GrantType.cs | 2 +- src/Tribufu/Model/Group.cs | 39 +- src/Tribufu/Model/GroupApplication.cs | 2 +- src/Tribufu/Model/GroupMember.cs | 31 +- src/Tribufu/Model/GroupRank.cs | 2 +- src/Tribufu/Model/HashViewModel.cs | 2 +- src/Tribufu/Model/IdentityProviderType.cs | 78 ++ src/Tribufu/Model/IntrospectRequest.cs | 2 +- src/Tribufu/Model/IntrospectResponse.cs | 2 +- src/Tribufu/Model/IpAddress.cs | 2 +- src/Tribufu/Model/LeaderboardItem.cs | 2 +- src/Tribufu/Model/LeaderboardOrder.cs | 2 +- src/Tribufu/Model/ModelClient.cs | 37 +- src/Tribufu/Model/Package.cs | 41 +- src/Tribufu/Model/PackageRelease.cs | 37 +- src/Tribufu/Model/Product.cs | 61 +- src/Tribufu/Model/ProductPrice.cs | 16 +- src/Tribufu/Model/ProductType.cs | 2 +- src/Tribufu/Model/Profile.cs | 210 +-- src/Tribufu/Model/ProfileGame.cs | 2 +- src/Tribufu/Model/ProfileGroup.cs | 6 +- src/Tribufu/Model/ResponseType.cs | 2 +- src/Tribufu/Model/RevokeRequest.cs | 2 +- src/Tribufu/Model/Search.cs | 4 +- src/Tribufu/Model/SearchType.cs | 2 +- src/Tribufu/Model/ServerMetrics.cs | 2 +- src/Tribufu/Model/StorageFile.cs | 37 +- src/Tribufu/Model/TokenHintType.cs | 2 +- src/Tribufu/Model/TokenRequest.cs | 2 +- src/Tribufu/Model/TokenResponse.cs | 2 +- src/Tribufu/Model/TokenType.cs | 2 +- src/Tribufu/Model/UpdateProfile.cs | 2 +- src/Tribufu/Model/UserInfo.cs | 49 +- src/Tribufu/Model/UserType.cs | 2 +- 68 files changed, 877 insertions(+), 1502 deletions(-) create mode 100644 src/Tribufu/Model/ExternalAccount.cs create mode 100644 src/Tribufu/Model/IdentityProviderType.cs diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 8950b6a..7cb3a8d 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -16,7 +16,6 @@ src/Tribufu/Client/OpenAPIDateConverter.cs src/Tribufu/Client/RequestOptions.cs src/Tribufu/Client/RetryConfiguration.cs src/Tribufu/Model/AbstractOpenAPISchema.cs -src/Tribufu/Model/Account.cs src/Tribufu/Model/Application.cs src/Tribufu/Model/ApplicationType.cs src/Tribufu/Model/AuthorizeRequest.cs @@ -26,6 +25,7 @@ src/Tribufu/Model/CodeChallengeMethod.cs src/Tribufu/Model/CodeResponse.cs src/Tribufu/Model/CreateUser.cs src/Tribufu/Model/CryptoViewModel.cs +src/Tribufu/Model/ExternalAccount.cs src/Tribufu/Model/Game.cs src/Tribufu/Model/GameServer.cs src/Tribufu/Model/GameServerCluster.cs @@ -37,12 +37,12 @@ src/Tribufu/Model/GroupApplication.cs src/Tribufu/Model/GroupMember.cs src/Tribufu/Model/GroupRank.cs src/Tribufu/Model/HashViewModel.cs +src/Tribufu/Model/IdentityProviderType.cs src/Tribufu/Model/IntrospectRequest.cs src/Tribufu/Model/IntrospectResponse.cs src/Tribufu/Model/IpAddress.cs src/Tribufu/Model/LeaderboardItem.cs src/Tribufu/Model/LeaderboardOrder.cs -src/Tribufu/Model/LoginProvider.cs src/Tribufu/Model/ModelClient.cs src/Tribufu/Model/Package.cs src/Tribufu/Model/PackageRelease.cs diff --git a/src/Tribufu/Api/TribufuGeneratedApi.cs b/src/Tribufu/Api/TribufuGeneratedApi.cs index ee083e2..096ce48 100644 --- a/src/Tribufu/Api/TribufuGeneratedApi.cs +++ b/src/Tribufu/Api/TribufuGeneratedApi.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -534,8 +534,8 @@ namespace Tribufu.Api /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. - /// List<string> - List GenerateFlakeId(int? amount = default(int?), int operationIndex = 0); + /// List<long> + List GenerateFlakeId(int? amount = default(int?), int operationIndex = 0); /// /// Generate one or more flake ids. @@ -546,8 +546,8 @@ namespace Tribufu.Api /// 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); + /// ApiResponse of List<long> + ApiResponse> GenerateFlakeIdWithHttpInfo(int? amount = default(int?), int operationIndex = 0); /// /// Generate one or more flake ids from a timestamp. /// @@ -558,8 +558,8 @@ namespace Tribufu.Api /// /// (optional) /// Index associated with the operation. - /// List<string> - List GenerateFlakeIdFromTimestamp(string timestamp, int? amount = default(int?), int operationIndex = 0); + /// List<long> + List GenerateFlakeIdFromTimestamp(long timestamp, int? amount = default(int?), int operationIndex = 0); /// /// Generate one or more flake ids from a timestamp. @@ -571,8 +571,8 @@ namespace Tribufu.Api /// /// (optional) /// Index associated with the operation. - /// ApiResponse of List<string> - ApiResponse> GenerateFlakeIdFromTimestampWithHttpInfo(string timestamp, int? amount = default(int?), int operationIndex = 0); + /// ApiResponse of List<long> + ApiResponse> GenerateFlakeIdFromTimestampWithHttpInfo(long timestamp, int? amount = default(int?), int operationIndex = 0); /// /// Generate a random password. /// @@ -608,8 +608,8 @@ namespace Tribufu.Api /// (optional) /// (optional) /// Index associated with the operation. - /// List<Guid> - List GenerateUuid(int? version = default(int?), int? amount = default(int?), int operationIndex = 0); + /// List<string> + List GenerateUuid(int? version = default(int?), int? amount = default(int?), int operationIndex = 0); /// /// Generate one or more uuids with a specific version. @@ -621,8 +621,8 @@ namespace Tribufu.Api /// (optional) /// (optional) /// Index associated with the operation. - /// ApiResponse of List<Guid> - ApiResponse> GenerateUuidWithHttpInfo(int? version = default(int?), int? amount = default(int?), int operationIndex = 0); + /// ApiResponse of List<string> + ApiResponse> GenerateUuidWithHttpInfo(int? version = default(int?), int? amount = default(int?), int operationIndex = 0); /// /// Get a oauth2 client by id. /// @@ -1337,7 +1337,7 @@ namespace Tribufu.Api /// /// Index associated with the operation. /// Group - Group GetGroupByUuid(Guid uuid, int operationIndex = 0); + Group GetGroupByUuid(string uuid, int operationIndex = 0); /// /// Get a group by uuid. @@ -1349,7 +1349,7 @@ namespace Tribufu.Api /// /// Index associated with the operation. /// ApiResponse of Group - ApiResponse GetGroupByUuidWithHttpInfo(Guid uuid, int operationIndex = 0); + ApiResponse GetGroupByUuidWithHttpInfo(string uuid, int operationIndex = 0); /// /// Get a list of games of a group. /// @@ -1614,8 +1614,8 @@ namespace Tribufu.Api /// Thrown when fails to make API call /// /// Index associated with the operation. - /// List<Account> - List GetUserAccounts(string id, int operationIndex = 0); + /// List<ExternalAccount> + List GetUserAccounts(string id, int operationIndex = 0); /// /// Get a list of connected accounts of the user. @@ -1626,8 +1626,8 @@ namespace Tribufu.Api /// Thrown when fails to make API call /// /// Index associated with the operation. - /// ApiResponse of List<Account> - ApiResponse> GetUserAccountsWithHttpInfo(string id, int operationIndex = 0); + /// ApiResponse of List<ExternalAccount> + ApiResponse> GetUserAccountsWithHttpInfo(string id, int operationIndex = 0); /// /// Get a list of friends of the user. /// @@ -1899,7 +1899,7 @@ namespace Tribufu.Api /// /// Index associated with the operation. /// Profile - Profile GetUserProfileByUuid(Guid uuid, int operationIndex = 0); + Profile GetUserProfileByUuid(string uuid, int operationIndex = 0); /// /// Get a user profile by uuid. @@ -1911,7 +1911,7 @@ namespace Tribufu.Api /// /// Index associated with the operation. /// ApiResponse of Profile - ApiResponse GetUserProfileByUuidWithHttpInfo(Guid uuid, int operationIndex = 0); + ApiResponse GetUserProfileByUuidWithHttpInfo(string uuid, int operationIndex = 0); /// /// Get a user profile by uuid. /// @@ -1923,7 +1923,7 @@ namespace Tribufu.Api /// Index associated with the operation. /// Profile [Obsolete] - Profile GetUserProfileByUuidV1(Guid uuid, int operationIndex = 0); + Profile GetUserProfileByUuidV1(string uuid, int operationIndex = 0); /// /// Get a user profile by uuid. @@ -1936,7 +1936,7 @@ namespace Tribufu.Api /// Index associated with the operation. /// ApiResponse of Profile [Obsolete] - ApiResponse GetUserProfileByUuidV1WithHttpInfo(Guid uuid, int operationIndex = 0); + ApiResponse GetUserProfileByUuidV1WithHttpInfo(string uuid, int operationIndex = 0); /// /// Get a list of user profiles. /// @@ -3041,8 +3041,8 @@ namespace Tribufu.Api /// (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)); + /// Task of List<long> + 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. @@ -3054,8 +3054,8 @@ namespace Tribufu.Api /// (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)); + /// Task of ApiResponse (List<long>) + 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. /// @@ -3067,8 +3067,8 @@ namespace Tribufu.Api /// (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)); + /// Task of List<long> + System.Threading.Tasks.Task> GenerateFlakeIdFromTimestampAsync(long 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. @@ -3081,8 +3081,8 @@ namespace Tribufu.Api /// (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)); + /// Task of ApiResponse (List<long>) + System.Threading.Tasks.Task>> GenerateFlakeIdFromTimestampWithHttpInfoAsync(long timestamp, int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Generate a random password. /// @@ -3121,8 +3121,8 @@ namespace Tribufu.Api /// (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)); + /// Task of List<string> + 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. @@ -3135,8 +3135,8 @@ namespace Tribufu.Api /// (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)); + /// Task of ApiResponse (List<string>) + 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 a oauth2 client by id. /// @@ -3914,7 +3914,7 @@ namespace Tribufu.Api /// 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)); + System.Threading.Tasks.Task GetGroupByUuidAsync(string uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Get a group by uuid. @@ -3927,7 +3927,7 @@ namespace Tribufu.Api /// 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)); + System.Threading.Tasks.Task> GetGroupByUuidWithHttpInfoAsync(string uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Get a list of games of a group. /// @@ -4221,8 +4221,8 @@ namespace Tribufu.Api /// /// 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)); + /// Task of List<ExternalAccount> + 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. @@ -4234,8 +4234,8 @@ namespace Tribufu.Api /// /// 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)); + /// Task of ApiResponse (List<ExternalAccount>) + System.Threading.Tasks.Task>> GetUserAccountsWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Get a list of friends of the user. /// @@ -4530,7 +4530,7 @@ namespace Tribufu.Api /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Profile - System.Threading.Tasks.Task GetUserProfileByUuidAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetUserProfileByUuidAsync(string uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Get a user profile by uuid. @@ -4543,7 +4543,7 @@ namespace Tribufu.Api /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Profile) - System.Threading.Tasks.Task> GetUserProfileByUuidWithHttpInfoAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetUserProfileByUuidWithHttpInfoAsync(string uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Get a user profile by uuid. /// @@ -4556,7 +4556,7 @@ namespace Tribufu.Api /// Cancellation Token to cancel the request. /// Task of Profile [Obsolete] - System.Threading.Tasks.Task GetUserProfileByUuidV1Async(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + System.Threading.Tasks.Task GetUserProfileByUuidV1Async(string uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Get a user profile by uuid. @@ -4570,7 +4570,7 @@ namespace Tribufu.Api /// Cancellation Token to cancel the request. /// Task of ApiResponse (Profile) [Obsolete] - System.Threading.Tasks.Task> GetUserProfileByUuidV1WithHttpInfoAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); + System.Threading.Tasks.Task> GetUserProfileByUuidV1WithHttpInfoAsync(string uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// /// Get a list of user profiles. /// @@ -5334,11 +5334,6 @@ namespace Tribufu.Api 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); @@ -5407,11 +5402,6 @@ namespace Tribufu.Api 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); @@ -5489,11 +5479,6 @@ namespace Tribufu.Api 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); @@ -5572,11 +5557,6 @@ namespace Tribufu.Api 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); @@ -5654,11 +5634,6 @@ namespace Tribufu.Api 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); @@ -5737,11 +5712,6 @@ namespace Tribufu.Api 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); @@ -5816,11 +5786,6 @@ namespace Tribufu.Api 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/games/servers/{id}/claim", localVarRequestOptions, this.Configuration); @@ -5896,11 +5861,6 @@ namespace Tribufu.Api 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/games/servers/{id}/claim", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -5977,11 +5937,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.ClaimGameServerV1"; 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); @@ -6059,11 +6014,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.ClaimGameServerV1"; 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); @@ -6131,11 +6081,6 @@ namespace Tribufu.Api 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); @@ -6204,11 +6149,6 @@ namespace Tribufu.Api 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); @@ -6274,11 +6214,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateClient"; 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/clients", localVarRequestOptions, this.Configuration); @@ -6345,11 +6280,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateClient"; 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/clients", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -6415,11 +6345,6 @@ namespace Tribufu.Api 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/games/servers", localVarRequestOptions, this.Configuration); @@ -6486,11 +6411,6 @@ namespace Tribufu.Api 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/games/servers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -6556,11 +6476,6 @@ namespace Tribufu.Api 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("/v1/games/servers/clusters", localVarRequestOptions, this.Configuration); @@ -6627,11 +6542,6 @@ namespace Tribufu.Api 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 = await this.AsynchronousClient.PostAsync("/v1/games/servers/clusters", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -6699,11 +6609,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateGameServerClusterV1"; 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/clusters", localVarRequestOptions, this.Configuration); @@ -6772,11 +6677,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateGameServerClusterV1"; 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/clusters", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -6844,11 +6744,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateGameServerV1"; 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); @@ -6917,11 +6812,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateGameServerV1"; 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); @@ -6987,11 +6877,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateGroup"; 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/groups", localVarRequestOptions, this.Configuration); @@ -7058,11 +6943,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateGroup"; 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/groups", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -7131,11 +7011,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateToken"; 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/token", localVarRequestOptions, this.Configuration); @@ -7205,11 +7080,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateToken"; 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/token", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -7275,11 +7145,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateUser"; 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/users", localVarRequestOptions, this.Configuration); @@ -7346,11 +7211,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.CreateUser"; 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/users", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -7421,11 +7281,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteClient"; 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.Delete("/v1/oauth2/clients/{id}", localVarRequestOptions, this.Configuration); @@ -7497,11 +7352,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteClient"; 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.DeleteAsync("/v1/oauth2/clients/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -7572,11 +7422,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGameServer"; 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.Delete("/v1/games/servers/{id}", localVarRequestOptions, this.Configuration); @@ -7648,11 +7493,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGameServer"; 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.DeleteAsync("/v1/games/servers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -7723,11 +7563,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGameServerCluster"; 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.Delete("/v1/games/servers/clusters/{id}", localVarRequestOptions, this.Configuration); @@ -7799,11 +7634,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGameServerCluster"; 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.DeleteAsync("/v1/games/servers/clusters/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -7876,11 +7706,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGameServerClusterV1"; 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.Delete("/v1/clusters/{id}", localVarRequestOptions, this.Configuration); @@ -7954,11 +7779,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGameServerClusterV1"; 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.DeleteAsync("/v1/clusters/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -8031,11 +7851,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGameServerV1"; 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.Delete("/v1/servers/{id}", localVarRequestOptions, this.Configuration); @@ -8109,11 +7924,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGameServerV1"; 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.DeleteAsync("/v1/servers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -8184,11 +7994,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGroup"; 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.Delete("/v1/groups/{id}", localVarRequestOptions, this.Configuration); @@ -8260,11 +8065,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.DeleteGroup"; 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.DeleteAsync("/v1/groups/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -8335,11 +8135,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.DeletePackage"; 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.Delete("/v1/packages/{id}", localVarRequestOptions, this.Configuration); @@ -8411,11 +8206,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.DeletePackage"; 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.DeleteAsync("/v1/packages/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -8438,10 +8228,10 @@ namespace Tribufu.Api /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. - /// List<string> - public List GenerateFlakeId(int? amount = default(int?), int operationIndex = 0) + /// List<long> + public List GenerateFlakeId(int? amount = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GenerateFlakeIdWithHttpInfo(amount); + Tribufu.Client.ApiResponse> localVarResponse = GenerateFlakeIdWithHttpInfo(amount); return localVarResponse.Data; } @@ -8451,8 +8241,8 @@ namespace Tribufu.Api /// Thrown when fails to make API call /// (optional) /// Index associated with the operation. - /// ApiResponse of List<string> - public Tribufu.Client.ApiResponse> GenerateFlakeIdWithHttpInfo(int? amount = default(int?), int operationIndex = 0) + /// ApiResponse of List<long> + public Tribufu.Client.ApiResponse> GenerateFlakeIdWithHttpInfo(int? amount = default(int?), int operationIndex = 0) { Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); @@ -8485,14 +8275,9 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GenerateFlakeId"; 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.Get>("/v1/utils/flake", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/v1/utils/flake", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GenerateFlakeId", localVarResponse); @@ -8512,10 +8297,10 @@ namespace Tribufu.Api /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<string> - public async System.Threading.Tasks.Task> GenerateFlakeIdAsync(int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of List<long> + public async System.Threading.Tasks.Task> GenerateFlakeIdAsync(int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GenerateFlakeIdWithHttpInfoAsync(amount, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Client.ApiResponse> localVarResponse = await GenerateFlakeIdWithHttpInfoAsync(amount, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -8526,8 +8311,8 @@ namespace Tribufu.Api /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<string>) - public async System.Threading.Tasks.Task>> GenerateFlakeIdWithHttpInfoAsync(int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (List<long>) + public async System.Threading.Tasks.Task>> GenerateFlakeIdWithHttpInfoAsync(int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); @@ -8560,14 +8345,9 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GenerateFlakeId"; 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.GetAsync>("/v1/utils/flake", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/v1/utils/flake", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -8588,10 +8368,10 @@ namespace Tribufu.Api /// /// (optional) /// Index associated with the operation. - /// List<string> - public List GenerateFlakeIdFromTimestamp(string timestamp, int? amount = default(int?), int operationIndex = 0) + /// List<long> + public List GenerateFlakeIdFromTimestamp(long timestamp, int? amount = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GenerateFlakeIdFromTimestampWithHttpInfo(timestamp, amount); + Tribufu.Client.ApiResponse> localVarResponse = GenerateFlakeIdFromTimestampWithHttpInfo(timestamp, amount); return localVarResponse.Data; } @@ -8602,15 +8382,9 @@ namespace Tribufu.Api /// /// (optional) /// Index associated with the operation. - /// ApiResponse of List<string> - public Tribufu.Client.ApiResponse> GenerateFlakeIdFromTimestampWithHttpInfo(string timestamp, int? amount = default(int?), int operationIndex = 0) + /// ApiResponse of List<long> + public Tribufu.Client.ApiResponse> GenerateFlakeIdFromTimestampWithHttpInfo(long timestamp, int? amount = default(int?), int operationIndex = 0) { - // verify the required parameter 'timestamp' is set - if (timestamp == null) - { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'timestamp' when calling TribufuGeneratedApi->GenerateFlakeIdFromTimestamp"); - } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -8643,14 +8417,9 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GenerateFlakeIdFromTimestamp"; 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.Get>("/v1/utils/flake/{timestamp}", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/v1/utils/flake/{timestamp}", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GenerateFlakeIdFromTimestamp", localVarResponse); @@ -8671,10 +8440,10 @@ namespace Tribufu.Api /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<string> - public async System.Threading.Tasks.Task> GenerateFlakeIdFromTimestampAsync(string timestamp, int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of List<long> + public async System.Threading.Tasks.Task> GenerateFlakeIdFromTimestampAsync(long timestamp, int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GenerateFlakeIdFromTimestampWithHttpInfoAsync(timestamp, amount, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Client.ApiResponse> localVarResponse = await GenerateFlakeIdFromTimestampWithHttpInfoAsync(timestamp, amount, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -8686,15 +8455,9 @@ namespace Tribufu.Api /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<string>) - public async System.Threading.Tasks.Task>> GenerateFlakeIdFromTimestampWithHttpInfoAsync(string timestamp, int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (List<long>) + public async System.Threading.Tasks.Task>> GenerateFlakeIdFromTimestampWithHttpInfoAsync(long timestamp, int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - // verify the required parameter 'timestamp' is set - if (timestamp == null) - { - throw new Tribufu.Client.ApiException(400, "Missing required parameter 'timestamp' when calling TribufuGeneratedApi->GenerateFlakeIdFromTimestamp"); - } - Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); @@ -8727,14 +8490,9 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GenerateFlakeIdFromTimestamp"; 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.GetAsync>("/v1/utils/flake/{timestamp}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/v1/utils/flake/{timestamp}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -8807,11 +8565,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GeneratePassword"; 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.Get("/v1/utils/password", localVarRequestOptions, this.Configuration); @@ -8888,11 +8641,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GeneratePassword"; 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.GetAsync("/v1/utils/password", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -8916,10 +8664,10 @@ namespace Tribufu.Api /// (optional) /// (optional) /// Index associated with the operation. - /// List<Guid> - public List GenerateUuid(int? version = default(int?), int? amount = default(int?), int operationIndex = 0) + /// List<string> + public List GenerateUuid(int? version = default(int?), int? amount = default(int?), int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GenerateUuidWithHttpInfo(version, amount); + Tribufu.Client.ApiResponse> localVarResponse = GenerateUuidWithHttpInfo(version, amount); return localVarResponse.Data; } @@ -8930,8 +8678,8 @@ namespace Tribufu.Api /// (optional) /// (optional) /// Index associated with the operation. - /// ApiResponse of List<Guid> - public Tribufu.Client.ApiResponse> GenerateUuidWithHttpInfo(int? version = default(int?), int? amount = default(int?), int operationIndex = 0) + /// ApiResponse of List<string> + public Tribufu.Client.ApiResponse> GenerateUuidWithHttpInfo(int? version = default(int?), int? amount = default(int?), int operationIndex = 0) { Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); @@ -8968,14 +8716,9 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GenerateUuid"; 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.Get>("/v1/utils/uuid", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/v1/utils/uuid", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GenerateUuid", localVarResponse); @@ -8996,10 +8739,10 @@ namespace Tribufu.Api /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<Guid> - public async System.Threading.Tasks.Task> GenerateUuidAsync(int? version = default(int?), int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of List<string> + public async System.Threading.Tasks.Task> GenerateUuidAsync(int? version = default(int?), int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GenerateUuidWithHttpInfoAsync(version, amount, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Client.ApiResponse> localVarResponse = await GenerateUuidWithHttpInfoAsync(version, amount, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -9011,8 +8754,8 @@ namespace Tribufu.Api /// (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<Guid>) - public async System.Threading.Tasks.Task>> GenerateUuidWithHttpInfoAsync(int? version = default(int?), int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (List<string>) + public async System.Threading.Tasks.Task>> GenerateUuidWithHttpInfoAsync(int? version = default(int?), int? amount = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); @@ -9049,14 +8792,9 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GenerateUuid"; 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.GetAsync>("/v1/utils/uuid", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/v1/utils/uuid", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -9126,11 +8864,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetClientById"; 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.Get("/v1/oauth2/clients/{id}", localVarRequestOptions, this.Configuration); @@ -9204,11 +8937,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetClientById"; 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.GetAsync("/v1/oauth2/clients/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -9272,11 +9000,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetClientInfo"; 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.Get("/v1/oauth2/clientinfo", localVarRequestOptions, this.Configuration); @@ -9341,11 +9064,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetClientInfo"; 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.GetAsync("/v1/oauth2/clientinfo", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -9427,11 +9145,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetClients"; 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.Get>("/v1/oauth2/clients", localVarRequestOptions, this.Configuration); @@ -9514,11 +9227,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetClients"; 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.GetAsync>("/v1/oauth2/clients", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -9582,11 +9290,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetCurrentIpAddress"; 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.Get>("/v1/geoip", localVarRequestOptions, this.Configuration); @@ -9651,11 +9354,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetCurrentIpAddress"; 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.GetAsync>("/v1/geoip", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -9728,11 +9426,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameById"; 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.Get("/v1/games/{id}", localVarRequestOptions, this.Configuration); @@ -9806,11 +9499,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameById"; 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.GetAsync("/v1/games/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -9886,11 +9574,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerByAddressAndQueryPort"; 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.Get("/v1/games/servers/address/{address}:{port}", localVarRequestOptions, this.Configuration); @@ -9967,11 +9650,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerByAddressAndQueryPort"; 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.GetAsync("/v1/games/servers/address/{address}:{port}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -10049,11 +9727,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerByAddressAndQueryPortV1"; 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.Get("/v1/servers/address/{address}:{port}", localVarRequestOptions, this.Configuration); @@ -10132,11 +9805,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerByAddressAndQueryPortV1"; 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.GetAsync("/v1/servers/address/{address}:{port}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -10209,11 +9877,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerById"; 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.Get("/v1/games/servers/{id}", localVarRequestOptions, this.Configuration); @@ -10287,11 +9950,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerById"; 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.GetAsync("/v1/games/servers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -10366,11 +10024,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerByIdV1"; 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.Get("/v1/servers/{id}", localVarRequestOptions, this.Configuration); @@ -10446,11 +10099,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerByIdV1"; 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.GetAsync("/v1/servers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -10523,11 +10171,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClusterById"; 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.Get("/v1/games/servers/clusters/{id}", localVarRequestOptions, this.Configuration); @@ -10601,11 +10244,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClusterById"; 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.GetAsync("/v1/games/servers/clusters/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -10680,11 +10318,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClusterByIdV1"; 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.Get("/v1/clusters/{id}", localVarRequestOptions, this.Configuration); @@ -10760,11 +10393,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClusterByIdV1"; 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.GetAsync("/v1/clusters/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -10849,11 +10477,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClusterServers"; 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.Get>("/v1/games/servers/clusters/{id}/servers", localVarRequestOptions, this.Configuration); @@ -10939,11 +10562,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClusterServers"; 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.GetAsync>("/v1/games/servers/clusters/{id}/servers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -11030,11 +10648,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClusterServersV1"; 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.Get>("/v1/clusters/{id}/servers", localVarRequestOptions, this.Configuration); @@ -11122,11 +10735,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClusterServersV1"; 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.GetAsync>("/v1/clusters/{id}/servers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -11202,11 +10810,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClusters"; 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.Get>("/v1/games/servers/clusters", localVarRequestOptions, this.Configuration); @@ -11283,11 +10886,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClusters"; 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.GetAsync>("/v1/games/servers/clusters", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -11365,11 +10963,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClustersV1"; 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.Get>("/v1/clusters", localVarRequestOptions, this.Configuration); @@ -11448,11 +11041,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerClustersV1"; 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.GetAsync>("/v1/clusters", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -11537,11 +11125,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerQueries"; 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.Get>("/v1/games/servers/{id}/queries", localVarRequestOptions, this.Configuration); @@ -11627,11 +11210,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerQueries"; 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.GetAsync>("/v1/games/servers/{id}/queries", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -11718,11 +11296,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerQueriesV1"; 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.Get>("/v1/servers/{id}/queries", localVarRequestOptions, this.Configuration); @@ -11810,11 +11383,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServerQueriesV1"; 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.GetAsync>("/v1/servers/{id}/queries", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -11914,11 +11482,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServers"; 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.Get>("/v1/games/servers", localVarRequestOptions, this.Configuration); @@ -12019,11 +11582,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServers"; 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.GetAsync>("/v1/games/servers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -12108,11 +11666,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersByCountry"; 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.Get>("/v1/games/servers/country/{country}", localVarRequestOptions, this.Configuration); @@ -12198,11 +11751,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersByCountry"; 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.GetAsync>("/v1/games/servers/country/{country}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -12289,11 +11837,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersByCountryV1"; 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.Get>("/v1/servers/country/{country}", localVarRequestOptions, this.Configuration); @@ -12381,11 +11924,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersByCountryV1"; 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.GetAsync>("/v1/servers/country/{country}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -12449,11 +11987,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersCountries"; 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.Get>("/v1/games/servers/countries", localVarRequestOptions, this.Configuration); @@ -12518,11 +12051,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersCountries"; 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.GetAsync>("/v1/games/servers/countries", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -12588,11 +12116,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersCountriesV1"; 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.Get>("/v1/servers/countries", localVarRequestOptions, this.Configuration); @@ -12659,11 +12182,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersCountriesV1"; 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.GetAsync>("/v1/servers/countries", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -12727,11 +12245,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersMetrics"; 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.Get("/v1/games/servers/metrics", localVarRequestOptions, this.Configuration); @@ -12796,11 +12309,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersMetrics"; 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.GetAsync("/v1/games/servers/metrics", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -12866,11 +12374,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersMetricsV1"; 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.Get("/v1/servers/metrics", localVarRequestOptions, this.Configuration); @@ -12937,11 +12440,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersMetricsV1"; 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.GetAsync("/v1/servers/metrics", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -13043,11 +12541,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersV1"; 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.Get>("/v1/servers", localVarRequestOptions, this.Configuration); @@ -13150,11 +12643,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGameServersV1"; 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.GetAsync>("/v1/servers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -13230,11 +12718,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGames"; 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.Get>("/v1/games", localVarRequestOptions, this.Configuration); @@ -13311,11 +12794,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGames"; 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.GetAsync>("/v1/games", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -13388,11 +12866,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupById"; 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.Get("/v1/groups/{id}", localVarRequestOptions, this.Configuration); @@ -13466,11 +12939,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupById"; 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.GetAsync("/v1/groups/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -13543,11 +13011,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupByTag"; 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.Get("/v1/groups/tag/{tag}", localVarRequestOptions, this.Configuration); @@ -13621,11 +13084,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupByTag"; 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.GetAsync("/v1/groups/tag/{tag}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -13649,7 +13107,7 @@ namespace Tribufu.Api /// /// Index associated with the operation. /// Group - public Group GetGroupByUuid(Guid uuid, int operationIndex = 0) + public Group GetGroupByUuid(string uuid, int operationIndex = 0) { Tribufu.Client.ApiResponse localVarResponse = GetGroupByUuidWithHttpInfo(uuid); return localVarResponse.Data; @@ -13662,8 +13120,14 @@ namespace Tribufu.Api /// /// Index associated with the operation. /// ApiResponse of Group - public Tribufu.Client.ApiResponse GetGroupByUuidWithHttpInfo(Guid uuid, int operationIndex = 0) + public Tribufu.Client.ApiResponse GetGroupByUuidWithHttpInfo(string uuid, int operationIndex = 0) { + // verify the required parameter 'uuid' is set + if (uuid == null) + { + throw new Tribufu.Client.ApiException(400, "Missing required parameter 'uuid' when calling TribufuGeneratedApi->GetGroupByUuid"); + } + Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -13692,11 +13156,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupByUuid"; 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.Get("/v1/groups/uuid/{uuid}", localVarRequestOptions, this.Configuration); @@ -13720,7 +13179,7 @@ namespace Tribufu.Api /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Group - public async System.Threading.Tasks.Task GetGroupByUuidAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task GetGroupByUuidAsync(string uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { Tribufu.Client.ApiResponse localVarResponse = await GetGroupByUuidWithHttpInfoAsync(uuid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; @@ -13734,8 +13193,14 @@ namespace Tribufu.Api /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Group) - public async System.Threading.Tasks.Task> GetGroupByUuidWithHttpInfoAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetGroupByUuidWithHttpInfoAsync(string uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { + // verify the required parameter 'uuid' is set + if (uuid == null) + { + throw new Tribufu.Client.ApiException(400, "Missing required parameter 'uuid' when calling TribufuGeneratedApi->GetGroupByUuid"); + } + Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); @@ -13764,11 +13229,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupByUuid"; 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.GetAsync("/v1/groups/uuid/{uuid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -13841,11 +13301,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupGames"; 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.Get>("/v1/groups/{id}/games", localVarRequestOptions, this.Configuration); @@ -13919,11 +13374,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupGames"; 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.GetAsync>("/v1/groups/{id}/games", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -13998,11 +13448,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupMembers"; 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.Get>("/v1/groups/{id}/members", localVarRequestOptions, this.Configuration); @@ -14078,11 +13523,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroupMembers"; 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.GetAsync>("/v1/groups/{id}/members", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -14158,11 +13598,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroups"; 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.Get>("/v1/groups", localVarRequestOptions, this.Configuration); @@ -14239,11 +13674,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetGroups"; 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.GetAsync>("/v1/groups", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -14316,11 +13746,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetIpAddress"; 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.Get("/v1/geoip/addresses/{address}", localVarRequestOptions, this.Configuration); @@ -14394,11 +13819,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetIpAddress"; 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.GetAsync("/v1/geoip/addresses/{address}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -14480,11 +13900,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetIpAddresses"; 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.Get>("/v1/geoip/addresses", localVarRequestOptions, this.Configuration); @@ -14567,11 +13982,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetIpAddresses"; 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.GetAsync>("/v1/geoip/addresses", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -14641,11 +14051,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetLeaderboard"; 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.Get>("/v1/leaderboard", localVarRequestOptions, this.Configuration); @@ -14716,11 +14121,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetLeaderboard"; 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.GetAsync>("/v1/leaderboard", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -14793,11 +14193,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetPackageById"; 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.Get("/v1/packages/{id}", localVarRequestOptions, this.Configuration); @@ -14871,11 +14266,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetPackageById"; 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.GetAsync("/v1/packages/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -14951,11 +14341,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetPackages"; 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.Get>("/v1/packages", localVarRequestOptions, this.Configuration); @@ -15032,11 +14417,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetPackages"; 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.GetAsync>("/v1/packages", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -15109,11 +14489,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetProductById"; 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.Get("/v1/products/{id}", localVarRequestOptions, this.Configuration); @@ -15187,11 +14562,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetProductById"; 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.GetAsync("/v1/products/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -15267,11 +14637,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetProducts"; 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.Get>("/v1/products", localVarRequestOptions, this.Configuration); @@ -15348,11 +14713,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetProducts"; 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.GetAsync>("/v1/products", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -15414,11 +14774,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetPublicKeys"; 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.Get("/v1/oauth2/jwks", localVarRequestOptions, this.Configuration); @@ -15481,11 +14836,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetPublicKeys"; 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.GetAsync("/v1/oauth2/jwks", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -15508,10 +14858,10 @@ namespace Tribufu.Api /// Thrown when fails to make API call /// /// Index associated with the operation. - /// List<Account> - public List GetUserAccounts(string id, int operationIndex = 0) + /// List<ExternalAccount> + public List GetUserAccounts(string id, int operationIndex = 0) { - Tribufu.Client.ApiResponse> localVarResponse = GetUserAccountsWithHttpInfo(id); + Tribufu.Client.ApiResponse> localVarResponse = GetUserAccountsWithHttpInfo(id); return localVarResponse.Data; } @@ -15521,8 +14871,8 @@ namespace Tribufu.Api /// Thrown when fails to make API call /// /// Index associated with the operation. - /// ApiResponse of List<Account> - public Tribufu.Client.ApiResponse> GetUserAccountsWithHttpInfo(string id, int operationIndex = 0) + /// ApiResponse of List<ExternalAccount> + public Tribufu.Client.ApiResponse> GetUserAccountsWithHttpInfo(string id, int operationIndex = 0) { // verify the required parameter 'id' is set if (id == null) @@ -15558,14 +14908,9 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserAccounts"; 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.Get>("/v1/users/{id}/accounts", localVarRequestOptions, this.Configuration); + var localVarResponse = this.Client.Get>("/v1/users/{id}/accounts", localVarRequestOptions, this.Configuration); if (this.ExceptionFactory != null) { Exception _exception = this.ExceptionFactory("GetUserAccounts", localVarResponse); @@ -15585,10 +14930,10 @@ namespace Tribufu.Api /// /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of List<Account> - public async System.Threading.Tasks.Task> GetUserAccountsAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of List<ExternalAccount> + public async System.Threading.Tasks.Task> GetUserAccountsAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { - Tribufu.Client.ApiResponse> localVarResponse = await GetUserAccountsWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); + Tribufu.Client.ApiResponse> localVarResponse = await GetUserAccountsWithHttpInfoAsync(id, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } @@ -15599,8 +14944,8 @@ namespace Tribufu.Api /// /// Index associated with the operation. /// Cancellation Token to cancel the request. - /// Task of ApiResponse (List<Account>) - public async System.Threading.Tasks.Task>> GetUserAccountsWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + /// Task of ApiResponse (List<ExternalAccount>) + public async System.Threading.Tasks.Task>> GetUserAccountsWithHttpInfoAsync(string id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { // verify the required parameter 'id' is set if (id == null) @@ -15636,14 +14981,9 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserAccounts"; 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.GetAsync>("/v1/users/{id}/accounts", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); + var localVarResponse = await this.AsynchronousClient.GetAsync>("/v1/users/{id}/accounts", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); if (this.ExceptionFactory != null) { @@ -15713,11 +15053,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserFriends"; 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.Get>("/v1/profiles/{id}/friends", localVarRequestOptions, this.Configuration); @@ -15791,11 +15126,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserFriends"; 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.GetAsync>("/v1/profiles/{id}/friends", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -15870,11 +15200,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserFriendsV1"; 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.Get>("/v1/users/{id}/friends", localVarRequestOptions, this.Configuration); @@ -15950,11 +15275,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserFriendsV1"; 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.GetAsync>("/v1/users/{id}/friends", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -16027,11 +15347,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserGames"; 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.Get>("/v1/profiles/{id}/games", localVarRequestOptions, this.Configuration); @@ -16105,11 +15420,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserGames"; 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.GetAsync>("/v1/profiles/{id}/games", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -16184,11 +15494,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserGamesV1"; 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.Get>("/v1/users/{id}/games", localVarRequestOptions, this.Configuration); @@ -16264,11 +15569,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserGamesV1"; 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.GetAsync>("/v1/users/{id}/games", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -16341,11 +15641,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserGroups"; 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.Get>("/v1/profiles/{id}/groups", localVarRequestOptions, this.Configuration); @@ -16419,11 +15714,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserGroups"; 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.GetAsync>("/v1/profiles/{id}/groups", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -16498,11 +15788,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserGroupsV1"; 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.Get>("/v1/users/{id}/groups", localVarRequestOptions, this.Configuration); @@ -16578,11 +15863,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserGroupsV1"; 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.GetAsync>("/v1/users/{id}/groups", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -16646,11 +15926,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserInfo"; 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.Get("/v1/oauth2/userinfo", localVarRequestOptions, this.Configuration); @@ -16715,11 +15990,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserInfo"; 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.GetAsync("/v1/oauth2/userinfo", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -16792,11 +16062,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfileById"; 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.Get("/v1/profiles/{id}", localVarRequestOptions, this.Configuration); @@ -16870,11 +16135,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfileById"; 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.GetAsync("/v1/profiles/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -16949,11 +16209,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfileByIdV1"; 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.Get("/v1/users/{id}", localVarRequestOptions, this.Configuration); @@ -17029,11 +16284,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfileByIdV1"; 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.GetAsync("/v1/users/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -17106,11 +16356,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfileByName"; 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.Get("/v1/profiles/name/{name}", localVarRequestOptions, this.Configuration); @@ -17184,11 +16429,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfileByName"; 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.GetAsync("/v1/profiles/name/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -17263,11 +16503,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfileByNameV1"; 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.Get("/v1/users/name/{name}", localVarRequestOptions, this.Configuration); @@ -17343,11 +16578,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfileByNameV1"; 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.GetAsync("/v1/users/name/{name}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -17371,7 +16601,7 @@ namespace Tribufu.Api /// /// Index associated with the operation. /// Profile - public Profile GetUserProfileByUuid(Guid uuid, int operationIndex = 0) + public Profile GetUserProfileByUuid(string uuid, int operationIndex = 0) { Tribufu.Client.ApiResponse localVarResponse = GetUserProfileByUuidWithHttpInfo(uuid); return localVarResponse.Data; @@ -17384,8 +16614,14 @@ namespace Tribufu.Api /// /// Index associated with the operation. /// ApiResponse of Profile - public Tribufu.Client.ApiResponse GetUserProfileByUuidWithHttpInfo(Guid uuid, int operationIndex = 0) + public Tribufu.Client.ApiResponse GetUserProfileByUuidWithHttpInfo(string uuid, int operationIndex = 0) { + // verify the required parameter 'uuid' is set + if (uuid == null) + { + throw new Tribufu.Client.ApiException(400, "Missing required parameter 'uuid' when calling TribufuGeneratedApi->GetUserProfileByUuid"); + } + Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -17414,11 +16650,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfileByUuid"; 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.Get("/v1/profiles/uuid/{uuid}", localVarRequestOptions, this.Configuration); @@ -17442,7 +16673,7 @@ namespace Tribufu.Api /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of Profile - public async System.Threading.Tasks.Task GetUserProfileByUuidAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task GetUserProfileByUuidAsync(string uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { Tribufu.Client.ApiResponse localVarResponse = await GetUserProfileByUuidWithHttpInfoAsync(uuid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; @@ -17456,8 +16687,14 @@ namespace Tribufu.Api /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Profile) - public async System.Threading.Tasks.Task> GetUserProfileByUuidWithHttpInfoAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetUserProfileByUuidWithHttpInfoAsync(string uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { + // verify the required parameter 'uuid' is set + if (uuid == null) + { + throw new Tribufu.Client.ApiException(400, "Missing required parameter 'uuid' when calling TribufuGeneratedApi->GetUserProfileByUuid"); + } + Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); @@ -17486,11 +16723,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfileByUuid"; 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.GetAsync("/v1/profiles/uuid/{uuid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -17515,7 +16747,7 @@ namespace Tribufu.Api /// Index associated with the operation. /// Profile [Obsolete] - public Profile GetUserProfileByUuidV1(Guid uuid, int operationIndex = 0) + public Profile GetUserProfileByUuidV1(string uuid, int operationIndex = 0) { Tribufu.Client.ApiResponse localVarResponse = GetUserProfileByUuidV1WithHttpInfo(uuid); return localVarResponse.Data; @@ -17529,8 +16761,14 @@ namespace Tribufu.Api /// Index associated with the operation. /// ApiResponse of Profile [Obsolete] - public Tribufu.Client.ApiResponse GetUserProfileByUuidV1WithHttpInfo(Guid uuid, int operationIndex = 0) + public Tribufu.Client.ApiResponse GetUserProfileByUuidV1WithHttpInfo(string uuid, int operationIndex = 0) { + // verify the required parameter 'uuid' is set + if (uuid == null) + { + throw new Tribufu.Client.ApiException(400, "Missing required parameter 'uuid' when calling TribufuGeneratedApi->GetUserProfileByUuidV1"); + } + Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); string[] _contentTypes = new string[] { @@ -17559,11 +16797,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfileByUuidV1"; 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.Get("/v1/users/uuid/{uuid}", localVarRequestOptions, this.Configuration); @@ -17588,7 +16821,7 @@ namespace Tribufu.Api /// Cancellation Token to cancel the request. /// Task of Profile [Obsolete] - public async System.Threading.Tasks.Task GetUserProfileByUuidV1Async(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task GetUserProfileByUuidV1Async(string uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { Tribufu.Client.ApiResponse localVarResponse = await GetUserProfileByUuidV1WithHttpInfoAsync(uuid, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; @@ -17603,8 +16836,14 @@ namespace Tribufu.Api /// Cancellation Token to cancel the request. /// Task of ApiResponse (Profile) [Obsolete] - public async System.Threading.Tasks.Task> GetUserProfileByUuidV1WithHttpInfoAsync(Guid uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> GetUserProfileByUuidV1WithHttpInfoAsync(string uuid, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { + // verify the required parameter 'uuid' is set + if (uuid == null) + { + throw new Tribufu.Client.ApiException(400, "Missing required parameter 'uuid' when calling TribufuGeneratedApi->GetUserProfileByUuidV1"); + } + Tribufu.Client.RequestOptions localVarRequestOptions = new Tribufu.Client.RequestOptions(); @@ -17633,11 +16872,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfileByUuidV1"; 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.GetAsync("/v1/users/uuid/{uuid}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -17713,11 +16947,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfiles"; 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.Get>("/v1/profiles", localVarRequestOptions, this.Configuration); @@ -17794,11 +17023,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfiles"; 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.GetAsync>("/v1/profiles", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -17876,11 +17100,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfilesV1"; 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.Get>("/v1/users", localVarRequestOptions, this.Configuration); @@ -17959,11 +17178,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserProfilesV1"; 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.GetAsync>("/v1/users", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -18036,11 +17250,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserSanctions"; 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.Get>("/v1/profiles/{id}/sanctions", localVarRequestOptions, this.Configuration); @@ -18114,11 +17323,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserSanctions"; 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.GetAsync>("/v1/profiles/{id}/sanctions", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -18193,11 +17397,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserSanctionsV1"; 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.Get>("/v1/users/{id}/sanctions", localVarRequestOptions, this.Configuration); @@ -18273,11 +17472,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserSanctionsV1"; 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.GetAsync>("/v1/users/{id}/sanctions", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -18362,11 +17556,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserServers"; 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.Get>("/v1/profiles/{id}/servers", localVarRequestOptions, this.Configuration); @@ -18452,11 +17641,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserServers"; 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.GetAsync>("/v1/profiles/{id}/servers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -18543,11 +17727,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserServersV1"; 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.Get>("/v1/users/{id}/servers", localVarRequestOptions, this.Configuration); @@ -18635,11 +17814,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.GetUserServersV1"; 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.GetAsync>("/v1/users/{id}/servers", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -18707,11 +17881,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.HashArgon2"; 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/argon2", localVarRequestOptions, this.Configuration); @@ -18780,11 +17949,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.HashArgon2"; 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/argon2", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -18852,11 +18016,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.HashBcrypt"; 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/bcrypt", localVarRequestOptions, this.Configuration); @@ -18925,11 +18084,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.HashBcrypt"; 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/bcrypt", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -18997,11 +18151,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.HashMd5"; 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/md5", localVarRequestOptions, this.Configuration); @@ -19070,11 +18219,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.HashMd5"; 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/md5", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -19142,11 +18286,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.HashSha256"; 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/sha256", localVarRequestOptions, this.Configuration); @@ -19215,11 +18354,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.HashSha256"; 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/sha256", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -19288,11 +18422,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.IntrospectToken"; 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/introspect", localVarRequestOptions, this.Configuration); @@ -19362,11 +18491,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.IntrospectToken"; 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/introspect", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -19433,11 +18557,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.RevokeToken"; 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/revoke", localVarRequestOptions, this.Configuration); @@ -19505,11 +18624,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.RevokeToken"; 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/revoke", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -19577,11 +18691,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.Search"; 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/search", localVarRequestOptions, this.Configuration); @@ -19650,11 +18759,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.Search"; 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/search", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -19729,11 +18833,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateClient"; 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/oauth2/clients/{id}", localVarRequestOptions, this.Configuration); @@ -19809,11 +18908,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateClient"; 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/oauth2/clients/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -19888,11 +18982,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGameServer"; 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/games/servers/{id}", localVarRequestOptions, this.Configuration); @@ -19968,11 +19057,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGameServer"; 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/games/servers/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -20047,11 +19131,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGameServerCluster"; 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/games/servers/clusters/{id}", localVarRequestOptions, this.Configuration); @@ -20127,11 +19206,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGameServerCluster"; 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/games/servers/clusters/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -20208,11 +19282,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGameServerClusterV1"; 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/clusters/{id}", localVarRequestOptions, this.Configuration); @@ -20290,11 +19359,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGameServerClusterV1"; 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/clusters/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -20371,11 +19435,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGameServerV1"; 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}", localVarRequestOptions, this.Configuration); @@ -20453,11 +19512,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGameServerV1"; 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}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -20532,11 +19586,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGroup"; 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/groups/{id}", localVarRequestOptions, this.Configuration); @@ -20612,11 +19661,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateGroup"; 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/groups/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -20691,11 +19735,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdatePackage"; 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/packages/{id}", localVarRequestOptions, this.Configuration); @@ -20771,11 +19810,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdatePackage"; 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/packages/{id}", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -20852,11 +19886,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateUserProfile"; 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/profiles/{id}/profile", localVarRequestOptions, this.Configuration); @@ -20934,11 +19963,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateUserProfile"; 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/profiles/{id}/profile", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); @@ -21017,11 +20041,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateUserProfileV1"; 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}/profile", localVarRequestOptions, this.Configuration); @@ -21101,11 +20120,6 @@ namespace Tribufu.Api localVarRequestOptions.Operation = "TribufuGeneratedApi.UpdateUserProfileV1"; 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}/profile", localVarRequestOptions, this.Configuration, cancellationToken).ConfigureAwait(false); diff --git a/src/Tribufu/Client/ApiClient.cs b/src/Tribufu/Client/ApiClient.cs index c259f8e..6e8b67c 100644 --- a/src/Tribufu/Client/ApiClient.cs +++ b/src/Tribufu/Client/ApiClient.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Client/ApiException.cs b/src/Tribufu/Client/ApiException.cs index 711d390..496d053 100644 --- a/src/Tribufu/Client/ApiException.cs +++ b/src/Tribufu/Client/ApiException.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Client/ApiResponse.cs b/src/Tribufu/Client/ApiResponse.cs index cd8b08c..b335d0a 100644 --- a/src/Tribufu/Client/ApiResponse.cs +++ b/src/Tribufu/Client/ApiResponse.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Client/ClientUtils.cs b/src/Tribufu/Client/ClientUtils.cs index 1063213..a4a40ac 100644 --- a/src/Tribufu/Client/ClientUtils.cs +++ b/src/Tribufu/Client/ClientUtils.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Client/Configuration.cs b/src/Tribufu/Client/Configuration.cs index c3c4843..bea1d2d 100644 --- a/src/Tribufu/Client/Configuration.cs +++ b/src/Tribufu/Client/Configuration.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -540,7 +540,7 @@ namespace Tribufu.Client string report = "C# SDK (Tribufu) Debug Report:\n"; report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; - report += " Version of the API: 1.3.0\n"; + report += " Version of the API: 1.4.3\n"; report += " SDK Package Version: 1.0.0\n"; return report; diff --git a/src/Tribufu/Client/ExceptionFactory.cs b/src/Tribufu/Client/ExceptionFactory.cs index 34364a1..64d31e7 100644 --- a/src/Tribufu/Client/ExceptionFactory.cs +++ b/src/Tribufu/Client/ExceptionFactory.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Client/GlobalConfiguration.cs b/src/Tribufu/Client/GlobalConfiguration.cs index ff0141b..21a4195 100644 --- a/src/Tribufu/Client/GlobalConfiguration.cs +++ b/src/Tribufu/Client/GlobalConfiguration.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Client/HttpMethod.cs b/src/Tribufu/Client/HttpMethod.cs index ba76475..7df4f3a 100644 --- a/src/Tribufu/Client/HttpMethod.cs +++ b/src/Tribufu/Client/HttpMethod.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Client/IApiAccessor.cs b/src/Tribufu/Client/IApiAccessor.cs index 33aa55a..7447d6a 100644 --- a/src/Tribufu/Client/IApiAccessor.cs +++ b/src/Tribufu/Client/IApiAccessor.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Client/IAsynchronousClient.cs b/src/Tribufu/Client/IAsynchronousClient.cs index da592c5..429cbaa 100644 --- a/src/Tribufu/Client/IAsynchronousClient.cs +++ b/src/Tribufu/Client/IAsynchronousClient.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Client/IReadableConfiguration.cs b/src/Tribufu/Client/IReadableConfiguration.cs index 7744557..fba571c 100644 --- a/src/Tribufu/Client/IReadableConfiguration.cs +++ b/src/Tribufu/Client/IReadableConfiguration.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Client/ISynchronousClient.cs b/src/Tribufu/Client/ISynchronousClient.cs index c9445ae..a1cfb4f 100644 --- a/src/Tribufu/Client/ISynchronousClient.cs +++ b/src/Tribufu/Client/ISynchronousClient.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Client/Multimap.cs b/src/Tribufu/Client/Multimap.cs index 00a8a45..a83d159 100644 --- a/src/Tribufu/Client/Multimap.cs +++ b/src/Tribufu/Client/Multimap.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Client/OpenAPIDateConverter.cs b/src/Tribufu/Client/OpenAPIDateConverter.cs index 1391b28..4452f49 100644 --- a/src/Tribufu/Client/OpenAPIDateConverter.cs +++ b/src/Tribufu/Client/OpenAPIDateConverter.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Client/RequestOptions.cs b/src/Tribufu/Client/RequestOptions.cs index 81d1f51..2a7cc7a 100644 --- a/src/Tribufu/Client/RequestOptions.cs +++ b/src/Tribufu/Client/RequestOptions.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Client/RetryConfiguration.cs b/src/Tribufu/Client/RetryConfiguration.cs index 7b711fe..c7604ca 100644 --- a/src/Tribufu/Client/RetryConfiguration.cs +++ b/src/Tribufu/Client/RetryConfiguration.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/AbstractOpenAPISchema.cs b/src/Tribufu/Model/AbstractOpenAPISchema.cs index a282223..0a5ee40 100644 --- a/src/Tribufu/Model/AbstractOpenAPISchema.cs +++ b/src/Tribufu/Model/AbstractOpenAPISchema.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/Application.cs b/src/Tribufu/Model/Application.cs index 1d79518..ec6e6b8 100644 --- a/src/Tribufu/Model/Application.cs +++ b/src/Tribufu/Model/Application.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -56,9 +56,10 @@ namespace Tribufu.Model /// capsuleImageUrl. /// libraryImageUrl. /// slug. - /// created. - /// updated. - public Application(string id = default(string), string name = default(string), string description = default(string), ApplicationType? type = default(ApplicationType?), string organizationId = default(string), string iconUrl = default(string), string bannerUrl = default(string), string capsuleImageUrl = default(string), string libraryImageUrl = default(string), string slug = default(string), DateTime created = default(DateTime), DateTime? updated = default(DateTime?)) + /// createdAt. + /// updatedAt. + /// deletedAt. + public Application(string id = default(string), string name = default(string), string description = default(string), ApplicationType? type = default(ApplicationType?), string organizationId = default(string), string iconUrl = default(string), string bannerUrl = default(string), string capsuleImageUrl = default(string), string libraryImageUrl = default(string), string slug = default(string), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?)) { // to ensure "name" is required (not null) if (name == null) @@ -75,8 +76,9 @@ namespace Tribufu.Model this.CapsuleImageUrl = capsuleImageUrl; this.LibraryImageUrl = libraryImageUrl; this.Slug = slug; - this.Created = created; - this.Updated = updated; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; + this.DeletedAt = deletedAt; } /// @@ -100,7 +102,7 @@ namespace Tribufu.Model /// /// Gets or Sets OrganizationId /// - [DataMember(Name = "organization_id", EmitDefaultValue = true)] + [DataMember(Name = "organization_id", EmitDefaultValue = false)] public string OrganizationId { get; set; } /// @@ -134,16 +136,22 @@ namespace Tribufu.Model public string Slug { get; set; } /// - /// Gets or Sets Created + /// Gets or Sets CreatedAt /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } + [DataMember(Name = "created_at", EmitDefaultValue = false)] + public DateTime CreatedAt { get; set; } /// - /// Gets or Sets Updated + /// Gets or Sets UpdatedAt /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; set; } + + /// + /// Gets or Sets DeletedAt + /// + [DataMember(Name = "deleted_at", EmitDefaultValue = true)] + public DateTime? DeletedAt { get; set; } /// /// Returns the string presentation of the object @@ -163,8 +171,9 @@ namespace Tribufu.Model sb.Append(" CapsuleImageUrl: ").Append(CapsuleImageUrl).Append("\n"); sb.Append(" LibraryImageUrl: ").Append(LibraryImageUrl).Append("\n"); sb.Append(" Slug: ").Append(Slug).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append(" Updated: ").Append(Updated).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Tribufu/Model/ApplicationType.cs b/src/Tribufu/Model/ApplicationType.cs index 2d2d38e..d3cd21f 100644 --- a/src/Tribufu/Model/ApplicationType.cs +++ b/src/Tribufu/Model/ApplicationType.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -33,10 +33,10 @@ namespace Tribufu.Model public enum ApplicationType { /// - /// Enum Application for value: application + /// Enum Software for value: software /// - [EnumMember(Value = "application")] - Application, + [EnumMember(Value = "software")] + Software, /// /// Enum Game for value: game diff --git a/src/Tribufu/Model/AuthorizeRequest.cs b/src/Tribufu/Model/AuthorizeRequest.cs index 0b32301..6f9a8a3 100644 --- a/src/Tribufu/Model/AuthorizeRequest.cs +++ b/src/Tribufu/Model/AuthorizeRequest.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/ClientInfo.cs b/src/Tribufu/Model/ClientInfo.cs index 3072473..51a15f2 100644 --- a/src/Tribufu/Model/ClientInfo.cs +++ b/src/Tribufu/Model/ClientInfo.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/ClientType.cs b/src/Tribufu/Model/ClientType.cs index ff5b51e..b2acac7 100644 --- a/src/Tribufu/Model/ClientType.cs +++ b/src/Tribufu/Model/ClientType.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/CodeChallengeMethod.cs b/src/Tribufu/Model/CodeChallengeMethod.cs index 3d9d8f7..6025fd8 100644 --- a/src/Tribufu/Model/CodeChallengeMethod.cs +++ b/src/Tribufu/Model/CodeChallengeMethod.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/CodeResponse.cs b/src/Tribufu/Model/CodeResponse.cs index 04f8673..4619640 100644 --- a/src/Tribufu/Model/CodeResponse.cs +++ b/src/Tribufu/Model/CodeResponse.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/CreateUser.cs b/src/Tribufu/Model/CreateUser.cs index f5ca14d..c8acf12 100644 --- a/src/Tribufu/Model/CreateUser.cs +++ b/src/Tribufu/Model/CreateUser.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -49,7 +49,7 @@ namespace Tribufu.Model /// timezone. /// currency. /// ipAddress. - public CreateUser(Guid? uuid = default(Guid?), string name = default(string), string displayName = default(string), string email = default(string), string password = default(string), string language = default(string), string timezone = default(string), string currency = default(string), string ipAddress = default(string)) + public CreateUser(string uuid = default(string), string name = default(string), string displayName = default(string), string email = default(string), string password = default(string), string language = default(string), string timezone = default(string), string currency = default(string), string ipAddress = default(string)) { // to ensure "name" is required (not null) if (name == null) @@ -70,8 +70,8 @@ namespace Tribufu.Model /// /// Gets or Sets Uuid /// - [DataMember(Name = "uuid", EmitDefaultValue = true)] - public Guid? Uuid { get; set; } + [DataMember(Name = "uuid", EmitDefaultValue = false)] + public string Uuid { get; set; } /// /// Gets or Sets Name diff --git a/src/Tribufu/Model/CryptoViewModel.cs b/src/Tribufu/Model/CryptoViewModel.cs index 67a6248..5b563a2 100644 --- a/src/Tribufu/Model/CryptoViewModel.cs +++ b/src/Tribufu/Model/CryptoViewModel.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/ExternalAccount.cs b/src/Tribufu/Model/ExternalAccount.cs new file mode 100644 index 0000000..f24245b --- /dev/null +++ b/src/Tribufu/Model/ExternalAccount.cs @@ -0,0 +1,177 @@ +/* + * Tribufu API + * + * API to access Tribufu services. + * + * The version of the OpenAPI document: 1.4.3 + * Contact: contact@tribufu.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; + +namespace Tribufu.Model +{ + /// + /// ExternalAccount + /// + [DataContract(Name = "ExternalAccount")] + public partial class ExternalAccount : IValidatableObject + { + + /// + /// Gets or Sets Provider + /// + [DataMember(Name = "provider", IsRequired = true, EmitDefaultValue = true)] + public IdentityProviderType Provider { get; set; } + /// + /// Initializes a new instance of the class. + /// + [JsonConstructorAttribute] + protected ExternalAccount() { } + /// + /// Initializes a new instance of the class. + /// + /// userId. + /// provider (required). + /// externalId (required). + /// name. + /// authorized. + /// fields. + /// createdAt. + /// updatedAt. + /// deletedAt. + public ExternalAccount(string userId = default(string), IdentityProviderType provider = default(IdentityProviderType), string externalId = default(string), string name = default(string), bool authorized = default(bool), Dictionary fields = default(Dictionary), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?)) + { + this.Provider = provider; + // to ensure "externalId" is required (not null) + if (externalId == null) + { + throw new ArgumentNullException("externalId is a required property for ExternalAccount and cannot be null"); + } + this.ExternalId = externalId; + this.UserId = userId; + this.Name = name; + this.Authorized = authorized; + this.Fields = fields; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; + this.DeletedAt = deletedAt; + } + + /// + /// Gets or Sets UserId + /// + [DataMember(Name = "user_id", EmitDefaultValue = false)] + public string UserId { get; set; } + + /// + /// Gets or Sets ExternalId + /// + [DataMember(Name = "external_id", IsRequired = true, EmitDefaultValue = true)] + public string ExternalId { get; set; } + + /// + /// Gets or Sets Name + /// + [DataMember(Name = "name", EmitDefaultValue = true)] + public string Name { get; set; } + + /// + /// Gets or Sets Authorized + /// + [DataMember(Name = "authorized", EmitDefaultValue = true)] + public bool Authorized { get; set; } + + /// + /// Gets or Sets Fields + /// + [DataMember(Name = "fields", EmitDefaultValue = true)] + public Dictionary Fields { get; set; } + + /// + /// Gets or Sets CreatedAt + /// + [DataMember(Name = "created_at", EmitDefaultValue = false)] + public DateTime CreatedAt { get; set; } + + /// + /// Gets or Sets UpdatedAt + /// + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; set; } + + /// + /// Gets or Sets DeletedAt + /// + [DataMember(Name = "deleted_at", EmitDefaultValue = true)] + public DateTime? DeletedAt { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + StringBuilder sb = new StringBuilder(); + sb.Append("class ExternalAccount {\n"); + sb.Append(" UserId: ").Append(UserId).Append("\n"); + sb.Append(" Provider: ").Append(Provider).Append("\n"); + sb.Append(" ExternalId: ").Append(ExternalId).Append("\n"); + sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Authorized: ").Append(Authorized).Append("\n"); + sb.Append(" Fields: ").Append(Fields).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return Newtonsoft.Json.JsonConvert.SerializeObject(this, Newtonsoft.Json.Formatting.Indented); + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + // ExternalId (string) maxLength + if (this.ExternalId != null && this.ExternalId.Length > 45) + { + yield return new ValidationResult("Invalid value for ExternalId, length must be less than 45.", new [] { "ExternalId" }); + } + + // Name (string) maxLength + if (this.Name != null && this.Name.Length > 75) + { + yield return new ValidationResult("Invalid value for Name, length must be less than 75.", new [] { "Name" }); + } + + yield break; + } + } + +} diff --git a/src/Tribufu/Model/Game.cs b/src/Tribufu/Model/Game.cs index 922373d..638a09e 100644 --- a/src/Tribufu/Model/Game.cs +++ b/src/Tribufu/Model/Game.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -56,8 +56,9 @@ namespace Tribufu.Model /// capsuleImageUrl. /// libraryImageUrl. /// slug. - /// created. - /// updated. + /// createdAt. + /// updatedAt. + /// deletedAt. /// enableServers. /// gamePort. /// queryPort. @@ -65,7 +66,7 @@ namespace Tribufu.Model /// gamedigId. /// steamAppId. /// steamServerAppId. - public Game(string id = default(string), string name = default(string), string description = default(string), ApplicationType? type = default(ApplicationType?), string organizationId = default(string), string iconUrl = default(string), string bannerUrl = default(string), string capsuleImageUrl = default(string), string libraryImageUrl = default(string), string slug = default(string), DateTime created = default(DateTime), DateTime? updated = default(DateTime?), bool enableServers = default(bool), int? gamePort = default(int?), int? queryPort = default(int?), int? rconPort = default(int?), string gamedigId = default(string), int? steamAppId = default(int?), int? steamServerAppId = default(int?)) + public Game(string id = default(string), string name = default(string), string description = default(string), ApplicationType? type = default(ApplicationType?), string organizationId = default(string), string iconUrl = default(string), string bannerUrl = default(string), string capsuleImageUrl = default(string), string libraryImageUrl = default(string), string slug = default(string), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?), bool enableServers = default(bool), int? gamePort = default(int?), int? queryPort = default(int?), int? rconPort = default(int?), string gamedigId = default(string), int? steamAppId = default(int?), int? steamServerAppId = default(int?)) { // to ensure "name" is required (not null) if (name == null) @@ -82,8 +83,9 @@ namespace Tribufu.Model this.CapsuleImageUrl = capsuleImageUrl; this.LibraryImageUrl = libraryImageUrl; this.Slug = slug; - this.Created = created; - this.Updated = updated; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; + this.DeletedAt = deletedAt; this.EnableServers = enableServers; this.GamePort = gamePort; this.QueryPort = queryPort; @@ -114,7 +116,7 @@ namespace Tribufu.Model /// /// Gets or Sets OrganizationId /// - [DataMember(Name = "organization_id", EmitDefaultValue = true)] + [DataMember(Name = "organization_id", EmitDefaultValue = false)] public string OrganizationId { get; set; } /// @@ -148,16 +150,22 @@ namespace Tribufu.Model public string Slug { get; set; } /// - /// Gets or Sets Created + /// Gets or Sets CreatedAt /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } + [DataMember(Name = "created_at", EmitDefaultValue = false)] + public DateTime CreatedAt { get; set; } /// - /// Gets or Sets Updated + /// Gets or Sets UpdatedAt /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; set; } + + /// + /// Gets or Sets DeletedAt + /// + [DataMember(Name = "deleted_at", EmitDefaultValue = true)] + public DateTime? DeletedAt { get; set; } /// /// Gets or Sets EnableServers @@ -219,8 +227,9 @@ namespace Tribufu.Model sb.Append(" CapsuleImageUrl: ").Append(CapsuleImageUrl).Append("\n"); sb.Append(" LibraryImageUrl: ").Append(LibraryImageUrl).Append("\n"); sb.Append(" Slug: ").Append(Slug).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append(" Updated: ").Append(Updated).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n"); sb.Append(" EnableServers: ").Append(EnableServers).Append("\n"); sb.Append(" GamePort: ").Append(GamePort).Append("\n"); sb.Append(" QueryPort: ").Append(QueryPort).Append("\n"); diff --git a/src/Tribufu/Model/GameServer.cs b/src/Tribufu/Model/GameServer.cs index a740f22..283a689 100644 --- a/src/Tribufu/Model/GameServer.cs +++ b/src/Tribufu/Model/GameServer.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -59,9 +59,10 @@ namespace Tribufu.Model /// steam. /// discordServerId. /// youtubeVideoUrl. - /// created. - /// updated. - public GameServer(string id = default(string), string name = default(string), string description = default(string), string ownerId = default(string), string address = default(string), int queryPort = default(int), int? gamePort = default(int?), string map = default(string), string varVersion = default(string), string gameId = default(string), string gameIconUrl = default(string), string clusterId = default(string), string websiteUrl = default(string), string bannerUrl = default(string), double uptime = default(double), string country = default(string), bool steam = default(bool), string discordServerId = default(string), string youtubeVideoUrl = default(string), DateTime created = default(DateTime), DateTime? updated = default(DateTime?)) + /// createdAt. + /// updatedAt. + /// deletedAt. + public GameServer(string id = default(string), string name = default(string), string description = default(string), string ownerId = default(string), string address = default(string), int queryPort = default(int), int? gamePort = default(int?), string map = default(string), string varVersion = default(string), string gameId = default(string), string gameIconUrl = default(string), string clusterId = default(string), string websiteUrl = default(string), string bannerUrl = default(string), double uptime = default(double), string country = default(string), bool steam = default(bool), long? discordServerId = default(long?), string youtubeVideoUrl = default(string), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?)) { // to ensure "name" is required (not null) if (name == null) @@ -92,8 +93,9 @@ namespace Tribufu.Model this.Steam = steam; this.DiscordServerId = discordServerId; this.YoutubeVideoUrl = youtubeVideoUrl; - this.Created = created; - this.Updated = updated; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; + this.DeletedAt = deletedAt; } /// @@ -117,7 +119,7 @@ namespace Tribufu.Model /// /// Gets or Sets OwnerId /// - [DataMember(Name = "owner_id", EmitDefaultValue = true)] + [DataMember(Name = "owner_id", EmitDefaultValue = false)] public string OwnerId { get; set; } /// @@ -165,7 +167,7 @@ namespace Tribufu.Model /// /// Gets or Sets ClusterId /// - [DataMember(Name = "cluster_id", EmitDefaultValue = true)] + [DataMember(Name = "cluster_id", EmitDefaultValue = false)] public string ClusterId { get; set; } /// @@ -202,7 +204,7 @@ namespace Tribufu.Model /// Gets or Sets DiscordServerId /// [DataMember(Name = "discord_server_id", EmitDefaultValue = true)] - public string DiscordServerId { get; set; } + public long? DiscordServerId { get; set; } /// /// Gets or Sets YoutubeVideoUrl @@ -211,16 +213,22 @@ namespace Tribufu.Model public string YoutubeVideoUrl { get; set; } /// - /// Gets or Sets Created + /// Gets or Sets CreatedAt /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } + [DataMember(Name = "created_at", EmitDefaultValue = false)] + public DateTime CreatedAt { get; set; } /// - /// Gets or Sets Updated + /// Gets or Sets UpdatedAt /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; set; } + + /// + /// Gets or Sets DeletedAt + /// + [DataMember(Name = "deleted_at", EmitDefaultValue = true)] + public DateTime? DeletedAt { get; set; } /// /// Returns the string presentation of the object @@ -249,8 +257,9 @@ namespace Tribufu.Model sb.Append(" Steam: ").Append(Steam).Append("\n"); sb.Append(" DiscordServerId: ").Append(DiscordServerId).Append("\n"); sb.Append(" YoutubeVideoUrl: ").Append(YoutubeVideoUrl).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append(" Updated: ").Append(Updated).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Tribufu/Model/GameServerCluster.cs b/src/Tribufu/Model/GameServerCluster.cs index 6f27de9..8c93d83 100644 --- a/src/Tribufu/Model/GameServerCluster.cs +++ b/src/Tribufu/Model/GameServerCluster.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -52,9 +52,10 @@ namespace Tribufu.Model /// tags. /// commentCount. /// serverCount. - /// created. - /// updated. - public GameServerCluster(string id = default(string), string name = default(string), string description = default(string), string gameId = default(string), string websiteUrl = default(string), string bannerUrl = default(string), string ownerId = default(string), string discordServerId = default(string), string youtubeVideoUrl = default(string), string tags = default(string), int commentCount = default(int), int serverCount = default(int), DateTime created = default(DateTime), DateTime? updated = default(DateTime?)) + /// createdAt. + /// updatedAt. + /// deletedAt. + public GameServerCluster(string id = default(string), string name = default(string), string description = default(string), string gameId = default(string), string websiteUrl = default(string), string bannerUrl = default(string), string ownerId = default(string), long? discordServerId = default(long?), string youtubeVideoUrl = default(string), string tags = default(string), int commentCount = default(int), int serverCount = default(int), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?)) { // to ensure "name" is required (not null) if (name == null) @@ -73,8 +74,9 @@ namespace Tribufu.Model this.Tags = tags; this.CommentCount = commentCount; this.ServerCount = serverCount; - this.Created = created; - this.Updated = updated; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; + this.DeletedAt = deletedAt; } /// @@ -123,7 +125,7 @@ namespace Tribufu.Model /// Gets or Sets DiscordServerId /// [DataMember(Name = "discord_server_id", EmitDefaultValue = true)] - public string DiscordServerId { get; set; } + public long? DiscordServerId { get; set; } /// /// Gets or Sets YoutubeVideoUrl @@ -150,16 +152,22 @@ namespace Tribufu.Model public int ServerCount { get; set; } /// - /// Gets or Sets Created + /// Gets or Sets CreatedAt /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } + [DataMember(Name = "created_at", EmitDefaultValue = false)] + public DateTime CreatedAt { get; set; } /// - /// Gets or Sets Updated + /// Gets or Sets UpdatedAt /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; set; } + + /// + /// Gets or Sets DeletedAt + /// + [DataMember(Name = "deleted_at", EmitDefaultValue = true)] + public DateTime? DeletedAt { get; set; } /// /// Returns the string presentation of the object @@ -181,8 +189,9 @@ namespace Tribufu.Model sb.Append(" Tags: ").Append(Tags).Append("\n"); sb.Append(" CommentCount: ").Append(CommentCount).Append("\n"); sb.Append(" ServerCount: ").Append(ServerCount).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append(" Updated: ").Append(Updated).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Tribufu/Model/GameServerQuery.cs b/src/Tribufu/Model/GameServerQuery.cs index f15549d..1b31d4d 100644 --- a/src/Tribufu/Model/GameServerQuery.cs +++ b/src/Tribufu/Model/GameServerQuery.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -48,8 +48,8 @@ namespace Tribufu.Model /// currentPlayers. /// maxPlayers. /// motd. - /// created. - public GameServerQuery(string id = default(string), string serverId = default(string), GameServerStatus? status = default(GameServerStatus?), int ping = default(int), int currentPlayers = default(int), int maxPlayers = default(int), string motd = default(string), DateTime created = default(DateTime)) + /// createdAt. + public GameServerQuery(string id = default(string), string serverId = default(string), GameServerStatus? status = default(GameServerStatus?), int ping = default(int), int currentPlayers = default(int), int maxPlayers = default(int), string motd = default(string), DateTime createdAt = default(DateTime)) { this.Id = id; this.ServerId = serverId; @@ -58,7 +58,7 @@ namespace Tribufu.Model this.CurrentPlayers = currentPlayers; this.MaxPlayers = maxPlayers; this.Motd = motd; - this.Created = created; + this.CreatedAt = createdAt; } /// @@ -98,10 +98,10 @@ namespace Tribufu.Model public string Motd { get; set; } /// - /// Gets or Sets Created + /// Gets or Sets CreatedAt /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } + [DataMember(Name = "created_at", EmitDefaultValue = false)] + public DateTime CreatedAt { get; set; } /// /// Returns the string presentation of the object @@ -118,7 +118,7 @@ namespace Tribufu.Model sb.Append(" CurrentPlayers: ").Append(CurrentPlayers).Append("\n"); sb.Append(" MaxPlayers: ").Append(MaxPlayers).Append("\n"); sb.Append(" Motd: ").Append(Motd).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Tribufu/Model/GameServerStatus.cs b/src/Tribufu/Model/GameServerStatus.cs index aa74bea..35648e5 100644 --- a/src/Tribufu/Model/GameServerStatus.cs +++ b/src/Tribufu/Model/GameServerStatus.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/GrantType.cs b/src/Tribufu/Model/GrantType.cs index 02ee64f..d371edc 100644 --- a/src/Tribufu/Model/GrantType.cs +++ b/src/Tribufu/Model/GrantType.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/Group.cs b/src/Tribufu/Model/Group.cs index fad9de6..474f9ad 100644 --- a/src/Tribufu/Model/Group.cs +++ b/src/Tribufu/Model/Group.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -54,9 +54,10 @@ namespace Tribufu.Model /// memberCount. /// followerCount. /// viewCount. - /// created. - /// updated. - public Group(string id = default(string), Guid uuid = default(Guid), string name = default(string), string tag = default(string), string description = default(string), int type = default(int), int privacy = default(int), string ownerId = default(string), bool verified = default(bool), string photoUrl = default(string), string bannerUrl = default(string), int memberCount = default(int), int followerCount = default(int), int viewCount = default(int), DateTime created = default(DateTime), DateTime? updated = default(DateTime?)) + /// createdAt. + /// updatedAt. + /// deletedAt. + public Group(string id = default(string), string uuid = default(string), string name = default(string), string tag = default(string), string description = default(string), int type = default(int), int privacy = default(int), string ownerId = default(string), bool verified = default(bool), string photoUrl = default(string), string bannerUrl = default(string), int memberCount = default(int), int followerCount = default(int), int viewCount = default(int), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?)) { // to ensure "name" is required (not null) if (name == null) @@ -77,8 +78,9 @@ namespace Tribufu.Model this.MemberCount = memberCount; this.FollowerCount = followerCount; this.ViewCount = viewCount; - this.Created = created; - this.Updated = updated; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; + this.DeletedAt = deletedAt; } /// @@ -91,7 +93,7 @@ namespace Tribufu.Model /// Gets or Sets Uuid /// [DataMember(Name = "uuid", EmitDefaultValue = false)] - public Guid Uuid { get; set; } + public string Uuid { get; set; } /// /// Gets or Sets Name @@ -166,16 +168,22 @@ namespace Tribufu.Model public int ViewCount { get; set; } /// - /// Gets or Sets Created + /// Gets or Sets CreatedAt /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } + [DataMember(Name = "created_at", EmitDefaultValue = false)] + public DateTime CreatedAt { get; set; } /// - /// Gets or Sets Updated + /// Gets or Sets UpdatedAt /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; set; } + + /// + /// Gets or Sets DeletedAt + /// + [DataMember(Name = "deleted_at", EmitDefaultValue = true)] + public DateTime? DeletedAt { get; set; } /// /// Returns the string presentation of the object @@ -199,8 +207,9 @@ namespace Tribufu.Model sb.Append(" MemberCount: ").Append(MemberCount).Append("\n"); sb.Append(" FollowerCount: ").Append(FollowerCount).Append("\n"); sb.Append(" ViewCount: ").Append(ViewCount).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append(" Updated: ").Append(Updated).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Tribufu/Model/GroupApplication.cs b/src/Tribufu/Model/GroupApplication.cs index b3bb03e..50011a4 100644 --- a/src/Tribufu/Model/GroupApplication.cs +++ b/src/Tribufu/Model/GroupApplication.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/GroupMember.cs b/src/Tribufu/Model/GroupMember.cs index 712d109..dc7c3e0 100644 --- a/src/Tribufu/Model/GroupMember.cs +++ b/src/Tribufu/Model/GroupMember.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -42,23 +42,17 @@ namespace Tribufu.Model /// Initializes a new instance of the class. /// /// id. - /// uuid. /// name. /// displayName. - /// verified. /// photoUrl. - /// lastOnline. /// rank. /// since. - public GroupMember(string id = default(string), Guid uuid = default(Guid), string name = default(string), string displayName = default(string), bool verified = default(bool), string photoUrl = default(string), DateTime? lastOnline = default(DateTime?), GroupRank? rank = default(GroupRank?), DateTime since = default(DateTime)) + public GroupMember(string id = default(string), string name = default(string), string displayName = default(string), string photoUrl = default(string), GroupRank? rank = default(GroupRank?), DateTime since = default(DateTime)) { this.Id = id; - this.Uuid = uuid; this.Name = name; this.DisplayName = displayName; - this.Verified = verified; this.PhotoUrl = photoUrl; - this.LastOnline = lastOnline; this.Rank = rank; this.Since = since; } @@ -69,12 +63,6 @@ namespace Tribufu.Model [DataMember(Name = "id", EmitDefaultValue = false)] public string Id { get; set; } - /// - /// Gets or Sets Uuid - /// - [DataMember(Name = "uuid", EmitDefaultValue = false)] - public Guid Uuid { get; set; } - /// /// Gets or Sets Name /// @@ -87,24 +75,12 @@ namespace Tribufu.Model [DataMember(Name = "display_name", EmitDefaultValue = true)] public string DisplayName { get; set; } - /// - /// Gets or Sets Verified - /// - [DataMember(Name = "verified", EmitDefaultValue = true)] - public bool Verified { get; set; } - /// /// Gets or Sets PhotoUrl /// [DataMember(Name = "photo_url", EmitDefaultValue = true)] public string PhotoUrl { get; set; } - /// - /// Gets or Sets LastOnline - /// - [DataMember(Name = "last_online", EmitDefaultValue = true)] - public DateTime? LastOnline { get; set; } - /// /// Gets or Sets Since /// @@ -120,12 +96,9 @@ namespace Tribufu.Model StringBuilder sb = new StringBuilder(); sb.Append("class GroupMember {\n"); sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append(" Uuid: ").Append(Uuid).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" DisplayName: ").Append(DisplayName).Append("\n"); - sb.Append(" Verified: ").Append(Verified).Append("\n"); sb.Append(" PhotoUrl: ").Append(PhotoUrl).Append("\n"); - sb.Append(" LastOnline: ").Append(LastOnline).Append("\n"); sb.Append(" Rank: ").Append(Rank).Append("\n"); sb.Append(" Since: ").Append(Since).Append("\n"); sb.Append("}\n"); diff --git a/src/Tribufu/Model/GroupRank.cs b/src/Tribufu/Model/GroupRank.cs index 8df4b81..fd13361 100644 --- a/src/Tribufu/Model/GroupRank.cs +++ b/src/Tribufu/Model/GroupRank.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/HashViewModel.cs b/src/Tribufu/Model/HashViewModel.cs index 89cc955..3879813 100644 --- a/src/Tribufu/Model/HashViewModel.cs +++ b/src/Tribufu/Model/HashViewModel.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/IdentityProviderType.cs b/src/Tribufu/Model/IdentityProviderType.cs new file mode 100644 index 0000000..9c8de06 --- /dev/null +++ b/src/Tribufu/Model/IdentityProviderType.cs @@ -0,0 +1,78 @@ +/* + * Tribufu API + * + * API to access Tribufu services. + * + * The version of the OpenAPI document: 1.4.3 + * Contact: contact@tribufu.com + * Generated by: https://github.com/openapitools/openapi-generator.git + */ + + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.IO; +using System.Runtime.Serialization; +using System.Text; +using System.Text.RegularExpressions; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; +using System.ComponentModel.DataAnnotations; +using OpenAPIDateConverter = Tribufu.Client.OpenAPIDateConverter; + +namespace Tribufu.Model +{ + /// + /// Defines IdentityProviderType + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum IdentityProviderType + { + /// + /// Enum Steam for value: steam + /// + [EnumMember(Value = "steam")] + Steam, + + /// + /// Enum Epic for value: epic + /// + [EnumMember(Value = "epic")] + Epic, + + /// + /// Enum Discord for value: discord + /// + [EnumMember(Value = "discord")] + Discord, + + /// + /// Enum Microsoft for value: microsoft + /// + [EnumMember(Value = "microsoft")] + Microsoft, + + /// + /// Enum Playstation for value: playstation + /// + [EnumMember(Value = "playstation")] + Playstation, + + /// + /// Enum Google for value: google + /// + [EnumMember(Value = "google")] + Google, + + /// + /// Enum Apple for value: apple + /// + [EnumMember(Value = "apple")] + Apple + } + +} diff --git a/src/Tribufu/Model/IntrospectRequest.cs b/src/Tribufu/Model/IntrospectRequest.cs index 0b5b3ad..b5dc838 100644 --- a/src/Tribufu/Model/IntrospectRequest.cs +++ b/src/Tribufu/Model/IntrospectRequest.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/IntrospectResponse.cs b/src/Tribufu/Model/IntrospectResponse.cs index efc09af..27e0482 100644 --- a/src/Tribufu/Model/IntrospectResponse.cs +++ b/src/Tribufu/Model/IntrospectResponse.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/IpAddress.cs b/src/Tribufu/Model/IpAddress.cs index ae097f1..1aaafa4 100644 --- a/src/Tribufu/Model/IpAddress.cs +++ b/src/Tribufu/Model/IpAddress.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/LeaderboardItem.cs b/src/Tribufu/Model/LeaderboardItem.cs index f57f8f9..0222cb9 100644 --- a/src/Tribufu/Model/LeaderboardItem.cs +++ b/src/Tribufu/Model/LeaderboardItem.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/LeaderboardOrder.cs b/src/Tribufu/Model/LeaderboardOrder.cs index db059a8..b0ec474 100644 --- a/src/Tribufu/Model/LeaderboardOrder.cs +++ b/src/Tribufu/Model/LeaderboardOrder.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/ModelClient.cs b/src/Tribufu/Model/ModelClient.cs index 1ea8a92..5ca9c5a 100644 --- a/src/Tribufu/Model/ModelClient.cs +++ b/src/Tribufu/Model/ModelClient.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -56,9 +56,10 @@ namespace Tribufu.Model /// backgroundUrl. /// redirects. /// scopes. - /// created. - /// updated. - public ModelClient(string id = default(string), string name = default(string), ClientType? type = default(ClientType?), string organizationId = default(string), bool trusted = default(bool), string websiteUrl = default(string), string photoUrl = default(string), string backgroundUrl = default(string), string redirects = default(string), string scopes = default(string), DateTime created = default(DateTime), DateTime? updated = default(DateTime?)) + /// createdAt. + /// updatedAt. + /// deletedAt. + public ModelClient(string id = default(string), string name = default(string), ClientType? type = default(ClientType?), string organizationId = default(string), bool trusted = default(bool), string websiteUrl = default(string), string photoUrl = default(string), string backgroundUrl = default(string), string redirects = default(string), string scopes = default(string), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?)) { // to ensure "name" is required (not null) if (name == null) @@ -75,8 +76,9 @@ namespace Tribufu.Model this.BackgroundUrl = backgroundUrl; this.Redirects = redirects; this.Scopes = scopes; - this.Created = created; - this.Updated = updated; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; + this.DeletedAt = deletedAt; } /// @@ -148,16 +150,22 @@ namespace Tribufu.Model return false; } /// - /// Gets or Sets Created + /// Gets or Sets CreatedAt /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } + [DataMember(Name = "created_at", EmitDefaultValue = false)] + public DateTime CreatedAt { get; set; } /// - /// Gets or Sets Updated + /// Gets or Sets UpdatedAt /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; set; } + + /// + /// Gets or Sets DeletedAt + /// + [DataMember(Name = "deleted_at", EmitDefaultValue = true)] + public DateTime? DeletedAt { get; set; } /// /// Returns the string presentation of the object @@ -178,8 +186,9 @@ namespace Tribufu.Model sb.Append(" Redirects: ").Append(Redirects).Append("\n"); sb.Append(" Scopes: ").Append(Scopes).Append("\n"); sb.Append(" Permissions: ").Append(Permissions).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append(" Updated: ").Append(Updated).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Tribufu/Model/Package.cs b/src/Tribufu/Model/Package.cs index 9170aa1..d48442a 100644 --- a/src/Tribufu/Model/Package.cs +++ b/src/Tribufu/Model/Package.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -50,9 +50,10 @@ namespace Tribufu.Model /// downloadCount. /// lastDownload. /// releases. - /// created. - /// updated. - public Package(string id = default(string), string name = default(string), string description = default(string), string authorId = default(string), string imageUrl = default(string), string applicationId = default(string), string categoryId = default(string), int downloadCount = default(int), DateTime? lastDownload = default(DateTime?), List releases = default(List), DateTime created = default(DateTime), DateTime? updated = default(DateTime?)) + /// createdAt. + /// updatedAt. + /// deletedAt. + public Package(string id = default(string), string name = default(string), string description = default(string), string authorId = default(string), string imageUrl = default(string), string applicationId = default(string), string categoryId = default(string), int downloadCount = default(int), DateTime? lastDownload = default(DateTime?), List releases = default(List), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?)) { // to ensure "name" is required (not null) if (name == null) @@ -74,8 +75,9 @@ namespace Tribufu.Model this.DownloadCount = downloadCount; this.LastDownload = lastDownload; this.Releases = releases; - this.Created = created; - this.Updated = updated; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; + this.DeletedAt = deletedAt; } /// @@ -111,13 +113,13 @@ namespace Tribufu.Model /// /// Gets or Sets ApplicationId /// - [DataMember(Name = "application_id", EmitDefaultValue = true)] + [DataMember(Name = "application_id", EmitDefaultValue = false)] public string ApplicationId { get; set; } /// /// Gets or Sets CategoryId /// - [DataMember(Name = "category_id", EmitDefaultValue = true)] + [DataMember(Name = "category_id", EmitDefaultValue = false)] public string CategoryId { get; set; } /// @@ -139,16 +141,22 @@ namespace Tribufu.Model public List Releases { get; set; } /// - /// Gets or Sets Created + /// Gets or Sets CreatedAt /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } + [DataMember(Name = "created_at", EmitDefaultValue = false)] + public DateTime CreatedAt { get; set; } /// - /// Gets or Sets Updated + /// Gets or Sets UpdatedAt /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; set; } + + /// + /// Gets or Sets DeletedAt + /// + [DataMember(Name = "deleted_at", EmitDefaultValue = true)] + public DateTime? DeletedAt { get; set; } /// /// Returns the string presentation of the object @@ -168,8 +176,9 @@ namespace Tribufu.Model sb.Append(" DownloadCount: ").Append(DownloadCount).Append("\n"); sb.Append(" LastDownload: ").Append(LastDownload).Append("\n"); sb.Append(" Releases: ").Append(Releases).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append(" Updated: ").Append(Updated).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Tribufu/Model/PackageRelease.cs b/src/Tribufu/Model/PackageRelease.cs index da09596..4052067 100644 --- a/src/Tribufu/Model/PackageRelease.cs +++ b/src/Tribufu/Model/PackageRelease.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -44,9 +44,10 @@ namespace Tribufu.Model /// varVersion (required). /// packageId. /// notes. - /// created. - /// updated. - public PackageRelease(string id = default(string), string varVersion = default(string), string packageId = default(string), string notes = default(string), DateTime created = default(DateTime), DateTime? updated = default(DateTime?)) + /// createdAt. + /// updatedAt. + /// deletedAt. + public PackageRelease(string id = default(string), string varVersion = default(string), string packageId = default(string), string notes = default(string), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?)) { // to ensure "varVersion" is required (not null) if (varVersion == null) @@ -57,8 +58,9 @@ namespace Tribufu.Model this.Id = id; this.PackageId = packageId; this.Notes = notes; - this.Created = created; - this.Updated = updated; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; + this.DeletedAt = deletedAt; } /// @@ -100,16 +102,22 @@ namespace Tribufu.Model return false; } /// - /// Gets or Sets Created + /// Gets or Sets CreatedAt /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } + [DataMember(Name = "created_at", EmitDefaultValue = false)] + public DateTime CreatedAt { get; set; } /// - /// Gets or Sets Updated + /// Gets or Sets UpdatedAt /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; set; } + + /// + /// Gets or Sets DeletedAt + /// + [DataMember(Name = "deleted_at", EmitDefaultValue = true)] + public DateTime? DeletedAt { get; set; } /// /// Returns the string presentation of the object @@ -124,8 +132,9 @@ namespace Tribufu.Model sb.Append(" PackageId: ").Append(PackageId).Append("\n"); sb.Append(" Notes: ").Append(Notes).Append("\n"); sb.Append(" Files: ").Append(Files).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append(" Updated: ").Append(Updated).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Tribufu/Model/Product.cs b/src/Tribufu/Model/Product.cs index 15e373b..e8ca8b0 100644 --- a/src/Tribufu/Model/Product.cs +++ b/src/Tribufu/Model/Product.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -48,15 +48,16 @@ namespace Tribufu.Model /// /// id. /// name (required). + /// sku. /// description. /// type. /// slug. /// imageUrl. - /// isPhysical. /// prices. - /// created. - /// updated. - public Product(string id = default(string), string name = default(string), string description = default(string), ProductType? type = default(ProductType?), string slug = default(string), string imageUrl = default(string), bool isPhysical = default(bool), List prices = default(List), DateTime created = default(DateTime), DateTime? updated = default(DateTime?)) + /// createdAt. + /// updatedAt. + /// deletedAt. + public Product(string id = default(string), string name = default(string), string sku = default(string), string description = default(string), ProductType? type = default(ProductType?), string slug = default(string), string imageUrl = default(string), List prices = default(List), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?)) { // to ensure "name" is required (not null) if (name == null) @@ -65,14 +66,15 @@ namespace Tribufu.Model } this.Name = name; this.Id = id; + this.Sku = sku; this.Description = description; this.Type = type; this.Slug = slug; this.ImageUrl = imageUrl; - this.IsPhysical = isPhysical; this.Prices = prices; - this.Created = created; - this.Updated = updated; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; + this.DeletedAt = deletedAt; } /// @@ -87,6 +89,12 @@ namespace Tribufu.Model [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = true)] public string Name { get; set; } + /// + /// Gets or Sets Sku + /// + [DataMember(Name = "sku", EmitDefaultValue = true)] + public string Sku { get; set; } + /// /// Gets or Sets Description /// @@ -105,12 +113,6 @@ namespace Tribufu.Model [DataMember(Name = "image_url", EmitDefaultValue = true)] public string ImageUrl { get; set; } - /// - /// Gets or Sets IsPhysical - /// - [DataMember(Name = "is_physical", EmitDefaultValue = true)] - public bool IsPhysical { get; set; } - /// /// Gets or Sets Prices /// @@ -118,16 +120,22 @@ namespace Tribufu.Model public List Prices { get; set; } /// - /// Gets or Sets Created + /// Gets or Sets CreatedAt /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } + [DataMember(Name = "created_at", EmitDefaultValue = false)] + public DateTime CreatedAt { get; set; } /// - /// Gets or Sets Updated + /// Gets or Sets UpdatedAt /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; set; } + + /// + /// Gets or Sets DeletedAt + /// + [DataMember(Name = "deleted_at", EmitDefaultValue = true)] + public DateTime? DeletedAt { get; set; } /// /// Returns the string presentation of the object @@ -139,14 +147,15 @@ namespace Tribufu.Model sb.Append("class Product {\n"); sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" Sku: ").Append(Sku).Append("\n"); sb.Append(" Description: ").Append(Description).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); sb.Append(" Slug: ").Append(Slug).Append("\n"); sb.Append(" ImageUrl: ").Append(ImageUrl).Append("\n"); - sb.Append(" IsPhysical: ").Append(IsPhysical).Append("\n"); sb.Append(" Prices: ").Append(Prices).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append(" Updated: ").Append(Updated).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -173,6 +182,12 @@ namespace Tribufu.Model yield return new ValidationResult("Invalid value for Name, length must be less than 75.", new [] { "Name" }); } + // Sku (string) maxLength + if (this.Sku != null && this.Sku.Length > 75) + { + yield return new ValidationResult("Invalid value for Sku, length must be less than 75.", new [] { "Sku" }); + } + // Slug (string) maxLength if (this.Slug != null && this.Slug.Length > 75) { diff --git a/src/Tribufu/Model/ProductPrice.cs b/src/Tribufu/Model/ProductPrice.cs index 8730a2f..a01ebea 100644 --- a/src/Tribufu/Model/ProductPrice.cs +++ b/src/Tribufu/Model/ProductPrice.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -41,9 +41,9 @@ namespace Tribufu.Model /// Initializes a new instance of the class. /// /// currency (required). - /// amount. + /// price. /// renewal. - public ProductPrice(string currency = default(string), double amount = default(double), double? renewal = default(double?)) + public ProductPrice(string currency = default(string), double price = default(double), double? renewal = default(double?)) { // to ensure "currency" is required (not null) if (currency == null) @@ -51,7 +51,7 @@ namespace Tribufu.Model throw new ArgumentNullException("currency is a required property for ProductPrice and cannot be null"); } this.Currency = currency; - this.Amount = amount; + this.Price = price; this.Renewal = renewal; } @@ -62,10 +62,10 @@ namespace Tribufu.Model public string Currency { get; set; } /// - /// Gets or Sets Amount + /// Gets or Sets Price /// - [DataMember(Name = "amount", EmitDefaultValue = false)] - public double Amount { get; set; } + [DataMember(Name = "price", EmitDefaultValue = false)] + public double Price { get; set; } /// /// Gets or Sets Renewal @@ -82,7 +82,7 @@ namespace Tribufu.Model StringBuilder sb = new StringBuilder(); sb.Append("class ProductPrice {\n"); sb.Append(" Currency: ").Append(Currency).Append("\n"); - sb.Append(" Amount: ").Append(Amount).Append("\n"); + sb.Append(" Price: ").Append(Price).Append("\n"); sb.Append(" Renewal: ").Append(Renewal).Append("\n"); sb.Append("}\n"); return sb.ToString(); diff --git a/src/Tribufu/Model/ProductType.cs b/src/Tribufu/Model/ProductType.cs index 5a9f8e6..a75e466 100644 --- a/src/Tribufu/Model/ProductType.cs +++ b/src/Tribufu/Model/ProductType.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/Profile.cs b/src/Tribufu/Model/Profile.cs index 9b5a469..02724d5 100644 --- a/src/Tribufu/Model/Profile.cs +++ b/src/Tribufu/Model/Profile.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -35,155 +35,194 @@ namespace Tribufu.Model /// /// Initializes a new instance of the class. /// - /// id. - /// uuid. - /// name. - /// displayName. - /// verified. - /// level. - /// experience. - /// publicBirthday. - /// birthday. - /// points. - /// location. - /// photoUrl. - /// bannerUrl. - /// lastOnline. - /// biography. - /// viewCount. - /// created. - /// updated. - public Profile(string id = default(string), Guid uuid = default(Guid), string name = default(string), string displayName = default(string), bool verified = default(bool), int level = default(int), double experience = default(double), bool publicBirthday = default(bool), DateTime? birthday = default(DateTime?), double points = default(double), string location = default(string), string photoUrl = default(string), string bannerUrl = default(string), DateTime? lastOnline = default(DateTime?), string biography = default(string), int viewCount = default(int), DateTime created = default(DateTime), DateTime? updated = default(DateTime?)) + [JsonConstructorAttribute] + public Profile() { - this.Id = id; - this.Uuid = uuid; - this.Name = name; - this.DisplayName = displayName; - this.Verified = verified; - this.Level = level; - this.Experience = experience; - this.PublicBirthday = publicBirthday; - this.Birthday = birthday; - this.Points = points; - this.Location = location; - this.PhotoUrl = photoUrl; - this.BannerUrl = bannerUrl; - this.LastOnline = lastOnline; - this.Biography = biography; - this.ViewCount = viewCount; - this.Created = created; - this.Updated = updated; } /// /// Gets or Sets Id /// [DataMember(Name = "id", EmitDefaultValue = false)] - public string Id { get; set; } + public string Id { get; private set; } /// - /// Gets or Sets Uuid + /// Returns false as Id should not be serialized given that it's read-only. /// - [DataMember(Name = "uuid", EmitDefaultValue = false)] - public Guid Uuid { get; set; } - + /// false (boolean) + public bool ShouldSerializeId() + { + return false; + } /// /// Gets or Sets Name /// [DataMember(Name = "name", EmitDefaultValue = true)] - public string Name { get; set; } + public string Name { get; private set; } + /// + /// Returns false as Name should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeName() + { + return false; + } /// /// Gets or Sets DisplayName /// [DataMember(Name = "display_name", EmitDefaultValue = true)] - public string DisplayName { get; set; } + public string DisplayName { get; private set; } /// - /// Gets or Sets Verified + /// Returns false as DisplayName should not be serialized given that it's read-only. /// - [DataMember(Name = "verified", EmitDefaultValue = true)] - public bool Verified { get; set; } - + /// false (boolean) + public bool ShouldSerializeDisplayName() + { + return false; + } /// /// Gets or Sets Level /// [DataMember(Name = "level", EmitDefaultValue = false)] - public int Level { get; set; } + public int Level { get; private set; } + /// + /// Returns false as Level should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeLevel() + { + return false; + } /// /// Gets or Sets Experience /// [DataMember(Name = "experience", EmitDefaultValue = false)] - public double Experience { get; set; } + public double Experience { get; private set; } /// - /// Gets or Sets PublicBirthday + /// Returns false as Experience should not be serialized given that it's read-only. /// - [DataMember(Name = "public_birthday", EmitDefaultValue = true)] - public bool PublicBirthday { get; set; } - + /// false (boolean) + public bool ShouldSerializeExperience() + { + return false; + } /// /// Gets or Sets Birthday /// [DataMember(Name = "birthday", EmitDefaultValue = true)] [JsonConverter(typeof(OpenAPIDateConverter))] - public DateTime? Birthday { get; set; } + public DateTime? Birthday { get; private set; } + /// + /// Returns false as Birthday should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeBirthday() + { + return false; + } /// /// Gets or Sets Points /// [DataMember(Name = "points", EmitDefaultValue = false)] - public double Points { get; set; } + public double Points { get; private set; } /// - /// Gets or Sets Location + /// Returns false as Points should not be serialized given that it's read-only. /// - [DataMember(Name = "location", EmitDefaultValue = true)] - public string Location { get; set; } - + /// false (boolean) + public bool ShouldSerializePoints() + { + return false; + } /// /// Gets or Sets PhotoUrl /// [DataMember(Name = "photo_url", EmitDefaultValue = true)] - public string PhotoUrl { get; set; } + public string PhotoUrl { get; private set; } + /// + /// Returns false as PhotoUrl should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializePhotoUrl() + { + return false; + } /// /// Gets or Sets BannerUrl /// [DataMember(Name = "banner_url", EmitDefaultValue = true)] - public string BannerUrl { get; set; } + public string BannerUrl { get; private set; } + /// + /// Returns false as BannerUrl should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeBannerUrl() + { + return false; + } /// /// Gets or Sets LastOnline /// [DataMember(Name = "last_online", EmitDefaultValue = true)] - public DateTime? LastOnline { get; set; } + public DateTime? LastOnline { get; private set; } + /// + /// Returns false as LastOnline should not be serialized given that it's read-only. + /// + /// false (boolean) + public bool ShouldSerializeLastOnline() + { + return false; + } /// /// Gets or Sets Biography /// [DataMember(Name = "biography", EmitDefaultValue = true)] - public string Biography { get; set; } + public string Biography { get; private set; } /// - /// Gets or Sets ViewCount + /// Returns false as Biography should not be serialized given that it's read-only. /// - [DataMember(Name = "view_count", EmitDefaultValue = false)] - public int ViewCount { get; set; } + /// false (boolean) + public bool ShouldSerializeBiography() + { + return false; + } + /// + /// Gets or Sets CreatedAt + /// + [DataMember(Name = "created_at", EmitDefaultValue = false)] + public DateTime CreatedAt { get; private set; } /// - /// Gets or Sets Created + /// Returns false as CreatedAt should not be serialized given that it's read-only. /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } + /// false (boolean) + public bool ShouldSerializeCreatedAt() + { + return false; + } + /// + /// Gets or Sets UpdatedAt + /// + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; private set; } /// - /// Gets or Sets Updated + /// Returns false as UpdatedAt should not be serialized given that it's read-only. /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } - + /// false (boolean) + public bool ShouldSerializeUpdatedAt() + { + return false; + } /// /// Returns the string presentation of the object /// @@ -193,23 +232,18 @@ namespace Tribufu.Model StringBuilder sb = new StringBuilder(); sb.Append("class Profile {\n"); sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append(" Uuid: ").Append(Uuid).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" DisplayName: ").Append(DisplayName).Append("\n"); - sb.Append(" Verified: ").Append(Verified).Append("\n"); sb.Append(" Level: ").Append(Level).Append("\n"); sb.Append(" Experience: ").Append(Experience).Append("\n"); - sb.Append(" PublicBirthday: ").Append(PublicBirthday).Append("\n"); sb.Append(" Birthday: ").Append(Birthday).Append("\n"); sb.Append(" Points: ").Append(Points).Append("\n"); - sb.Append(" Location: ").Append(Location).Append("\n"); sb.Append(" PhotoUrl: ").Append(PhotoUrl).Append("\n"); sb.Append(" BannerUrl: ").Append(BannerUrl).Append("\n"); sb.Append(" LastOnline: ").Append(LastOnline).Append("\n"); sb.Append(" Biography: ").Append(Biography).Append("\n"); - sb.Append(" ViewCount: ").Append(ViewCount).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append(" Updated: ").Append(Updated).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -230,6 +264,18 @@ namespace Tribufu.Model /// Validation Result IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { + // DisplayName (string) maxLength + if (this.DisplayName != null && this.DisplayName.Length > 45) + { + yield return new ValidationResult("Invalid value for DisplayName, length must be less than 45.", new [] { "DisplayName" }); + } + + // BannerUrl (string) maxLength + if (this.BannerUrl != null && this.BannerUrl.Length > 255) + { + yield return new ValidationResult("Invalid value for BannerUrl, length must be less than 255.", new [] { "BannerUrl" }); + } + yield break; } } diff --git a/src/Tribufu/Model/ProfileGame.cs b/src/Tribufu/Model/ProfileGame.cs index 7bab8c4..4451c1b 100644 --- a/src/Tribufu/Model/ProfileGame.cs +++ b/src/Tribufu/Model/ProfileGame.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/ProfileGroup.cs b/src/Tribufu/Model/ProfileGroup.cs index f4232ac..711c9ec 100644 --- a/src/Tribufu/Model/ProfileGroup.cs +++ b/src/Tribufu/Model/ProfileGroup.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -51,7 +51,7 @@ namespace Tribufu.Model /// memberCount. /// rank. /// since. - public ProfileGroup(string id = default(string), Guid uuid = default(Guid), string name = default(string), string tag = default(string), int privacy = default(int), bool verified = default(bool), string photoUrl = default(string), int memberCount = default(int), GroupRank? rank = default(GroupRank?), DateTime since = default(DateTime)) + public ProfileGroup(string id = default(string), string uuid = default(string), string name = default(string), string tag = default(string), int privacy = default(int), bool verified = default(bool), string photoUrl = default(string), int memberCount = default(int), GroupRank? rank = default(GroupRank?), DateTime since = default(DateTime)) { this.Id = id; this.Uuid = uuid; @@ -75,7 +75,7 @@ namespace Tribufu.Model /// Gets or Sets Uuid /// [DataMember(Name = "uuid", EmitDefaultValue = false)] - public Guid Uuid { get; set; } + public string Uuid { get; set; } /// /// Gets or Sets Name diff --git a/src/Tribufu/Model/ResponseType.cs b/src/Tribufu/Model/ResponseType.cs index 5e7e6e5..7e0403b 100644 --- a/src/Tribufu/Model/ResponseType.cs +++ b/src/Tribufu/Model/ResponseType.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/RevokeRequest.cs b/src/Tribufu/Model/RevokeRequest.cs index 3c63768..20c4209 100644 --- a/src/Tribufu/Model/RevokeRequest.cs +++ b/src/Tribufu/Model/RevokeRequest.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/Search.cs b/src/Tribufu/Model/Search.cs index b891f60..b6a3dc0 100644 --- a/src/Tribufu/Model/Search.cs +++ b/src/Tribufu/Model/Search.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -78,7 +78,7 @@ namespace Tribufu.Model /// /// Gets or Sets GameId /// - [DataMember(Name = "game_id", EmitDefaultValue = true)] + [DataMember(Name = "game_id", EmitDefaultValue = false)] public string GameId { get; set; } /// diff --git a/src/Tribufu/Model/SearchType.cs b/src/Tribufu/Model/SearchType.cs index 2169c35..0253ad1 100644 --- a/src/Tribufu/Model/SearchType.cs +++ b/src/Tribufu/Model/SearchType.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/ServerMetrics.cs b/src/Tribufu/Model/ServerMetrics.cs index fd44f10..2f6359e 100644 --- a/src/Tribufu/Model/ServerMetrics.cs +++ b/src/Tribufu/Model/ServerMetrics.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/StorageFile.cs b/src/Tribufu/Model/StorageFile.cs index 2d9fac8..56025ef 100644 --- a/src/Tribufu/Model/StorageFile.cs +++ b/src/Tribufu/Model/StorageFile.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -47,9 +47,10 @@ namespace Tribufu.Model /// size. /// hash. /// etag. - /// created. - /// updated. - public StorageFile(string id = default(string), string name = default(string), string contentType = default(string), string url = default(string), long size = default(long), string hash = default(string), string etag = default(string), DateTime created = default(DateTime), DateTime? updated = default(DateTime?)) + /// createdAt. + /// updatedAt. + /// deletedAt. + public StorageFile(string id = default(string), string name = default(string), string contentType = default(string), string url = default(string), long size = default(long), string hash = default(string), string etag = default(string), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?), DateTime? deletedAt = default(DateTime?)) { // to ensure "name" is required (not null) if (name == null) @@ -73,8 +74,9 @@ namespace Tribufu.Model this.Size = size; this.Hash = hash; this.Etag = etag; - this.Created = created; - this.Updated = updated; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; + this.DeletedAt = deletedAt; } /// @@ -120,16 +122,22 @@ namespace Tribufu.Model public string Etag { get; set; } /// - /// Gets or Sets Created + /// Gets or Sets CreatedAt /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } + [DataMember(Name = "created_at", EmitDefaultValue = false)] + public DateTime CreatedAt { get; set; } /// - /// Gets or Sets Updated + /// Gets or Sets UpdatedAt /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; set; } + + /// + /// Gets or Sets DeletedAt + /// + [DataMember(Name = "deleted_at", EmitDefaultValue = true)] + public DateTime? DeletedAt { get; set; } /// /// Returns the string presentation of the object @@ -146,8 +154,9 @@ namespace Tribufu.Model sb.Append(" Size: ").Append(Size).Append("\n"); sb.Append(" Hash: ").Append(Hash).Append("\n"); sb.Append(" Etag: ").Append(Etag).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append(" Updated: ").Append(Updated).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); + sb.Append(" DeletedAt: ").Append(DeletedAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Tribufu/Model/TokenHintType.cs b/src/Tribufu/Model/TokenHintType.cs index 48ba1db..099dc37 100644 --- a/src/Tribufu/Model/TokenHintType.cs +++ b/src/Tribufu/Model/TokenHintType.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/TokenRequest.cs b/src/Tribufu/Model/TokenRequest.cs index 641890c..bcbc3e3 100644 --- a/src/Tribufu/Model/TokenRequest.cs +++ b/src/Tribufu/Model/TokenRequest.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/TokenResponse.cs b/src/Tribufu/Model/TokenResponse.cs index de4bc31..d410c4d 100644 --- a/src/Tribufu/Model/TokenResponse.cs +++ b/src/Tribufu/Model/TokenResponse.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/TokenType.cs b/src/Tribufu/Model/TokenType.cs index 47cc6ca..058d4b4 100644 --- a/src/Tribufu/Model/TokenType.cs +++ b/src/Tribufu/Model/TokenType.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/UpdateProfile.cs b/src/Tribufu/Model/UpdateProfile.cs index bd87068..0de3f9d 100644 --- a/src/Tribufu/Model/UpdateProfile.cs +++ b/src/Tribufu/Model/UpdateProfile.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ diff --git a/src/Tribufu/Model/UserInfo.cs b/src/Tribufu/Model/UserInfo.cs index 8bd8932..8be80ce 100644 --- a/src/Tribufu/Model/UserInfo.cs +++ b/src/Tribufu/Model/UserInfo.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */ @@ -47,10 +47,9 @@ namespace Tribufu.Model /// Initializes a new instance of the class. /// /// id. - /// uuid. /// name (required). /// displayName. - /// email. + /// emailAddress. /// emailVerified. /// type. /// language. @@ -58,9 +57,9 @@ namespace Tribufu.Model /// currency. /// photoUrl. /// permissions. - /// created. - /// updated. - public UserInfo(string id = default(string), Guid uuid = default(Guid), string name = default(string), string displayName = default(string), string email = default(string), bool emailVerified = default(bool), UserType? type = default(UserType?), string language = default(string), string timezone = default(string), string currency = default(string), string photoUrl = default(string), List permissions = default(List), DateTime created = default(DateTime), DateTime? updated = default(DateTime?)) + /// createdAt. + /// updatedAt. + public UserInfo(string id = default(string), string name = default(string), string displayName = default(string), string emailAddress = default(string), bool emailVerified = default(bool), UserType? type = default(UserType?), string language = default(string), string timezone = default(string), string currency = default(string), string photoUrl = default(string), List permissions = default(List), DateTime createdAt = default(DateTime), DateTime? updatedAt = default(DateTime?)) { // to ensure "name" is required (not null) if (name == null) @@ -69,9 +68,8 @@ namespace Tribufu.Model } this.Name = name; this.Id = id; - this.Uuid = uuid; this.DisplayName = displayName; - this.Email = email; + this.EmailAddress = emailAddress; this.EmailVerified = emailVerified; this.Type = type; this.Language = language; @@ -79,8 +77,8 @@ namespace Tribufu.Model this.Currency = currency; this.PhotoUrl = photoUrl; this.Permissions = permissions; - this.Created = created; - this.Updated = updated; + this.CreatedAt = createdAt; + this.UpdatedAt = updatedAt; } /// @@ -89,12 +87,6 @@ namespace Tribufu.Model [DataMember(Name = "id", EmitDefaultValue = false)] public string Id { get; set; } - /// - /// Gets or Sets Uuid - /// - [DataMember(Name = "uuid", EmitDefaultValue = false)] - public Guid Uuid { get; set; } - /// /// Gets or Sets Name /// @@ -108,10 +100,10 @@ namespace Tribufu.Model public string DisplayName { get; set; } /// - /// Gets or Sets Email + /// Gets or Sets EmailAddress /// - [DataMember(Name = "email", EmitDefaultValue = true)] - public string Email { get; set; } + [DataMember(Name = "email_address", EmitDefaultValue = true)] + public string EmailAddress { get; set; } /// /// Gets or Sets EmailVerified @@ -150,16 +142,16 @@ namespace Tribufu.Model public List Permissions { get; set; } /// - /// Gets or Sets Created + /// Gets or Sets CreatedAt /// - [DataMember(Name = "created", EmitDefaultValue = false)] - public DateTime Created { get; set; } + [DataMember(Name = "created_at", EmitDefaultValue = false)] + public DateTime CreatedAt { get; set; } /// - /// Gets or Sets Updated + /// Gets or Sets UpdatedAt /// - [DataMember(Name = "updated", EmitDefaultValue = true)] - public DateTime? Updated { get; set; } + [DataMember(Name = "updated_at", EmitDefaultValue = true)] + public DateTime? UpdatedAt { get; set; } /// /// Returns the string presentation of the object @@ -170,10 +162,9 @@ namespace Tribufu.Model StringBuilder sb = new StringBuilder(); sb.Append("class UserInfo {\n"); sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append(" Uuid: ").Append(Uuid).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" DisplayName: ").Append(DisplayName).Append("\n"); - sb.Append(" Email: ").Append(Email).Append("\n"); + sb.Append(" EmailAddress: ").Append(EmailAddress).Append("\n"); sb.Append(" EmailVerified: ").Append(EmailVerified).Append("\n"); sb.Append(" Type: ").Append(Type).Append("\n"); sb.Append(" Language: ").Append(Language).Append("\n"); @@ -181,8 +172,8 @@ namespace Tribufu.Model sb.Append(" Currency: ").Append(Currency).Append("\n"); sb.Append(" PhotoUrl: ").Append(PhotoUrl).Append("\n"); sb.Append(" Permissions: ").Append(Permissions).Append("\n"); - sb.Append(" Created: ").Append(Created).Append("\n"); - sb.Append(" Updated: ").Append(Updated).Append("\n"); + sb.Append(" CreatedAt: ").Append(CreatedAt).Append("\n"); + sb.Append(" UpdatedAt: ").Append(UpdatedAt).Append("\n"); sb.Append("}\n"); return sb.ToString(); } diff --git a/src/Tribufu/Model/UserType.cs b/src/Tribufu/Model/UserType.cs index eeafe58..4df6b64 100644 --- a/src/Tribufu/Model/UserType.cs +++ b/src/Tribufu/Model/UserType.cs @@ -3,7 +3,7 @@ * * API to access Tribufu services. * - * The version of the OpenAPI document: 1.3.0 + * The version of the OpenAPI document: 1.4.3 * Contact: contact@tribufu.com * Generated by: https://github.com/openapitools/openapi-generator.git */