diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 6aef3a2..227cacb 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -18,7 +18,6 @@ src/main/java/com/tribufu/generated/auth/Authentication.java src/main/java/com/tribufu/generated/auth/HttpBasicAuth.java src/main/java/com/tribufu/generated/auth/HttpBearerAuth.java src/main/java/com/tribufu/generated/models/AbstractOpenApiSchema.java -src/main/java/com/tribufu/generated/models/Account.java src/main/java/com/tribufu/generated/models/Application.java src/main/java/com/tribufu/generated/models/ApplicationType.java src/main/java/com/tribufu/generated/models/AuthorizeRequest.java @@ -29,6 +28,7 @@ src/main/java/com/tribufu/generated/models/CodeChallengeMethod.java src/main/java/com/tribufu/generated/models/CodeResponse.java src/main/java/com/tribufu/generated/models/CreateUser.java src/main/java/com/tribufu/generated/models/CryptoViewModel.java +src/main/java/com/tribufu/generated/models/ExternalAccount.java src/main/java/com/tribufu/generated/models/Game.java src/main/java/com/tribufu/generated/models/GameServer.java src/main/java/com/tribufu/generated/models/GameServerCluster.java @@ -40,12 +40,12 @@ src/main/java/com/tribufu/generated/models/GroupApplication.java src/main/java/com/tribufu/generated/models/GroupMember.java src/main/java/com/tribufu/generated/models/GroupRank.java src/main/java/com/tribufu/generated/models/HashViewModel.java +src/main/java/com/tribufu/generated/models/IdentityProviderType.java src/main/java/com/tribufu/generated/models/IntrospectRequest.java src/main/java/com/tribufu/generated/models/IntrospectResponse.java src/main/java/com/tribufu/generated/models/IpAddress.java src/main/java/com/tribufu/generated/models/LeaderboardItem.java src/main/java/com/tribufu/generated/models/LeaderboardOrder.java -src/main/java/com/tribufu/generated/models/LoginProvider.java src/main/java/com/tribufu/generated/models/ModelPackage.java src/main/java/com/tribufu/generated/models/PackageRelease.java src/main/java/com/tribufu/generated/models/Product.java diff --git a/src/main/java/com/tribufu/generated/ApiCallback.java b/src/main/java/com/tribufu/generated/ApiCallback.java index 1701652..19926da 100644 --- a/src/main/java/com/tribufu/generated/ApiCallback.java +++ b/src/main/java/com/tribufu/generated/ApiCallback.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/ApiClient.java b/src/main/java/com/tribufu/generated/ApiClient.java index 7d944e1..704b5a4 100644 --- a/src/main/java/com/tribufu/generated/ApiClient.java +++ b/src/main/java/com/tribufu/generated/ApiClient.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -100,7 +100,6 @@ public class ApiClient { initHttpClient(); // Setup authentications (key: authentication name, value: authentication). - authentications.put("ApiKey", new ApiKeyAuth("header", "Authorization")); // Prevent the authentications from being modified. authentications = Collections.unmodifiableMap(authentications); } @@ -116,7 +115,6 @@ public class ApiClient { httpClient = client; // Setup authentications (key: authentication name, value: authentication). - authentications.put("ApiKey", new ApiKeyAuth("header", "Authorization")); // Prevent the authentications from being modified. authentications = Collections.unmodifiableMap(authentications); } @@ -141,7 +139,7 @@ public class ApiClient { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/1.3.0/java"); + setUserAgent("OpenAPI-Generator/1.4.3/java"); authentications = new HashMap(); } diff --git a/src/main/java/com/tribufu/generated/ApiException.java b/src/main/java/com/tribufu/generated/ApiException.java index 1c8d40c..9f20819 100644 --- a/src/main/java/com/tribufu/generated/ApiException.java +++ b/src/main/java/com/tribufu/generated/ApiException.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,7 +21,7 @@ import java.util.List; *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class ApiException extends Exception { private static final long serialVersionUID = 1L; diff --git a/src/main/java/com/tribufu/generated/ApiResponse.java b/src/main/java/com/tribufu/generated/ApiResponse.java index 382408f..25ec494 100644 --- a/src/main/java/com/tribufu/generated/ApiResponse.java +++ b/src/main/java/com/tribufu/generated/ApiResponse.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/Configuration.java b/src/main/java/com/tribufu/generated/Configuration.java index 2ecebd2..40eb14d 100644 --- a/src/main/java/com/tribufu/generated/Configuration.java +++ b/src/main/java/com/tribufu/generated/Configuration.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,9 +13,9 @@ package com.tribufu.generated; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class Configuration { - public static final String VERSION = "1.3.0"; + public static final String VERSION = "1.4.3"; private static volatile ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/com/tribufu/generated/GzipRequestInterceptor.java b/src/main/java/com/tribufu/generated/GzipRequestInterceptor.java index f05c219..94c8f03 100644 --- a/src/main/java/com/tribufu/generated/GzipRequestInterceptor.java +++ b/src/main/java/com/tribufu/generated/GzipRequestInterceptor.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/JSON.java b/src/main/java/com/tribufu/generated/JSON.java index 9dcee62..8a7ec72 100644 --- a/src/main/java/com/tribufu/generated/JSON.java +++ b/src/main/java/com/tribufu/generated/JSON.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -93,7 +93,6 @@ public class JSON { gsonBuilder.registerTypeAdapter(OffsetDateTime.class, offsetDateTimeTypeAdapter); gsonBuilder.registerTypeAdapter(LocalDate.class, localDateTypeAdapter); gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter); - gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.Account.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.Application.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.AuthorizeRequest.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.Client.CustomTypeAdapterFactory()); @@ -101,6 +100,7 @@ public class JSON { gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.CodeResponse.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.CreateUser.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.CryptoViewModel.CustomTypeAdapterFactory()); + gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.ExternalAccount.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.Game.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.GameServer.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.GameServerCluster.CustomTypeAdapterFactory()); diff --git a/src/main/java/com/tribufu/generated/Pair.java b/src/main/java/com/tribufu/generated/Pair.java index 30c17b9..7b8d0af 100644 --- a/src/main/java/com/tribufu/generated/Pair.java +++ b/src/main/java/com/tribufu/generated/Pair.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -13,7 +13,7 @@ package com.tribufu.generated; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/com/tribufu/generated/ProgressRequestBody.java b/src/main/java/com/tribufu/generated/ProgressRequestBody.java index dbc82fc..4ef36a7 100644 --- a/src/main/java/com/tribufu/generated/ProgressRequestBody.java +++ b/src/main/java/com/tribufu/generated/ProgressRequestBody.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/ProgressResponseBody.java b/src/main/java/com/tribufu/generated/ProgressResponseBody.java index b79132a..c69df47 100644 --- a/src/main/java/com/tribufu/generated/ProgressResponseBody.java +++ b/src/main/java/com/tribufu/generated/ProgressResponseBody.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/ServerConfiguration.java b/src/main/java/com/tribufu/generated/ServerConfiguration.java index 8d2529a..6e8c1a1 100644 --- a/src/main/java/com/tribufu/generated/ServerConfiguration.java +++ b/src/main/java/com/tribufu/generated/ServerConfiguration.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -18,7 +18,7 @@ import java.util.Map; /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class ServerConfiguration { public String URL; public String description; diff --git a/src/main/java/com/tribufu/generated/ServerVariable.java b/src/main/java/com/tribufu/generated/ServerVariable.java index ae1cd41..946cdb1 100644 --- a/src/main/java/com/tribufu/generated/ServerVariable.java +++ b/src/main/java/com/tribufu/generated/ServerVariable.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -18,7 +18,7 @@ import java.util.HashSet; /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class ServerVariable { public String description; public String defaultValue; diff --git a/src/main/java/com/tribufu/generated/StringUtil.java b/src/main/java/com/tribufu/generated/StringUtil.java index 4804686..1289be2 100644 --- a/src/main/java/com/tribufu/generated/StringUtil.java +++ b/src/main/java/com/tribufu/generated/StringUtil.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -16,7 +16,7 @@ package com.tribufu.generated; import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/com/tribufu/generated/api/TribufuGeneratedApi.java b/src/main/java/com/tribufu/generated/api/TribufuGeneratedApi.java index 5202033..2c46edd 100644 --- a/src/main/java/com/tribufu/generated/api/TribufuGeneratedApi.java +++ b/src/main/java/com/tribufu/generated/api/TribufuGeneratedApi.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -27,13 +27,13 @@ import com.google.gson.reflect.TypeToken; import java.io.IOException; -import com.tribufu.generated.models.Account; import com.tribufu.generated.models.AuthorizeRequest; import com.tribufu.generated.models.Client; import com.tribufu.generated.models.ClientInfo; import com.tribufu.generated.models.CodeResponse; import com.tribufu.generated.models.CreateUser; import com.tribufu.generated.models.CryptoViewModel; +import com.tribufu.generated.models.ExternalAccount; import com.tribufu.generated.models.Game; import com.tribufu.generated.models.GameServer; import com.tribufu.generated.models.GameServerCluster; @@ -57,7 +57,6 @@ import com.tribufu.generated.models.Search; import com.tribufu.generated.models.ServerMetrics; import com.tribufu.generated.models.TokenRequest; import com.tribufu.generated.models.TokenResponse; -import java.util.UUID; import com.tribufu.generated.models.UpdateProfile; import com.tribufu.generated.models.UserInfo; @@ -158,7 +157,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -284,7 +283,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -414,7 +413,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -541,7 +540,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -670,7 +669,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -803,7 +802,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -924,7 +923,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1041,7 +1040,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1158,7 +1157,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1277,7 +1276,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1403,7 +1402,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1527,7 +1526,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1646,7 +1645,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1767,7 +1766,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1884,7 +1883,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2006,7 +2005,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2128,7 +2127,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2252,7 +2251,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2383,7 +2382,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2512,7 +2511,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2634,7 +2633,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2760,7 +2759,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2774,7 +2773,7 @@ public class TribufuGeneratedApi { * Generate one or more flake ids. * <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake</code> * @param amount (optional) - * @return List<String> + * @return List<Long> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2783,8 +2782,8 @@ public class TribufuGeneratedApi {
200 OK -
*/ - public List generateFlakeId(Integer amount) throws ApiException { - ApiResponse> localVarResp = generateFlakeIdWithHttpInfo(amount); + public List generateFlakeId(Integer amount) throws ApiException { + ApiResponse> localVarResp = generateFlakeIdWithHttpInfo(amount); return localVarResp.getData(); } @@ -2792,7 +2791,7 @@ public class TribufuGeneratedApi { * Generate one or more flake ids. * <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake</code> * @param amount (optional) - * @return ApiResponse<List<String>> + * @return ApiResponse<List<Long>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2801,9 +2800,9 @@ public class TribufuGeneratedApi {
200 OK -
*/ - public ApiResponse> generateFlakeIdWithHttpInfo(Integer amount) throws ApiException { + public ApiResponse> generateFlakeIdWithHttpInfo(Integer amount) throws ApiException { okhttp3.Call localVarCall = generateFlakeIdValidateBeforeCall(amount, null); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2821,10 +2820,10 @@ public class TribufuGeneratedApi { 200 OK - */ - public okhttp3.Call generateFlakeIdAsync(Integer amount, final ApiCallback> _callback) throws ApiException { + public okhttp3.Call generateFlakeIdAsync(Integer amount, final ApiCallback> _callback) throws ApiException { okhttp3.Call localVarCall = generateFlakeIdValidateBeforeCall(amount, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -2842,7 +2841,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public okhttp3.Call generateFlakeIdFromTimestampCall(String timestamp, Integer amount, final ApiCallback _callback) throws ApiException { + public okhttp3.Call generateFlakeIdFromTimestampCall(Long timestamp, Integer amount, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2887,12 +2886,12 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call generateFlakeIdFromTimestampValidateBeforeCall(String timestamp, Integer amount, final ApiCallback _callback) throws ApiException { + private okhttp3.Call generateFlakeIdFromTimestampValidateBeforeCall(Long timestamp, Integer amount, final ApiCallback _callback) throws ApiException { // verify the required parameter 'timestamp' is set if (timestamp == null) { throw new ApiException("Missing the required parameter 'timestamp' when calling generateFlakeIdFromTimestamp(Async)"); @@ -2907,7 +2906,7 @@ public class TribufuGeneratedApi { * <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake.timestamp</code> * @param timestamp (required) * @param amount (optional) - * @return List<String> + * @return List<Long> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2916,8 +2915,8 @@ public class TribufuGeneratedApi {
200 OK -
*/ - public List generateFlakeIdFromTimestamp(String timestamp, Integer amount) throws ApiException { - ApiResponse> localVarResp = generateFlakeIdFromTimestampWithHttpInfo(timestamp, amount); + public List generateFlakeIdFromTimestamp(Long timestamp, Integer amount) throws ApiException { + ApiResponse> localVarResp = generateFlakeIdFromTimestampWithHttpInfo(timestamp, amount); return localVarResp.getData(); } @@ -2926,7 +2925,7 @@ public class TribufuGeneratedApi { * <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake.timestamp</code> * @param timestamp (required) * @param amount (optional) - * @return ApiResponse<List<String>> + * @return ApiResponse<List<Long>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2935,9 +2934,9 @@ public class TribufuGeneratedApi {
200 OK -
*/ - public ApiResponse> generateFlakeIdFromTimestampWithHttpInfo(String timestamp, Integer amount) throws ApiException { + public ApiResponse> generateFlakeIdFromTimestampWithHttpInfo(Long timestamp, Integer amount) throws ApiException { okhttp3.Call localVarCall = generateFlakeIdFromTimestampValidateBeforeCall(timestamp, amount, null); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -2956,10 +2955,10 @@ public class TribufuGeneratedApi { 200 OK - */ - public okhttp3.Call generateFlakeIdFromTimestampAsync(String timestamp, Integer amount, final ApiCallback> _callback) throws ApiException { + public okhttp3.Call generateFlakeIdFromTimestampAsync(Long timestamp, Integer amount, final ApiCallback> _callback) throws ApiException { okhttp3.Call localVarCall = generateFlakeIdFromTimestampValidateBeforeCall(timestamp, amount, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -3025,7 +3024,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3158,7 +3157,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3173,7 +3172,7 @@ public class TribufuGeneratedApi { * <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.uuid</code> * @param version (optional) * @param amount (optional) - * @return List<UUID> + * @return List<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3182,8 +3181,8 @@ public class TribufuGeneratedApi {
200 OK -
*/ - public List generateUuid(Integer version, Integer amount) throws ApiException { - ApiResponse> localVarResp = generateUuidWithHttpInfo(version, amount); + public List generateUuid(Integer version, Integer amount) throws ApiException { + ApiResponse> localVarResp = generateUuidWithHttpInfo(version, amount); return localVarResp.getData(); } @@ -3192,7 +3191,7 @@ public class TribufuGeneratedApi { * <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.uuid</code> * @param version (optional) * @param amount (optional) - * @return ApiResponse<List<UUID>> + * @return ApiResponse<List<String>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3201,9 +3200,9 @@ public class TribufuGeneratedApi {
200 OK -
*/ - public ApiResponse> generateUuidWithHttpInfo(Integer version, Integer amount) throws ApiException { + public ApiResponse> generateUuidWithHttpInfo(Integer version, Integer amount) throws ApiException { okhttp3.Call localVarCall = generateUuidValidateBeforeCall(version, amount, null); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -3222,10 +3221,10 @@ public class TribufuGeneratedApi { 200 OK - */ - public okhttp3.Call generateUuidAsync(Integer version, Integer amount, final ApiCallback> _callback) throws ApiException { + public okhttp3.Call generateUuidAsync(Integer version, Integer amount, final ApiCallback> _callback) throws ApiException { okhttp3.Call localVarCall = generateUuidValidateBeforeCall(version, amount, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -3283,7 +3282,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3408,7 +3407,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3540,7 +3539,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3666,7 +3665,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3785,7 +3784,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3914,7 +3913,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4053,7 +4052,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4195,7 +4194,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4324,7 +4323,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4458,7 +4457,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4587,7 +4586,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4731,7 +4730,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4876,7 +4875,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5024,7 +5023,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5159,7 +5158,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5301,7 +5300,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5446,7 +5445,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5614,7 +5613,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5761,7 +5760,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5906,7 +5905,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6044,7 +6043,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6163,7 +6162,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6287,7 +6286,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6406,7 +6405,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6562,7 +6561,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6714,7 +6713,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6839,7 +6838,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6966,7 +6965,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7052,7 +7051,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public okhttp3.Call getGroupByUuidCall(UUID uuid, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getGroupByUuidCall(String uuid, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -7093,12 +7092,12 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call getGroupByUuidValidateBeforeCall(UUID uuid, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getGroupByUuidValidateBeforeCall(String uuid, final ApiCallback _callback) throws ApiException { // verify the required parameter 'uuid' is set if (uuid == null) { throw new ApiException("Missing the required parameter 'uuid' when calling getGroupByUuid(Async)"); @@ -7121,7 +7120,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public Group getGroupByUuid(UUID uuid) throws ApiException { + public Group getGroupByUuid(String uuid) throws ApiException { ApiResponse localVarResp = getGroupByUuidWithHttpInfo(uuid); return localVarResp.getData(); } @@ -7139,7 +7138,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public ApiResponse getGroupByUuidWithHttpInfo(UUID uuid) throws ApiException { + public ApiResponse getGroupByUuidWithHttpInfo(String uuid) throws ApiException { okhttp3.Call localVarCall = getGroupByUuidValidateBeforeCall(uuid, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -7159,7 +7158,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public okhttp3.Call getGroupByUuidAsync(UUID uuid, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getGroupByUuidAsync(String uuid, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getGroupByUuidValidateBeforeCall(uuid, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -7220,7 +7219,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7349,7 +7348,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7484,7 +7483,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7609,7 +7608,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7749,7 +7748,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7880,7 +7879,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8002,7 +8001,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8137,7 +8136,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8262,7 +8261,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8397,7 +8396,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8519,7 +8518,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8634,7 +8633,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8653,7 +8652,7 @@ public class TribufuGeneratedApi { * Get a list of connected accounts of the user. * <b>🔒 Required permissions:</b> <code>tribufu.identity.user.account.list</code> * @param id (required) - * @return List<Account> + * @return List<ExternalAccount> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -8662,8 +8661,8 @@ public class TribufuGeneratedApi {
200 OK -
*/ - public List getUserAccounts(String id) throws ApiException { - ApiResponse> localVarResp = getUserAccountsWithHttpInfo(id); + public List getUserAccounts(String id) throws ApiException { + ApiResponse> localVarResp = getUserAccountsWithHttpInfo(id); return localVarResp.getData(); } @@ -8671,7 +8670,7 @@ public class TribufuGeneratedApi { * Get a list of connected accounts of the user. * <b>🔒 Required permissions:</b> <code>tribufu.identity.user.account.list</code> * @param id (required) - * @return ApiResponse<List<Account>> + * @return ApiResponse<List<ExternalAccount>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -8680,9 +8679,9 @@ public class TribufuGeneratedApi {
200 OK -
*/ - public ApiResponse> getUserAccountsWithHttpInfo(String id) throws ApiException { + public ApiResponse> getUserAccountsWithHttpInfo(String id) throws ApiException { okhttp3.Call localVarCall = getUserAccountsValidateBeforeCall(id, null); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } @@ -8700,10 +8699,10 @@ public class TribufuGeneratedApi { 200 OK - */ - public okhttp3.Call getUserAccountsAsync(String id, final ApiCallback> _callback) throws ApiException { + public okhttp3.Call getUserAccountsAsync(String id, final ApiCallback> _callback) throws ApiException { okhttp3.Call localVarCall = getUserAccountsValidateBeforeCall(id, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); + Type localVarReturnType = new TypeToken>(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } @@ -8761,7 +8760,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8890,7 +8889,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9024,7 +9023,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9153,7 +9152,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9287,7 +9286,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9416,7 +9415,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9548,7 +9547,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9667,7 +9666,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9796,7 +9795,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9930,7 +9929,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10059,7 +10058,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10152,7 +10151,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public okhttp3.Call getUserProfileByUuidCall(UUID uuid, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserProfileByUuidCall(String uuid, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -10193,12 +10192,12 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call getUserProfileByUuidValidateBeforeCall(UUID uuid, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getUserProfileByUuidValidateBeforeCall(String uuid, final ApiCallback _callback) throws ApiException { // verify the required parameter 'uuid' is set if (uuid == null) { throw new ApiException("Missing the required parameter 'uuid' when calling getUserProfileByUuid(Async)"); @@ -10221,7 +10220,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public Profile getUserProfileByUuid(UUID uuid) throws ApiException { + public Profile getUserProfileByUuid(String uuid) throws ApiException { ApiResponse localVarResp = getUserProfileByUuidWithHttpInfo(uuid); return localVarResp.getData(); } @@ -10239,7 +10238,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public ApiResponse getUserProfileByUuidWithHttpInfo(UUID uuid) throws ApiException { + public ApiResponse getUserProfileByUuidWithHttpInfo(String uuid) throws ApiException { okhttp3.Call localVarCall = getUserProfileByUuidValidateBeforeCall(uuid, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -10259,7 +10258,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public okhttp3.Call getUserProfileByUuidAsync(UUID uuid, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserProfileByUuidAsync(String uuid, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getUserProfileByUuidValidateBeforeCall(uuid, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -10281,7 +10280,7 @@ public class TribufuGeneratedApi { * @deprecated */ @Deprecated - public okhttp3.Call getUserProfileByUuidV1Call(UUID uuid, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserProfileByUuidV1Call(String uuid, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -10322,13 +10321,13 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @Deprecated @SuppressWarnings("rawtypes") - private okhttp3.Call getUserProfileByUuidV1ValidateBeforeCall(UUID uuid, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getUserProfileByUuidV1ValidateBeforeCall(String uuid, final ApiCallback _callback) throws ApiException { // verify the required parameter 'uuid' is set if (uuid == null) { throw new ApiException("Missing the required parameter 'uuid' when calling getUserProfileByUuidV1(Async)"); @@ -10353,7 +10352,7 @@ public class TribufuGeneratedApi { * @deprecated */ @Deprecated - public Profile getUserProfileByUuidV1(UUID uuid) throws ApiException { + public Profile getUserProfileByUuidV1(String uuid) throws ApiException { ApiResponse localVarResp = getUserProfileByUuidV1WithHttpInfo(uuid); return localVarResp.getData(); } @@ -10373,7 +10372,7 @@ public class TribufuGeneratedApi { * @deprecated */ @Deprecated - public ApiResponse getUserProfileByUuidV1WithHttpInfo(UUID uuid) throws ApiException { + public ApiResponse getUserProfileByUuidV1WithHttpInfo(String uuid) throws ApiException { okhttp3.Call localVarCall = getUserProfileByUuidV1ValidateBeforeCall(uuid, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -10395,7 +10394,7 @@ public class TribufuGeneratedApi { * @deprecated */ @Deprecated - public okhttp3.Call getUserProfileByUuidV1Async(UUID uuid, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserProfileByUuidV1Async(String uuid, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getUserProfileByUuidV1ValidateBeforeCall(uuid, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -10464,7 +10463,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10599,7 +10598,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10731,7 +10730,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10860,7 +10859,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11004,7 +11003,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11149,7 +11148,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11289,7 +11288,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11411,7 +11410,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11533,7 +11532,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11655,7 +11654,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11778,7 +11777,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11900,7 +11899,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12018,7 +12017,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12141,7 +12140,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12268,7 +12267,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12395,7 +12394,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12524,7 +12523,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12660,7 +12659,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12794,7 +12793,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12921,7 +12920,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -13049,7 +13048,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -13183,7 +13182,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { "ApiKey" }; + String[] localVarAuthNames = new String[] { }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } diff --git a/src/main/java/com/tribufu/generated/auth/ApiKeyAuth.java b/src/main/java/com/tribufu/generated/auth/ApiKeyAuth.java index 9acb1bd..7c04ef3 100644 --- a/src/main/java/com/tribufu/generated/auth/ApiKeyAuth.java +++ b/src/main/java/com/tribufu/generated/auth/ApiKeyAuth.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,7 +20,7 @@ import java.net.URI; import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/com/tribufu/generated/auth/Authentication.java b/src/main/java/com/tribufu/generated/auth/Authentication.java index b18c342..72c9247 100644 --- a/src/main/java/com/tribufu/generated/auth/Authentication.java +++ b/src/main/java/com/tribufu/generated/auth/Authentication.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/auth/HttpBasicAuth.java b/src/main/java/com/tribufu/generated/auth/HttpBasicAuth.java index 78a4af0..3f604a3 100644 --- a/src/main/java/com/tribufu/generated/auth/HttpBasicAuth.java +++ b/src/main/java/com/tribufu/generated/auth/HttpBasicAuth.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/auth/HttpBearerAuth.java b/src/main/java/com/tribufu/generated/auth/HttpBearerAuth.java index 0e09c39..aba2e97 100644 --- a/src/main/java/com/tribufu/generated/auth/HttpBearerAuth.java +++ b/src/main/java/com/tribufu/generated/auth/HttpBearerAuth.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,7 +22,7 @@ import java.util.Map; import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/src/main/java/com/tribufu/generated/models/AbstractOpenApiSchema.java b/src/main/java/com/tribufu/generated/models/AbstractOpenApiSchema.java index 64e1860..854f144 100644 --- a/src/main/java/com/tribufu/generated/models/AbstractOpenApiSchema.java +++ b/src/main/java/com/tribufu/generated/models/AbstractOpenApiSchema.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,7 +21,7 @@ import java.util.Map; /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/com/tribufu/generated/models/Application.java b/src/main/java/com/tribufu/generated/models/Application.java index 74a4ab7..81adaa4 100644 --- a/src/main/java/com/tribufu/generated/models/Application.java +++ b/src/main/java/com/tribufu/generated/models/Application.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import com.tribufu.generated.JSON; /** * Application */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class Application { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -104,15 +104,20 @@ public class Application { @javax.annotation.Nullable private String slug; - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) @javax.annotation.Nullable - private OffsetDateTime created; + private OffsetDateTime createdAt; - public static final String SERIALIZED_NAME_UPDATED = "updated"; - @SerializedName(SERIALIZED_NAME_UPDATED) + public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) @javax.annotation.Nullable - private OffsetDateTime updated; + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at"; + @SerializedName(SERIALIZED_NAME_DELETED_AT) + @javax.annotation.Nullable + private OffsetDateTime deletedAt; public Application() { } @@ -307,41 +312,60 @@ public class Application { } - public Application created(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public Application createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; return this; } /** - * Get created - * @return created + * Get createdAt + * @return createdAt */ @javax.annotation.Nullable - public OffsetDateTime getCreated() { - return created; + public OffsetDateTime getCreatedAt() { + return createdAt; } - public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; } - public Application updated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public Application updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; return this; } /** - * Get updated - * @return updated + * Get updatedAt + * @return updatedAt */ @javax.annotation.Nullable - public OffsetDateTime getUpdated() { - return updated; + public OffsetDateTime getUpdatedAt() { + return updatedAt; } - public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public Application deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; + return this; + } + + /** + * Get deletedAt + * @return deletedAt + */ + @javax.annotation.Nullable + public OffsetDateTime getDeletedAt() { + return deletedAt; + } + + public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; } @@ -365,8 +389,9 @@ public class Application { Objects.equals(this.capsuleImageUrl, application.capsuleImageUrl) && Objects.equals(this.libraryImageUrl, application.libraryImageUrl) && Objects.equals(this.slug, application.slug) && - Objects.equals(this.created, application.created) && - Objects.equals(this.updated, application.updated); + Objects.equals(this.createdAt, application.createdAt) && + Objects.equals(this.updatedAt, application.updatedAt) && + Objects.equals(this.deletedAt, application.deletedAt); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -375,7 +400,7 @@ public class Application { @Override public int hashCode() { - return Objects.hash(id, name, description, type, organizationId, iconUrl, bannerUrl, capsuleImageUrl, libraryImageUrl, slug, created, updated); + return Objects.hash(id, name, description, type, organizationId, iconUrl, bannerUrl, capsuleImageUrl, libraryImageUrl, slug, createdAt, updatedAt, deletedAt); } private static int hashCodeNullable(JsonNullable a) { @@ -399,8 +424,9 @@ public class Application { sb.append(" capsuleImageUrl: ").append(toIndentedString(capsuleImageUrl)).append("\n"); sb.append(" libraryImageUrl: ").append(toIndentedString(libraryImageUrl)).append("\n"); sb.append(" slug: ").append(toIndentedString(slug)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -433,8 +459,9 @@ public class Application { openapiFields.add("capsule_image_url"); openapiFields.add("library_image_url"); openapiFields.add("slug"); - openapiFields.add("created"); - openapiFields.add("updated"); + openapiFields.add("created_at"); + openapiFields.add("updated_at"); + openapiFields.add("deleted_at"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/src/main/java/com/tribufu/generated/models/ApplicationType.java b/src/main/java/com/tribufu/generated/models/ApplicationType.java index 9859fab..1e46413 100644 --- a/src/main/java/com/tribufu/generated/models/ApplicationType.java +++ b/src/main/java/com/tribufu/generated/models/ApplicationType.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -29,7 +29,7 @@ import com.google.gson.stream.JsonWriter; @JsonAdapter(ApplicationType.Adapter.class) public enum ApplicationType { - APPLICATION("application"), + SOFTWARE("software"), GAME("game"); diff --git a/src/main/java/com/tribufu/generated/models/AuthorizeRequest.java b/src/main/java/com/tribufu/generated/models/AuthorizeRequest.java index acbdf3d..4509628 100644 --- a/src/main/java/com/tribufu/generated/models/AuthorizeRequest.java +++ b/src/main/java/com/tribufu/generated/models/AuthorizeRequest.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import com.tribufu.generated.JSON; /** * AuthorizeRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class AuthorizeRequest { public static final String SERIALIZED_NAME_RESPONSE_TYPE = "response_type"; @SerializedName(SERIALIZED_NAME_RESPONSE_TYPE) diff --git a/src/main/java/com/tribufu/generated/models/Client.java b/src/main/java/com/tribufu/generated/models/Client.java index 6a4cfb9..b5b067e 100644 --- a/src/main/java/com/tribufu/generated/models/Client.java +++ b/src/main/java/com/tribufu/generated/models/Client.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,7 +54,7 @@ import com.tribufu.generated.JSON; /** * Client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class Client { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -111,15 +111,20 @@ public class Client { @javax.annotation.Nullable private List permissions; - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) @javax.annotation.Nullable - private OffsetDateTime created; + private OffsetDateTime createdAt; - public static final String SERIALIZED_NAME_UPDATED = "updated"; - @SerializedName(SERIALIZED_NAME_UPDATED) + public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) @javax.annotation.Nullable - private OffsetDateTime updated; + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at"; + @SerializedName(SERIALIZED_NAME_DELETED_AT) + @javax.annotation.Nullable + private OffsetDateTime deletedAt; public Client() { } @@ -332,41 +337,60 @@ public class Client { - public Client created(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public Client createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; return this; } /** - * Get created - * @return created + * Get createdAt + * @return createdAt */ @javax.annotation.Nullable - public OffsetDateTime getCreated() { - return created; + public OffsetDateTime getCreatedAt() { + return createdAt; } - public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; } - public Client updated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public Client updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; return this; } /** - * Get updated - * @return updated + * Get updatedAt + * @return updatedAt */ @javax.annotation.Nullable - public OffsetDateTime getUpdated() { - return updated; + public OffsetDateTime getUpdatedAt() { + return updatedAt; } - public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public Client deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; + return this; + } + + /** + * Get deletedAt + * @return deletedAt + */ + @javax.annotation.Nullable + public OffsetDateTime getDeletedAt() { + return deletedAt; + } + + public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; } @@ -391,8 +415,9 @@ public class Client { Objects.equals(this.redirects, client.redirects) && Objects.equals(this.scopes, client.scopes) && Objects.equals(this.permissions, client.permissions) && - Objects.equals(this.created, client.created) && - Objects.equals(this.updated, client.updated); + Objects.equals(this.createdAt, client.createdAt) && + Objects.equals(this.updatedAt, client.updatedAt) && + Objects.equals(this.deletedAt, client.deletedAt); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -401,7 +426,7 @@ public class Client { @Override public int hashCode() { - return Objects.hash(id, name, type, organizationId, trusted, websiteUrl, photoUrl, backgroundUrl, redirects, scopes, permissions, created, updated); + return Objects.hash(id, name, type, organizationId, trusted, websiteUrl, photoUrl, backgroundUrl, redirects, scopes, permissions, createdAt, updatedAt, deletedAt); } private static int hashCodeNullable(JsonNullable a) { @@ -426,8 +451,9 @@ public class Client { sb.append(" redirects: ").append(toIndentedString(redirects)).append("\n"); sb.append(" scopes: ").append(toIndentedString(scopes)).append("\n"); sb.append(" permissions: ").append(toIndentedString(permissions)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -461,8 +487,9 @@ public class Client { openapiFields.add("redirects"); openapiFields.add("scopes"); openapiFields.add("permissions"); - openapiFields.add("created"); - openapiFields.add("updated"); + openapiFields.add("created_at"); + openapiFields.add("updated_at"); + openapiFields.add("deleted_at"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/src/main/java/com/tribufu/generated/models/ClientInfo.java b/src/main/java/com/tribufu/generated/models/ClientInfo.java index 3637e47..d5258b3 100644 --- a/src/main/java/com/tribufu/generated/models/ClientInfo.java +++ b/src/main/java/com/tribufu/generated/models/ClientInfo.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import com.tribufu.generated.JSON; /** * ClientInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class ClientInfo { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/tribufu/generated/models/ClientType.java b/src/main/java/com/tribufu/generated/models/ClientType.java index 708f0be..4f18c42 100644 --- a/src/main/java/com/tribufu/generated/models/ClientType.java +++ b/src/main/java/com/tribufu/generated/models/ClientType.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/models/CodeChallengeMethod.java b/src/main/java/com/tribufu/generated/models/CodeChallengeMethod.java index 3b4bb43..bd22202 100644 --- a/src/main/java/com/tribufu/generated/models/CodeChallengeMethod.java +++ b/src/main/java/com/tribufu/generated/models/CodeChallengeMethod.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/models/CodeResponse.java b/src/main/java/com/tribufu/generated/models/CodeResponse.java index 58d44eb..919dffa 100644 --- a/src/main/java/com/tribufu/generated/models/CodeResponse.java +++ b/src/main/java/com/tribufu/generated/models/CodeResponse.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import com.tribufu.generated.JSON; /** * CodeResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class CodeResponse { public static final String SERIALIZED_NAME_CODE = "code"; @SerializedName(SERIALIZED_NAME_CODE) diff --git a/src/main/java/com/tribufu/generated/models/CreateUser.java b/src/main/java/com/tribufu/generated/models/CreateUser.java index 236460e..3d96e53 100644 --- a/src/main/java/com/tribufu/generated/models/CreateUser.java +++ b/src/main/java/com/tribufu/generated/models/CreateUser.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,7 +21,6 @@ import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.util.Arrays; -import java.util.UUID; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -50,12 +49,12 @@ import com.tribufu.generated.JSON; /** * CreateUser */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class CreateUser { public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) @javax.annotation.Nullable - private UUID uuid; + private String uuid; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -100,7 +99,7 @@ public class CreateUser { public CreateUser() { } - public CreateUser uuid(@javax.annotation.Nullable UUID uuid) { + public CreateUser uuid(@javax.annotation.Nullable String uuid) { this.uuid = uuid; return this; } @@ -110,11 +109,11 @@ public class CreateUser { * @return uuid */ @javax.annotation.Nullable - public UUID getUuid() { + public String getUuid() { return uuid; } - public void setUuid(@javax.annotation.Nullable UUID uuid) { + public void setUuid(@javax.annotation.Nullable String uuid) { this.uuid = uuid; } diff --git a/src/main/java/com/tribufu/generated/models/CryptoViewModel.java b/src/main/java/com/tribufu/generated/models/CryptoViewModel.java index 70f6ee2..8fed7a8 100644 --- a/src/main/java/com/tribufu/generated/models/CryptoViewModel.java +++ b/src/main/java/com/tribufu/generated/models/CryptoViewModel.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import com.tribufu.generated.JSON; /** * CryptoViewModel */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class CryptoViewModel { public static final String SERIALIZED_NAME_ENCODED = "encoded"; @SerializedName(SERIALIZED_NAME_ENCODED) diff --git a/src/main/java/com/tribufu/generated/models/ExternalAccount.java b/src/main/java/com/tribufu/generated/models/ExternalAccount.java new file mode 100644 index 0000000..fc2a5a7 --- /dev/null +++ b/src/main/java/com/tribufu/generated/models/ExternalAccount.java @@ -0,0 +1,463 @@ +/* + * Tribufu API + * API to access Tribufu services. + * + * The version of the OpenAPI document: 1.4.3 + * Contact: contact@tribufu.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.tribufu.generated.models; + +import java.util.Objects; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import com.tribufu.generated.models.IdentityProviderType; +import java.io.IOException; +import java.time.OffsetDateTime; +import java.util.Arrays; +import java.util.HashMap; +import java.util.Map; +import org.openapitools.jackson.nullable.JsonNullable; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonArray; +import com.google.gson.JsonDeserializationContext; +import com.google.gson.JsonDeserializer; +import com.google.gson.JsonElement; +import com.google.gson.JsonObject; +import com.google.gson.JsonParseException; +import com.google.gson.TypeAdapterFactory; +import com.google.gson.reflect.TypeToken; +import com.google.gson.TypeAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import java.io.IOException; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + +import com.tribufu.generated.JSON; + +/** + * ExternalAccount + */ +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +public class ExternalAccount { + public static final String SERIALIZED_NAME_USER_ID = "user_id"; + @SerializedName(SERIALIZED_NAME_USER_ID) + @javax.annotation.Nullable + private String userId; + + public static final String SERIALIZED_NAME_PROVIDER = "provider"; + @SerializedName(SERIALIZED_NAME_PROVIDER) + @javax.annotation.Nonnull + private IdentityProviderType provider; + + public static final String SERIALIZED_NAME_EXTERNAL_ID = "external_id"; + @SerializedName(SERIALIZED_NAME_EXTERNAL_ID) + @javax.annotation.Nullable + private String externalId; + + public static final String SERIALIZED_NAME_NAME = "name"; + @SerializedName(SERIALIZED_NAME_NAME) + @javax.annotation.Nullable + private String name; + + public static final String SERIALIZED_NAME_AUTHORIZED = "authorized"; + @SerializedName(SERIALIZED_NAME_AUTHORIZED) + @javax.annotation.Nullable + private Boolean authorized; + + public static final String SERIALIZED_NAME_FIELDS = "fields"; + @SerializedName(SERIALIZED_NAME_FIELDS) + @javax.annotation.Nullable + private Map fields; + + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) + @javax.annotation.Nullable + private OffsetDateTime createdAt; + + public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) + @javax.annotation.Nullable + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at"; + @SerializedName(SERIALIZED_NAME_DELETED_AT) + @javax.annotation.Nullable + private OffsetDateTime deletedAt; + + public ExternalAccount() { + } + + public ExternalAccount userId(@javax.annotation.Nullable String userId) { + this.userId = userId; + return this; + } + + /** + * Get userId + * @return userId + */ + @javax.annotation.Nullable + public String getUserId() { + return userId; + } + + public void setUserId(@javax.annotation.Nullable String userId) { + this.userId = userId; + } + + + public ExternalAccount provider(@javax.annotation.Nonnull IdentityProviderType provider) { + this.provider = provider; + return this; + } + + /** + * Get provider + * @return provider + */ + @javax.annotation.Nonnull + public IdentityProviderType getProvider() { + return provider; + } + + public void setProvider(@javax.annotation.Nonnull IdentityProviderType provider) { + this.provider = provider; + } + + + public ExternalAccount externalId(@javax.annotation.Nullable String externalId) { + this.externalId = externalId; + return this; + } + + /** + * Get externalId + * @return externalId + */ + @javax.annotation.Nullable + public String getExternalId() { + return externalId; + } + + public void setExternalId(@javax.annotation.Nullable String externalId) { + this.externalId = externalId; + } + + + public ExternalAccount name(@javax.annotation.Nullable String name) { + this.name = name; + return this; + } + + /** + * Get name + * @return name + */ + @javax.annotation.Nullable + public String getName() { + return name; + } + + public void setName(@javax.annotation.Nullable String name) { + this.name = name; + } + + + public ExternalAccount authorized(@javax.annotation.Nullable Boolean authorized) { + this.authorized = authorized; + return this; + } + + /** + * Get authorized + * @return authorized + */ + @javax.annotation.Nullable + public Boolean getAuthorized() { + return authorized; + } + + public void setAuthorized(@javax.annotation.Nullable Boolean authorized) { + this.authorized = authorized; + } + + + public ExternalAccount fields(@javax.annotation.Nullable Map fields) { + this.fields = fields; + return this; + } + + public ExternalAccount putFieldsItem(String key, Object fieldsItem) { + if (this.fields == null) { + this.fields = new HashMap<>(); + } + this.fields.put(key, fieldsItem); + return this; + } + + /** + * Get fields + * @return fields + */ + @javax.annotation.Nullable + public Map getFields() { + return fields; + } + + public void setFields(@javax.annotation.Nullable Map fields) { + this.fields = fields; + } + + + public ExternalAccount createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; + return this; + } + + /** + * Get createdAt + * @return createdAt + */ + @javax.annotation.Nullable + public OffsetDateTime getCreatedAt() { + return createdAt; + } + + public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; + } + + + public ExternalAccount updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + return this; + } + + /** + * Get updatedAt + * @return updatedAt + */ + @javax.annotation.Nullable + public OffsetDateTime getUpdatedAt() { + return updatedAt; + } + + public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public ExternalAccount deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; + return this; + } + + /** + * Get deletedAt + * @return deletedAt + */ + @javax.annotation.Nullable + public OffsetDateTime getDeletedAt() { + return deletedAt; + } + + public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; + } + + + + @Override + public boolean equals(Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + ExternalAccount externalAccount = (ExternalAccount) o; + return Objects.equals(this.userId, externalAccount.userId) && + Objects.equals(this.provider, externalAccount.provider) && + Objects.equals(this.externalId, externalAccount.externalId) && + Objects.equals(this.name, externalAccount.name) && + Objects.equals(this.authorized, externalAccount.authorized) && + Objects.equals(this.fields, externalAccount.fields) && + Objects.equals(this.createdAt, externalAccount.createdAt) && + Objects.equals(this.updatedAt, externalAccount.updatedAt) && + Objects.equals(this.deletedAt, externalAccount.deletedAt); + } + + private static boolean equalsNullable(JsonNullable a, JsonNullable b) { + return a == b || (a != null && b != null && a.isPresent() && b.isPresent() && Objects.deepEquals(a.get(), b.get())); + } + + @Override + public int hashCode() { + return Objects.hash(userId, provider, externalId, name, authorized, fields, createdAt, updatedAt, deletedAt); + } + + private static int hashCodeNullable(JsonNullable a) { + if (a == null) { + return 1; + } + return a.isPresent() ? Arrays.deepHashCode(new Object[]{a.get()}) : 31; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class ExternalAccount {\n"); + sb.append(" userId: ").append(toIndentedString(userId)).append("\n"); + sb.append(" provider: ").append(toIndentedString(provider)).append("\n"); + sb.append(" externalId: ").append(toIndentedString(externalId)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" authorized: ").append(toIndentedString(authorized)).append("\n"); + sb.append(" fields: ").append(toIndentedString(fields)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + + + public static HashSet openapiFields; + public static HashSet openapiRequiredFields; + + static { + // a set of all properties/fields (JSON key names) + openapiFields = new HashSet(); + openapiFields.add("user_id"); + openapiFields.add("provider"); + openapiFields.add("external_id"); + openapiFields.add("name"); + openapiFields.add("authorized"); + openapiFields.add("fields"); + openapiFields.add("created_at"); + openapiFields.add("updated_at"); + openapiFields.add("deleted_at"); + + // a set of required properties/fields (JSON key names) + openapiRequiredFields = new HashSet(); + openapiRequiredFields.add("provider"); + openapiRequiredFields.add("external_id"); + } + + /** + * Validates the JSON Element and throws an exception if issues found + * + * @param jsonElement JSON Element + * @throws IOException if the JSON Element is invalid with respect to ExternalAccount + */ + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + if (jsonElement == null) { + if (!ExternalAccount.openapiRequiredFields.isEmpty()) { // has required fields but JSON element is null + throw new IllegalArgumentException(String.format("The required field(s) %s in ExternalAccount is not found in the empty JSON string", ExternalAccount.openapiRequiredFields.toString())); + } + } + + Set> entries = jsonElement.getAsJsonObject().entrySet(); + // check to see if the JSON string contains additional fields + for (Map.Entry entry : entries) { + if (!ExternalAccount.openapiFields.contains(entry.getKey())) { + throw new IllegalArgumentException(String.format("The field `%s` in the JSON string is not defined in the `ExternalAccount` properties. JSON: %s", entry.getKey(), jsonElement.toString())); + } + } + + // check to make sure all required properties/fields are present in the JSON string + for (String requiredField : ExternalAccount.openapiRequiredFields) { + if (jsonElement.getAsJsonObject().get(requiredField) == null) { + throw new IllegalArgumentException(String.format("The required field `%s` is not found in the JSON string: %s", requiredField, jsonElement.toString())); + } + } + JsonObject jsonObj = jsonElement.getAsJsonObject(); + if ((jsonObj.get("user_id") != null && !jsonObj.get("user_id").isJsonNull()) && !jsonObj.get("user_id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `user_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("user_id").toString())); + } + // validate the required field `provider` + IdentityProviderType.validateJsonElement(jsonObj.get("provider")); + if ((jsonObj.get("external_id") != null && !jsonObj.get("external_id").isJsonNull()) && !jsonObj.get("external_id").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `external_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("external_id").toString())); + } + if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); + } + } + + public static class CustomTypeAdapterFactory implements TypeAdapterFactory { + @SuppressWarnings("unchecked") + @Override + public TypeAdapter create(Gson gson, TypeToken type) { + if (!ExternalAccount.class.isAssignableFrom(type.getRawType())) { + return null; // this class only serializes 'ExternalAccount' and its subtypes + } + final TypeAdapter elementAdapter = gson.getAdapter(JsonElement.class); + final TypeAdapter thisAdapter + = gson.getDelegateAdapter(this, TypeToken.get(ExternalAccount.class)); + + return (TypeAdapter) new TypeAdapter() { + @Override + public void write(JsonWriter out, ExternalAccount value) throws IOException { + JsonObject obj = thisAdapter.toJsonTree(value).getAsJsonObject(); + elementAdapter.write(out, obj); + } + + @Override + public ExternalAccount read(JsonReader in) throws IOException { + JsonElement jsonElement = elementAdapter.read(in); + validateJsonElement(jsonElement); + return thisAdapter.fromJsonTree(jsonElement); + } + + }.nullSafe(); + } + } + + /** + * Create an instance of ExternalAccount given an JSON string + * + * @param jsonString JSON string + * @return An instance of ExternalAccount + * @throws IOException if the JSON string is invalid with respect to ExternalAccount + */ + public static ExternalAccount fromJson(String jsonString) throws IOException { + return JSON.getGson().fromJson(jsonString, ExternalAccount.class); + } + + /** + * Convert an instance of ExternalAccount to an JSON string + * + * @return JSON string + */ + public String toJson() { + return JSON.getGson().toJson(this); + } +} + diff --git a/src/main/java/com/tribufu/generated/models/Game.java b/src/main/java/com/tribufu/generated/models/Game.java index 0e23dab..d19c3ba 100644 --- a/src/main/java/com/tribufu/generated/models/Game.java +++ b/src/main/java/com/tribufu/generated/models/Game.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import com.tribufu.generated.JSON; /** * Game */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class Game { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -104,15 +104,20 @@ public class Game { @javax.annotation.Nullable private String slug; - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) @javax.annotation.Nullable - private OffsetDateTime created; + private OffsetDateTime createdAt; - public static final String SERIALIZED_NAME_UPDATED = "updated"; - @SerializedName(SERIALIZED_NAME_UPDATED) + public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) @javax.annotation.Nullable - private OffsetDateTime updated; + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at"; + @SerializedName(SERIALIZED_NAME_DELETED_AT) + @javax.annotation.Nullable + private OffsetDateTime deletedAt; public static final String SERIALIZED_NAME_ENABLE_SERVERS = "enable_servers"; @SerializedName(SERIALIZED_NAME_ENABLE_SERVERS) @@ -342,41 +347,60 @@ public class Game { } - public Game created(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public Game createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; return this; } /** - * Get created - * @return created + * Get createdAt + * @return createdAt */ @javax.annotation.Nullable - public OffsetDateTime getCreated() { - return created; + public OffsetDateTime getCreatedAt() { + return createdAt; } - public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; } - public Game updated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public Game updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; return this; } /** - * Get updated - * @return updated + * Get updatedAt + * @return updatedAt */ @javax.annotation.Nullable - public OffsetDateTime getUpdated() { - return updated; + public OffsetDateTime getUpdatedAt() { + return updatedAt; } - public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public Game deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; + return this; + } + + /** + * Get deletedAt + * @return deletedAt + */ + @javax.annotation.Nullable + public OffsetDateTime getDeletedAt() { + return deletedAt; + } + + public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; } @@ -533,8 +557,9 @@ public class Game { Objects.equals(this.capsuleImageUrl, game.capsuleImageUrl) && Objects.equals(this.libraryImageUrl, game.libraryImageUrl) && Objects.equals(this.slug, game.slug) && - Objects.equals(this.created, game.created) && - Objects.equals(this.updated, game.updated) && + Objects.equals(this.createdAt, game.createdAt) && + Objects.equals(this.updatedAt, game.updatedAt) && + Objects.equals(this.deletedAt, game.deletedAt) && Objects.equals(this.enableServers, game.enableServers) && Objects.equals(this.gamePort, game.gamePort) && Objects.equals(this.queryPort, game.queryPort) && @@ -550,7 +575,7 @@ public class Game { @Override public int hashCode() { - return Objects.hash(id, name, description, type, organizationId, iconUrl, bannerUrl, capsuleImageUrl, libraryImageUrl, slug, created, updated, enableServers, gamePort, queryPort, rconPort, gamedigId, steamAppId, steamServerAppId); + return Objects.hash(id, name, description, type, organizationId, iconUrl, bannerUrl, capsuleImageUrl, libraryImageUrl, slug, createdAt, updatedAt, deletedAt, enableServers, gamePort, queryPort, rconPort, gamedigId, steamAppId, steamServerAppId); } private static int hashCodeNullable(JsonNullable a) { @@ -574,8 +599,9 @@ public class Game { sb.append(" capsuleImageUrl: ").append(toIndentedString(capsuleImageUrl)).append("\n"); sb.append(" libraryImageUrl: ").append(toIndentedString(libraryImageUrl)).append("\n"); sb.append(" slug: ").append(toIndentedString(slug)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); sb.append(" enableServers: ").append(toIndentedString(enableServers)).append("\n"); sb.append(" gamePort: ").append(toIndentedString(gamePort)).append("\n"); sb.append(" queryPort: ").append(toIndentedString(queryPort)).append("\n"); @@ -615,8 +641,9 @@ public class Game { openapiFields.add("capsule_image_url"); openapiFields.add("library_image_url"); openapiFields.add("slug"); - openapiFields.add("created"); - openapiFields.add("updated"); + openapiFields.add("created_at"); + openapiFields.add("updated_at"); + openapiFields.add("deleted_at"); openapiFields.add("enable_servers"); openapiFields.add("game_port"); openapiFields.add("query_port"); diff --git a/src/main/java/com/tribufu/generated/models/GameServer.java b/src/main/java/com/tribufu/generated/models/GameServer.java index 248e6cf..89e8e94 100644 --- a/src/main/java/com/tribufu/generated/models/GameServer.java +++ b/src/main/java/com/tribufu/generated/models/GameServer.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import com.tribufu.generated.JSON; /** * GameServer */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class GameServer { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -140,22 +140,27 @@ public class GameServer { public static final String SERIALIZED_NAME_DISCORD_SERVER_ID = "discord_server_id"; @SerializedName(SERIALIZED_NAME_DISCORD_SERVER_ID) @javax.annotation.Nullable - private String discordServerId; + private Long discordServerId; public static final String SERIALIZED_NAME_YOUTUBE_VIDEO_URL = "youtube_video_url"; @SerializedName(SERIALIZED_NAME_YOUTUBE_VIDEO_URL) @javax.annotation.Nullable private String youtubeVideoUrl; - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) @javax.annotation.Nullable - private OffsetDateTime created; + private OffsetDateTime createdAt; - public static final String SERIALIZED_NAME_UPDATED = "updated"; - @SerializedName(SERIALIZED_NAME_UPDATED) + public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) @javax.annotation.Nullable - private OffsetDateTime updated; + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at"; + @SerializedName(SERIALIZED_NAME_DELETED_AT) + @javax.annotation.Nullable + private OffsetDateTime deletedAt; public GameServer() { } @@ -483,7 +488,7 @@ public class GameServer { } - public GameServer discordServerId(@javax.annotation.Nullable String discordServerId) { + public GameServer discordServerId(@javax.annotation.Nullable Long discordServerId) { this.discordServerId = discordServerId; return this; } @@ -493,11 +498,11 @@ public class GameServer { * @return discordServerId */ @javax.annotation.Nullable - public String getDiscordServerId() { + public Long getDiscordServerId() { return discordServerId; } - public void setDiscordServerId(@javax.annotation.Nullable String discordServerId) { + public void setDiscordServerId(@javax.annotation.Nullable Long discordServerId) { this.discordServerId = discordServerId; } @@ -521,41 +526,60 @@ public class GameServer { } - public GameServer created(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public GameServer createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; return this; } /** - * Get created - * @return created + * Get createdAt + * @return createdAt */ @javax.annotation.Nullable - public OffsetDateTime getCreated() { - return created; + public OffsetDateTime getCreatedAt() { + return createdAt; } - public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; } - public GameServer updated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public GameServer updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; return this; } /** - * Get updated - * @return updated + * Get updatedAt + * @return updatedAt */ @javax.annotation.Nullable - public OffsetDateTime getUpdated() { - return updated; + public OffsetDateTime getUpdatedAt() { + return updatedAt; } - public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public GameServer deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; + return this; + } + + /** + * Get deletedAt + * @return deletedAt + */ + @javax.annotation.Nullable + public OffsetDateTime getDeletedAt() { + return deletedAt; + } + + public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; } @@ -588,8 +612,9 @@ public class GameServer { Objects.equals(this.steam, gameServer.steam) && Objects.equals(this.discordServerId, gameServer.discordServerId) && Objects.equals(this.youtubeVideoUrl, gameServer.youtubeVideoUrl) && - Objects.equals(this.created, gameServer.created) && - Objects.equals(this.updated, gameServer.updated); + Objects.equals(this.createdAt, gameServer.createdAt) && + Objects.equals(this.updatedAt, gameServer.updatedAt) && + Objects.equals(this.deletedAt, gameServer.deletedAt); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -598,7 +623,7 @@ public class GameServer { @Override public int hashCode() { - return Objects.hash(id, name, description, ownerId, address, queryPort, gamePort, map, version, gameId, gameIconUrl, clusterId, websiteUrl, bannerUrl, uptime, country, steam, discordServerId, youtubeVideoUrl, created, updated); + return Objects.hash(id, name, description, ownerId, address, queryPort, gamePort, map, version, gameId, gameIconUrl, clusterId, websiteUrl, bannerUrl, uptime, country, steam, discordServerId, youtubeVideoUrl, createdAt, updatedAt, deletedAt); } private static int hashCodeNullable(JsonNullable a) { @@ -631,8 +656,9 @@ public class GameServer { sb.append(" steam: ").append(toIndentedString(steam)).append("\n"); sb.append(" discordServerId: ").append(toIndentedString(discordServerId)).append("\n"); sb.append(" youtubeVideoUrl: ").append(toIndentedString(youtubeVideoUrl)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -674,8 +700,9 @@ public class GameServer { openapiFields.add("steam"); openapiFields.add("discord_server_id"); openapiFields.add("youtube_video_url"); - openapiFields.add("created"); - openapiFields.add("updated"); + openapiFields.add("created_at"); + openapiFields.add("updated_at"); + openapiFields.add("deleted_at"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -751,9 +778,6 @@ public class GameServer { if ((jsonObj.get("country") != null && !jsonObj.get("country").isJsonNull()) && !jsonObj.get("country").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `country` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country").toString())); } - if ((jsonObj.get("discord_server_id") != null && !jsonObj.get("discord_server_id").isJsonNull()) && !jsonObj.get("discord_server_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `discord_server_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("discord_server_id").toString())); - } if ((jsonObj.get("youtube_video_url") != null && !jsonObj.get("youtube_video_url").isJsonNull()) && !jsonObj.get("youtube_video_url").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `youtube_video_url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("youtube_video_url").toString())); } diff --git a/src/main/java/com/tribufu/generated/models/GameServerCluster.java b/src/main/java/com/tribufu/generated/models/GameServerCluster.java index a3b8ebc..6b6104b 100644 --- a/src/main/java/com/tribufu/generated/models/GameServerCluster.java +++ b/src/main/java/com/tribufu/generated/models/GameServerCluster.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import com.tribufu.generated.JSON; /** * GameServerCluster */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class GameServerCluster { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -91,7 +91,7 @@ public class GameServerCluster { public static final String SERIALIZED_NAME_DISCORD_SERVER_ID = "discord_server_id"; @SerializedName(SERIALIZED_NAME_DISCORD_SERVER_ID) @javax.annotation.Nullable - private String discordServerId; + private Long discordServerId; public static final String SERIALIZED_NAME_YOUTUBE_VIDEO_URL = "youtube_video_url"; @SerializedName(SERIALIZED_NAME_YOUTUBE_VIDEO_URL) @@ -113,15 +113,20 @@ public class GameServerCluster { @javax.annotation.Nullable private Integer serverCount; - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) @javax.annotation.Nullable - private OffsetDateTime created; + private OffsetDateTime createdAt; - public static final String SERIALIZED_NAME_UPDATED = "updated"; - @SerializedName(SERIALIZED_NAME_UPDATED) + public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) @javax.annotation.Nullable - private OffsetDateTime updated; + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at"; + @SerializedName(SERIALIZED_NAME_DELETED_AT) + @javax.annotation.Nullable + private OffsetDateTime deletedAt; public GameServerCluster() { } @@ -259,7 +264,7 @@ public class GameServerCluster { } - public GameServerCluster discordServerId(@javax.annotation.Nullable String discordServerId) { + public GameServerCluster discordServerId(@javax.annotation.Nullable Long discordServerId) { this.discordServerId = discordServerId; return this; } @@ -269,11 +274,11 @@ public class GameServerCluster { * @return discordServerId */ @javax.annotation.Nullable - public String getDiscordServerId() { + public Long getDiscordServerId() { return discordServerId; } - public void setDiscordServerId(@javax.annotation.Nullable String discordServerId) { + public void setDiscordServerId(@javax.annotation.Nullable Long discordServerId) { this.discordServerId = discordServerId; } @@ -354,41 +359,60 @@ public class GameServerCluster { } - public GameServerCluster created(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public GameServerCluster createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; return this; } /** - * Get created - * @return created + * Get createdAt + * @return createdAt */ @javax.annotation.Nullable - public OffsetDateTime getCreated() { - return created; + public OffsetDateTime getCreatedAt() { + return createdAt; } - public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; } - public GameServerCluster updated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public GameServerCluster updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; return this; } /** - * Get updated - * @return updated + * Get updatedAt + * @return updatedAt */ @javax.annotation.Nullable - public OffsetDateTime getUpdated() { - return updated; + public OffsetDateTime getUpdatedAt() { + return updatedAt; } - public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public GameServerCluster deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; + return this; + } + + /** + * Get deletedAt + * @return deletedAt + */ + @javax.annotation.Nullable + public OffsetDateTime getDeletedAt() { + return deletedAt; + } + + public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; } @@ -414,8 +438,9 @@ public class GameServerCluster { Objects.equals(this.tags, gameServerCluster.tags) && Objects.equals(this.commentCount, gameServerCluster.commentCount) && Objects.equals(this.serverCount, gameServerCluster.serverCount) && - Objects.equals(this.created, gameServerCluster.created) && - Objects.equals(this.updated, gameServerCluster.updated); + Objects.equals(this.createdAt, gameServerCluster.createdAt) && + Objects.equals(this.updatedAt, gameServerCluster.updatedAt) && + Objects.equals(this.deletedAt, gameServerCluster.deletedAt); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -424,7 +449,7 @@ public class GameServerCluster { @Override public int hashCode() { - return Objects.hash(id, name, description, gameId, websiteUrl, bannerUrl, ownerId, discordServerId, youtubeVideoUrl, tags, commentCount, serverCount, created, updated); + return Objects.hash(id, name, description, gameId, websiteUrl, bannerUrl, ownerId, discordServerId, youtubeVideoUrl, tags, commentCount, serverCount, createdAt, updatedAt, deletedAt); } private static int hashCodeNullable(JsonNullable a) { @@ -450,8 +475,9 @@ public class GameServerCluster { sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append(" commentCount: ").append(toIndentedString(commentCount)).append("\n"); sb.append(" serverCount: ").append(toIndentedString(serverCount)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -486,8 +512,9 @@ public class GameServerCluster { openapiFields.add("tags"); openapiFields.add("comment_count"); openapiFields.add("server_count"); - openapiFields.add("created"); - openapiFields.add("updated"); + openapiFields.add("created_at"); + openapiFields.add("updated_at"); + openapiFields.add("deleted_at"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -543,9 +570,6 @@ public class GameServerCluster { if ((jsonObj.get("owner_id") != null && !jsonObj.get("owner_id").isJsonNull()) && !jsonObj.get("owner_id").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `owner_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("owner_id").toString())); } - if ((jsonObj.get("discord_server_id") != null && !jsonObj.get("discord_server_id").isJsonNull()) && !jsonObj.get("discord_server_id").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `discord_server_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("discord_server_id").toString())); - } if ((jsonObj.get("youtube_video_url") != null && !jsonObj.get("youtube_video_url").isJsonNull()) && !jsonObj.get("youtube_video_url").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `youtube_video_url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("youtube_video_url").toString())); } diff --git a/src/main/java/com/tribufu/generated/models/GameServerQuery.java b/src/main/java/com/tribufu/generated/models/GameServerQuery.java index b45b11f..86c2c83 100644 --- a/src/main/java/com/tribufu/generated/models/GameServerQuery.java +++ b/src/main/java/com/tribufu/generated/models/GameServerQuery.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import com.tribufu.generated.JSON; /** * GameServerQuery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class GameServerQuery { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -88,10 +88,10 @@ public class GameServerQuery { @javax.annotation.Nullable private String motd; - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) @javax.annotation.Nullable - private OffsetDateTime created; + private OffsetDateTime createdAt; public GameServerQuery() { } @@ -229,22 +229,22 @@ public class GameServerQuery { } - public GameServerQuery created(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public GameServerQuery createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; return this; } /** - * Get created - * @return created + * Get createdAt + * @return createdAt */ @javax.annotation.Nullable - public OffsetDateTime getCreated() { - return created; + public OffsetDateTime getCreatedAt() { + return createdAt; } - public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; } @@ -265,7 +265,7 @@ public class GameServerQuery { Objects.equals(this.currentPlayers, gameServerQuery.currentPlayers) && Objects.equals(this.maxPlayers, gameServerQuery.maxPlayers) && Objects.equals(this.motd, gameServerQuery.motd) && - Objects.equals(this.created, gameServerQuery.created); + Objects.equals(this.createdAt, gameServerQuery.createdAt); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -274,7 +274,7 @@ public class GameServerQuery { @Override public int hashCode() { - return Objects.hash(id, serverId, status, ping, currentPlayers, maxPlayers, motd, created); + return Objects.hash(id, serverId, status, ping, currentPlayers, maxPlayers, motd, createdAt); } private static int hashCodeNullable(JsonNullable a) { @@ -295,7 +295,7 @@ public class GameServerQuery { sb.append(" currentPlayers: ").append(toIndentedString(currentPlayers)).append("\n"); sb.append(" maxPlayers: ").append(toIndentedString(maxPlayers)).append("\n"); sb.append(" motd: ").append(toIndentedString(motd)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -325,7 +325,7 @@ public class GameServerQuery { openapiFields.add("current_players"); openapiFields.add("max_players"); openapiFields.add("motd"); - openapiFields.add("created"); + openapiFields.add("created_at"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/src/main/java/com/tribufu/generated/models/GameServerStatus.java b/src/main/java/com/tribufu/generated/models/GameServerStatus.java index d2c1ad5..8e9973a 100644 --- a/src/main/java/com/tribufu/generated/models/GameServerStatus.java +++ b/src/main/java/com/tribufu/generated/models/GameServerStatus.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/models/GrantType.java b/src/main/java/com/tribufu/generated/models/GrantType.java index 20aaa5b..98dc87f 100644 --- a/src/main/java/com/tribufu/generated/models/GrantType.java +++ b/src/main/java/com/tribufu/generated/models/GrantType.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/models/Group.java b/src/main/java/com/tribufu/generated/models/Group.java index cac3299..f84db13 100644 --- a/src/main/java/com/tribufu/generated/models/Group.java +++ b/src/main/java/com/tribufu/generated/models/Group.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,7 +22,6 @@ import com.google.gson.stream.JsonWriter; import java.io.IOException; import java.time.OffsetDateTime; import java.util.Arrays; -import java.util.UUID; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -51,7 +50,7 @@ import com.tribufu.generated.JSON; /** * Group */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class Group { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -61,7 +60,7 @@ public class Group { public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) @javax.annotation.Nullable - private UUID uuid; + private String uuid; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -123,15 +122,20 @@ public class Group { @javax.annotation.Nullable private Integer viewCount; - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) @javax.annotation.Nullable - private OffsetDateTime created; + private OffsetDateTime createdAt; - public static final String SERIALIZED_NAME_UPDATED = "updated"; - @SerializedName(SERIALIZED_NAME_UPDATED) + public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) @javax.annotation.Nullable - private OffsetDateTime updated; + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at"; + @SerializedName(SERIALIZED_NAME_DELETED_AT) + @javax.annotation.Nullable + private OffsetDateTime deletedAt; public Group() { } @@ -155,7 +159,7 @@ public class Group { } - public Group uuid(@javax.annotation.Nullable UUID uuid) { + public Group uuid(@javax.annotation.Nullable String uuid) { this.uuid = uuid; return this; } @@ -165,11 +169,11 @@ public class Group { * @return uuid */ @javax.annotation.Nullable - public UUID getUuid() { + public String getUuid() { return uuid; } - public void setUuid(@javax.annotation.Nullable UUID uuid) { + public void setUuid(@javax.annotation.Nullable String uuid) { this.uuid = uuid; } @@ -402,41 +406,60 @@ public class Group { } - public Group created(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public Group createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; return this; } /** - * Get created - * @return created + * Get createdAt + * @return createdAt */ @javax.annotation.Nullable - public OffsetDateTime getCreated() { - return created; + public OffsetDateTime getCreatedAt() { + return createdAt; } - public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; } - public Group updated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public Group updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; return this; } /** - * Get updated - * @return updated + * Get updatedAt + * @return updatedAt */ @javax.annotation.Nullable - public OffsetDateTime getUpdated() { - return updated; + public OffsetDateTime getUpdatedAt() { + return updatedAt; } - public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public Group deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; + return this; + } + + /** + * Get deletedAt + * @return deletedAt + */ + @javax.annotation.Nullable + public OffsetDateTime getDeletedAt() { + return deletedAt; + } + + public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; } @@ -464,8 +487,9 @@ public class Group { Objects.equals(this.memberCount, group.memberCount) && Objects.equals(this.followerCount, group.followerCount) && Objects.equals(this.viewCount, group.viewCount) && - Objects.equals(this.created, group.created) && - Objects.equals(this.updated, group.updated); + Objects.equals(this.createdAt, group.createdAt) && + Objects.equals(this.updatedAt, group.updatedAt) && + Objects.equals(this.deletedAt, group.deletedAt); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -474,7 +498,7 @@ public class Group { @Override public int hashCode() { - return Objects.hash(id, uuid, name, tag, description, type, privacy, ownerId, verified, photoUrl, bannerUrl, memberCount, followerCount, viewCount, created, updated); + return Objects.hash(id, uuid, name, tag, description, type, privacy, ownerId, verified, photoUrl, bannerUrl, memberCount, followerCount, viewCount, createdAt, updatedAt, deletedAt); } private static int hashCodeNullable(JsonNullable a) { @@ -502,8 +526,9 @@ public class Group { sb.append(" memberCount: ").append(toIndentedString(memberCount)).append("\n"); sb.append(" followerCount: ").append(toIndentedString(followerCount)).append("\n"); sb.append(" viewCount: ").append(toIndentedString(viewCount)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -540,8 +565,9 @@ public class Group { openapiFields.add("member_count"); openapiFields.add("follower_count"); openapiFields.add("view_count"); - openapiFields.add("created"); - openapiFields.add("updated"); + openapiFields.add("created_at"); + openapiFields.add("updated_at"); + openapiFields.add("deleted_at"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/src/main/java/com/tribufu/generated/models/GroupApplication.java b/src/main/java/com/tribufu/generated/models/GroupApplication.java index baa48be..7206fa2 100644 --- a/src/main/java/com/tribufu/generated/models/GroupApplication.java +++ b/src/main/java/com/tribufu/generated/models/GroupApplication.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -52,7 +52,7 @@ import com.tribufu.generated.JSON; /** * GroupApplication */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class GroupApplication { public static final String SERIALIZED_NAME_GROUP_ID = "group_id"; @SerializedName(SERIALIZED_NAME_GROUP_ID) diff --git a/src/main/java/com/tribufu/generated/models/GroupMember.java b/src/main/java/com/tribufu/generated/models/GroupMember.java index d84087c..4be022b 100644 --- a/src/main/java/com/tribufu/generated/models/GroupMember.java +++ b/src/main/java/com/tribufu/generated/models/GroupMember.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,7 +23,6 @@ import com.tribufu.generated.models.GroupRank; import java.io.IOException; import java.time.OffsetDateTime; import java.util.Arrays; -import java.util.UUID; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -52,18 +51,13 @@ import com.tribufu.generated.JSON; /** * GroupMember */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class GroupMember { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @javax.annotation.Nullable private String id; - public static final String SERIALIZED_NAME_UUID = "uuid"; - @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; - public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @javax.annotation.Nullable @@ -74,21 +68,11 @@ public class GroupMember { @javax.annotation.Nullable private String displayName; - public static final String SERIALIZED_NAME_VERIFIED = "verified"; - @SerializedName(SERIALIZED_NAME_VERIFIED) - @javax.annotation.Nullable - private Boolean verified; - public static final String SERIALIZED_NAME_PHOTO_URL = "photo_url"; @SerializedName(SERIALIZED_NAME_PHOTO_URL) @javax.annotation.Nullable private String photoUrl; - public static final String SERIALIZED_NAME_LAST_ONLINE = "last_online"; - @SerializedName(SERIALIZED_NAME_LAST_ONLINE) - @javax.annotation.Nullable - private OffsetDateTime lastOnline; - public static final String SERIALIZED_NAME_RANK = "rank"; @SerializedName(SERIALIZED_NAME_RANK) @javax.annotation.Nullable @@ -121,25 +105,6 @@ public class GroupMember { } - public GroupMember uuid(@javax.annotation.Nullable UUID uuid) { - this.uuid = uuid; - return this; - } - - /** - * Get uuid - * @return uuid - */ - @javax.annotation.Nullable - public UUID getUuid() { - return uuid; - } - - public void setUuid(@javax.annotation.Nullable UUID uuid) { - this.uuid = uuid; - } - - public GroupMember name(@javax.annotation.Nullable String name) { this.name = name; return this; @@ -178,25 +143,6 @@ public class GroupMember { } - public GroupMember verified(@javax.annotation.Nullable Boolean verified) { - this.verified = verified; - return this; - } - - /** - * Get verified - * @return verified - */ - @javax.annotation.Nullable - public Boolean getVerified() { - return verified; - } - - public void setVerified(@javax.annotation.Nullable Boolean verified) { - this.verified = verified; - } - - public GroupMember photoUrl(@javax.annotation.Nullable String photoUrl) { this.photoUrl = photoUrl; return this; @@ -216,25 +162,6 @@ public class GroupMember { } - public GroupMember lastOnline(@javax.annotation.Nullable OffsetDateTime lastOnline) { - this.lastOnline = lastOnline; - return this; - } - - /** - * Get lastOnline - * @return lastOnline - */ - @javax.annotation.Nullable - public OffsetDateTime getLastOnline() { - return lastOnline; - } - - public void setLastOnline(@javax.annotation.Nullable OffsetDateTime lastOnline) { - this.lastOnline = lastOnline; - } - - public GroupMember rank(@javax.annotation.Nullable GroupRank rank) { this.rank = rank; return this; @@ -284,12 +211,9 @@ public class GroupMember { } GroupMember groupMember = (GroupMember) o; return Objects.equals(this.id, groupMember.id) && - Objects.equals(this.uuid, groupMember.uuid) && Objects.equals(this.name, groupMember.name) && Objects.equals(this.displayName, groupMember.displayName) && - Objects.equals(this.verified, groupMember.verified) && Objects.equals(this.photoUrl, groupMember.photoUrl) && - Objects.equals(this.lastOnline, groupMember.lastOnline) && Objects.equals(this.rank, groupMember.rank) && Objects.equals(this.since, groupMember.since); } @@ -300,7 +224,7 @@ public class GroupMember { @Override public int hashCode() { - return Objects.hash(id, uuid, name, displayName, verified, photoUrl, lastOnline, rank, since); + return Objects.hash(id, name, displayName, photoUrl, rank, since); } private static int hashCodeNullable(JsonNullable a) { @@ -315,12 +239,9 @@ public class GroupMember { StringBuilder sb = new StringBuilder(); sb.append("class GroupMember {\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); - sb.append(" verified: ").append(toIndentedString(verified)).append("\n"); sb.append(" photoUrl: ").append(toIndentedString(photoUrl)).append("\n"); - sb.append(" lastOnline: ").append(toIndentedString(lastOnline)).append("\n"); sb.append(" rank: ").append(toIndentedString(rank)).append("\n"); sb.append(" since: ").append(toIndentedString(since)).append("\n"); sb.append("}"); @@ -346,12 +267,9 @@ public class GroupMember { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("id"); - openapiFields.add("uuid"); openapiFields.add("name"); openapiFields.add("display_name"); - openapiFields.add("verified"); openapiFields.add("photo_url"); - openapiFields.add("last_online"); openapiFields.add("rank"); openapiFields.add("since"); @@ -383,9 +301,6 @@ public class GroupMember { if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); } - if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); - } if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } diff --git a/src/main/java/com/tribufu/generated/models/GroupRank.java b/src/main/java/com/tribufu/generated/models/GroupRank.java index cd6e78a..02b2d15 100644 --- a/src/main/java/com/tribufu/generated/models/GroupRank.java +++ b/src/main/java/com/tribufu/generated/models/GroupRank.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/models/HashViewModel.java b/src/main/java/com/tribufu/generated/models/HashViewModel.java index 87f91c4..c5bd052 100644 --- a/src/main/java/com/tribufu/generated/models/HashViewModel.java +++ b/src/main/java/com/tribufu/generated/models/HashViewModel.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import com.tribufu.generated.JSON; /** * HashViewModel */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class HashViewModel { public static final String SERIALIZED_NAME_VALUE = "value"; @SerializedName(SERIALIZED_NAME_VALUE) diff --git a/src/main/java/com/tribufu/generated/models/IdentityProviderType.java b/src/main/java/com/tribufu/generated/models/IdentityProviderType.java new file mode 100644 index 0000000..66cc2bb --- /dev/null +++ b/src/main/java/com/tribufu/generated/models/IdentityProviderType.java @@ -0,0 +1,88 @@ +/* + * Tribufu API + * API to access Tribufu services. + * + * The version of the OpenAPI document: 1.4.3 + * Contact: contact@tribufu.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +package com.tribufu.generated.models; + +import java.util.Objects; +import com.google.gson.annotations.SerializedName; + +import java.io.IOException; +import com.google.gson.TypeAdapter; +import com.google.gson.JsonElement; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; + +/** + * Gets or Sets IdentityProviderType + */ +@JsonAdapter(IdentityProviderType.Adapter.class) +public enum IdentityProviderType { + + STEAM("steam"), + + EPIC("epic"), + + DISCORD("discord"), + + MICROSOFT("microsoft"), + + PLAYSTATION("playstation"), + + GOOGLE("google"), + + APPLE("apple"); + + private String value; + + IdentityProviderType(String value) { + this.value = value; + } + + public String getValue() { + return value; + } + + @Override + public String toString() { + return String.valueOf(value); + } + + public static IdentityProviderType fromValue(String value) { + for (IdentityProviderType b : IdentityProviderType.values()) { + if (b.value.equals(value)) { + return b; + } + } + throw new IllegalArgumentException("Unexpected value '" + value + "'"); + } + + public static class Adapter extends TypeAdapter { + @Override + public void write(final JsonWriter jsonWriter, final IdentityProviderType enumeration) throws IOException { + jsonWriter.value(enumeration.getValue()); + } + + @Override + public IdentityProviderType read(final JsonReader jsonReader) throws IOException { + String value = jsonReader.nextString(); + return IdentityProviderType.fromValue(value); + } + } + + public static void validateJsonElement(JsonElement jsonElement) throws IOException { + String value = jsonElement.getAsString(); + IdentityProviderType.fromValue(value); + } +} + diff --git a/src/main/java/com/tribufu/generated/models/IntrospectRequest.java b/src/main/java/com/tribufu/generated/models/IntrospectRequest.java index 9618dfb..0b18a6a 100644 --- a/src/main/java/com/tribufu/generated/models/IntrospectRequest.java +++ b/src/main/java/com/tribufu/generated/models/IntrospectRequest.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import com.tribufu.generated.JSON; /** * IntrospectRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class IntrospectRequest { public static final String SERIALIZED_NAME_TOKEN = "token"; @SerializedName(SERIALIZED_NAME_TOKEN) diff --git a/src/main/java/com/tribufu/generated/models/IntrospectResponse.java b/src/main/java/com/tribufu/generated/models/IntrospectResponse.java index e4778e5..c1e342c 100644 --- a/src/main/java/com/tribufu/generated/models/IntrospectResponse.java +++ b/src/main/java/com/tribufu/generated/models/IntrospectResponse.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import com.tribufu.generated.JSON; /** * IntrospectResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class IntrospectResponse { public static final String SERIALIZED_NAME_JTI = "jti"; @SerializedName(SERIALIZED_NAME_JTI) diff --git a/src/main/java/com/tribufu/generated/models/IpAddress.java b/src/main/java/com/tribufu/generated/models/IpAddress.java index 6195e4a..a475d45 100644 --- a/src/main/java/com/tribufu/generated/models/IpAddress.java +++ b/src/main/java/com/tribufu/generated/models/IpAddress.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import com.tribufu.generated.JSON; /** * IpAddress */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class IpAddress { public static final String SERIALIZED_NAME_ADDRESS = "address"; @SerializedName(SERIALIZED_NAME_ADDRESS) diff --git a/src/main/java/com/tribufu/generated/models/LeaderboardItem.java b/src/main/java/com/tribufu/generated/models/LeaderboardItem.java index a34aa5e..84eb678 100644 --- a/src/main/java/com/tribufu/generated/models/LeaderboardItem.java +++ b/src/main/java/com/tribufu/generated/models/LeaderboardItem.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import com.tribufu.generated.JSON; /** * LeaderboardItem */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class LeaderboardItem { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/tribufu/generated/models/LeaderboardOrder.java b/src/main/java/com/tribufu/generated/models/LeaderboardOrder.java index 2d8e7fd..0e39009 100644 --- a/src/main/java/com/tribufu/generated/models/LeaderboardOrder.java +++ b/src/main/java/com/tribufu/generated/models/LeaderboardOrder.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/models/ModelPackage.java b/src/main/java/com/tribufu/generated/models/ModelPackage.java index 88bb36d..4e4cdf5 100644 --- a/src/main/java/com/tribufu/generated/models/ModelPackage.java +++ b/src/main/java/com/tribufu/generated/models/ModelPackage.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -53,7 +53,7 @@ import com.tribufu.generated.JSON; /** * ModelPackage */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class ModelPackage { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -105,15 +105,20 @@ public class ModelPackage { @javax.annotation.Nullable private List releases; - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) @javax.annotation.Nullable - private OffsetDateTime created; + private OffsetDateTime createdAt; - public static final String SERIALIZED_NAME_UPDATED = "updated"; - @SerializedName(SERIALIZED_NAME_UPDATED) + public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) @javax.annotation.Nullable - private OffsetDateTime updated; + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at"; + @SerializedName(SERIALIZED_NAME_DELETED_AT) + @javax.annotation.Nullable + private OffsetDateTime deletedAt; public ModelPackage() { } @@ -316,41 +321,60 @@ public class ModelPackage { } - public ModelPackage created(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public ModelPackage createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; return this; } /** - * Get created - * @return created + * Get createdAt + * @return createdAt */ @javax.annotation.Nullable - public OffsetDateTime getCreated() { - return created; + public OffsetDateTime getCreatedAt() { + return createdAt; } - public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; } - public ModelPackage updated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public ModelPackage updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; return this; } /** - * Get updated - * @return updated + * Get updatedAt + * @return updatedAt */ @javax.annotation.Nullable - public OffsetDateTime getUpdated() { - return updated; + public OffsetDateTime getUpdatedAt() { + return updatedAt; } - public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public ModelPackage deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; + return this; + } + + /** + * Get deletedAt + * @return deletedAt + */ + @javax.annotation.Nullable + public OffsetDateTime getDeletedAt() { + return deletedAt; + } + + public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; } @@ -374,8 +398,9 @@ public class ModelPackage { Objects.equals(this.downloadCount, _package.downloadCount) && Objects.equals(this.lastDownload, _package.lastDownload) && Objects.equals(this.releases, _package.releases) && - Objects.equals(this.created, _package.created) && - Objects.equals(this.updated, _package.updated); + Objects.equals(this.createdAt, _package.createdAt) && + Objects.equals(this.updatedAt, _package.updatedAt) && + Objects.equals(this.deletedAt, _package.deletedAt); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -384,7 +409,7 @@ public class ModelPackage { @Override public int hashCode() { - return Objects.hash(id, name, description, authorId, imageUrl, applicationId, categoryId, downloadCount, lastDownload, releases, created, updated); + return Objects.hash(id, name, description, authorId, imageUrl, applicationId, categoryId, downloadCount, lastDownload, releases, createdAt, updatedAt, deletedAt); } private static int hashCodeNullable(JsonNullable a) { @@ -408,8 +433,9 @@ public class ModelPackage { sb.append(" downloadCount: ").append(toIndentedString(downloadCount)).append("\n"); sb.append(" lastDownload: ").append(toIndentedString(lastDownload)).append("\n"); sb.append(" releases: ").append(toIndentedString(releases)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -442,8 +468,9 @@ public class ModelPackage { openapiFields.add("download_count"); openapiFields.add("last_download"); openapiFields.add("releases"); - openapiFields.add("created"); - openapiFields.add("updated"); + openapiFields.add("created_at"); + openapiFields.add("updated_at"); + openapiFields.add("deleted_at"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/src/main/java/com/tribufu/generated/models/PackageRelease.java b/src/main/java/com/tribufu/generated/models/PackageRelease.java index 636a37e..3bd659e 100644 --- a/src/main/java/com/tribufu/generated/models/PackageRelease.java +++ b/src/main/java/com/tribufu/generated/models/PackageRelease.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -53,7 +53,7 @@ import com.tribufu.generated.JSON; /** * PackageRelease */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class PackageRelease { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -80,15 +80,20 @@ public class PackageRelease { @javax.annotation.Nullable private List files; - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) @javax.annotation.Nullable - private OffsetDateTime created; + private OffsetDateTime createdAt; - public static final String SERIALIZED_NAME_UPDATED = "updated"; - @SerializedName(SERIALIZED_NAME_UPDATED) + public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) @javax.annotation.Nullable - private OffsetDateTime updated; + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at"; + @SerializedName(SERIALIZED_NAME_DELETED_AT) + @javax.annotation.Nullable + private OffsetDateTime deletedAt; public PackageRelease() { } @@ -187,41 +192,60 @@ public class PackageRelease { - public PackageRelease created(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public PackageRelease createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; return this; } /** - * Get created - * @return created + * Get createdAt + * @return createdAt */ @javax.annotation.Nullable - public OffsetDateTime getCreated() { - return created; + public OffsetDateTime getCreatedAt() { + return createdAt; } - public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; } - public PackageRelease updated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public PackageRelease updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; return this; } /** - * Get updated - * @return updated + * Get updatedAt + * @return updatedAt */ @javax.annotation.Nullable - public OffsetDateTime getUpdated() { - return updated; + public OffsetDateTime getUpdatedAt() { + return updatedAt; } - public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public PackageRelease deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; + return this; + } + + /** + * Get deletedAt + * @return deletedAt + */ + @javax.annotation.Nullable + public OffsetDateTime getDeletedAt() { + return deletedAt; + } + + public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; } @@ -240,8 +264,9 @@ public class PackageRelease { Objects.equals(this.packageId, packageRelease.packageId) && Objects.equals(this.notes, packageRelease.notes) && Objects.equals(this.files, packageRelease.files) && - Objects.equals(this.created, packageRelease.created) && - Objects.equals(this.updated, packageRelease.updated); + Objects.equals(this.createdAt, packageRelease.createdAt) && + Objects.equals(this.updatedAt, packageRelease.updatedAt) && + Objects.equals(this.deletedAt, packageRelease.deletedAt); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -250,7 +275,7 @@ public class PackageRelease { @Override public int hashCode() { - return Objects.hash(id, version, packageId, notes, files, created, updated); + return Objects.hash(id, version, packageId, notes, files, createdAt, updatedAt, deletedAt); } private static int hashCodeNullable(JsonNullable a) { @@ -269,8 +294,9 @@ public class PackageRelease { sb.append(" packageId: ").append(toIndentedString(packageId)).append("\n"); sb.append(" notes: ").append(toIndentedString(notes)).append("\n"); sb.append(" files: ").append(toIndentedString(files)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -298,8 +324,9 @@ public class PackageRelease { openapiFields.add("package_id"); openapiFields.add("notes"); openapiFields.add("files"); - openapiFields.add("created"); - openapiFields.add("updated"); + openapiFields.add("created_at"); + openapiFields.add("updated_at"); + openapiFields.add("deleted_at"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/src/main/java/com/tribufu/generated/models/Product.java b/src/main/java/com/tribufu/generated/models/Product.java index b849a54..80c04bc 100644 --- a/src/main/java/com/tribufu/generated/models/Product.java +++ b/src/main/java/com/tribufu/generated/models/Product.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -54,7 +54,7 @@ import com.tribufu.generated.JSON; /** * Product */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class Product { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -66,6 +66,11 @@ public class Product { @javax.annotation.Nullable private String name; + public static final String SERIALIZED_NAME_SKU = "sku"; + @SerializedName(SERIALIZED_NAME_SKU) + @javax.annotation.Nullable + private String sku; + public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) @javax.annotation.Nullable @@ -86,25 +91,25 @@ public class Product { @javax.annotation.Nullable private String imageUrl; - public static final String SERIALIZED_NAME_IS_PHYSICAL = "is_physical"; - @SerializedName(SERIALIZED_NAME_IS_PHYSICAL) - @javax.annotation.Nullable - private Boolean isPhysical; - public static final String SERIALIZED_NAME_PRICES = "prices"; @SerializedName(SERIALIZED_NAME_PRICES) @javax.annotation.Nullable private List prices; - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) @javax.annotation.Nullable - private OffsetDateTime created; + private OffsetDateTime createdAt; - public static final String SERIALIZED_NAME_UPDATED = "updated"; - @SerializedName(SERIALIZED_NAME_UPDATED) + public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) @javax.annotation.Nullable - private OffsetDateTime updated; + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at"; + @SerializedName(SERIALIZED_NAME_DELETED_AT) + @javax.annotation.Nullable + private OffsetDateTime deletedAt; public Product() { } @@ -147,6 +152,25 @@ public class Product { } + public Product sku(@javax.annotation.Nullable String sku) { + this.sku = sku; + return this; + } + + /** + * Get sku + * @return sku + */ + @javax.annotation.Nullable + public String getSku() { + return sku; + } + + public void setSku(@javax.annotation.Nullable String sku) { + this.sku = sku; + } + + public Product description(@javax.annotation.Nullable String description) { this.description = description; return this; @@ -223,25 +247,6 @@ public class Product { } - public Product isPhysical(@javax.annotation.Nullable Boolean isPhysical) { - this.isPhysical = isPhysical; - return this; - } - - /** - * Get isPhysical - * @return isPhysical - */ - @javax.annotation.Nullable - public Boolean getIsPhysical() { - return isPhysical; - } - - public void setIsPhysical(@javax.annotation.Nullable Boolean isPhysical) { - this.isPhysical = isPhysical; - } - - public Product prices(@javax.annotation.Nullable List prices) { this.prices = prices; return this; @@ -269,41 +274,60 @@ public class Product { } - public Product created(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public Product createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; return this; } /** - * Get created - * @return created + * Get createdAt + * @return createdAt */ @javax.annotation.Nullable - public OffsetDateTime getCreated() { - return created; + public OffsetDateTime getCreatedAt() { + return createdAt; } - public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; } - public Product updated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public Product updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; return this; } /** - * Get updated - * @return updated + * Get updatedAt + * @return updatedAt */ @javax.annotation.Nullable - public OffsetDateTime getUpdated() { - return updated; + public OffsetDateTime getUpdatedAt() { + return updatedAt; } - public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public Product deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; + return this; + } + + /** + * Get deletedAt + * @return deletedAt + */ + @javax.annotation.Nullable + public OffsetDateTime getDeletedAt() { + return deletedAt; + } + + public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; } @@ -319,14 +343,15 @@ public class Product { Product product = (Product) o; return Objects.equals(this.id, product.id) && Objects.equals(this.name, product.name) && + Objects.equals(this.sku, product.sku) && Objects.equals(this.description, product.description) && Objects.equals(this.type, product.type) && Objects.equals(this.slug, product.slug) && Objects.equals(this.imageUrl, product.imageUrl) && - Objects.equals(this.isPhysical, product.isPhysical) && Objects.equals(this.prices, product.prices) && - Objects.equals(this.created, product.created) && - Objects.equals(this.updated, product.updated); + Objects.equals(this.createdAt, product.createdAt) && + Objects.equals(this.updatedAt, product.updatedAt) && + Objects.equals(this.deletedAt, product.deletedAt); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -335,7 +360,7 @@ public class Product { @Override public int hashCode() { - return Objects.hash(id, name, description, type, slug, imageUrl, isPhysical, prices, created, updated); + return Objects.hash(id, name, sku, description, type, slug, imageUrl, prices, createdAt, updatedAt, deletedAt); } private static int hashCodeNullable(JsonNullable a) { @@ -351,14 +376,15 @@ public class Product { sb.append("class Product {\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append(" sku: ").append(toIndentedString(sku)).append("\n"); sb.append(" description: ").append(toIndentedString(description)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" slug: ").append(toIndentedString(slug)).append("\n"); sb.append(" imageUrl: ").append(toIndentedString(imageUrl)).append("\n"); - sb.append(" isPhysical: ").append(toIndentedString(isPhysical)).append("\n"); sb.append(" prices: ").append(toIndentedString(prices)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -383,14 +409,15 @@ public class Product { openapiFields = new HashSet(); openapiFields.add("id"); openapiFields.add("name"); + openapiFields.add("sku"); openapiFields.add("description"); openapiFields.add("type"); openapiFields.add("slug"); openapiFields.add("image_url"); - openapiFields.add("is_physical"); openapiFields.add("prices"); - openapiFields.add("created"); - openapiFields.add("updated"); + openapiFields.add("created_at"); + openapiFields.add("updated_at"); + openapiFields.add("deleted_at"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -431,6 +458,9 @@ public class Product { if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } + if ((jsonObj.get("sku") != null && !jsonObj.get("sku").isJsonNull()) && !jsonObj.get("sku").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `sku` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sku").toString())); + } if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString())); } diff --git a/src/main/java/com/tribufu/generated/models/ProductPrice.java b/src/main/java/com/tribufu/generated/models/ProductPrice.java index 72ebcdb..7b731d2 100644 --- a/src/main/java/com/tribufu/generated/models/ProductPrice.java +++ b/src/main/java/com/tribufu/generated/models/ProductPrice.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,17 +49,17 @@ import com.tribufu.generated.JSON; /** * ProductPrice */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class ProductPrice { public static final String SERIALIZED_NAME_CURRENCY = "currency"; @SerializedName(SERIALIZED_NAME_CURRENCY) @javax.annotation.Nullable private String currency; - public static final String SERIALIZED_NAME_AMOUNT = "amount"; - @SerializedName(SERIALIZED_NAME_AMOUNT) + public static final String SERIALIZED_NAME_PRICE = "price"; + @SerializedName(SERIALIZED_NAME_PRICE) @javax.annotation.Nullable - private Double amount; + private Double price; public static final String SERIALIZED_NAME_RENEWAL = "renewal"; @SerializedName(SERIALIZED_NAME_RENEWAL) @@ -88,22 +88,22 @@ public class ProductPrice { } - public ProductPrice amount(@javax.annotation.Nullable Double amount) { - this.amount = amount; + public ProductPrice price(@javax.annotation.Nullable Double price) { + this.price = price; return this; } /** - * Get amount - * @return amount + * Get price + * @return price */ @javax.annotation.Nullable - public Double getAmount() { - return amount; + public Double getPrice() { + return price; } - public void setAmount(@javax.annotation.Nullable Double amount) { - this.amount = amount; + public void setPrice(@javax.annotation.Nullable Double price) { + this.price = price; } @@ -137,7 +137,7 @@ public class ProductPrice { } ProductPrice productPrice = (ProductPrice) o; return Objects.equals(this.currency, productPrice.currency) && - Objects.equals(this.amount, productPrice.amount) && + Objects.equals(this.price, productPrice.price) && Objects.equals(this.renewal, productPrice.renewal); } @@ -147,7 +147,7 @@ public class ProductPrice { @Override public int hashCode() { - return Objects.hash(currency, amount, renewal); + return Objects.hash(currency, price, renewal); } private static int hashCodeNullable(JsonNullable a) { @@ -162,7 +162,7 @@ public class ProductPrice { StringBuilder sb = new StringBuilder(); sb.append("class ProductPrice {\n"); sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); - sb.append(" amount: ").append(toIndentedString(amount)).append("\n"); + sb.append(" price: ").append(toIndentedString(price)).append("\n"); sb.append(" renewal: ").append(toIndentedString(renewal)).append("\n"); sb.append("}"); return sb.toString(); @@ -187,7 +187,7 @@ public class ProductPrice { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("currency"); - openapiFields.add("amount"); + openapiFields.add("price"); openapiFields.add("renewal"); // a set of required properties/fields (JSON key names) diff --git a/src/main/java/com/tribufu/generated/models/ProductType.java b/src/main/java/com/tribufu/generated/models/ProductType.java index ac712bd..5dca4b1 100644 --- a/src/main/java/com/tribufu/generated/models/ProductType.java +++ b/src/main/java/com/tribufu/generated/models/ProductType.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/models/Profile.java b/src/main/java/com/tribufu/generated/models/Profile.java index fb987dc..81368b3 100644 --- a/src/main/java/com/tribufu/generated/models/Profile.java +++ b/src/main/java/com/tribufu/generated/models/Profile.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -20,10 +20,10 @@ import com.google.gson.annotations.SerializedName; import com.google.gson.stream.JsonReader; import com.google.gson.stream.JsonWriter; import java.io.IOException; +import java.net.URI; import java.time.LocalDate; import java.time.OffsetDateTime; import java.util.Arrays; -import java.util.UUID; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -52,18 +52,13 @@ import com.tribufu.generated.JSON; /** * Profile */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class Profile { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @javax.annotation.Nullable private String id; - public static final String SERIALIZED_NAME_UUID = "uuid"; - @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; - public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @javax.annotation.Nullable @@ -74,11 +69,6 @@ public class Profile { @javax.annotation.Nullable private String displayName; - public static final String SERIALIZED_NAME_VERIFIED = "verified"; - @SerializedName(SERIALIZED_NAME_VERIFIED) - @javax.annotation.Nullable - private Boolean verified; - public static final String SERIALIZED_NAME_LEVEL = "level"; @SerializedName(SERIALIZED_NAME_LEVEL) @javax.annotation.Nullable @@ -89,11 +79,6 @@ public class Profile { @javax.annotation.Nullable private Double experience; - public static final String SERIALIZED_NAME_PUBLIC_BIRTHDAY = "public_birthday"; - @SerializedName(SERIALIZED_NAME_PUBLIC_BIRTHDAY) - @javax.annotation.Nullable - private Boolean publicBirthday; - public static final String SERIALIZED_NAME_BIRTHDAY = "birthday"; @SerializedName(SERIALIZED_NAME_BIRTHDAY) @javax.annotation.Nullable @@ -104,20 +89,15 @@ public class Profile { @javax.annotation.Nullable private Double points; - public static final String SERIALIZED_NAME_LOCATION = "location"; - @SerializedName(SERIALIZED_NAME_LOCATION) - @javax.annotation.Nullable - private String location; - public static final String SERIALIZED_NAME_PHOTO_URL = "photo_url"; @SerializedName(SERIALIZED_NAME_PHOTO_URL) @javax.annotation.Nullable - private String photoUrl; + private URI photoUrl; public static final String SERIALIZED_NAME_BANNER_URL = "banner_url"; @SerializedName(SERIALIZED_NAME_BANNER_URL) @javax.annotation.Nullable - private String bannerUrl; + private URI bannerUrl; public static final String SERIALIZED_NAME_LAST_ONLINE = "last_online"; @SerializedName(SERIALIZED_NAME_LAST_ONLINE) @@ -129,27 +109,48 @@ public class Profile { @javax.annotation.Nullable private String biography; - public static final String SERIALIZED_NAME_VIEW_COUNT = "view_count"; - @SerializedName(SERIALIZED_NAME_VIEW_COUNT) + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) @javax.annotation.Nullable - private Integer viewCount; + private OffsetDateTime createdAt; - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) + public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) @javax.annotation.Nullable - private OffsetDateTime created; - - public static final String SERIALIZED_NAME_UPDATED = "updated"; - @SerializedName(SERIALIZED_NAME_UPDATED) - @javax.annotation.Nullable - private OffsetDateTime updated; + private OffsetDateTime updatedAt; public Profile() { } - public Profile id(@javax.annotation.Nullable String id) { + public Profile( + String id, + String name, + String displayName, + Integer level, + Double experience, + LocalDate birthday, + Double points, + URI photoUrl, + URI bannerUrl, + OffsetDateTime lastOnline, + String biography, + OffsetDateTime createdAt, + OffsetDateTime updatedAt + ) { + this(); this.id = id; - return this; + this.name = name; + this.displayName = displayName; + this.level = level; + this.experience = experience; + this.birthday = birthday; + this.points = points; + this.photoUrl = photoUrl; + this.bannerUrl = bannerUrl; + this.lastOnline = lastOnline; + this.biography = biography; + this.createdAt = createdAt; + this.updatedAt = updatedAt; } /** @@ -161,35 +162,8 @@ public class Profile { return id; } - public void setId(@javax.annotation.Nullable String id) { - this.id = id; - } - public Profile uuid(@javax.annotation.Nullable UUID uuid) { - this.uuid = uuid; - return this; - } - - /** - * Get uuid - * @return uuid - */ - @javax.annotation.Nullable - public UUID getUuid() { - return uuid; - } - - public void setUuid(@javax.annotation.Nullable UUID uuid) { - this.uuid = uuid; - } - - - public Profile name(@javax.annotation.Nullable String name) { - this.name = name; - return this; - } - /** * Get name * @return name @@ -199,16 +173,8 @@ public class Profile { return name; } - public void setName(@javax.annotation.Nullable String name) { - this.name = name; - } - public Profile displayName(@javax.annotation.Nullable String displayName) { - this.displayName = displayName; - return this; - } - /** * Get displayName * @return displayName @@ -218,35 +184,8 @@ public class Profile { return displayName; } - public void setDisplayName(@javax.annotation.Nullable String displayName) { - this.displayName = displayName; - } - public Profile verified(@javax.annotation.Nullable Boolean verified) { - this.verified = verified; - return this; - } - - /** - * Get verified - * @return verified - */ - @javax.annotation.Nullable - public Boolean getVerified() { - return verified; - } - - public void setVerified(@javax.annotation.Nullable Boolean verified) { - this.verified = verified; - } - - - public Profile level(@javax.annotation.Nullable Integer level) { - this.level = level; - return this; - } - /** * Get level * @return level @@ -256,16 +195,8 @@ public class Profile { return level; } - public void setLevel(@javax.annotation.Nullable Integer level) { - this.level = level; - } - public Profile experience(@javax.annotation.Nullable Double experience) { - this.experience = experience; - return this; - } - /** * Get experience * @return experience @@ -275,35 +206,8 @@ public class Profile { return experience; } - public void setExperience(@javax.annotation.Nullable Double experience) { - this.experience = experience; - } - public Profile publicBirthday(@javax.annotation.Nullable Boolean publicBirthday) { - this.publicBirthday = publicBirthday; - return this; - } - - /** - * Get publicBirthday - * @return publicBirthday - */ - @javax.annotation.Nullable - public Boolean getPublicBirthday() { - return publicBirthday; - } - - public void setPublicBirthday(@javax.annotation.Nullable Boolean publicBirthday) { - this.publicBirthday = publicBirthday; - } - - - public Profile birthday(@javax.annotation.Nullable LocalDate birthday) { - this.birthday = birthday; - return this; - } - /** * Get birthday * @return birthday @@ -313,16 +217,8 @@ public class Profile { return birthday; } - public void setBirthday(@javax.annotation.Nullable LocalDate birthday) { - this.birthday = birthday; - } - public Profile points(@javax.annotation.Nullable Double points) { - this.points = points; - return this; - } - /** * Get points * @return points @@ -332,73 +228,30 @@ public class Profile { return points; } - public void setPoints(@javax.annotation.Nullable Double points) { - this.points = points; - } - public Profile location(@javax.annotation.Nullable String location) { - this.location = location; - return this; - } - - /** - * Get location - * @return location - */ - @javax.annotation.Nullable - public String getLocation() { - return location; - } - - public void setLocation(@javax.annotation.Nullable String location) { - this.location = location; - } - - - public Profile photoUrl(@javax.annotation.Nullable String photoUrl) { - this.photoUrl = photoUrl; - return this; - } - /** * Get photoUrl * @return photoUrl */ @javax.annotation.Nullable - public String getPhotoUrl() { + public URI getPhotoUrl() { return photoUrl; } - public void setPhotoUrl(@javax.annotation.Nullable String photoUrl) { - this.photoUrl = photoUrl; - } - public Profile bannerUrl(@javax.annotation.Nullable String bannerUrl) { - this.bannerUrl = bannerUrl; - return this; - } - /** * Get bannerUrl * @return bannerUrl */ @javax.annotation.Nullable - public String getBannerUrl() { + public URI getBannerUrl() { return bannerUrl; } - public void setBannerUrl(@javax.annotation.Nullable String bannerUrl) { - this.bannerUrl = bannerUrl; - } - public Profile lastOnline(@javax.annotation.Nullable OffsetDateTime lastOnline) { - this.lastOnline = lastOnline; - return this; - } - /** * Get lastOnline * @return lastOnline @@ -408,16 +261,8 @@ public class Profile { return lastOnline; } - public void setLastOnline(@javax.annotation.Nullable OffsetDateTime lastOnline) { - this.lastOnline = lastOnline; - } - public Profile biography(@javax.annotation.Nullable String biography) { - this.biography = biography; - return this; - } - /** * Get biography * @return biography @@ -427,66 +272,28 @@ public class Profile { return biography; } - public void setBiography(@javax.annotation.Nullable String biography) { - this.biography = biography; - } - public Profile viewCount(@javax.annotation.Nullable Integer viewCount) { - this.viewCount = viewCount; - return this; - } - /** - * Get viewCount - * @return viewCount + * Get createdAt + * @return createdAt */ @javax.annotation.Nullable - public Integer getViewCount() { - return viewCount; - } - - public void setViewCount(@javax.annotation.Nullable Integer viewCount) { - this.viewCount = viewCount; + public OffsetDateTime getCreatedAt() { + return createdAt; } - public Profile created(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; - return this; - } /** - * Get created - * @return created + * Get updatedAt + * @return updatedAt */ @javax.annotation.Nullable - public OffsetDateTime getCreated() { - return created; + public OffsetDateTime getUpdatedAt() { + return updatedAt; } - public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; - } - - - public Profile updated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; - return this; - } - - /** - * Get updated - * @return updated - */ - @javax.annotation.Nullable - public OffsetDateTime getUpdated() { - return updated; - } - - public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; - } @@ -500,23 +307,18 @@ public class Profile { } Profile profile = (Profile) o; return Objects.equals(this.id, profile.id) && - Objects.equals(this.uuid, profile.uuid) && Objects.equals(this.name, profile.name) && Objects.equals(this.displayName, profile.displayName) && - Objects.equals(this.verified, profile.verified) && Objects.equals(this.level, profile.level) && Objects.equals(this.experience, profile.experience) && - Objects.equals(this.publicBirthday, profile.publicBirthday) && Objects.equals(this.birthday, profile.birthday) && Objects.equals(this.points, profile.points) && - Objects.equals(this.location, profile.location) && Objects.equals(this.photoUrl, profile.photoUrl) && Objects.equals(this.bannerUrl, profile.bannerUrl) && Objects.equals(this.lastOnline, profile.lastOnline) && Objects.equals(this.biography, profile.biography) && - Objects.equals(this.viewCount, profile.viewCount) && - Objects.equals(this.created, profile.created) && - Objects.equals(this.updated, profile.updated); + Objects.equals(this.createdAt, profile.createdAt) && + Objects.equals(this.updatedAt, profile.updatedAt); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -525,7 +327,7 @@ public class Profile { @Override public int hashCode() { - return Objects.hash(id, uuid, name, displayName, verified, level, experience, publicBirthday, birthday, points, location, photoUrl, bannerUrl, lastOnline, biography, viewCount, created, updated); + return Objects.hash(id, name, displayName, level, experience, birthday, points, photoUrl, bannerUrl, lastOnline, biography, createdAt, updatedAt); } private static int hashCodeNullable(JsonNullable a) { @@ -540,23 +342,18 @@ public class Profile { StringBuilder sb = new StringBuilder(); sb.append("class Profile {\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); - sb.append(" verified: ").append(toIndentedString(verified)).append("\n"); sb.append(" level: ").append(toIndentedString(level)).append("\n"); sb.append(" experience: ").append(toIndentedString(experience)).append("\n"); - sb.append(" publicBirthday: ").append(toIndentedString(publicBirthday)).append("\n"); sb.append(" birthday: ").append(toIndentedString(birthday)).append("\n"); sb.append(" points: ").append(toIndentedString(points)).append("\n"); - sb.append(" location: ").append(toIndentedString(location)).append("\n"); sb.append(" photoUrl: ").append(toIndentedString(photoUrl)).append("\n"); sb.append(" bannerUrl: ").append(toIndentedString(bannerUrl)).append("\n"); sb.append(" lastOnline: ").append(toIndentedString(lastOnline)).append("\n"); sb.append(" biography: ").append(toIndentedString(biography)).append("\n"); - sb.append(" viewCount: ").append(toIndentedString(viewCount)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -580,23 +377,18 @@ public class Profile { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("id"); - openapiFields.add("uuid"); openapiFields.add("name"); openapiFields.add("display_name"); - openapiFields.add("verified"); openapiFields.add("level"); openapiFields.add("experience"); - openapiFields.add("public_birthday"); openapiFields.add("birthday"); openapiFields.add("points"); - openapiFields.add("location"); openapiFields.add("photo_url"); openapiFields.add("banner_url"); openapiFields.add("last_online"); openapiFields.add("biography"); - openapiFields.add("view_count"); - openapiFields.add("created"); - openapiFields.add("updated"); + openapiFields.add("created_at"); + openapiFields.add("updated_at"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -626,18 +418,12 @@ public class Profile { if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); } - if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); - } if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("display_name") != null && !jsonObj.get("display_name").isJsonNull()) && !jsonObj.get("display_name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `display_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("display_name").toString())); } - if ((jsonObj.get("location") != null && !jsonObj.get("location").isJsonNull()) && !jsonObj.get("location").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `location` to be a primitive type in the JSON string but got `%s`", jsonObj.get("location").toString())); - } if ((jsonObj.get("photo_url") != null && !jsonObj.get("photo_url").isJsonNull()) && !jsonObj.get("photo_url").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `photo_url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("photo_url").toString())); } diff --git a/src/main/java/com/tribufu/generated/models/ProfileGame.java b/src/main/java/com/tribufu/generated/models/ProfileGame.java index 256c537..f1a868e 100644 --- a/src/main/java/com/tribufu/generated/models/ProfileGame.java +++ b/src/main/java/com/tribufu/generated/models/ProfileGame.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import com.tribufu.generated.JSON; /** * ProfileGame */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class ProfileGame { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/tribufu/generated/models/ProfileGroup.java b/src/main/java/com/tribufu/generated/models/ProfileGroup.java index 2008d51..b8bd2e4 100644 --- a/src/main/java/com/tribufu/generated/models/ProfileGroup.java +++ b/src/main/java/com/tribufu/generated/models/ProfileGroup.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,7 +23,6 @@ import com.tribufu.generated.models.GroupRank; import java.io.IOException; import java.time.OffsetDateTime; import java.util.Arrays; -import java.util.UUID; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -52,7 +51,7 @@ import com.tribufu.generated.JSON; /** * ProfileGroup */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class ProfileGroup { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -62,7 +61,7 @@ public class ProfileGroup { public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) @javax.annotation.Nullable - private UUID uuid; + private String uuid; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -126,7 +125,7 @@ public class ProfileGroup { } - public ProfileGroup uuid(@javax.annotation.Nullable UUID uuid) { + public ProfileGroup uuid(@javax.annotation.Nullable String uuid) { this.uuid = uuid; return this; } @@ -136,11 +135,11 @@ public class ProfileGroup { * @return uuid */ @javax.annotation.Nullable - public UUID getUuid() { + public String getUuid() { return uuid; } - public void setUuid(@javax.annotation.Nullable UUID uuid) { + public void setUuid(@javax.annotation.Nullable String uuid) { this.uuid = uuid; } diff --git a/src/main/java/com/tribufu/generated/models/ResponseType.java b/src/main/java/com/tribufu/generated/models/ResponseType.java index 2f74065..c0df77a 100644 --- a/src/main/java/com/tribufu/generated/models/ResponseType.java +++ b/src/main/java/com/tribufu/generated/models/ResponseType.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/models/RevokeRequest.java b/src/main/java/com/tribufu/generated/models/RevokeRequest.java index e1e96e6..ba35df3 100644 --- a/src/main/java/com/tribufu/generated/models/RevokeRequest.java +++ b/src/main/java/com/tribufu/generated/models/RevokeRequest.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import com.tribufu.generated.JSON; /** * RevokeRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class RevokeRequest { public static final String SERIALIZED_NAME_TOKEN = "token"; @SerializedName(SERIALIZED_NAME_TOKEN) diff --git a/src/main/java/com/tribufu/generated/models/Search.java b/src/main/java/com/tribufu/generated/models/Search.java index 1ada2f7..144c9c0 100644 --- a/src/main/java/com/tribufu/generated/models/Search.java +++ b/src/main/java/com/tribufu/generated/models/Search.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import com.tribufu.generated.JSON; /** * Search */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class Search { public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) diff --git a/src/main/java/com/tribufu/generated/models/SearchType.java b/src/main/java/com/tribufu/generated/models/SearchType.java index bfc80d6..72fdead 100644 --- a/src/main/java/com/tribufu/generated/models/SearchType.java +++ b/src/main/java/com/tribufu/generated/models/SearchType.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/models/ServerMetrics.java b/src/main/java/com/tribufu/generated/models/ServerMetrics.java index 0792bb4..13308bb 100644 --- a/src/main/java/com/tribufu/generated/models/ServerMetrics.java +++ b/src/main/java/com/tribufu/generated/models/ServerMetrics.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -48,7 +48,7 @@ import com.tribufu.generated.JSON; /** * ServerMetrics */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class ServerMetrics { public static final String SERIALIZED_NAME_SERVER_COUNT = "server_count"; @SerializedName(SERIALIZED_NAME_SERVER_COUNT) diff --git a/src/main/java/com/tribufu/generated/models/StorageFile.java b/src/main/java/com/tribufu/generated/models/StorageFile.java index 5ba0e4a..583249e 100644 --- a/src/main/java/com/tribufu/generated/models/StorageFile.java +++ b/src/main/java/com/tribufu/generated/models/StorageFile.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -51,7 +51,7 @@ import com.tribufu.generated.JSON; /** * StorageFile */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class StorageFile { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -88,15 +88,20 @@ public class StorageFile { @javax.annotation.Nullable private String etag; - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) @javax.annotation.Nullable - private OffsetDateTime created; + private OffsetDateTime createdAt; - public static final String SERIALIZED_NAME_UPDATED = "updated"; - @SerializedName(SERIALIZED_NAME_UPDATED) + public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) @javax.annotation.Nullable - private OffsetDateTime updated; + private OffsetDateTime updatedAt; + + public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at"; + @SerializedName(SERIALIZED_NAME_DELETED_AT) + @javax.annotation.Nullable + private OffsetDateTime deletedAt; public StorageFile() { } @@ -234,41 +239,60 @@ public class StorageFile { } - public StorageFile created(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public StorageFile createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; return this; } /** - * Get created - * @return created + * Get createdAt + * @return createdAt */ @javax.annotation.Nullable - public OffsetDateTime getCreated() { - return created; + public OffsetDateTime getCreatedAt() { + return createdAt; } - public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; } - public StorageFile updated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public StorageFile updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; return this; } /** - * Get updated - * @return updated + * Get updatedAt + * @return updatedAt */ @javax.annotation.Nullable - public OffsetDateTime getUpdated() { - return updated; + public OffsetDateTime getUpdatedAt() { + return updatedAt; } - public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; + } + + + public StorageFile deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; + return this; + } + + /** + * Get deletedAt + * @return deletedAt + */ + @javax.annotation.Nullable + public OffsetDateTime getDeletedAt() { + return deletedAt; + } + + public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) { + this.deletedAt = deletedAt; } @@ -289,8 +313,9 @@ public class StorageFile { Objects.equals(this.size, storageFile.size) && Objects.equals(this.hash, storageFile.hash) && Objects.equals(this.etag, storageFile.etag) && - Objects.equals(this.created, storageFile.created) && - Objects.equals(this.updated, storageFile.updated); + Objects.equals(this.createdAt, storageFile.createdAt) && + Objects.equals(this.updatedAt, storageFile.updatedAt) && + Objects.equals(this.deletedAt, storageFile.deletedAt); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -299,7 +324,7 @@ public class StorageFile { @Override public int hashCode() { - return Objects.hash(id, name, contentType, url, size, hash, etag, created, updated); + return Objects.hash(id, name, contentType, url, size, hash, etag, createdAt, updatedAt, deletedAt); } private static int hashCodeNullable(JsonNullable a) { @@ -320,8 +345,9 @@ public class StorageFile { sb.append(" size: ").append(toIndentedString(size)).append("\n"); sb.append(" hash: ").append(toIndentedString(hash)).append("\n"); sb.append(" etag: ").append(toIndentedString(etag)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -351,8 +377,9 @@ public class StorageFile { openapiFields.add("size"); openapiFields.add("hash"); openapiFields.add("etag"); - openapiFields.add("created"); - openapiFields.add("updated"); + openapiFields.add("created_at"); + openapiFields.add("updated_at"); + openapiFields.add("deleted_at"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); diff --git a/src/main/java/com/tribufu/generated/models/TokenHintType.java b/src/main/java/com/tribufu/generated/models/TokenHintType.java index d815458..e221c0a 100644 --- a/src/main/java/com/tribufu/generated/models/TokenHintType.java +++ b/src/main/java/com/tribufu/generated/models/TokenHintType.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/models/TokenRequest.java b/src/main/java/com/tribufu/generated/models/TokenRequest.java index ad4126a..82ba725 100644 --- a/src/main/java/com/tribufu/generated/models/TokenRequest.java +++ b/src/main/java/com/tribufu/generated/models/TokenRequest.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import com.tribufu.generated.JSON; /** * TokenRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class TokenRequest { public static final String SERIALIZED_NAME_GRANT_TYPE = "grant_type"; @SerializedName(SERIALIZED_NAME_GRANT_TYPE) diff --git a/src/main/java/com/tribufu/generated/models/TokenResponse.java b/src/main/java/com/tribufu/generated/models/TokenResponse.java index 9f57447..0d9a42f 100644 --- a/src/main/java/com/tribufu/generated/models/TokenResponse.java +++ b/src/main/java/com/tribufu/generated/models/TokenResponse.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -50,7 +50,7 @@ import com.tribufu.generated.JSON; /** * TokenResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class TokenResponse { public static final String SERIALIZED_NAME_TOKEN_TYPE = "token_type"; @SerializedName(SERIALIZED_NAME_TOKEN_TYPE) diff --git a/src/main/java/com/tribufu/generated/models/TokenType.java b/src/main/java/com/tribufu/generated/models/TokenType.java index 80ebdb0..8dc8fd1 100644 --- a/src/main/java/com/tribufu/generated/models/TokenType.java +++ b/src/main/java/com/tribufu/generated/models/TokenType.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/com/tribufu/generated/models/UpdateProfile.java b/src/main/java/com/tribufu/generated/models/UpdateProfile.java index 2187217..0c6418d 100644 --- a/src/main/java/com/tribufu/generated/models/UpdateProfile.java +++ b/src/main/java/com/tribufu/generated/models/UpdateProfile.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,7 +49,7 @@ import com.tribufu.generated.JSON; /** * UpdateProfile */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class UpdateProfile { public static final String SERIALIZED_NAME_DISPLAY_NAME = "display_name"; @SerializedName(SERIALIZED_NAME_DISPLAY_NAME) diff --git a/src/main/java/com/tribufu/generated/models/UserInfo.java b/src/main/java/com/tribufu/generated/models/UserInfo.java index f6871ff..8b4d2d8 100644 --- a/src/main/java/com/tribufu/generated/models/UserInfo.java +++ b/src/main/java/com/tribufu/generated/models/UserInfo.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,7 +25,6 @@ import java.time.OffsetDateTime; import java.util.ArrayList; import java.util.Arrays; import java.util.List; -import java.util.UUID; import org.openapitools.jackson.nullable.JsonNullable; import com.google.gson.Gson; @@ -54,18 +53,13 @@ import com.tribufu.generated.JSON; /** * UserInfo */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") public class UserInfo { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @javax.annotation.Nullable private String id; - public static final String SERIALIZED_NAME_UUID = "uuid"; - @SerializedName(SERIALIZED_NAME_UUID) - @javax.annotation.Nullable - private UUID uuid; - public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @javax.annotation.Nullable @@ -76,10 +70,10 @@ public class UserInfo { @javax.annotation.Nullable private String displayName; - public static final String SERIALIZED_NAME_EMAIL = "email"; - @SerializedName(SERIALIZED_NAME_EMAIL) + public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "email_address"; + @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) @javax.annotation.Nullable - private String email; + private String emailAddress; public static final String SERIALIZED_NAME_EMAIL_VERIFIED = "email_verified"; @SerializedName(SERIALIZED_NAME_EMAIL_VERIFIED) @@ -116,15 +110,15 @@ public class UserInfo { @javax.annotation.Nullable private List permissions; - public static final String SERIALIZED_NAME_CREATED = "created"; - @SerializedName(SERIALIZED_NAME_CREATED) + public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; + @SerializedName(SERIALIZED_NAME_CREATED_AT) @javax.annotation.Nullable - private OffsetDateTime created; + private OffsetDateTime createdAt; - public static final String SERIALIZED_NAME_UPDATED = "updated"; - @SerializedName(SERIALIZED_NAME_UPDATED) + public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; + @SerializedName(SERIALIZED_NAME_UPDATED_AT) @javax.annotation.Nullable - private OffsetDateTime updated; + private OffsetDateTime updatedAt; public UserInfo() { } @@ -148,25 +142,6 @@ public class UserInfo { } - public UserInfo uuid(@javax.annotation.Nullable UUID uuid) { - this.uuid = uuid; - return this; - } - - /** - * Get uuid - * @return uuid - */ - @javax.annotation.Nullable - public UUID getUuid() { - return uuid; - } - - public void setUuid(@javax.annotation.Nullable UUID uuid) { - this.uuid = uuid; - } - - public UserInfo name(@javax.annotation.Nullable String name) { this.name = name; return this; @@ -205,22 +180,22 @@ public class UserInfo { } - public UserInfo email(@javax.annotation.Nullable String email) { - this.email = email; + public UserInfo emailAddress(@javax.annotation.Nullable String emailAddress) { + this.emailAddress = emailAddress; return this; } /** - * Get email - * @return email + * Get emailAddress + * @return emailAddress */ @javax.annotation.Nullable - public String getEmail() { - return email; + public String getEmailAddress() { + return emailAddress; } - public void setEmail(@javax.annotation.Nullable String email) { - this.email = email; + public void setEmailAddress(@javax.annotation.Nullable String emailAddress) { + this.emailAddress = emailAddress; } @@ -365,41 +340,41 @@ public class UserInfo { } - public UserInfo created(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public UserInfo createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; return this; } /** - * Get created - * @return created + * Get createdAt + * @return createdAt */ @javax.annotation.Nullable - public OffsetDateTime getCreated() { - return created; + public OffsetDateTime getCreatedAt() { + return createdAt; } - public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { - this.created = created; + public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { + this.createdAt = createdAt; } - public UserInfo updated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public UserInfo updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; return this; } /** - * Get updated - * @return updated + * Get updatedAt + * @return updatedAt */ @javax.annotation.Nullable - public OffsetDateTime getUpdated() { - return updated; + public OffsetDateTime getUpdatedAt() { + return updatedAt; } - public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { - this.updated = updated; + public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { + this.updatedAt = updatedAt; } @@ -414,10 +389,9 @@ public class UserInfo { } UserInfo userInfo = (UserInfo) o; return Objects.equals(this.id, userInfo.id) && - Objects.equals(this.uuid, userInfo.uuid) && Objects.equals(this.name, userInfo.name) && Objects.equals(this.displayName, userInfo.displayName) && - Objects.equals(this.email, userInfo.email) && + Objects.equals(this.emailAddress, userInfo.emailAddress) && Objects.equals(this.emailVerified, userInfo.emailVerified) && Objects.equals(this.type, userInfo.type) && Objects.equals(this.language, userInfo.language) && @@ -425,8 +399,8 @@ public class UserInfo { Objects.equals(this.currency, userInfo.currency) && Objects.equals(this.photoUrl, userInfo.photoUrl) && Objects.equals(this.permissions, userInfo.permissions) && - Objects.equals(this.created, userInfo.created) && - Objects.equals(this.updated, userInfo.updated); + Objects.equals(this.createdAt, userInfo.createdAt) && + Objects.equals(this.updatedAt, userInfo.updatedAt); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -435,7 +409,7 @@ public class UserInfo { @Override public int hashCode() { - return Objects.hash(id, uuid, name, displayName, email, emailVerified, type, language, timezone, currency, photoUrl, permissions, created, updated); + return Objects.hash(id, name, displayName, emailAddress, emailVerified, type, language, timezone, currency, photoUrl, permissions, createdAt, updatedAt); } private static int hashCodeNullable(JsonNullable a) { @@ -450,10 +424,9 @@ public class UserInfo { StringBuilder sb = new StringBuilder(); sb.append("class UserInfo {\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n"); - sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); sb.append(" emailVerified: ").append(toIndentedString(emailVerified)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).append("\n"); sb.append(" language: ").append(toIndentedString(language)).append("\n"); @@ -461,8 +434,8 @@ public class UserInfo { sb.append(" currency: ").append(toIndentedString(currency)).append("\n"); sb.append(" photoUrl: ").append(toIndentedString(photoUrl)).append("\n"); sb.append(" permissions: ").append(toIndentedString(permissions)).append("\n"); - sb.append(" created: ").append(toIndentedString(created)).append("\n"); - sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); + sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); sb.append("}"); return sb.toString(); } @@ -486,10 +459,9 @@ public class UserInfo { // a set of all properties/fields (JSON key names) openapiFields = new HashSet(); openapiFields.add("id"); - openapiFields.add("uuid"); openapiFields.add("name"); openapiFields.add("display_name"); - openapiFields.add("email"); + openapiFields.add("email_address"); openapiFields.add("email_verified"); openapiFields.add("type"); openapiFields.add("language"); @@ -497,8 +469,8 @@ public class UserInfo { openapiFields.add("currency"); openapiFields.add("photo_url"); openapiFields.add("permissions"); - openapiFields.add("created"); - openapiFields.add("updated"); + openapiFields.add("created_at"); + openapiFields.add("updated_at"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -536,17 +508,14 @@ public class UserInfo { if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString())); } - if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString())); - } if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString())); } if ((jsonObj.get("display_name") != null && !jsonObj.get("display_name").isJsonNull()) && !jsonObj.get("display_name").isJsonPrimitive()) { throw new IllegalArgumentException(String.format("Expected the field `display_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("display_name").toString())); } - if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) { - throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString())); + if ((jsonObj.get("email_address") != null && !jsonObj.get("email_address").isJsonNull()) && !jsonObj.get("email_address").isJsonPrimitive()) { + throw new IllegalArgumentException(String.format("Expected the field `email_address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email_address").toString())); } // validate the optional field `type` if (jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) { diff --git a/src/main/java/com/tribufu/generated/models/UserType.java b/src/main/java/com/tribufu/generated/models/UserType.java index faa7aef..ec086e8 100644 --- a/src/main/java/com/tribufu/generated/models/UserType.java +++ b/src/main/java/com/tribufu/generated/models/UserType.java @@ -2,7 +2,7 @@ * Tribufu API * 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 * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).