diff --git a/.gitignore b/.gitignore index a36f615..8a5303c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,4 @@ -.agents/ .bloop/ -.codex/ .gradle/ .idea/ .metals/ diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 227cacb..6aef3a2 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -18,6 +18,7 @@ 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 @@ -28,7 +29,6 @@ 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/README.md b/README.md index b2989d6..3c0ad0a 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Java SDK to access Tribufu APIs and services. [mvn-badge]: https://img.shields.io/badge/releases-mvn-orange.svg [mvn-url]: https://mvn.tribufu.com/#/releases/com/tribufu/Tribufu [mit-badge]: https://img.shields.io/badge/license-MIT-blue.svg -[mit-url]: https://github.com/Tribufu/TribufuJava/blob/main/LICENSE.txt +[mit-url]: https://github.com/tribufu/tribufu-java/blob/main/LICENSE.txt [discord-badge]: https://img.shields.io/discord/276504514616623104.svg?logo=discord&style=flat-square [discord-url]: https://www.tribufu.com/discord @@ -20,4 +20,4 @@ Java SDK to access Tribufu APIs and services. This project is licensed under the [MIT License]. -[MIT License]: https://github.com/Tribufu/TribufuJava/blob/main/LICENSE.txt +[MIT License]: https://github.com/tribufu/tribufu-java/blob/main/LICENSE.txt diff --git a/build.gradle b/build.gradle index 5aeaeeb..3eae81f 100644 --- a/build.gradle +++ b/build.gradle @@ -4,8 +4,7 @@ apply plugin: "java" apply plugin: "com.diffplug.spotless" group = "com.tribufu" -version = "1.4.3" -archivesBaseName = "Tribufu" +version = "1.3.0" buildscript { repositories { @@ -51,7 +50,7 @@ if(hasProperty("target") && target == "android") { variant.outputs.each { output -> def outputFile = output.outputFile if (outputFile != null && outputFile.name.endsWith(".aar")) { - def fileName = "${archivesBaseName}-${variant.baseName}-${version}.aar" + def fileName = "${project.name}-${variant.baseName}-${version}.aar" output.outputFile = new File(outputFile.parent, fileName) } } @@ -69,7 +68,7 @@ if(hasProperty("target") && target == "android") { task.dependsOn variant.javaCompile task.from variant.javaCompile.destinationDirectory task.destinationDirectory = project.file("${project.buildDir}/outputs/jar") - task.archiveFileName = "${archivesBaseName}-${variant.baseName}-${version}.jar" + task.archiveFileName = "${project.name}-${variant.baseName}-${version}.jar" artifacts.add("archives", task) } } @@ -92,7 +91,7 @@ if(hasProperty("target") && target == "android") { publishing { publications { maven(MavenPublication) { - artifactId = "Tribufu" + artifactId = "tribufu" from components.java } } diff --git a/settings.gradle b/settings.gradle index be9c3bf..c4cfba8 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1,3 @@ -rootProject.name = "TribufuJava" +rootProject.name = "tribufu" include("example") diff --git a/src/main/java/com/tribufu/generated/ApiCallback.java b/src/main/java/com/tribufu/generated/ApiCallback.java index 19926da..1701652 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 704b5a4..7d944e1 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.4.3 + * The version of the OpenAPI document: 1.3.0 * Contact: contact@tribufu.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -100,6 +100,7 @@ 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); } @@ -115,6 +116,7 @@ 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); } @@ -139,7 +141,7 @@ public class ApiClient { json = new JSON(); // Set default User-Agent. - setUserAgent("OpenAPI-Generator/1.4.3/java"); + setUserAgent("OpenAPI-Generator/1.3.0/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 9f20819..1c8d40c 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 25ec494..382408f 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 40eb14d..2ecebd2 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") public class Configuration { - public static final String VERSION = "1.4.3"; + public static final String VERSION = "1.3.0"; 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 94c8f03..f05c219 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 8a7ec72..9dcee62 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.4.3 + * The version of the OpenAPI document: 1.3.0 * Contact: contact@tribufu.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -93,6 +93,7 @@ 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()); @@ -100,7 +101,6 @@ 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 7b8d0af..30c17b9 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 4ef36a7..dbc82fc 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 c69df47..b79132a 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 6e8c1a1..8d2529a 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 946cdb1..ae1cd41 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 1289be2..4804686 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 2c46edd..5202033 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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,6 +57,7 @@ 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; @@ -157,7 +158,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -283,7 +284,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -413,7 +414,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -540,7 +541,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -669,7 +670,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -802,7 +803,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -923,7 +924,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1040,7 +1041,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1157,7 +1158,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1276,7 +1277,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1402,7 +1403,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1526,7 +1527,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1645,7 +1646,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1766,7 +1767,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -1883,7 +1884,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2005,7 +2006,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2127,7 +2128,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2251,7 +2252,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2382,7 +2383,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2511,7 +2512,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2633,7 +2634,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2759,7 +2760,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -2773,7 +2774,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<Long> + * @return List<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2782,8 +2783,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(); } @@ -2791,7 +2792,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<Long>> + * @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 @@ -2800,9 +2801,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); } @@ -2820,10 +2821,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; } @@ -2841,7 +2842,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public okhttp3.Call generateFlakeIdFromTimestampCall(Long timestamp, Integer amount, final ApiCallback _callback) throws ApiException { + public okhttp3.Call generateFlakeIdFromTimestampCall(String timestamp, Integer amount, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -2886,12 +2887,12 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call generateFlakeIdFromTimestampValidateBeforeCall(Long timestamp, Integer amount, final ApiCallback _callback) throws ApiException { + private okhttp3.Call generateFlakeIdFromTimestampValidateBeforeCall(String 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)"); @@ -2906,7 +2907,7 @@ public class TribufuGeneratedApi { * <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake.timestamp</code> * @param timestamp (required) * @param amount (optional) - * @return List<Long> + * @return List<String> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -2915,8 +2916,8 @@ public class TribufuGeneratedApi {
200 OK -
*/ - public List generateFlakeIdFromTimestamp(Long timestamp, Integer amount) throws ApiException { - ApiResponse> localVarResp = generateFlakeIdFromTimestampWithHttpInfo(timestamp, amount); + public List generateFlakeIdFromTimestamp(String timestamp, Integer amount) throws ApiException { + ApiResponse> localVarResp = generateFlakeIdFromTimestampWithHttpInfo(timestamp, amount); return localVarResp.getData(); } @@ -2925,7 +2926,7 @@ public class TribufuGeneratedApi { * <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.flake.timestamp</code> * @param timestamp (required) * @param amount (optional) - * @return ApiResponse<List<Long>> + * @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 @@ -2934,9 +2935,9 @@ public class TribufuGeneratedApi {
200 OK -
*/ - public ApiResponse> generateFlakeIdFromTimestampWithHttpInfo(Long timestamp, Integer amount) throws ApiException { + public ApiResponse> generateFlakeIdFromTimestampWithHttpInfo(String 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); } @@ -2955,10 +2956,10 @@ public class TribufuGeneratedApi { 200 OK - */ - public okhttp3.Call generateFlakeIdFromTimestampAsync(Long timestamp, Integer amount, final ApiCallback> _callback) throws ApiException { + public okhttp3.Call generateFlakeIdFromTimestampAsync(String 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; } @@ -3024,7 +3025,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3157,7 +3158,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3172,7 +3173,7 @@ public class TribufuGeneratedApi { * <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.uuid</code> * @param version (optional) * @param amount (optional) - * @return List<String> + * @return List<UUID> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3181,8 +3182,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(); } @@ -3191,7 +3192,7 @@ public class TribufuGeneratedApi { * <b>🔒 Required permissions:</b> <code>tribufu.utils.generate.uuid</code> * @param version (optional) * @param amount (optional) - * @return ApiResponse<List<String>> + * @return ApiResponse<List<UUID>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3200,9 +3201,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); } @@ -3221,10 +3222,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; } @@ -3282,7 +3283,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3407,7 +3408,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3539,7 +3540,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3665,7 +3666,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3784,7 +3785,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -3913,7 +3914,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4052,7 +4053,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4194,7 +4195,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4323,7 +4324,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4457,7 +4458,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4586,7 +4587,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4730,7 +4731,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -4875,7 +4876,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5023,7 +5024,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5158,7 +5159,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5300,7 +5301,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5445,7 +5446,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5613,7 +5614,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5760,7 +5761,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -5905,7 +5906,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6043,7 +6044,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6162,7 +6163,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6286,7 +6287,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6405,7 +6406,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6561,7 +6562,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6713,7 +6714,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6838,7 +6839,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -6965,7 +6966,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7051,7 +7052,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public okhttp3.Call getGroupByUuidCall(String uuid, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getGroupByUuidCall(UUID uuid, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -7092,12 +7093,12 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call getGroupByUuidValidateBeforeCall(String uuid, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getGroupByUuidValidateBeforeCall(UUID 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)"); @@ -7120,7 +7121,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public Group getGroupByUuid(String uuid) throws ApiException { + public Group getGroupByUuid(UUID uuid) throws ApiException { ApiResponse localVarResp = getGroupByUuidWithHttpInfo(uuid); return localVarResp.getData(); } @@ -7138,7 +7139,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public ApiResponse getGroupByUuidWithHttpInfo(String uuid) throws ApiException { + public ApiResponse getGroupByUuidWithHttpInfo(UUID uuid) throws ApiException { okhttp3.Call localVarCall = getGroupByUuidValidateBeforeCall(uuid, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -7158,7 +7159,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public okhttp3.Call getGroupByUuidAsync(String uuid, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getGroupByUuidAsync(UUID uuid, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getGroupByUuidValidateBeforeCall(uuid, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -7219,7 +7220,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7348,7 +7349,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7483,7 +7484,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7608,7 +7609,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7748,7 +7749,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -7879,7 +7880,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8001,7 +8002,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8136,7 +8137,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8261,7 +8262,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8396,7 +8397,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8518,7 +8519,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8633,7 +8634,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8652,7 +8653,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<ExternalAccount> + * @return List<Account> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -8661,8 +8662,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(); } @@ -8670,7 +8671,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<ExternalAccount>> + * @return ApiResponse<List<Account>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -8679,9 +8680,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); } @@ -8699,10 +8700,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; } @@ -8760,7 +8761,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -8889,7 +8890,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9023,7 +9024,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9152,7 +9153,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9286,7 +9287,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9415,7 +9416,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9547,7 +9548,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9666,7 +9667,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9795,7 +9796,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -9929,7 +9930,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10058,7 +10059,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10151,7 +10152,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public okhttp3.Call getUserProfileByUuidCall(String uuid, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserProfileByUuidCall(UUID uuid, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -10192,12 +10193,12 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @SuppressWarnings("rawtypes") - private okhttp3.Call getUserProfileByUuidValidateBeforeCall(String uuid, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getUserProfileByUuidValidateBeforeCall(UUID 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)"); @@ -10220,7 +10221,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public Profile getUserProfileByUuid(String uuid) throws ApiException { + public Profile getUserProfileByUuid(UUID uuid) throws ApiException { ApiResponse localVarResp = getUserProfileByUuidWithHttpInfo(uuid); return localVarResp.getData(); } @@ -10238,7 +10239,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public ApiResponse getUserProfileByUuidWithHttpInfo(String uuid) throws ApiException { + public ApiResponse getUserProfileByUuidWithHttpInfo(UUID uuid) throws ApiException { okhttp3.Call localVarCall = getUserProfileByUuidValidateBeforeCall(uuid, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -10258,7 +10259,7 @@ public class TribufuGeneratedApi { 200 OK - */ - public okhttp3.Call getUserProfileByUuidAsync(String uuid, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserProfileByUuidAsync(UUID uuid, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getUserProfileByUuidValidateBeforeCall(uuid, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -10280,7 +10281,7 @@ public class TribufuGeneratedApi { * @deprecated */ @Deprecated - public okhttp3.Call getUserProfileByUuidV1Call(String uuid, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserProfileByUuidV1Call(UUID uuid, final ApiCallback _callback) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; @@ -10321,13 +10322,13 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @Deprecated @SuppressWarnings("rawtypes") - private okhttp3.Call getUserProfileByUuidV1ValidateBeforeCall(String uuid, final ApiCallback _callback) throws ApiException { + private okhttp3.Call getUserProfileByUuidV1ValidateBeforeCall(UUID 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)"); @@ -10352,7 +10353,7 @@ public class TribufuGeneratedApi { * @deprecated */ @Deprecated - public Profile getUserProfileByUuidV1(String uuid) throws ApiException { + public Profile getUserProfileByUuidV1(UUID uuid) throws ApiException { ApiResponse localVarResp = getUserProfileByUuidV1WithHttpInfo(uuid); return localVarResp.getData(); } @@ -10372,7 +10373,7 @@ public class TribufuGeneratedApi { * @deprecated */ @Deprecated - public ApiResponse getUserProfileByUuidV1WithHttpInfo(String uuid) throws ApiException { + public ApiResponse getUserProfileByUuidV1WithHttpInfo(UUID uuid) throws ApiException { okhttp3.Call localVarCall = getUserProfileByUuidV1ValidateBeforeCall(uuid, null); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); @@ -10394,7 +10395,7 @@ public class TribufuGeneratedApi { * @deprecated */ @Deprecated - public okhttp3.Call getUserProfileByUuidV1Async(String uuid, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getUserProfileByUuidV1Async(UUID uuid, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getUserProfileByUuidV1ValidateBeforeCall(uuid, _callback); Type localVarReturnType = new TypeToken(){}.getType(); @@ -10463,7 +10464,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10598,7 +10599,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10730,7 +10731,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -10859,7 +10860,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11003,7 +11004,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11148,7 +11149,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11288,7 +11289,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11410,7 +11411,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11532,7 +11533,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11654,7 +11655,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11777,7 +11778,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -11899,7 +11900,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12017,7 +12018,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12140,7 +12141,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12267,7 +12268,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12394,7 +12395,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12523,7 +12524,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12659,7 +12660,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12793,7 +12794,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -12920,7 +12921,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -13048,7 +13049,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; return localVarApiClient.buildCall(basePath, localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); } @@ -13182,7 +13183,7 @@ public class TribufuGeneratedApi { localVarHeaderParams.put("Content-Type", localVarContentType); } - String[] localVarAuthNames = new String[] { }; + String[] localVarAuthNames = new String[] { "ApiKey" }; 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 7c04ef3..9acb1bd 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 72c9247..b18c342 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 3f604a3..78a4af0 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 aba2e97..0e09c39 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 854f144..64e1860 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 81adaa4..74a4ab7 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") public class Application { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -104,20 +104,15 @@ public class Application { @javax.annotation.Nullable private String slug; - public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; - @SerializedName(SERIALIZED_NAME_CREATED_AT) + public static final String SERIALIZED_NAME_CREATED = "created"; + @SerializedName(SERIALIZED_NAME_CREATED) @javax.annotation.Nullable - private OffsetDateTime createdAt; + private OffsetDateTime created; - public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; - @SerializedName(SERIALIZED_NAME_UPDATED_AT) + public static final String SERIALIZED_NAME_UPDATED = "updated"; + @SerializedName(SERIALIZED_NAME_UPDATED) @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; + private OffsetDateTime updated; public Application() { } @@ -312,60 +307,41 @@ public class Application { } - public Application createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public Application created(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; return this; } /** - * Get createdAt - * @return createdAt + * Get created + * @return created */ @javax.annotation.Nullable - public OffsetDateTime getCreatedAt() { - return createdAt; + public OffsetDateTime getCreated() { + return created; } - public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; } - public Application updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { - this.updatedAt = updatedAt; + public Application updated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; return this; } /** - * Get updatedAt - * @return updatedAt + * Get updated + * @return updated */ @javax.annotation.Nullable - public OffsetDateTime getUpdatedAt() { - return updatedAt; + public OffsetDateTime getUpdated() { + return 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; + public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; } @@ -389,9 +365,8 @@ public class Application { Objects.equals(this.capsuleImageUrl, application.capsuleImageUrl) && Objects.equals(this.libraryImageUrl, application.libraryImageUrl) && Objects.equals(this.slug, application.slug) && - Objects.equals(this.createdAt, application.createdAt) && - Objects.equals(this.updatedAt, application.updatedAt) && - Objects.equals(this.deletedAt, application.deletedAt); + Objects.equals(this.created, application.created) && + Objects.equals(this.updated, application.updated); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -400,7 +375,7 @@ public class Application { @Override public int hashCode() { - return Objects.hash(id, name, description, type, organizationId, iconUrl, bannerUrl, capsuleImageUrl, libraryImageUrl, slug, createdAt, updatedAt, deletedAt); + return Objects.hash(id, name, description, type, organizationId, iconUrl, bannerUrl, capsuleImageUrl, libraryImageUrl, slug, created, updated); } private static int hashCodeNullable(JsonNullable a) { @@ -424,9 +399,8 @@ 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(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); - sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); + sb.append(" created: ").append(toIndentedString(created)).append("\n"); + sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); sb.append("}"); return sb.toString(); } @@ -459,9 +433,8 @@ public class Application { openapiFields.add("capsule_image_url"); openapiFields.add("library_image_url"); openapiFields.add("slug"); - openapiFields.add("created_at"); - openapiFields.add("updated_at"); - openapiFields.add("deleted_at"); + openapiFields.add("created"); + openapiFields.add("updated"); // 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 1e46413..9859fab 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 { - SOFTWARE("software"), + APPLICATION("application"), 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 4509628..acbdf3d 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 b5b067e..6a4cfb9 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") public class Client { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -111,20 +111,15 @@ public class Client { @javax.annotation.Nullable private List permissions; - public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; - @SerializedName(SERIALIZED_NAME_CREATED_AT) + public static final String SERIALIZED_NAME_CREATED = "created"; + @SerializedName(SERIALIZED_NAME_CREATED) @javax.annotation.Nullable - private OffsetDateTime createdAt; + private OffsetDateTime created; - public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; - @SerializedName(SERIALIZED_NAME_UPDATED_AT) + public static final String SERIALIZED_NAME_UPDATED = "updated"; + @SerializedName(SERIALIZED_NAME_UPDATED) @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; + private OffsetDateTime updated; public Client() { } @@ -337,60 +332,41 @@ public class Client { - public Client createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public Client created(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; return this; } /** - * Get createdAt - * @return createdAt + * Get created + * @return created */ @javax.annotation.Nullable - public OffsetDateTime getCreatedAt() { - return createdAt; + public OffsetDateTime getCreated() { + return created; } - public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; } - public Client updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { - this.updatedAt = updatedAt; + public Client updated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; return this; } /** - * Get updatedAt - * @return updatedAt + * Get updated + * @return updated */ @javax.annotation.Nullable - public OffsetDateTime getUpdatedAt() { - return updatedAt; + public OffsetDateTime getUpdated() { + return 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; + public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; } @@ -415,9 +391,8 @@ public class Client { Objects.equals(this.redirects, client.redirects) && Objects.equals(this.scopes, client.scopes) && Objects.equals(this.permissions, client.permissions) && - Objects.equals(this.createdAt, client.createdAt) && - Objects.equals(this.updatedAt, client.updatedAt) && - Objects.equals(this.deletedAt, client.deletedAt); + Objects.equals(this.created, client.created) && + Objects.equals(this.updated, client.updated); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -426,7 +401,7 @@ public class Client { @Override public int hashCode() { - return Objects.hash(id, name, type, organizationId, trusted, websiteUrl, photoUrl, backgroundUrl, redirects, scopes, permissions, createdAt, updatedAt, deletedAt); + return Objects.hash(id, name, type, organizationId, trusted, websiteUrl, photoUrl, backgroundUrl, redirects, scopes, permissions, created, updated); } private static int hashCodeNullable(JsonNullable a) { @@ -451,9 +426,8 @@ 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(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); - sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); + sb.append(" created: ").append(toIndentedString(created)).append("\n"); + sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); sb.append("}"); return sb.toString(); } @@ -487,9 +461,8 @@ public class Client { openapiFields.add("redirects"); openapiFields.add("scopes"); openapiFields.add("permissions"); - openapiFields.add("created_at"); - openapiFields.add("updated_at"); - openapiFields.add("deleted_at"); + openapiFields.add("created"); + openapiFields.add("updated"); // 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 d5258b3..3637e47 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 4f18c42..708f0be 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 bd22202..3b4bb43 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 919dffa..58d44eb 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 3d96e53..236460e 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.4.3 + * The version of the OpenAPI document: 1.3.0 * Contact: contact@tribufu.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -21,6 +21,7 @@ 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; @@ -49,12 +50,12 @@ import com.tribufu.generated.JSON; /** * CreateUser */ -@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") +@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") public class CreateUser { public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) @javax.annotation.Nullable - private String uuid; + private UUID uuid; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -99,7 +100,7 @@ public class CreateUser { public CreateUser() { } - public CreateUser uuid(@javax.annotation.Nullable String uuid) { + public CreateUser uuid(@javax.annotation.Nullable UUID uuid) { this.uuid = uuid; return this; } @@ -109,11 +110,11 @@ public class CreateUser { * @return uuid */ @javax.annotation.Nullable - public String getUuid() { + public UUID getUuid() { return uuid; } - public void setUuid(@javax.annotation.Nullable String uuid) { + public void setUuid(@javax.annotation.Nullable UUID 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 8fed7a8..70f6ee2 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 deleted file mode 100644 index fc2a5a7..0000000 --- a/src/main/java/com/tribufu/generated/models/ExternalAccount.java +++ /dev/null @@ -1,463 +0,0 @@ -/* - * 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 d19c3ba..0e23dab 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") public class Game { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -104,20 +104,15 @@ public class Game { @javax.annotation.Nullable private String slug; - public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; - @SerializedName(SERIALIZED_NAME_CREATED_AT) + public static final String SERIALIZED_NAME_CREATED = "created"; + @SerializedName(SERIALIZED_NAME_CREATED) @javax.annotation.Nullable - private OffsetDateTime createdAt; + private OffsetDateTime created; - public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; - @SerializedName(SERIALIZED_NAME_UPDATED_AT) + public static final String SERIALIZED_NAME_UPDATED = "updated"; + @SerializedName(SERIALIZED_NAME_UPDATED) @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; + private OffsetDateTime updated; public static final String SERIALIZED_NAME_ENABLE_SERVERS = "enable_servers"; @SerializedName(SERIALIZED_NAME_ENABLE_SERVERS) @@ -347,60 +342,41 @@ public class Game { } - public Game createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public Game created(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; return this; } /** - * Get createdAt - * @return createdAt + * Get created + * @return created */ @javax.annotation.Nullable - public OffsetDateTime getCreatedAt() { - return createdAt; + public OffsetDateTime getCreated() { + return created; } - public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; } - public Game updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { - this.updatedAt = updatedAt; + public Game updated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; return this; } /** - * Get updatedAt - * @return updatedAt + * Get updated + * @return updated */ @javax.annotation.Nullable - public OffsetDateTime getUpdatedAt() { - return updatedAt; + public OffsetDateTime getUpdated() { + return 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; + public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; } @@ -557,9 +533,8 @@ public class Game { Objects.equals(this.capsuleImageUrl, game.capsuleImageUrl) && Objects.equals(this.libraryImageUrl, game.libraryImageUrl) && Objects.equals(this.slug, game.slug) && - Objects.equals(this.createdAt, game.createdAt) && - Objects.equals(this.updatedAt, game.updatedAt) && - Objects.equals(this.deletedAt, game.deletedAt) && + Objects.equals(this.created, game.created) && + Objects.equals(this.updated, game.updated) && Objects.equals(this.enableServers, game.enableServers) && Objects.equals(this.gamePort, game.gamePort) && Objects.equals(this.queryPort, game.queryPort) && @@ -575,7 +550,7 @@ public class Game { @Override public int hashCode() { - return Objects.hash(id, name, description, type, organizationId, iconUrl, bannerUrl, capsuleImageUrl, libraryImageUrl, slug, createdAt, updatedAt, deletedAt, enableServers, gamePort, queryPort, rconPort, gamedigId, steamAppId, steamServerAppId); + return Objects.hash(id, name, description, type, organizationId, iconUrl, bannerUrl, capsuleImageUrl, libraryImageUrl, slug, created, updated, enableServers, gamePort, queryPort, rconPort, gamedigId, steamAppId, steamServerAppId); } private static int hashCodeNullable(JsonNullable a) { @@ -599,9 +574,8 @@ 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(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); - sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); + sb.append(" created: ").append(toIndentedString(created)).append("\n"); + sb.append(" updated: ").append(toIndentedString(updated)).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"); @@ -641,9 +615,8 @@ public class Game { openapiFields.add("capsule_image_url"); openapiFields.add("library_image_url"); openapiFields.add("slug"); - openapiFields.add("created_at"); - openapiFields.add("updated_at"); - openapiFields.add("deleted_at"); + openapiFields.add("created"); + openapiFields.add("updated"); 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 89e8e94..248e6cf 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") public class GameServer { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -140,27 +140,22 @@ 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 Long discordServerId; + private String 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_AT = "created_at"; - @SerializedName(SERIALIZED_NAME_CREATED_AT) + public static final String SERIALIZED_NAME_CREATED = "created"; + @SerializedName(SERIALIZED_NAME_CREATED) @javax.annotation.Nullable - private OffsetDateTime createdAt; + private OffsetDateTime created; - public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; - @SerializedName(SERIALIZED_NAME_UPDATED_AT) + public static final String SERIALIZED_NAME_UPDATED = "updated"; + @SerializedName(SERIALIZED_NAME_UPDATED) @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; + private OffsetDateTime updated; public GameServer() { } @@ -488,7 +483,7 @@ public class GameServer { } - public GameServer discordServerId(@javax.annotation.Nullable Long discordServerId) { + public GameServer discordServerId(@javax.annotation.Nullable String discordServerId) { this.discordServerId = discordServerId; return this; } @@ -498,11 +493,11 @@ public class GameServer { * @return discordServerId */ @javax.annotation.Nullable - public Long getDiscordServerId() { + public String getDiscordServerId() { return discordServerId; } - public void setDiscordServerId(@javax.annotation.Nullable Long discordServerId) { + public void setDiscordServerId(@javax.annotation.Nullable String discordServerId) { this.discordServerId = discordServerId; } @@ -526,60 +521,41 @@ public class GameServer { } - public GameServer createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public GameServer created(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; return this; } /** - * Get createdAt - * @return createdAt + * Get created + * @return created */ @javax.annotation.Nullable - public OffsetDateTime getCreatedAt() { - return createdAt; + public OffsetDateTime getCreated() { + return created; } - public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; } - public GameServer updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { - this.updatedAt = updatedAt; + public GameServer updated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; return this; } /** - * Get updatedAt - * @return updatedAt + * Get updated + * @return updated */ @javax.annotation.Nullable - public OffsetDateTime getUpdatedAt() { - return updatedAt; + public OffsetDateTime getUpdated() { + return 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; + public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; } @@ -612,9 +588,8 @@ public class GameServer { Objects.equals(this.steam, gameServer.steam) && Objects.equals(this.discordServerId, gameServer.discordServerId) && Objects.equals(this.youtubeVideoUrl, gameServer.youtubeVideoUrl) && - Objects.equals(this.createdAt, gameServer.createdAt) && - Objects.equals(this.updatedAt, gameServer.updatedAt) && - Objects.equals(this.deletedAt, gameServer.deletedAt); + Objects.equals(this.created, gameServer.created) && + Objects.equals(this.updated, gameServer.updated); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -623,7 +598,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, createdAt, updatedAt, deletedAt); + return Objects.hash(id, name, description, ownerId, address, queryPort, gamePort, map, version, gameId, gameIconUrl, clusterId, websiteUrl, bannerUrl, uptime, country, steam, discordServerId, youtubeVideoUrl, created, updated); } private static int hashCodeNullable(JsonNullable a) { @@ -656,9 +631,8 @@ 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(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); - sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); + sb.append(" created: ").append(toIndentedString(created)).append("\n"); + sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); sb.append("}"); return sb.toString(); } @@ -700,9 +674,8 @@ public class GameServer { openapiFields.add("steam"); openapiFields.add("discord_server_id"); openapiFields.add("youtube_video_url"); - openapiFields.add("created_at"); - openapiFields.add("updated_at"); - openapiFields.add("deleted_at"); + openapiFields.add("created"); + openapiFields.add("updated"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -778,6 +751,9 @@ 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 6b6104b..a3b8ebc 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 Long discordServerId; + private String discordServerId; public static final String SERIALIZED_NAME_YOUTUBE_VIDEO_URL = "youtube_video_url"; @SerializedName(SERIALIZED_NAME_YOUTUBE_VIDEO_URL) @@ -113,20 +113,15 @@ public class GameServerCluster { @javax.annotation.Nullable private Integer serverCount; - public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; - @SerializedName(SERIALIZED_NAME_CREATED_AT) + public static final String SERIALIZED_NAME_CREATED = "created"; + @SerializedName(SERIALIZED_NAME_CREATED) @javax.annotation.Nullable - private OffsetDateTime createdAt; + private OffsetDateTime created; - public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; - @SerializedName(SERIALIZED_NAME_UPDATED_AT) + public static final String SERIALIZED_NAME_UPDATED = "updated"; + @SerializedName(SERIALIZED_NAME_UPDATED) @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; + private OffsetDateTime updated; public GameServerCluster() { } @@ -264,7 +259,7 @@ public class GameServerCluster { } - public GameServerCluster discordServerId(@javax.annotation.Nullable Long discordServerId) { + public GameServerCluster discordServerId(@javax.annotation.Nullable String discordServerId) { this.discordServerId = discordServerId; return this; } @@ -274,11 +269,11 @@ public class GameServerCluster { * @return discordServerId */ @javax.annotation.Nullable - public Long getDiscordServerId() { + public String getDiscordServerId() { return discordServerId; } - public void setDiscordServerId(@javax.annotation.Nullable Long discordServerId) { + public void setDiscordServerId(@javax.annotation.Nullable String discordServerId) { this.discordServerId = discordServerId; } @@ -359,60 +354,41 @@ public class GameServerCluster { } - public GameServerCluster createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public GameServerCluster created(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; return this; } /** - * Get createdAt - * @return createdAt + * Get created + * @return created */ @javax.annotation.Nullable - public OffsetDateTime getCreatedAt() { - return createdAt; + public OffsetDateTime getCreated() { + return created; } - public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; } - public GameServerCluster updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { - this.updatedAt = updatedAt; + public GameServerCluster updated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; return this; } /** - * Get updatedAt - * @return updatedAt + * Get updated + * @return updated */ @javax.annotation.Nullable - public OffsetDateTime getUpdatedAt() { - return updatedAt; + public OffsetDateTime getUpdated() { + return 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; + public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; } @@ -438,9 +414,8 @@ public class GameServerCluster { Objects.equals(this.tags, gameServerCluster.tags) && Objects.equals(this.commentCount, gameServerCluster.commentCount) && Objects.equals(this.serverCount, gameServerCluster.serverCount) && - Objects.equals(this.createdAt, gameServerCluster.createdAt) && - Objects.equals(this.updatedAt, gameServerCluster.updatedAt) && - Objects.equals(this.deletedAt, gameServerCluster.deletedAt); + Objects.equals(this.created, gameServerCluster.created) && + Objects.equals(this.updated, gameServerCluster.updated); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -449,7 +424,7 @@ public class GameServerCluster { @Override public int hashCode() { - return Objects.hash(id, name, description, gameId, websiteUrl, bannerUrl, ownerId, discordServerId, youtubeVideoUrl, tags, commentCount, serverCount, createdAt, updatedAt, deletedAt); + return Objects.hash(id, name, description, gameId, websiteUrl, bannerUrl, ownerId, discordServerId, youtubeVideoUrl, tags, commentCount, serverCount, created, updated); } private static int hashCodeNullable(JsonNullable a) { @@ -475,9 +450,8 @@ 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(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); - sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); + sb.append(" created: ").append(toIndentedString(created)).append("\n"); + sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); sb.append("}"); return sb.toString(); } @@ -512,9 +486,8 @@ public class GameServerCluster { openapiFields.add("tags"); openapiFields.add("comment_count"); openapiFields.add("server_count"); - openapiFields.add("created_at"); - openapiFields.add("updated_at"); - openapiFields.add("deleted_at"); + openapiFields.add("created"); + openapiFields.add("updated"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -570,6 +543,9 @@ 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 86c2c83..b45b11f 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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_AT = "created_at"; - @SerializedName(SERIALIZED_NAME_CREATED_AT) + public static final String SERIALIZED_NAME_CREATED = "created"; + @SerializedName(SERIALIZED_NAME_CREATED) @javax.annotation.Nullable - private OffsetDateTime createdAt; + private OffsetDateTime created; public GameServerQuery() { } @@ -229,22 +229,22 @@ public class GameServerQuery { } - public GameServerQuery createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public GameServerQuery created(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; return this; } /** - * Get createdAt - * @return createdAt + * Get created + * @return created */ @javax.annotation.Nullable - public OffsetDateTime getCreatedAt() { - return createdAt; + public OffsetDateTime getCreated() { + return created; } - public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; } @@ -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.createdAt, gameServerQuery.createdAt); + Objects.equals(this.created, gameServerQuery.created); } 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, createdAt); + return Objects.hash(id, serverId, status, ping, currentPlayers, maxPlayers, motd, created); } 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(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); + sb.append(" created: ").append(toIndentedString(created)).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_at"); + openapiFields.add("created"); // 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 8e9973a..d2c1ad5 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 98dc87f..20aaa5b 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 f84db13..cac3299 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.4.3 + * The version of the OpenAPI document: 1.3.0 * Contact: contact@tribufu.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -22,6 +22,7 @@ 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; @@ -50,7 +51,7 @@ import com.tribufu.generated.JSON; /** * Group */ -@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") +@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") public class Group { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -60,7 +61,7 @@ public class Group { public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) @javax.annotation.Nullable - private String uuid; + private UUID uuid; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -122,20 +123,15 @@ public class Group { @javax.annotation.Nullable private Integer viewCount; - public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; - @SerializedName(SERIALIZED_NAME_CREATED_AT) + public static final String SERIALIZED_NAME_CREATED = "created"; + @SerializedName(SERIALIZED_NAME_CREATED) @javax.annotation.Nullable - private OffsetDateTime createdAt; + private OffsetDateTime created; - public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; - @SerializedName(SERIALIZED_NAME_UPDATED_AT) + public static final String SERIALIZED_NAME_UPDATED = "updated"; + @SerializedName(SERIALIZED_NAME_UPDATED) @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; + private OffsetDateTime updated; public Group() { } @@ -159,7 +155,7 @@ public class Group { } - public Group uuid(@javax.annotation.Nullable String uuid) { + public Group uuid(@javax.annotation.Nullable UUID uuid) { this.uuid = uuid; return this; } @@ -169,11 +165,11 @@ public class Group { * @return uuid */ @javax.annotation.Nullable - public String getUuid() { + public UUID getUuid() { return uuid; } - public void setUuid(@javax.annotation.Nullable String uuid) { + public void setUuid(@javax.annotation.Nullable UUID uuid) { this.uuid = uuid; } @@ -406,60 +402,41 @@ public class Group { } - public Group createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public Group created(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; return this; } /** - * Get createdAt - * @return createdAt + * Get created + * @return created */ @javax.annotation.Nullable - public OffsetDateTime getCreatedAt() { - return createdAt; + public OffsetDateTime getCreated() { + return created; } - public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; } - public Group updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { - this.updatedAt = updatedAt; + public Group updated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; return this; } /** - * Get updatedAt - * @return updatedAt + * Get updated + * @return updated */ @javax.annotation.Nullable - public OffsetDateTime getUpdatedAt() { - return updatedAt; + public OffsetDateTime getUpdated() { + return 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; + public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; } @@ -487,9 +464,8 @@ public class Group { Objects.equals(this.memberCount, group.memberCount) && Objects.equals(this.followerCount, group.followerCount) && Objects.equals(this.viewCount, group.viewCount) && - Objects.equals(this.createdAt, group.createdAt) && - Objects.equals(this.updatedAt, group.updatedAt) && - Objects.equals(this.deletedAt, group.deletedAt); + Objects.equals(this.created, group.created) && + Objects.equals(this.updated, group.updated); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -498,7 +474,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, createdAt, updatedAt, deletedAt); + return Objects.hash(id, uuid, name, tag, description, type, privacy, ownerId, verified, photoUrl, bannerUrl, memberCount, followerCount, viewCount, created, updated); } private static int hashCodeNullable(JsonNullable a) { @@ -526,9 +502,8 @@ 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(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); - sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); + sb.append(" created: ").append(toIndentedString(created)).append("\n"); + sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); sb.append("}"); return sb.toString(); } @@ -565,9 +540,8 @@ public class Group { openapiFields.add("member_count"); openapiFields.add("follower_count"); openapiFields.add("view_count"); - openapiFields.add("created_at"); - openapiFields.add("updated_at"); - openapiFields.add("deleted_at"); + openapiFields.add("created"); + openapiFields.add("updated"); // 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 7206fa2..baa48be 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 4be022b..d84087c 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.4.3 + * The version of the OpenAPI document: 1.3.0 * Contact: contact@tribufu.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,6 +23,7 @@ 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; @@ -51,13 +52,18 @@ import com.tribufu.generated.JSON; /** * GroupMember */ -@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") +@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") 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 @@ -68,11 +74,21 @@ 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 @@ -105,6 +121,25 @@ 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; @@ -143,6 +178,25 @@ 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; @@ -162,6 +216,25 @@ 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; @@ -211,9 +284,12 @@ 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); } @@ -224,7 +300,7 @@ public class GroupMember { @Override public int hashCode() { - return Objects.hash(id, name, displayName, photoUrl, rank, since); + return Objects.hash(id, uuid, name, displayName, verified, photoUrl, lastOnline, rank, since); } private static int hashCodeNullable(JsonNullable a) { @@ -239,9 +315,12 @@ 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("}"); @@ -267,9 +346,12 @@ 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"); @@ -301,6 +383,9 @@ 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 02b2d15..cd6e78a 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 c5bd052..87f91c4 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 deleted file mode 100644 index 66cc2bb..0000000 --- a/src/main/java/com/tribufu/generated/models/IdentityProviderType.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * 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 0b18a6a..9618dfb 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 c1e342c..e4778e5 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 a475d45..6195e4a 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 84eb678..a34aa5e 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 0e39009..2d8e7fd 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 4e4cdf5..88bb36d 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") public class ModelPackage { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -105,20 +105,15 @@ public class ModelPackage { @javax.annotation.Nullable private List releases; - public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; - @SerializedName(SERIALIZED_NAME_CREATED_AT) + public static final String SERIALIZED_NAME_CREATED = "created"; + @SerializedName(SERIALIZED_NAME_CREATED) @javax.annotation.Nullable - private OffsetDateTime createdAt; + private OffsetDateTime created; - public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; - @SerializedName(SERIALIZED_NAME_UPDATED_AT) + public static final String SERIALIZED_NAME_UPDATED = "updated"; + @SerializedName(SERIALIZED_NAME_UPDATED) @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; + private OffsetDateTime updated; public ModelPackage() { } @@ -321,60 +316,41 @@ public class ModelPackage { } - public ModelPackage createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public ModelPackage created(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; return this; } /** - * Get createdAt - * @return createdAt + * Get created + * @return created */ @javax.annotation.Nullable - public OffsetDateTime getCreatedAt() { - return createdAt; + public OffsetDateTime getCreated() { + return created; } - public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; } - public ModelPackage updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { - this.updatedAt = updatedAt; + public ModelPackage updated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; return this; } /** - * Get updatedAt - * @return updatedAt + * Get updated + * @return updated */ @javax.annotation.Nullable - public OffsetDateTime getUpdatedAt() { - return updatedAt; + public OffsetDateTime getUpdated() { + return 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; + public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; } @@ -398,9 +374,8 @@ public class ModelPackage { Objects.equals(this.downloadCount, _package.downloadCount) && Objects.equals(this.lastDownload, _package.lastDownload) && Objects.equals(this.releases, _package.releases) && - Objects.equals(this.createdAt, _package.createdAt) && - Objects.equals(this.updatedAt, _package.updatedAt) && - Objects.equals(this.deletedAt, _package.deletedAt); + Objects.equals(this.created, _package.created) && + Objects.equals(this.updated, _package.updated); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -409,7 +384,7 @@ public class ModelPackage { @Override public int hashCode() { - return Objects.hash(id, name, description, authorId, imageUrl, applicationId, categoryId, downloadCount, lastDownload, releases, createdAt, updatedAt, deletedAt); + return Objects.hash(id, name, description, authorId, imageUrl, applicationId, categoryId, downloadCount, lastDownload, releases, created, updated); } private static int hashCodeNullable(JsonNullable a) { @@ -433,9 +408,8 @@ 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(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); - sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); + sb.append(" created: ").append(toIndentedString(created)).append("\n"); + sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); sb.append("}"); return sb.toString(); } @@ -468,9 +442,8 @@ public class ModelPackage { openapiFields.add("download_count"); openapiFields.add("last_download"); openapiFields.add("releases"); - openapiFields.add("created_at"); - openapiFields.add("updated_at"); - openapiFields.add("deleted_at"); + openapiFields.add("created"); + openapiFields.add("updated"); // 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 3bd659e..636a37e 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") public class PackageRelease { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -80,20 +80,15 @@ public class PackageRelease { @javax.annotation.Nullable private List files; - public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; - @SerializedName(SERIALIZED_NAME_CREATED_AT) + public static final String SERIALIZED_NAME_CREATED = "created"; + @SerializedName(SERIALIZED_NAME_CREATED) @javax.annotation.Nullable - private OffsetDateTime createdAt; + private OffsetDateTime created; - public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; - @SerializedName(SERIALIZED_NAME_UPDATED_AT) + public static final String SERIALIZED_NAME_UPDATED = "updated"; + @SerializedName(SERIALIZED_NAME_UPDATED) @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; + private OffsetDateTime updated; public PackageRelease() { } @@ -192,60 +187,41 @@ public class PackageRelease { - public PackageRelease createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public PackageRelease created(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; return this; } /** - * Get createdAt - * @return createdAt + * Get created + * @return created */ @javax.annotation.Nullable - public OffsetDateTime getCreatedAt() { - return createdAt; + public OffsetDateTime getCreated() { + return created; } - public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; } - public PackageRelease updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { - this.updatedAt = updatedAt; + public PackageRelease updated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; return this; } /** - * Get updatedAt - * @return updatedAt + * Get updated + * @return updated */ @javax.annotation.Nullable - public OffsetDateTime getUpdatedAt() { - return updatedAt; + public OffsetDateTime getUpdated() { + return 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; + public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; } @@ -264,9 +240,8 @@ public class PackageRelease { Objects.equals(this.packageId, packageRelease.packageId) && Objects.equals(this.notes, packageRelease.notes) && Objects.equals(this.files, packageRelease.files) && - Objects.equals(this.createdAt, packageRelease.createdAt) && - Objects.equals(this.updatedAt, packageRelease.updatedAt) && - Objects.equals(this.deletedAt, packageRelease.deletedAt); + Objects.equals(this.created, packageRelease.created) && + Objects.equals(this.updated, packageRelease.updated); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -275,7 +250,7 @@ public class PackageRelease { @Override public int hashCode() { - return Objects.hash(id, version, packageId, notes, files, createdAt, updatedAt, deletedAt); + return Objects.hash(id, version, packageId, notes, files, created, updated); } private static int hashCodeNullable(JsonNullable a) { @@ -294,9 +269,8 @@ 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(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); - sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); + sb.append(" created: ").append(toIndentedString(created)).append("\n"); + sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); sb.append("}"); return sb.toString(); } @@ -324,9 +298,8 @@ public class PackageRelease { openapiFields.add("package_id"); openapiFields.add("notes"); openapiFields.add("files"); - openapiFields.add("created_at"); - openapiFields.add("updated_at"); - openapiFields.add("deleted_at"); + openapiFields.add("created"); + openapiFields.add("updated"); // 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 80c04bc..b849a54 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") public class Product { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -66,11 +66,6 @@ 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 @@ -91,25 +86,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_AT = "created_at"; - @SerializedName(SERIALIZED_NAME_CREATED_AT) + public static final String SERIALIZED_NAME_CREATED = "created"; + @SerializedName(SERIALIZED_NAME_CREATED) @javax.annotation.Nullable - private OffsetDateTime createdAt; + private OffsetDateTime created; - public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; - @SerializedName(SERIALIZED_NAME_UPDATED_AT) + public static final String SERIALIZED_NAME_UPDATED = "updated"; + @SerializedName(SERIALIZED_NAME_UPDATED) @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; + private OffsetDateTime updated; public Product() { } @@ -152,25 +147,6 @@ 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; @@ -247,6 +223,25 @@ 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; @@ -274,60 +269,41 @@ public class Product { } - public Product createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public Product created(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; return this; } /** - * Get createdAt - * @return createdAt + * Get created + * @return created */ @javax.annotation.Nullable - public OffsetDateTime getCreatedAt() { - return createdAt; + public OffsetDateTime getCreated() { + return created; } - public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; } - public Product updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { - this.updatedAt = updatedAt; + public Product updated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; return this; } /** - * Get updatedAt - * @return updatedAt + * Get updated + * @return updated */ @javax.annotation.Nullable - public OffsetDateTime getUpdatedAt() { - return updatedAt; + public OffsetDateTime getUpdated() { + return 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; + public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; } @@ -343,15 +319,14 @@ 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.createdAt, product.createdAt) && - Objects.equals(this.updatedAt, product.updatedAt) && - Objects.equals(this.deletedAt, product.deletedAt); + Objects.equals(this.created, product.created) && + Objects.equals(this.updated, product.updated); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -360,7 +335,7 @@ public class Product { @Override public int hashCode() { - return Objects.hash(id, name, sku, description, type, slug, imageUrl, prices, createdAt, updatedAt, deletedAt); + return Objects.hash(id, name, description, type, slug, imageUrl, isPhysical, prices, created, updated); } private static int hashCodeNullable(JsonNullable a) { @@ -376,15 +351,14 @@ 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(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); - sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); + sb.append(" created: ").append(toIndentedString(created)).append("\n"); + sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); sb.append("}"); return sb.toString(); } @@ -409,15 +383,14 @@ 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_at"); - openapiFields.add("updated_at"); - openapiFields.add("deleted_at"); + openapiFields.add("created"); + openapiFields.add("updated"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -458,9 +431,6 @@ 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 7b731d2..72ebcdb 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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_PRICE = "price"; - @SerializedName(SERIALIZED_NAME_PRICE) + public static final String SERIALIZED_NAME_AMOUNT = "amount"; + @SerializedName(SERIALIZED_NAME_AMOUNT) @javax.annotation.Nullable - private Double price; + private Double amount; public static final String SERIALIZED_NAME_RENEWAL = "renewal"; @SerializedName(SERIALIZED_NAME_RENEWAL) @@ -88,22 +88,22 @@ public class ProductPrice { } - public ProductPrice price(@javax.annotation.Nullable Double price) { - this.price = price; + public ProductPrice amount(@javax.annotation.Nullable Double amount) { + this.amount = amount; return this; } /** - * Get price - * @return price + * Get amount + * @return amount */ @javax.annotation.Nullable - public Double getPrice() { - return price; + public Double getAmount() { + return amount; } - public void setPrice(@javax.annotation.Nullable Double price) { - this.price = price; + public void setAmount(@javax.annotation.Nullable Double amount) { + this.amount = amount; } @@ -137,7 +137,7 @@ public class ProductPrice { } ProductPrice productPrice = (ProductPrice) o; return Objects.equals(this.currency, productPrice.currency) && - Objects.equals(this.price, productPrice.price) && + Objects.equals(this.amount, productPrice.amount) && Objects.equals(this.renewal, productPrice.renewal); } @@ -147,7 +147,7 @@ public class ProductPrice { @Override public int hashCode() { - return Objects.hash(currency, price, renewal); + return Objects.hash(currency, amount, 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(" price: ").append(toIndentedString(price)).append("\n"); + sb.append(" amount: ").append(toIndentedString(amount)).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("price"); + openapiFields.add("amount"); 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 5dca4b1..ac712bd 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 81368b3..fb987dc 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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,13 +52,18 @@ import com.tribufu.generated.JSON; /** * Profile */ -@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") +@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") 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 @@ -69,6 +74,11 @@ 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 @@ -79,6 +89,11 @@ 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 @@ -89,15 +104,20 @@ 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 URI photoUrl; + private String photoUrl; public static final String SERIALIZED_NAME_BANNER_URL = "banner_url"; @SerializedName(SERIALIZED_NAME_BANNER_URL) @javax.annotation.Nullable - private URI bannerUrl; + private String bannerUrl; public static final String SERIALIZED_NAME_LAST_ONLINE = "last_online"; @SerializedName(SERIALIZED_NAME_LAST_ONLINE) @@ -109,48 +129,27 @@ public class Profile { @javax.annotation.Nullable private String biography; - public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; - @SerializedName(SERIALIZED_NAME_CREATED_AT) + public static final String SERIALIZED_NAME_VIEW_COUNT = "view_count"; + @SerializedName(SERIALIZED_NAME_VIEW_COUNT) @javax.annotation.Nullable - private OffsetDateTime createdAt; + private Integer viewCount; - public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; - @SerializedName(SERIALIZED_NAME_UPDATED_AT) + public static final String SERIALIZED_NAME_CREATED = "created"; + @SerializedName(SERIALIZED_NAME_CREATED) @javax.annotation.Nullable - private OffsetDateTime updatedAt; + private OffsetDateTime created; + + public static final String SERIALIZED_NAME_UPDATED = "updated"; + @SerializedName(SERIALIZED_NAME_UPDATED) + @javax.annotation.Nullable + private OffsetDateTime updated; public Profile() { } - 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(); + public Profile id(@javax.annotation.Nullable String id) { this.id = id; - 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; + return this; } /** @@ -162,8 +161,35 @@ 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 @@ -173,8 +199,16 @@ 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 @@ -184,8 +218,35 @@ 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 @@ -195,8 +256,16 @@ 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 @@ -206,8 +275,35 @@ 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 @@ -217,8 +313,16 @@ 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 @@ -228,30 +332,73 @@ 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 URI getPhotoUrl() { + public String 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 URI getBannerUrl() { + public String 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 @@ -261,8 +408,16 @@ 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 @@ -272,28 +427,66 @@ public class Profile { return biography; } - - - /** - * Get createdAt - * @return createdAt - */ - @javax.annotation.Nullable - public OffsetDateTime getCreatedAt() { - return createdAt; + public void setBiography(@javax.annotation.Nullable String biography) { + this.biography = biography; } - - /** - * Get updatedAt - * @return updatedAt - */ - @javax.annotation.Nullable - public OffsetDateTime getUpdatedAt() { - return updatedAt; + public Profile viewCount(@javax.annotation.Nullable Integer viewCount) { + this.viewCount = viewCount; + return this; } + /** + * Get viewCount + * @return viewCount + */ + @javax.annotation.Nullable + public Integer getViewCount() { + return viewCount; + } + + public void setViewCount(@javax.annotation.Nullable Integer viewCount) { + this.viewCount = viewCount; + } + + + public Profile created(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; + return this; + } + + /** + * Get created + * @return created + */ + @javax.annotation.Nullable + public OffsetDateTime getCreated() { + return created; + } + + 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; + } @@ -307,18 +500,23 @@ 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.createdAt, profile.createdAt) && - Objects.equals(this.updatedAt, profile.updatedAt); + Objects.equals(this.viewCount, profile.viewCount) && + Objects.equals(this.created, profile.created) && + Objects.equals(this.updated, profile.updated); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -327,7 +525,7 @@ public class Profile { @Override public int hashCode() { - return Objects.hash(id, name, displayName, level, experience, birthday, points, photoUrl, bannerUrl, lastOnline, biography, createdAt, updatedAt); + return Objects.hash(id, uuid, name, displayName, verified, level, experience, publicBirthday, birthday, points, location, photoUrl, bannerUrl, lastOnline, biography, viewCount, created, updated); } private static int hashCodeNullable(JsonNullable a) { @@ -342,18 +540,23 @@ 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(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).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("}"); return sb.toString(); } @@ -377,18 +580,23 @@ 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("created_at"); - openapiFields.add("updated_at"); + openapiFields.add("view_count"); + openapiFields.add("created"); + openapiFields.add("updated"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -418,12 +626,18 @@ 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 f1a868e..256c537 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 b8bd2e4..2008d51 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.4.3 + * The version of the OpenAPI document: 1.3.0 * Contact: contact@tribufu.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -23,6 +23,7 @@ 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; @@ -51,7 +52,7 @@ import com.tribufu.generated.JSON; /** * ProfileGroup */ -@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") +@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") public class ProfileGroup { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -61,7 +62,7 @@ public class ProfileGroup { public static final String SERIALIZED_NAME_UUID = "uuid"; @SerializedName(SERIALIZED_NAME_UUID) @javax.annotation.Nullable - private String uuid; + private UUID uuid; public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) @@ -125,7 +126,7 @@ public class ProfileGroup { } - public ProfileGroup uuid(@javax.annotation.Nullable String uuid) { + public ProfileGroup uuid(@javax.annotation.Nullable UUID uuid) { this.uuid = uuid; return this; } @@ -135,11 +136,11 @@ public class ProfileGroup { * @return uuid */ @javax.annotation.Nullable - public String getUuid() { + public UUID getUuid() { return uuid; } - public void setUuid(@javax.annotation.Nullable String uuid) { + public void setUuid(@javax.annotation.Nullable UUID 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 c0df77a..2f74065 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 ba35df3..e1e96e6 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 144c9c0..1ada2f7 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 72fdead..bfc80d6 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 13308bb..0792bb4 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 583249e..5ba0e4a 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") public class StorageFile { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) @@ -88,20 +88,15 @@ public class StorageFile { @javax.annotation.Nullable private String etag; - public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; - @SerializedName(SERIALIZED_NAME_CREATED_AT) + public static final String SERIALIZED_NAME_CREATED = "created"; + @SerializedName(SERIALIZED_NAME_CREATED) @javax.annotation.Nullable - private OffsetDateTime createdAt; + private OffsetDateTime created; - public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; - @SerializedName(SERIALIZED_NAME_UPDATED_AT) + public static final String SERIALIZED_NAME_UPDATED = "updated"; + @SerializedName(SERIALIZED_NAME_UPDATED) @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; + private OffsetDateTime updated; public StorageFile() { } @@ -239,60 +234,41 @@ public class StorageFile { } - public StorageFile createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public StorageFile created(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; return this; } /** - * Get createdAt - * @return createdAt + * Get created + * @return created */ @javax.annotation.Nullable - public OffsetDateTime getCreatedAt() { - return createdAt; + public OffsetDateTime getCreated() { + return created; } - public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; } - public StorageFile updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { - this.updatedAt = updatedAt; + public StorageFile updated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; return this; } /** - * Get updatedAt - * @return updatedAt + * Get updated + * @return updated */ @javax.annotation.Nullable - public OffsetDateTime getUpdatedAt() { - return updatedAt; + public OffsetDateTime getUpdated() { + return 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; + public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; } @@ -313,9 +289,8 @@ public class StorageFile { Objects.equals(this.size, storageFile.size) && Objects.equals(this.hash, storageFile.hash) && Objects.equals(this.etag, storageFile.etag) && - Objects.equals(this.createdAt, storageFile.createdAt) && - Objects.equals(this.updatedAt, storageFile.updatedAt) && - Objects.equals(this.deletedAt, storageFile.deletedAt); + Objects.equals(this.created, storageFile.created) && + Objects.equals(this.updated, storageFile.updated); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -324,7 +299,7 @@ public class StorageFile { @Override public int hashCode() { - return Objects.hash(id, name, contentType, url, size, hash, etag, createdAt, updatedAt, deletedAt); + return Objects.hash(id, name, contentType, url, size, hash, etag, created, updated); } private static int hashCodeNullable(JsonNullable a) { @@ -345,9 +320,8 @@ 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(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); - sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n"); + sb.append(" created: ").append(toIndentedString(created)).append("\n"); + sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); sb.append("}"); return sb.toString(); } @@ -377,9 +351,8 @@ public class StorageFile { openapiFields.add("size"); openapiFields.add("hash"); openapiFields.add("etag"); - openapiFields.add("created_at"); - openapiFields.add("updated_at"); - openapiFields.add("deleted_at"); + openapiFields.add("created"); + openapiFields.add("updated"); // 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 e221c0a..d815458 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 82ba725..ad4126a 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 0d9a42f..9f57447 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 8dc8fd1..80ebdb0 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 0c6418d..2187217 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.4.3 + * The version of the OpenAPI document: 1.3.0 * 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 = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0") +@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") 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 8b4d2d8..f6871ff 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.4.3 + * The version of the OpenAPI document: 1.3.0 * Contact: contact@tribufu.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -25,6 +25,7 @@ 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; @@ -53,13 +54,18 @@ import com.tribufu.generated.JSON; /** * UserInfo */ -@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") +@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") 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 @@ -70,10 +76,10 @@ public class UserInfo { @javax.annotation.Nullable private String displayName; - public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "email_address"; - @SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS) + public static final String SERIALIZED_NAME_EMAIL = "email"; + @SerializedName(SERIALIZED_NAME_EMAIL) @javax.annotation.Nullable - private String emailAddress; + private String email; public static final String SERIALIZED_NAME_EMAIL_VERIFIED = "email_verified"; @SerializedName(SERIALIZED_NAME_EMAIL_VERIFIED) @@ -110,15 +116,15 @@ public class UserInfo { @javax.annotation.Nullable private List permissions; - public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; - @SerializedName(SERIALIZED_NAME_CREATED_AT) + public static final String SERIALIZED_NAME_CREATED = "created"; + @SerializedName(SERIALIZED_NAME_CREATED) @javax.annotation.Nullable - private OffsetDateTime createdAt; + private OffsetDateTime created; - public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at"; - @SerializedName(SERIALIZED_NAME_UPDATED_AT) + public static final String SERIALIZED_NAME_UPDATED = "updated"; + @SerializedName(SERIALIZED_NAME_UPDATED) @javax.annotation.Nullable - private OffsetDateTime updatedAt; + private OffsetDateTime updated; public UserInfo() { } @@ -142,6 +148,25 @@ 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; @@ -180,22 +205,22 @@ public class UserInfo { } - public UserInfo emailAddress(@javax.annotation.Nullable String emailAddress) { - this.emailAddress = emailAddress; + public UserInfo email(@javax.annotation.Nullable String email) { + this.email = email; return this; } /** - * Get emailAddress - * @return emailAddress + * Get email + * @return email */ @javax.annotation.Nullable - public String getEmailAddress() { - return emailAddress; + public String getEmail() { + return email; } - public void setEmailAddress(@javax.annotation.Nullable String emailAddress) { - this.emailAddress = emailAddress; + public void setEmail(@javax.annotation.Nullable String email) { + this.email = email; } @@ -340,41 +365,41 @@ public class UserInfo { } - public UserInfo createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public UserInfo created(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; return this; } /** - * Get createdAt - * @return createdAt + * Get created + * @return created */ @javax.annotation.Nullable - public OffsetDateTime getCreatedAt() { - return createdAt; + public OffsetDateTime getCreated() { + return created; } - public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) { - this.createdAt = createdAt; + public void setCreated(@javax.annotation.Nullable OffsetDateTime created) { + this.created = created; } - public UserInfo updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { - this.updatedAt = updatedAt; + public UserInfo updated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; return this; } /** - * Get updatedAt - * @return updatedAt + * Get updated + * @return updated */ @javax.annotation.Nullable - public OffsetDateTime getUpdatedAt() { - return updatedAt; + public OffsetDateTime getUpdated() { + return updated; } - public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) { - this.updatedAt = updatedAt; + public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) { + this.updated = updated; } @@ -389,9 +414,10 @@ 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.emailAddress, userInfo.emailAddress) && + Objects.equals(this.email, userInfo.email) && Objects.equals(this.emailVerified, userInfo.emailVerified) && Objects.equals(this.type, userInfo.type) && Objects.equals(this.language, userInfo.language) && @@ -399,8 +425,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.createdAt, userInfo.createdAt) && - Objects.equals(this.updatedAt, userInfo.updatedAt); + Objects.equals(this.created, userInfo.created) && + Objects.equals(this.updated, userInfo.updated); } private static boolean equalsNullable(JsonNullable a, JsonNullable b) { @@ -409,7 +435,7 @@ public class UserInfo { @Override public int hashCode() { - return Objects.hash(id, name, displayName, emailAddress, emailVerified, type, language, timezone, currency, photoUrl, permissions, createdAt, updatedAt); + return Objects.hash(id, uuid, name, displayName, email, emailVerified, type, language, timezone, currency, photoUrl, permissions, created, updated); } private static int hashCodeNullable(JsonNullable a) { @@ -424,9 +450,10 @@ 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(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n"); + sb.append(" email: ").append(toIndentedString(email)).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"); @@ -434,8 +461,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(" createdAt: ").append(toIndentedString(createdAt)).append("\n"); - sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n"); + sb.append(" created: ").append(toIndentedString(created)).append("\n"); + sb.append(" updated: ").append(toIndentedString(updated)).append("\n"); sb.append("}"); return sb.toString(); } @@ -459,9 +486,10 @@ 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_address"); + openapiFields.add("email"); openapiFields.add("email_verified"); openapiFields.add("type"); openapiFields.add("language"); @@ -469,8 +497,8 @@ public class UserInfo { openapiFields.add("currency"); openapiFields.add("photo_url"); openapiFields.add("permissions"); - openapiFields.add("created_at"); - openapiFields.add("updated_at"); + openapiFields.add("created"); + openapiFields.add("updated"); // a set of required properties/fields (JSON key names) openapiRequiredFields = new HashSet(); @@ -508,14 +536,17 @@ 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_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())); + 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())); } // 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 ec086e8..faa7aef 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.4.3 + * The version of the OpenAPI document: 1.3.0 * Contact: contact@tribufu.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).