mirror of
https://github.com/Tribufu/TribufuJava
synced 2026-08-08 12:21:08 +00:00
Update api to 1.4.3
This commit is contained in:
parent
05878c3e24
commit
3bf0de491f
69 changed files with 1557 additions and 1075 deletions
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -100,7 +100,6 @@ public class ApiClient {
|
|||
initHttpClient();
|
||||
|
||||
// Setup authentications (key: authentication name, value: authentication).
|
||||
authentications.put("ApiKey", new ApiKeyAuth("header", "Authorization"));
|
||||
// Prevent the authentications from being modified.
|
||||
authentications = Collections.unmodifiableMap(authentications);
|
||||
}
|
||||
|
|
@ -116,7 +115,6 @@ public class ApiClient {
|
|||
httpClient = client;
|
||||
|
||||
// Setup authentications (key: authentication name, value: authentication).
|
||||
authentications.put("ApiKey", new ApiKeyAuth("header", "Authorization"));
|
||||
// Prevent the authentications from being modified.
|
||||
authentications = Collections.unmodifiableMap(authentications);
|
||||
}
|
||||
|
|
@ -141,7 +139,7 @@ public class ApiClient {
|
|||
json = new JSON();
|
||||
|
||||
// Set default User-Agent.
|
||||
setUserAgent("OpenAPI-Generator/1.3.0/java");
|
||||
setUserAgent("OpenAPI-Generator/1.4.3/java");
|
||||
|
||||
authentications = new HashMap<String, Authentication>();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -21,7 +21,7 @@ import java.util.List;
|
|||
* <p>ApiException class.</p>
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class ApiException extends Exception {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -13,9 +13,9 @@
|
|||
|
||||
package com.tribufu.generated;
|
||||
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class Configuration {
|
||||
public static final String VERSION = "1.3.0";
|
||||
public static final String VERSION = "1.4.3";
|
||||
|
||||
private static volatile ApiClient defaultApiClient = new ApiClient();
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -93,7 +93,6 @@ public class JSON {
|
|||
gsonBuilder.registerTypeAdapter(OffsetDateTime.class, offsetDateTimeTypeAdapter);
|
||||
gsonBuilder.registerTypeAdapter(LocalDate.class, localDateTypeAdapter);
|
||||
gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter);
|
||||
gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.Account.CustomTypeAdapterFactory());
|
||||
gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.Application.CustomTypeAdapterFactory());
|
||||
gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.AuthorizeRequest.CustomTypeAdapterFactory());
|
||||
gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.Client.CustomTypeAdapterFactory());
|
||||
|
|
@ -101,6 +100,7 @@ public class JSON {
|
|||
gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.CodeResponse.CustomTypeAdapterFactory());
|
||||
gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.CreateUser.CustomTypeAdapterFactory());
|
||||
gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.CryptoViewModel.CustomTypeAdapterFactory());
|
||||
gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.ExternalAccount.CustomTypeAdapterFactory());
|
||||
gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.Game.CustomTypeAdapterFactory());
|
||||
gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.GameServer.CustomTypeAdapterFactory());
|
||||
gsonBuilder.registerTypeAdapterFactory(new com.tribufu.generated.models.GameServerCluster.CustomTypeAdapterFactory());
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
package com.tribufu.generated;
|
||||
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class Pair {
|
||||
private String name = "";
|
||||
private String value = "";
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -18,7 +18,7 @@ import java.util.Map;
|
|||
/**
|
||||
* Representing a Server configuration.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class ServerConfiguration {
|
||||
public String URL;
|
||||
public String description;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -18,7 +18,7 @@ import java.util.HashSet;
|
|||
/**
|
||||
* Representing a Server Variable for server URL template substitution.
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class ServerVariable {
|
||||
public String description;
|
||||
public String defaultValue;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -16,7 +16,7 @@ package com.tribufu.generated;
|
|||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class StringUtil {
|
||||
/**
|
||||
* Check if the given array contains the given value (with case-insensitive comparison).
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -20,7 +20,7 @@ import java.net.URI;
|
|||
import java.util.Map;
|
||||
import java.util.List;
|
||||
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class ApiKeyAuth implements Authentication {
|
||||
private final String location;
|
||||
private final String paramName;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -22,7 +22,7 @@ import java.util.Map;
|
|||
import java.util.Optional;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class HttpBearerAuth implements Authentication {
|
||||
private final String scheme;
|
||||
private Supplier<String> tokenSupplier;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -21,7 +21,7 @@ import java.util.Map;
|
|||
/**
|
||||
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public abstract class AbstractOpenApiSchema {
|
||||
|
||||
// store the actual instance of the schema/object
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -52,7 +52,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* Application
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class Application {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
|
|
@ -104,15 +104,20 @@ public class Application {
|
|||
@javax.annotation.Nullable
|
||||
private String slug;
|
||||
|
||||
public static final String SERIALIZED_NAME_CREATED = "created";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED)
|
||||
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime created;
|
||||
private OffsetDateTime createdAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_UPDATED = "updated";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED)
|
||||
public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime updated;
|
||||
private OffsetDateTime updatedAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at";
|
||||
@SerializedName(SERIALIZED_NAME_DELETED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime deletedAt;
|
||||
|
||||
public Application() {
|
||||
}
|
||||
|
|
@ -307,41 +312,60 @@ public class Application {
|
|||
}
|
||||
|
||||
|
||||
public Application created(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public Application createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get created
|
||||
* @return created
|
||||
* Get createdAt
|
||||
* @return createdAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getCreated() {
|
||||
return created;
|
||||
public OffsetDateTime getCreatedAt() {
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setCreated(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
|
||||
public Application updated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public Application updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get updated
|
||||
* @return updated
|
||||
* Get updatedAt
|
||||
* @return updatedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getUpdated() {
|
||||
return updated;
|
||||
public OffsetDateTime getUpdatedAt() {
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
|
||||
public Application deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get deletedAt
|
||||
* @return deletedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getDeletedAt() {
|
||||
return deletedAt;
|
||||
}
|
||||
|
||||
public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -365,8 +389,9 @@ public class Application {
|
|||
Objects.equals(this.capsuleImageUrl, application.capsuleImageUrl) &&
|
||||
Objects.equals(this.libraryImageUrl, application.libraryImageUrl) &&
|
||||
Objects.equals(this.slug, application.slug) &&
|
||||
Objects.equals(this.created, application.created) &&
|
||||
Objects.equals(this.updated, application.updated);
|
||||
Objects.equals(this.createdAt, application.createdAt) &&
|
||||
Objects.equals(this.updatedAt, application.updatedAt) &&
|
||||
Objects.equals(this.deletedAt, application.deletedAt);
|
||||
}
|
||||
|
||||
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
|
||||
|
|
@ -375,7 +400,7 @@ public class Application {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, name, description, type, organizationId, iconUrl, bannerUrl, capsuleImageUrl, libraryImageUrl, slug, created, updated);
|
||||
return Objects.hash(id, name, description, type, organizationId, iconUrl, bannerUrl, capsuleImageUrl, libraryImageUrl, slug, createdAt, updatedAt, deletedAt);
|
||||
}
|
||||
|
||||
private static <T> int hashCodeNullable(JsonNullable<T> a) {
|
||||
|
|
@ -399,8 +424,9 @@ public class Application {
|
|||
sb.append(" capsuleImageUrl: ").append(toIndentedString(capsuleImageUrl)).append("\n");
|
||||
sb.append(" libraryImageUrl: ").append(toIndentedString(libraryImageUrl)).append("\n");
|
||||
sb.append(" slug: ").append(toIndentedString(slug)).append("\n");
|
||||
sb.append(" created: ").append(toIndentedString(created)).append("\n");
|
||||
sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
|
||||
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
|
||||
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
|
||||
sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
@ -433,8 +459,9 @@ public class Application {
|
|||
openapiFields.add("capsule_image_url");
|
||||
openapiFields.add("library_image_url");
|
||||
openapiFields.add("slug");
|
||||
openapiFields.add("created");
|
||||
openapiFields.add("updated");
|
||||
openapiFields.add("created_at");
|
||||
openapiFields.add("updated_at");
|
||||
openapiFields.add("deleted_at");
|
||||
|
||||
// a set of required properties/fields (JSON key names)
|
||||
openapiRequiredFields = new HashSet<String>();
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -29,7 +29,7 @@ import com.google.gson.stream.JsonWriter;
|
|||
@JsonAdapter(ApplicationType.Adapter.class)
|
||||
public enum ApplicationType {
|
||||
|
||||
APPLICATION("application"),
|
||||
SOFTWARE("software"),
|
||||
|
||||
GAME("game");
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -51,7 +51,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* AuthorizeRequest
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class AuthorizeRequest {
|
||||
public static final String SERIALIZED_NAME_RESPONSE_TYPE = "response_type";
|
||||
@SerializedName(SERIALIZED_NAME_RESPONSE_TYPE)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -54,7 +54,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* Client
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class Client {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
|
|
@ -111,15 +111,20 @@ public class Client {
|
|||
@javax.annotation.Nullable
|
||||
private List<String> permissions;
|
||||
|
||||
public static final String SERIALIZED_NAME_CREATED = "created";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED)
|
||||
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime created;
|
||||
private OffsetDateTime createdAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_UPDATED = "updated";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED)
|
||||
public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime updated;
|
||||
private OffsetDateTime updatedAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at";
|
||||
@SerializedName(SERIALIZED_NAME_DELETED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime deletedAt;
|
||||
|
||||
public Client() {
|
||||
}
|
||||
|
|
@ -332,41 +337,60 @@ public class Client {
|
|||
|
||||
|
||||
|
||||
public Client created(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public Client createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get created
|
||||
* @return created
|
||||
* Get createdAt
|
||||
* @return createdAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getCreated() {
|
||||
return created;
|
||||
public OffsetDateTime getCreatedAt() {
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setCreated(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
|
||||
public Client updated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public Client updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get updated
|
||||
* @return updated
|
||||
* Get updatedAt
|
||||
* @return updatedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getUpdated() {
|
||||
return updated;
|
||||
public OffsetDateTime getUpdatedAt() {
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
|
||||
public Client deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get deletedAt
|
||||
* @return deletedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getDeletedAt() {
|
||||
return deletedAt;
|
||||
}
|
||||
|
||||
public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -391,8 +415,9 @@ public class Client {
|
|||
Objects.equals(this.redirects, client.redirects) &&
|
||||
Objects.equals(this.scopes, client.scopes) &&
|
||||
Objects.equals(this.permissions, client.permissions) &&
|
||||
Objects.equals(this.created, client.created) &&
|
||||
Objects.equals(this.updated, client.updated);
|
||||
Objects.equals(this.createdAt, client.createdAt) &&
|
||||
Objects.equals(this.updatedAt, client.updatedAt) &&
|
||||
Objects.equals(this.deletedAt, client.deletedAt);
|
||||
}
|
||||
|
||||
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
|
||||
|
|
@ -401,7 +426,7 @@ public class Client {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, name, type, organizationId, trusted, websiteUrl, photoUrl, backgroundUrl, redirects, scopes, permissions, created, updated);
|
||||
return Objects.hash(id, name, type, organizationId, trusted, websiteUrl, photoUrl, backgroundUrl, redirects, scopes, permissions, createdAt, updatedAt, deletedAt);
|
||||
}
|
||||
|
||||
private static <T> int hashCodeNullable(JsonNullable<T> a) {
|
||||
|
|
@ -426,8 +451,9 @@ public class Client {
|
|||
sb.append(" redirects: ").append(toIndentedString(redirects)).append("\n");
|
||||
sb.append(" scopes: ").append(toIndentedString(scopes)).append("\n");
|
||||
sb.append(" permissions: ").append(toIndentedString(permissions)).append("\n");
|
||||
sb.append(" created: ").append(toIndentedString(created)).append("\n");
|
||||
sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
|
||||
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
|
||||
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
|
||||
sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
@ -461,8 +487,9 @@ public class Client {
|
|||
openapiFields.add("redirects");
|
||||
openapiFields.add("scopes");
|
||||
openapiFields.add("permissions");
|
||||
openapiFields.add("created");
|
||||
openapiFields.add("updated");
|
||||
openapiFields.add("created_at");
|
||||
openapiFields.add("updated_at");
|
||||
openapiFields.add("deleted_at");
|
||||
|
||||
// a set of required properties/fields (JSON key names)
|
||||
openapiRequiredFields = new HashSet<String>();
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -52,7 +52,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* ClientInfo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class ClientInfo {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -49,7 +49,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* CodeResponse
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class CodeResponse {
|
||||
public static final String SERIALIZED_NAME_CODE = "code";
|
||||
@SerializedName(SERIALIZED_NAME_CODE)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -21,7 +21,6 @@ import com.google.gson.stream.JsonReader;
|
|||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
|
|
@ -50,12 +49,12 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* CreateUser
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class CreateUser {
|
||||
public static final String SERIALIZED_NAME_UUID = "uuid";
|
||||
@SerializedName(SERIALIZED_NAME_UUID)
|
||||
@javax.annotation.Nullable
|
||||
private UUID uuid;
|
||||
private String uuid;
|
||||
|
||||
public static final String SERIALIZED_NAME_NAME = "name";
|
||||
@SerializedName(SERIALIZED_NAME_NAME)
|
||||
|
|
@ -100,7 +99,7 @@ public class CreateUser {
|
|||
public CreateUser() {
|
||||
}
|
||||
|
||||
public CreateUser uuid(@javax.annotation.Nullable UUID uuid) {
|
||||
public CreateUser uuid(@javax.annotation.Nullable String uuid) {
|
||||
this.uuid = uuid;
|
||||
return this;
|
||||
}
|
||||
|
|
@ -110,11 +109,11 @@ public class CreateUser {
|
|||
* @return uuid
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public UUID getUuid() {
|
||||
public String getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
public void setUuid(@javax.annotation.Nullable UUID uuid) {
|
||||
public void setUuid(@javax.annotation.Nullable String uuid) {
|
||||
this.uuid = uuid;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -49,7 +49,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* CryptoViewModel
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class CryptoViewModel {
|
||||
public static final String SERIALIZED_NAME_ENCODED = "encoded";
|
||||
@SerializedName(SERIALIZED_NAME_ENCODED)
|
||||
|
|
|
|||
463
src/main/java/com/tribufu/generated/models/ExternalAccount.java
Normal file
463
src/main/java/com/tribufu/generated/models/ExternalAccount.java
Normal file
|
|
@ -0,0 +1,463 @@
|
|||
/*
|
||||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
package com.tribufu.generated.models;
|
||||
|
||||
import java.util.Objects;
|
||||
import com.google.gson.TypeAdapter;
|
||||
import com.google.gson.annotations.JsonAdapter;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import com.tribufu.generated.models.IdentityProviderType;
|
||||
import java.io.IOException;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
||||
import com.google.gson.JsonArray;
|
||||
import com.google.gson.JsonDeserializationContext;
|
||||
import com.google.gson.JsonDeserializer;
|
||||
import com.google.gson.JsonElement;
|
||||
import com.google.gson.JsonObject;
|
||||
import com.google.gson.JsonParseException;
|
||||
import com.google.gson.TypeAdapterFactory;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import com.google.gson.TypeAdapter;
|
||||
import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import com.tribufu.generated.JSON;
|
||||
|
||||
/**
|
||||
* ExternalAccount
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class ExternalAccount {
|
||||
public static final String SERIALIZED_NAME_USER_ID = "user_id";
|
||||
@SerializedName(SERIALIZED_NAME_USER_ID)
|
||||
@javax.annotation.Nullable
|
||||
private String userId;
|
||||
|
||||
public static final String SERIALIZED_NAME_PROVIDER = "provider";
|
||||
@SerializedName(SERIALIZED_NAME_PROVIDER)
|
||||
@javax.annotation.Nonnull
|
||||
private IdentityProviderType provider;
|
||||
|
||||
public static final String SERIALIZED_NAME_EXTERNAL_ID = "external_id";
|
||||
@SerializedName(SERIALIZED_NAME_EXTERNAL_ID)
|
||||
@javax.annotation.Nullable
|
||||
private String externalId;
|
||||
|
||||
public static final String SERIALIZED_NAME_NAME = "name";
|
||||
@SerializedName(SERIALIZED_NAME_NAME)
|
||||
@javax.annotation.Nullable
|
||||
private String name;
|
||||
|
||||
public static final String SERIALIZED_NAME_AUTHORIZED = "authorized";
|
||||
@SerializedName(SERIALIZED_NAME_AUTHORIZED)
|
||||
@javax.annotation.Nullable
|
||||
private Boolean authorized;
|
||||
|
||||
public static final String SERIALIZED_NAME_FIELDS = "fields";
|
||||
@SerializedName(SERIALIZED_NAME_FIELDS)
|
||||
@javax.annotation.Nullable
|
||||
private Map<String, Object> 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<String, Object> 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<String, Object> getFields() {
|
||||
return fields;
|
||||
}
|
||||
|
||||
public void setFields(@javax.annotation.Nullable Map<String, Object> 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 <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> 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 <T> int hashCodeNullable(JsonNullable<T> 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<String> openapiFields;
|
||||
public static HashSet<String> openapiRequiredFields;
|
||||
|
||||
static {
|
||||
// a set of all properties/fields (JSON key names)
|
||||
openapiFields = new HashSet<String>();
|
||||
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<String>();
|
||||
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<Map.Entry<String, JsonElement>> entries = jsonElement.getAsJsonObject().entrySet();
|
||||
// check to see if the JSON string contains additional fields
|
||||
for (Map.Entry<String, JsonElement> 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 <T> TypeAdapter<T> create(Gson gson, TypeToken<T> type) {
|
||||
if (!ExternalAccount.class.isAssignableFrom(type.getRawType())) {
|
||||
return null; // this class only serializes 'ExternalAccount' and its subtypes
|
||||
}
|
||||
final TypeAdapter<JsonElement> elementAdapter = gson.getAdapter(JsonElement.class);
|
||||
final TypeAdapter<ExternalAccount> thisAdapter
|
||||
= gson.getDelegateAdapter(this, TypeToken.get(ExternalAccount.class));
|
||||
|
||||
return (TypeAdapter<T>) new TypeAdapter<ExternalAccount>() {
|
||||
@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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -52,7 +52,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* Game
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class Game {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
|
|
@ -104,15 +104,20 @@ public class Game {
|
|||
@javax.annotation.Nullable
|
||||
private String slug;
|
||||
|
||||
public static final String SERIALIZED_NAME_CREATED = "created";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED)
|
||||
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime created;
|
||||
private OffsetDateTime createdAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_UPDATED = "updated";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED)
|
||||
public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime updated;
|
||||
private OffsetDateTime updatedAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at";
|
||||
@SerializedName(SERIALIZED_NAME_DELETED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime deletedAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_ENABLE_SERVERS = "enable_servers";
|
||||
@SerializedName(SERIALIZED_NAME_ENABLE_SERVERS)
|
||||
|
|
@ -342,41 +347,60 @@ public class Game {
|
|||
}
|
||||
|
||||
|
||||
public Game created(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public Game createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get created
|
||||
* @return created
|
||||
* Get createdAt
|
||||
* @return createdAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getCreated() {
|
||||
return created;
|
||||
public OffsetDateTime getCreatedAt() {
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setCreated(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
|
||||
public Game updated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public Game updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get updated
|
||||
* @return updated
|
||||
* Get updatedAt
|
||||
* @return updatedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getUpdated() {
|
||||
return updated;
|
||||
public OffsetDateTime getUpdatedAt() {
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
|
||||
public Game deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get deletedAt
|
||||
* @return deletedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getDeletedAt() {
|
||||
return deletedAt;
|
||||
}
|
||||
|
||||
public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -533,8 +557,9 @@ public class Game {
|
|||
Objects.equals(this.capsuleImageUrl, game.capsuleImageUrl) &&
|
||||
Objects.equals(this.libraryImageUrl, game.libraryImageUrl) &&
|
||||
Objects.equals(this.slug, game.slug) &&
|
||||
Objects.equals(this.created, game.created) &&
|
||||
Objects.equals(this.updated, game.updated) &&
|
||||
Objects.equals(this.createdAt, game.createdAt) &&
|
||||
Objects.equals(this.updatedAt, game.updatedAt) &&
|
||||
Objects.equals(this.deletedAt, game.deletedAt) &&
|
||||
Objects.equals(this.enableServers, game.enableServers) &&
|
||||
Objects.equals(this.gamePort, game.gamePort) &&
|
||||
Objects.equals(this.queryPort, game.queryPort) &&
|
||||
|
|
@ -550,7 +575,7 @@ public class Game {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, name, description, type, organizationId, iconUrl, bannerUrl, capsuleImageUrl, libraryImageUrl, slug, created, updated, enableServers, gamePort, queryPort, rconPort, gamedigId, steamAppId, steamServerAppId);
|
||||
return Objects.hash(id, name, description, type, organizationId, iconUrl, bannerUrl, capsuleImageUrl, libraryImageUrl, slug, createdAt, updatedAt, deletedAt, enableServers, gamePort, queryPort, rconPort, gamedigId, steamAppId, steamServerAppId);
|
||||
}
|
||||
|
||||
private static <T> int hashCodeNullable(JsonNullable<T> a) {
|
||||
|
|
@ -574,8 +599,9 @@ public class Game {
|
|||
sb.append(" capsuleImageUrl: ").append(toIndentedString(capsuleImageUrl)).append("\n");
|
||||
sb.append(" libraryImageUrl: ").append(toIndentedString(libraryImageUrl)).append("\n");
|
||||
sb.append(" slug: ").append(toIndentedString(slug)).append("\n");
|
||||
sb.append(" created: ").append(toIndentedString(created)).append("\n");
|
||||
sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
|
||||
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
|
||||
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
|
||||
sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n");
|
||||
sb.append(" enableServers: ").append(toIndentedString(enableServers)).append("\n");
|
||||
sb.append(" gamePort: ").append(toIndentedString(gamePort)).append("\n");
|
||||
sb.append(" queryPort: ").append(toIndentedString(queryPort)).append("\n");
|
||||
|
|
@ -615,8 +641,9 @@ public class Game {
|
|||
openapiFields.add("capsule_image_url");
|
||||
openapiFields.add("library_image_url");
|
||||
openapiFields.add("slug");
|
||||
openapiFields.add("created");
|
||||
openapiFields.add("updated");
|
||||
openapiFields.add("created_at");
|
||||
openapiFields.add("updated_at");
|
||||
openapiFields.add("deleted_at");
|
||||
openapiFields.add("enable_servers");
|
||||
openapiFields.add("game_port");
|
||||
openapiFields.add("query_port");
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -50,7 +50,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* GameServer
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class GameServer {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
|
|
@ -140,22 +140,27 @@ public class GameServer {
|
|||
public static final String SERIALIZED_NAME_DISCORD_SERVER_ID = "discord_server_id";
|
||||
@SerializedName(SERIALIZED_NAME_DISCORD_SERVER_ID)
|
||||
@javax.annotation.Nullable
|
||||
private String discordServerId;
|
||||
private Long discordServerId;
|
||||
|
||||
public static final String SERIALIZED_NAME_YOUTUBE_VIDEO_URL = "youtube_video_url";
|
||||
@SerializedName(SERIALIZED_NAME_YOUTUBE_VIDEO_URL)
|
||||
@javax.annotation.Nullable
|
||||
private String youtubeVideoUrl;
|
||||
|
||||
public static final String SERIALIZED_NAME_CREATED = "created";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED)
|
||||
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime created;
|
||||
private OffsetDateTime createdAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_UPDATED = "updated";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED)
|
||||
public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime updated;
|
||||
private OffsetDateTime updatedAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at";
|
||||
@SerializedName(SERIALIZED_NAME_DELETED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime deletedAt;
|
||||
|
||||
public GameServer() {
|
||||
}
|
||||
|
|
@ -483,7 +488,7 @@ public class GameServer {
|
|||
}
|
||||
|
||||
|
||||
public GameServer discordServerId(@javax.annotation.Nullable String discordServerId) {
|
||||
public GameServer discordServerId(@javax.annotation.Nullable Long discordServerId) {
|
||||
this.discordServerId = discordServerId;
|
||||
return this;
|
||||
}
|
||||
|
|
@ -493,11 +498,11 @@ public class GameServer {
|
|||
* @return discordServerId
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public String getDiscordServerId() {
|
||||
public Long getDiscordServerId() {
|
||||
return discordServerId;
|
||||
}
|
||||
|
||||
public void setDiscordServerId(@javax.annotation.Nullable String discordServerId) {
|
||||
public void setDiscordServerId(@javax.annotation.Nullable Long discordServerId) {
|
||||
this.discordServerId = discordServerId;
|
||||
}
|
||||
|
||||
|
|
@ -521,41 +526,60 @@ public class GameServer {
|
|||
}
|
||||
|
||||
|
||||
public GameServer created(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public GameServer createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get created
|
||||
* @return created
|
||||
* Get createdAt
|
||||
* @return createdAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getCreated() {
|
||||
return created;
|
||||
public OffsetDateTime getCreatedAt() {
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setCreated(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
|
||||
public GameServer updated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public GameServer updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get updated
|
||||
* @return updated
|
||||
* Get updatedAt
|
||||
* @return updatedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getUpdated() {
|
||||
return updated;
|
||||
public OffsetDateTime getUpdatedAt() {
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
|
||||
public GameServer deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get deletedAt
|
||||
* @return deletedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getDeletedAt() {
|
||||
return deletedAt;
|
||||
}
|
||||
|
||||
public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -588,8 +612,9 @@ public class GameServer {
|
|||
Objects.equals(this.steam, gameServer.steam) &&
|
||||
Objects.equals(this.discordServerId, gameServer.discordServerId) &&
|
||||
Objects.equals(this.youtubeVideoUrl, gameServer.youtubeVideoUrl) &&
|
||||
Objects.equals(this.created, gameServer.created) &&
|
||||
Objects.equals(this.updated, gameServer.updated);
|
||||
Objects.equals(this.createdAt, gameServer.createdAt) &&
|
||||
Objects.equals(this.updatedAt, gameServer.updatedAt) &&
|
||||
Objects.equals(this.deletedAt, gameServer.deletedAt);
|
||||
}
|
||||
|
||||
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
|
||||
|
|
@ -598,7 +623,7 @@ public class GameServer {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, name, description, ownerId, address, queryPort, gamePort, map, version, gameId, gameIconUrl, clusterId, websiteUrl, bannerUrl, uptime, country, steam, discordServerId, youtubeVideoUrl, created, updated);
|
||||
return Objects.hash(id, name, description, ownerId, address, queryPort, gamePort, map, version, gameId, gameIconUrl, clusterId, websiteUrl, bannerUrl, uptime, country, steam, discordServerId, youtubeVideoUrl, createdAt, updatedAt, deletedAt);
|
||||
}
|
||||
|
||||
private static <T> int hashCodeNullable(JsonNullable<T> a) {
|
||||
|
|
@ -631,8 +656,9 @@ public class GameServer {
|
|||
sb.append(" steam: ").append(toIndentedString(steam)).append("\n");
|
||||
sb.append(" discordServerId: ").append(toIndentedString(discordServerId)).append("\n");
|
||||
sb.append(" youtubeVideoUrl: ").append(toIndentedString(youtubeVideoUrl)).append("\n");
|
||||
sb.append(" created: ").append(toIndentedString(created)).append("\n");
|
||||
sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
|
||||
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
|
||||
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
|
||||
sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
@ -674,8 +700,9 @@ public class GameServer {
|
|||
openapiFields.add("steam");
|
||||
openapiFields.add("discord_server_id");
|
||||
openapiFields.add("youtube_video_url");
|
||||
openapiFields.add("created");
|
||||
openapiFields.add("updated");
|
||||
openapiFields.add("created_at");
|
||||
openapiFields.add("updated_at");
|
||||
openapiFields.add("deleted_at");
|
||||
|
||||
// a set of required properties/fields (JSON key names)
|
||||
openapiRequiredFields = new HashSet<String>();
|
||||
|
|
@ -751,9 +778,6 @@ public class GameServer {
|
|||
if ((jsonObj.get("country") != null && !jsonObj.get("country").isJsonNull()) && !jsonObj.get("country").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `country` to be a primitive type in the JSON string but got `%s`", jsonObj.get("country").toString()));
|
||||
}
|
||||
if ((jsonObj.get("discord_server_id") != null && !jsonObj.get("discord_server_id").isJsonNull()) && !jsonObj.get("discord_server_id").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `discord_server_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("discord_server_id").toString()));
|
||||
}
|
||||
if ((jsonObj.get("youtube_video_url") != null && !jsonObj.get("youtube_video_url").isJsonNull()) && !jsonObj.get("youtube_video_url").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `youtube_video_url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("youtube_video_url").toString()));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -51,7 +51,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* GameServerCluster
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class GameServerCluster {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
|
|
@ -91,7 +91,7 @@ public class GameServerCluster {
|
|||
public static final String SERIALIZED_NAME_DISCORD_SERVER_ID = "discord_server_id";
|
||||
@SerializedName(SERIALIZED_NAME_DISCORD_SERVER_ID)
|
||||
@javax.annotation.Nullable
|
||||
private String discordServerId;
|
||||
private Long discordServerId;
|
||||
|
||||
public static final String SERIALIZED_NAME_YOUTUBE_VIDEO_URL = "youtube_video_url";
|
||||
@SerializedName(SERIALIZED_NAME_YOUTUBE_VIDEO_URL)
|
||||
|
|
@ -113,15 +113,20 @@ public class GameServerCluster {
|
|||
@javax.annotation.Nullable
|
||||
private Integer serverCount;
|
||||
|
||||
public static final String SERIALIZED_NAME_CREATED = "created";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED)
|
||||
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime created;
|
||||
private OffsetDateTime createdAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_UPDATED = "updated";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED)
|
||||
public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime updated;
|
||||
private OffsetDateTime updatedAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at";
|
||||
@SerializedName(SERIALIZED_NAME_DELETED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime deletedAt;
|
||||
|
||||
public GameServerCluster() {
|
||||
}
|
||||
|
|
@ -259,7 +264,7 @@ public class GameServerCluster {
|
|||
}
|
||||
|
||||
|
||||
public GameServerCluster discordServerId(@javax.annotation.Nullable String discordServerId) {
|
||||
public GameServerCluster discordServerId(@javax.annotation.Nullable Long discordServerId) {
|
||||
this.discordServerId = discordServerId;
|
||||
return this;
|
||||
}
|
||||
|
|
@ -269,11 +274,11 @@ public class GameServerCluster {
|
|||
* @return discordServerId
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public String getDiscordServerId() {
|
||||
public Long getDiscordServerId() {
|
||||
return discordServerId;
|
||||
}
|
||||
|
||||
public void setDiscordServerId(@javax.annotation.Nullable String discordServerId) {
|
||||
public void setDiscordServerId(@javax.annotation.Nullable Long discordServerId) {
|
||||
this.discordServerId = discordServerId;
|
||||
}
|
||||
|
||||
|
|
@ -354,41 +359,60 @@ public class GameServerCluster {
|
|||
}
|
||||
|
||||
|
||||
public GameServerCluster created(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public GameServerCluster createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get created
|
||||
* @return created
|
||||
* Get createdAt
|
||||
* @return createdAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getCreated() {
|
||||
return created;
|
||||
public OffsetDateTime getCreatedAt() {
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setCreated(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
|
||||
public GameServerCluster updated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public GameServerCluster updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get updated
|
||||
* @return updated
|
||||
* Get updatedAt
|
||||
* @return updatedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getUpdated() {
|
||||
return updated;
|
||||
public OffsetDateTime getUpdatedAt() {
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
|
||||
public GameServerCluster deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get deletedAt
|
||||
* @return deletedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getDeletedAt() {
|
||||
return deletedAt;
|
||||
}
|
||||
|
||||
public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -414,8 +438,9 @@ public class GameServerCluster {
|
|||
Objects.equals(this.tags, gameServerCluster.tags) &&
|
||||
Objects.equals(this.commentCount, gameServerCluster.commentCount) &&
|
||||
Objects.equals(this.serverCount, gameServerCluster.serverCount) &&
|
||||
Objects.equals(this.created, gameServerCluster.created) &&
|
||||
Objects.equals(this.updated, gameServerCluster.updated);
|
||||
Objects.equals(this.createdAt, gameServerCluster.createdAt) &&
|
||||
Objects.equals(this.updatedAt, gameServerCluster.updatedAt) &&
|
||||
Objects.equals(this.deletedAt, gameServerCluster.deletedAt);
|
||||
}
|
||||
|
||||
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
|
||||
|
|
@ -424,7 +449,7 @@ public class GameServerCluster {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, name, description, gameId, websiteUrl, bannerUrl, ownerId, discordServerId, youtubeVideoUrl, tags, commentCount, serverCount, created, updated);
|
||||
return Objects.hash(id, name, description, gameId, websiteUrl, bannerUrl, ownerId, discordServerId, youtubeVideoUrl, tags, commentCount, serverCount, createdAt, updatedAt, deletedAt);
|
||||
}
|
||||
|
||||
private static <T> int hashCodeNullable(JsonNullable<T> a) {
|
||||
|
|
@ -450,8 +475,9 @@ public class GameServerCluster {
|
|||
sb.append(" tags: ").append(toIndentedString(tags)).append("\n");
|
||||
sb.append(" commentCount: ").append(toIndentedString(commentCount)).append("\n");
|
||||
sb.append(" serverCount: ").append(toIndentedString(serverCount)).append("\n");
|
||||
sb.append(" created: ").append(toIndentedString(created)).append("\n");
|
||||
sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
|
||||
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
|
||||
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
|
||||
sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
@ -486,8 +512,9 @@ public class GameServerCluster {
|
|||
openapiFields.add("tags");
|
||||
openapiFields.add("comment_count");
|
||||
openapiFields.add("server_count");
|
||||
openapiFields.add("created");
|
||||
openapiFields.add("updated");
|
||||
openapiFields.add("created_at");
|
||||
openapiFields.add("updated_at");
|
||||
openapiFields.add("deleted_at");
|
||||
|
||||
// a set of required properties/fields (JSON key names)
|
||||
openapiRequiredFields = new HashSet<String>();
|
||||
|
|
@ -543,9 +570,6 @@ public class GameServerCluster {
|
|||
if ((jsonObj.get("owner_id") != null && !jsonObj.get("owner_id").isJsonNull()) && !jsonObj.get("owner_id").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `owner_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("owner_id").toString()));
|
||||
}
|
||||
if ((jsonObj.get("discord_server_id") != null && !jsonObj.get("discord_server_id").isJsonNull()) && !jsonObj.get("discord_server_id").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `discord_server_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("discord_server_id").toString()));
|
||||
}
|
||||
if ((jsonObj.get("youtube_video_url") != null && !jsonObj.get("youtube_video_url").isJsonNull()) && !jsonObj.get("youtube_video_url").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `youtube_video_url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("youtube_video_url").toString()));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -51,7 +51,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* GameServerQuery
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class GameServerQuery {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
|
|
@ -88,10 +88,10 @@ public class GameServerQuery {
|
|||
@javax.annotation.Nullable
|
||||
private String motd;
|
||||
|
||||
public static final String SERIALIZED_NAME_CREATED = "created";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED)
|
||||
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime created;
|
||||
private OffsetDateTime createdAt;
|
||||
|
||||
public GameServerQuery() {
|
||||
}
|
||||
|
|
@ -229,22 +229,22 @@ public class GameServerQuery {
|
|||
}
|
||||
|
||||
|
||||
public GameServerQuery created(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public GameServerQuery createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get created
|
||||
* @return created
|
||||
* Get createdAt
|
||||
* @return createdAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getCreated() {
|
||||
return created;
|
||||
public OffsetDateTime getCreatedAt() {
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setCreated(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -265,7 +265,7 @@ public class GameServerQuery {
|
|||
Objects.equals(this.currentPlayers, gameServerQuery.currentPlayers) &&
|
||||
Objects.equals(this.maxPlayers, gameServerQuery.maxPlayers) &&
|
||||
Objects.equals(this.motd, gameServerQuery.motd) &&
|
||||
Objects.equals(this.created, gameServerQuery.created);
|
||||
Objects.equals(this.createdAt, gameServerQuery.createdAt);
|
||||
}
|
||||
|
||||
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
|
||||
|
|
@ -274,7 +274,7 @@ public class GameServerQuery {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, serverId, status, ping, currentPlayers, maxPlayers, motd, created);
|
||||
return Objects.hash(id, serverId, status, ping, currentPlayers, maxPlayers, motd, createdAt);
|
||||
}
|
||||
|
||||
private static <T> int hashCodeNullable(JsonNullable<T> a) {
|
||||
|
|
@ -295,7 +295,7 @@ public class GameServerQuery {
|
|||
sb.append(" currentPlayers: ").append(toIndentedString(currentPlayers)).append("\n");
|
||||
sb.append(" maxPlayers: ").append(toIndentedString(maxPlayers)).append("\n");
|
||||
sb.append(" motd: ").append(toIndentedString(motd)).append("\n");
|
||||
sb.append(" created: ").append(toIndentedString(created)).append("\n");
|
||||
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
@ -325,7 +325,7 @@ public class GameServerQuery {
|
|||
openapiFields.add("current_players");
|
||||
openapiFields.add("max_players");
|
||||
openapiFields.add("motd");
|
||||
openapiFields.add("created");
|
||||
openapiFields.add("created_at");
|
||||
|
||||
// a set of required properties/fields (JSON key names)
|
||||
openapiRequiredFields = new HashSet<String>();
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -22,7 +22,6 @@ import com.google.gson.stream.JsonWriter;
|
|||
import java.io.IOException;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
|
|
@ -51,7 +50,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* Group
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class Group {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
|
|
@ -61,7 +60,7 @@ public class Group {
|
|||
public static final String SERIALIZED_NAME_UUID = "uuid";
|
||||
@SerializedName(SERIALIZED_NAME_UUID)
|
||||
@javax.annotation.Nullable
|
||||
private UUID uuid;
|
||||
private String uuid;
|
||||
|
||||
public static final String SERIALIZED_NAME_NAME = "name";
|
||||
@SerializedName(SERIALIZED_NAME_NAME)
|
||||
|
|
@ -123,15 +122,20 @@ public class Group {
|
|||
@javax.annotation.Nullable
|
||||
private Integer viewCount;
|
||||
|
||||
public static final String SERIALIZED_NAME_CREATED = "created";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED)
|
||||
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime created;
|
||||
private OffsetDateTime createdAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_UPDATED = "updated";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED)
|
||||
public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime updated;
|
||||
private OffsetDateTime updatedAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at";
|
||||
@SerializedName(SERIALIZED_NAME_DELETED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime deletedAt;
|
||||
|
||||
public Group() {
|
||||
}
|
||||
|
|
@ -155,7 +159,7 @@ public class Group {
|
|||
}
|
||||
|
||||
|
||||
public Group uuid(@javax.annotation.Nullable UUID uuid) {
|
||||
public Group uuid(@javax.annotation.Nullable String uuid) {
|
||||
this.uuid = uuid;
|
||||
return this;
|
||||
}
|
||||
|
|
@ -165,11 +169,11 @@ public class Group {
|
|||
* @return uuid
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public UUID getUuid() {
|
||||
public String getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
public void setUuid(@javax.annotation.Nullable UUID uuid) {
|
||||
public void setUuid(@javax.annotation.Nullable String uuid) {
|
||||
this.uuid = uuid;
|
||||
}
|
||||
|
||||
|
|
@ -402,41 +406,60 @@ public class Group {
|
|||
}
|
||||
|
||||
|
||||
public Group created(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public Group createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get created
|
||||
* @return created
|
||||
* Get createdAt
|
||||
* @return createdAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getCreated() {
|
||||
return created;
|
||||
public OffsetDateTime getCreatedAt() {
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setCreated(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
|
||||
public Group updated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public Group updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get updated
|
||||
* @return updated
|
||||
* Get updatedAt
|
||||
* @return updatedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getUpdated() {
|
||||
return updated;
|
||||
public OffsetDateTime getUpdatedAt() {
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
|
||||
public Group deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get deletedAt
|
||||
* @return deletedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getDeletedAt() {
|
||||
return deletedAt;
|
||||
}
|
||||
|
||||
public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -464,8 +487,9 @@ public class Group {
|
|||
Objects.equals(this.memberCount, group.memberCount) &&
|
||||
Objects.equals(this.followerCount, group.followerCount) &&
|
||||
Objects.equals(this.viewCount, group.viewCount) &&
|
||||
Objects.equals(this.created, group.created) &&
|
||||
Objects.equals(this.updated, group.updated);
|
||||
Objects.equals(this.createdAt, group.createdAt) &&
|
||||
Objects.equals(this.updatedAt, group.updatedAt) &&
|
||||
Objects.equals(this.deletedAt, group.deletedAt);
|
||||
}
|
||||
|
||||
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
|
||||
|
|
@ -474,7 +498,7 @@ public class Group {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, uuid, name, tag, description, type, privacy, ownerId, verified, photoUrl, bannerUrl, memberCount, followerCount, viewCount, created, updated);
|
||||
return Objects.hash(id, uuid, name, tag, description, type, privacy, ownerId, verified, photoUrl, bannerUrl, memberCount, followerCount, viewCount, createdAt, updatedAt, deletedAt);
|
||||
}
|
||||
|
||||
private static <T> int hashCodeNullable(JsonNullable<T> a) {
|
||||
|
|
@ -502,8 +526,9 @@ public class Group {
|
|||
sb.append(" memberCount: ").append(toIndentedString(memberCount)).append("\n");
|
||||
sb.append(" followerCount: ").append(toIndentedString(followerCount)).append("\n");
|
||||
sb.append(" viewCount: ").append(toIndentedString(viewCount)).append("\n");
|
||||
sb.append(" created: ").append(toIndentedString(created)).append("\n");
|
||||
sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
|
||||
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
|
||||
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
|
||||
sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
@ -540,8 +565,9 @@ public class Group {
|
|||
openapiFields.add("member_count");
|
||||
openapiFields.add("follower_count");
|
||||
openapiFields.add("view_count");
|
||||
openapiFields.add("created");
|
||||
openapiFields.add("updated");
|
||||
openapiFields.add("created_at");
|
||||
openapiFields.add("updated_at");
|
||||
openapiFields.add("deleted_at");
|
||||
|
||||
// a set of required properties/fields (JSON key names)
|
||||
openapiRequiredFields = new HashSet<String>();
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -52,7 +52,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* GroupApplication
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class GroupApplication {
|
||||
public static final String SERIALIZED_NAME_GROUP_ID = "group_id";
|
||||
@SerializedName(SERIALIZED_NAME_GROUP_ID)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -23,7 +23,6 @@ import com.tribufu.generated.models.GroupRank;
|
|||
import java.io.IOException;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
|
|
@ -52,18 +51,13 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* GroupMember
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class GroupMember {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
@javax.annotation.Nullable
|
||||
private String id;
|
||||
|
||||
public static final String SERIALIZED_NAME_UUID = "uuid";
|
||||
@SerializedName(SERIALIZED_NAME_UUID)
|
||||
@javax.annotation.Nullable
|
||||
private UUID uuid;
|
||||
|
||||
public static final String SERIALIZED_NAME_NAME = "name";
|
||||
@SerializedName(SERIALIZED_NAME_NAME)
|
||||
@javax.annotation.Nullable
|
||||
|
|
@ -74,21 +68,11 @@ public class GroupMember {
|
|||
@javax.annotation.Nullable
|
||||
private String displayName;
|
||||
|
||||
public static final String SERIALIZED_NAME_VERIFIED = "verified";
|
||||
@SerializedName(SERIALIZED_NAME_VERIFIED)
|
||||
@javax.annotation.Nullable
|
||||
private Boolean verified;
|
||||
|
||||
public static final String SERIALIZED_NAME_PHOTO_URL = "photo_url";
|
||||
@SerializedName(SERIALIZED_NAME_PHOTO_URL)
|
||||
@javax.annotation.Nullable
|
||||
private String photoUrl;
|
||||
|
||||
public static final String SERIALIZED_NAME_LAST_ONLINE = "last_online";
|
||||
@SerializedName(SERIALIZED_NAME_LAST_ONLINE)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime lastOnline;
|
||||
|
||||
public static final String SERIALIZED_NAME_RANK = "rank";
|
||||
@SerializedName(SERIALIZED_NAME_RANK)
|
||||
@javax.annotation.Nullable
|
||||
|
|
@ -121,25 +105,6 @@ public class GroupMember {
|
|||
}
|
||||
|
||||
|
||||
public GroupMember uuid(@javax.annotation.Nullable UUID uuid) {
|
||||
this.uuid = uuid;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get uuid
|
||||
* @return uuid
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
public void setUuid(@javax.annotation.Nullable UUID uuid) {
|
||||
this.uuid = uuid;
|
||||
}
|
||||
|
||||
|
||||
public GroupMember name(@javax.annotation.Nullable String name) {
|
||||
this.name = name;
|
||||
return this;
|
||||
|
|
@ -178,25 +143,6 @@ public class GroupMember {
|
|||
}
|
||||
|
||||
|
||||
public GroupMember verified(@javax.annotation.Nullable Boolean verified) {
|
||||
this.verified = verified;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get verified
|
||||
* @return verified
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public Boolean getVerified() {
|
||||
return verified;
|
||||
}
|
||||
|
||||
public void setVerified(@javax.annotation.Nullable Boolean verified) {
|
||||
this.verified = verified;
|
||||
}
|
||||
|
||||
|
||||
public GroupMember photoUrl(@javax.annotation.Nullable String photoUrl) {
|
||||
this.photoUrl = photoUrl;
|
||||
return this;
|
||||
|
|
@ -216,25 +162,6 @@ public class GroupMember {
|
|||
}
|
||||
|
||||
|
||||
public GroupMember lastOnline(@javax.annotation.Nullable OffsetDateTime lastOnline) {
|
||||
this.lastOnline = lastOnline;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get lastOnline
|
||||
* @return lastOnline
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getLastOnline() {
|
||||
return lastOnline;
|
||||
}
|
||||
|
||||
public void setLastOnline(@javax.annotation.Nullable OffsetDateTime lastOnline) {
|
||||
this.lastOnline = lastOnline;
|
||||
}
|
||||
|
||||
|
||||
public GroupMember rank(@javax.annotation.Nullable GroupRank rank) {
|
||||
this.rank = rank;
|
||||
return this;
|
||||
|
|
@ -284,12 +211,9 @@ public class GroupMember {
|
|||
}
|
||||
GroupMember groupMember = (GroupMember) o;
|
||||
return Objects.equals(this.id, groupMember.id) &&
|
||||
Objects.equals(this.uuid, groupMember.uuid) &&
|
||||
Objects.equals(this.name, groupMember.name) &&
|
||||
Objects.equals(this.displayName, groupMember.displayName) &&
|
||||
Objects.equals(this.verified, groupMember.verified) &&
|
||||
Objects.equals(this.photoUrl, groupMember.photoUrl) &&
|
||||
Objects.equals(this.lastOnline, groupMember.lastOnline) &&
|
||||
Objects.equals(this.rank, groupMember.rank) &&
|
||||
Objects.equals(this.since, groupMember.since);
|
||||
}
|
||||
|
|
@ -300,7 +224,7 @@ public class GroupMember {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, uuid, name, displayName, verified, photoUrl, lastOnline, rank, since);
|
||||
return Objects.hash(id, name, displayName, photoUrl, rank, since);
|
||||
}
|
||||
|
||||
private static <T> int hashCodeNullable(JsonNullable<T> a) {
|
||||
|
|
@ -315,12 +239,9 @@ public class GroupMember {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class GroupMember {\n");
|
||||
sb.append(" id: ").append(toIndentedString(id)).append("\n");
|
||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||
sb.append(" name: ").append(toIndentedString(name)).append("\n");
|
||||
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
|
||||
sb.append(" verified: ").append(toIndentedString(verified)).append("\n");
|
||||
sb.append(" photoUrl: ").append(toIndentedString(photoUrl)).append("\n");
|
||||
sb.append(" lastOnline: ").append(toIndentedString(lastOnline)).append("\n");
|
||||
sb.append(" rank: ").append(toIndentedString(rank)).append("\n");
|
||||
sb.append(" since: ").append(toIndentedString(since)).append("\n");
|
||||
sb.append("}");
|
||||
|
|
@ -346,12 +267,9 @@ public class GroupMember {
|
|||
// a set of all properties/fields (JSON key names)
|
||||
openapiFields = new HashSet<String>();
|
||||
openapiFields.add("id");
|
||||
openapiFields.add("uuid");
|
||||
openapiFields.add("name");
|
||||
openapiFields.add("display_name");
|
||||
openapiFields.add("verified");
|
||||
openapiFields.add("photo_url");
|
||||
openapiFields.add("last_online");
|
||||
openapiFields.add("rank");
|
||||
openapiFields.add("since");
|
||||
|
||||
|
|
@ -383,9 +301,6 @@ public class GroupMember {
|
|||
if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString()));
|
||||
}
|
||||
if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString()));
|
||||
}
|
||||
if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString()));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -48,7 +48,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* HashViewModel
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class HashViewModel {
|
||||
public static final String SERIALIZED_NAME_VALUE = "value";
|
||||
@SerializedName(SERIALIZED_NAME_VALUE)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,88 @@
|
|||
/*
|
||||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
package com.tribufu.generated.models;
|
||||
|
||||
import java.util.Objects;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
import java.io.IOException;
|
||||
import com.google.gson.TypeAdapter;
|
||||
import com.google.gson.JsonElement;
|
||||
import com.google.gson.annotations.JsonAdapter;
|
||||
import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
|
||||
/**
|
||||
* Gets or Sets IdentityProviderType
|
||||
*/
|
||||
@JsonAdapter(IdentityProviderType.Adapter.class)
|
||||
public enum IdentityProviderType {
|
||||
|
||||
STEAM("steam"),
|
||||
|
||||
EPIC("epic"),
|
||||
|
||||
DISCORD("discord"),
|
||||
|
||||
MICROSOFT("microsoft"),
|
||||
|
||||
PLAYSTATION("playstation"),
|
||||
|
||||
GOOGLE("google"),
|
||||
|
||||
APPLE("apple");
|
||||
|
||||
private String value;
|
||||
|
||||
IdentityProviderType(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.valueOf(value);
|
||||
}
|
||||
|
||||
public static IdentityProviderType fromValue(String value) {
|
||||
for (IdentityProviderType b : IdentityProviderType.values()) {
|
||||
if (b.value.equals(value)) {
|
||||
return b;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("Unexpected value '" + value + "'");
|
||||
}
|
||||
|
||||
public static class Adapter extends TypeAdapter<IdentityProviderType> {
|
||||
@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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -49,7 +49,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* IntrospectRequest
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class IntrospectRequest {
|
||||
public static final String SERIALIZED_NAME_TOKEN = "token";
|
||||
@SerializedName(SERIALIZED_NAME_TOKEN)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -49,7 +49,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* IntrospectResponse
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class IntrospectResponse {
|
||||
public static final String SERIALIZED_NAME_JTI = "jti";
|
||||
@SerializedName(SERIALIZED_NAME_JTI)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -49,7 +49,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* IpAddress
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class IpAddress {
|
||||
public static final String SERIALIZED_NAME_ADDRESS = "address";
|
||||
@SerializedName(SERIALIZED_NAME_ADDRESS)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -49,7 +49,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* LeaderboardItem
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class LeaderboardItem {
|
||||
public static final String SERIALIZED_NAME_NAME = "name";
|
||||
@SerializedName(SERIALIZED_NAME_NAME)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -53,7 +53,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* ModelPackage
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class ModelPackage {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
|
|
@ -105,15 +105,20 @@ public class ModelPackage {
|
|||
@javax.annotation.Nullable
|
||||
private List<PackageRelease> releases;
|
||||
|
||||
public static final String SERIALIZED_NAME_CREATED = "created";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED)
|
||||
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime created;
|
||||
private OffsetDateTime createdAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_UPDATED = "updated";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED)
|
||||
public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime updated;
|
||||
private OffsetDateTime updatedAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at";
|
||||
@SerializedName(SERIALIZED_NAME_DELETED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime deletedAt;
|
||||
|
||||
public ModelPackage() {
|
||||
}
|
||||
|
|
@ -316,41 +321,60 @@ public class ModelPackage {
|
|||
}
|
||||
|
||||
|
||||
public ModelPackage created(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public ModelPackage createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get created
|
||||
* @return created
|
||||
* Get createdAt
|
||||
* @return createdAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getCreated() {
|
||||
return created;
|
||||
public OffsetDateTime getCreatedAt() {
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setCreated(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
|
||||
public ModelPackage updated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public ModelPackage updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get updated
|
||||
* @return updated
|
||||
* Get updatedAt
|
||||
* @return updatedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getUpdated() {
|
||||
return updated;
|
||||
public OffsetDateTime getUpdatedAt() {
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
|
||||
public ModelPackage deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get deletedAt
|
||||
* @return deletedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getDeletedAt() {
|
||||
return deletedAt;
|
||||
}
|
||||
|
||||
public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -374,8 +398,9 @@ public class ModelPackage {
|
|||
Objects.equals(this.downloadCount, _package.downloadCount) &&
|
||||
Objects.equals(this.lastDownload, _package.lastDownload) &&
|
||||
Objects.equals(this.releases, _package.releases) &&
|
||||
Objects.equals(this.created, _package.created) &&
|
||||
Objects.equals(this.updated, _package.updated);
|
||||
Objects.equals(this.createdAt, _package.createdAt) &&
|
||||
Objects.equals(this.updatedAt, _package.updatedAt) &&
|
||||
Objects.equals(this.deletedAt, _package.deletedAt);
|
||||
}
|
||||
|
||||
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
|
||||
|
|
@ -384,7 +409,7 @@ public class ModelPackage {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, name, description, authorId, imageUrl, applicationId, categoryId, downloadCount, lastDownload, releases, created, updated);
|
||||
return Objects.hash(id, name, description, authorId, imageUrl, applicationId, categoryId, downloadCount, lastDownload, releases, createdAt, updatedAt, deletedAt);
|
||||
}
|
||||
|
||||
private static <T> int hashCodeNullable(JsonNullable<T> a) {
|
||||
|
|
@ -408,8 +433,9 @@ public class ModelPackage {
|
|||
sb.append(" downloadCount: ").append(toIndentedString(downloadCount)).append("\n");
|
||||
sb.append(" lastDownload: ").append(toIndentedString(lastDownload)).append("\n");
|
||||
sb.append(" releases: ").append(toIndentedString(releases)).append("\n");
|
||||
sb.append(" created: ").append(toIndentedString(created)).append("\n");
|
||||
sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
|
||||
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
|
||||
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
|
||||
sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
@ -442,8 +468,9 @@ public class ModelPackage {
|
|||
openapiFields.add("download_count");
|
||||
openapiFields.add("last_download");
|
||||
openapiFields.add("releases");
|
||||
openapiFields.add("created");
|
||||
openapiFields.add("updated");
|
||||
openapiFields.add("created_at");
|
||||
openapiFields.add("updated_at");
|
||||
openapiFields.add("deleted_at");
|
||||
|
||||
// a set of required properties/fields (JSON key names)
|
||||
openapiRequiredFields = new HashSet<String>();
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -53,7 +53,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* PackageRelease
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class PackageRelease {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
|
|
@ -80,15 +80,20 @@ public class PackageRelease {
|
|||
@javax.annotation.Nullable
|
||||
private List<StorageFile> files;
|
||||
|
||||
public static final String SERIALIZED_NAME_CREATED = "created";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED)
|
||||
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime created;
|
||||
private OffsetDateTime createdAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_UPDATED = "updated";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED)
|
||||
public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime updated;
|
||||
private OffsetDateTime updatedAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at";
|
||||
@SerializedName(SERIALIZED_NAME_DELETED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime deletedAt;
|
||||
|
||||
public PackageRelease() {
|
||||
}
|
||||
|
|
@ -187,41 +192,60 @@ public class PackageRelease {
|
|||
|
||||
|
||||
|
||||
public PackageRelease created(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public PackageRelease createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get created
|
||||
* @return created
|
||||
* Get createdAt
|
||||
* @return createdAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getCreated() {
|
||||
return created;
|
||||
public OffsetDateTime getCreatedAt() {
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setCreated(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
|
||||
public PackageRelease updated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public PackageRelease updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get updated
|
||||
* @return updated
|
||||
* Get updatedAt
|
||||
* @return updatedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getUpdated() {
|
||||
return updated;
|
||||
public OffsetDateTime getUpdatedAt() {
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
|
||||
public PackageRelease deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get deletedAt
|
||||
* @return deletedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getDeletedAt() {
|
||||
return deletedAt;
|
||||
}
|
||||
|
||||
public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -240,8 +264,9 @@ public class PackageRelease {
|
|||
Objects.equals(this.packageId, packageRelease.packageId) &&
|
||||
Objects.equals(this.notes, packageRelease.notes) &&
|
||||
Objects.equals(this.files, packageRelease.files) &&
|
||||
Objects.equals(this.created, packageRelease.created) &&
|
||||
Objects.equals(this.updated, packageRelease.updated);
|
||||
Objects.equals(this.createdAt, packageRelease.createdAt) &&
|
||||
Objects.equals(this.updatedAt, packageRelease.updatedAt) &&
|
||||
Objects.equals(this.deletedAt, packageRelease.deletedAt);
|
||||
}
|
||||
|
||||
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
|
||||
|
|
@ -250,7 +275,7 @@ public class PackageRelease {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, version, packageId, notes, files, created, updated);
|
||||
return Objects.hash(id, version, packageId, notes, files, createdAt, updatedAt, deletedAt);
|
||||
}
|
||||
|
||||
private static <T> int hashCodeNullable(JsonNullable<T> a) {
|
||||
|
|
@ -269,8 +294,9 @@ public class PackageRelease {
|
|||
sb.append(" packageId: ").append(toIndentedString(packageId)).append("\n");
|
||||
sb.append(" notes: ").append(toIndentedString(notes)).append("\n");
|
||||
sb.append(" files: ").append(toIndentedString(files)).append("\n");
|
||||
sb.append(" created: ").append(toIndentedString(created)).append("\n");
|
||||
sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
|
||||
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
|
||||
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
|
||||
sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
@ -298,8 +324,9 @@ public class PackageRelease {
|
|||
openapiFields.add("package_id");
|
||||
openapiFields.add("notes");
|
||||
openapiFields.add("files");
|
||||
openapiFields.add("created");
|
||||
openapiFields.add("updated");
|
||||
openapiFields.add("created_at");
|
||||
openapiFields.add("updated_at");
|
||||
openapiFields.add("deleted_at");
|
||||
|
||||
// a set of required properties/fields (JSON key names)
|
||||
openapiRequiredFields = new HashSet<String>();
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -54,7 +54,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* Product
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class Product {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
|
|
@ -66,6 +66,11 @@ public class Product {
|
|||
@javax.annotation.Nullable
|
||||
private String name;
|
||||
|
||||
public static final String SERIALIZED_NAME_SKU = "sku";
|
||||
@SerializedName(SERIALIZED_NAME_SKU)
|
||||
@javax.annotation.Nullable
|
||||
private String sku;
|
||||
|
||||
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
|
||||
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
|
||||
@javax.annotation.Nullable
|
||||
|
|
@ -86,25 +91,25 @@ public class Product {
|
|||
@javax.annotation.Nullable
|
||||
private String imageUrl;
|
||||
|
||||
public static final String SERIALIZED_NAME_IS_PHYSICAL = "is_physical";
|
||||
@SerializedName(SERIALIZED_NAME_IS_PHYSICAL)
|
||||
@javax.annotation.Nullable
|
||||
private Boolean isPhysical;
|
||||
|
||||
public static final String SERIALIZED_NAME_PRICES = "prices";
|
||||
@SerializedName(SERIALIZED_NAME_PRICES)
|
||||
@javax.annotation.Nullable
|
||||
private List<ProductPrice> prices;
|
||||
|
||||
public static final String SERIALIZED_NAME_CREATED = "created";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED)
|
||||
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime created;
|
||||
private OffsetDateTime createdAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_UPDATED = "updated";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED)
|
||||
public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime updated;
|
||||
private OffsetDateTime updatedAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at";
|
||||
@SerializedName(SERIALIZED_NAME_DELETED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime deletedAt;
|
||||
|
||||
public Product() {
|
||||
}
|
||||
|
|
@ -147,6 +152,25 @@ public class Product {
|
|||
}
|
||||
|
||||
|
||||
public Product sku(@javax.annotation.Nullable String sku) {
|
||||
this.sku = sku;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get sku
|
||||
* @return sku
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public String getSku() {
|
||||
return sku;
|
||||
}
|
||||
|
||||
public void setSku(@javax.annotation.Nullable String sku) {
|
||||
this.sku = sku;
|
||||
}
|
||||
|
||||
|
||||
public Product description(@javax.annotation.Nullable String description) {
|
||||
this.description = description;
|
||||
return this;
|
||||
|
|
@ -223,25 +247,6 @@ public class Product {
|
|||
}
|
||||
|
||||
|
||||
public Product isPhysical(@javax.annotation.Nullable Boolean isPhysical) {
|
||||
this.isPhysical = isPhysical;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get isPhysical
|
||||
* @return isPhysical
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public Boolean getIsPhysical() {
|
||||
return isPhysical;
|
||||
}
|
||||
|
||||
public void setIsPhysical(@javax.annotation.Nullable Boolean isPhysical) {
|
||||
this.isPhysical = isPhysical;
|
||||
}
|
||||
|
||||
|
||||
public Product prices(@javax.annotation.Nullable List<ProductPrice> prices) {
|
||||
this.prices = prices;
|
||||
return this;
|
||||
|
|
@ -269,41 +274,60 @@ public class Product {
|
|||
}
|
||||
|
||||
|
||||
public Product created(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public Product createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get created
|
||||
* @return created
|
||||
* Get createdAt
|
||||
* @return createdAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getCreated() {
|
||||
return created;
|
||||
public OffsetDateTime getCreatedAt() {
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setCreated(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
|
||||
public Product updated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public Product updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get updated
|
||||
* @return updated
|
||||
* Get updatedAt
|
||||
* @return updatedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getUpdated() {
|
||||
return updated;
|
||||
public OffsetDateTime getUpdatedAt() {
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
|
||||
public Product deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get deletedAt
|
||||
* @return deletedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getDeletedAt() {
|
||||
return deletedAt;
|
||||
}
|
||||
|
||||
public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -319,14 +343,15 @@ public class Product {
|
|||
Product product = (Product) o;
|
||||
return Objects.equals(this.id, product.id) &&
|
||||
Objects.equals(this.name, product.name) &&
|
||||
Objects.equals(this.sku, product.sku) &&
|
||||
Objects.equals(this.description, product.description) &&
|
||||
Objects.equals(this.type, product.type) &&
|
||||
Objects.equals(this.slug, product.slug) &&
|
||||
Objects.equals(this.imageUrl, product.imageUrl) &&
|
||||
Objects.equals(this.isPhysical, product.isPhysical) &&
|
||||
Objects.equals(this.prices, product.prices) &&
|
||||
Objects.equals(this.created, product.created) &&
|
||||
Objects.equals(this.updated, product.updated);
|
||||
Objects.equals(this.createdAt, product.createdAt) &&
|
||||
Objects.equals(this.updatedAt, product.updatedAt) &&
|
||||
Objects.equals(this.deletedAt, product.deletedAt);
|
||||
}
|
||||
|
||||
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
|
||||
|
|
@ -335,7 +360,7 @@ public class Product {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, name, description, type, slug, imageUrl, isPhysical, prices, created, updated);
|
||||
return Objects.hash(id, name, sku, description, type, slug, imageUrl, prices, createdAt, updatedAt, deletedAt);
|
||||
}
|
||||
|
||||
private static <T> int hashCodeNullable(JsonNullable<T> a) {
|
||||
|
|
@ -351,14 +376,15 @@ public class Product {
|
|||
sb.append("class Product {\n");
|
||||
sb.append(" id: ").append(toIndentedString(id)).append("\n");
|
||||
sb.append(" name: ").append(toIndentedString(name)).append("\n");
|
||||
sb.append(" sku: ").append(toIndentedString(sku)).append("\n");
|
||||
sb.append(" description: ").append(toIndentedString(description)).append("\n");
|
||||
sb.append(" type: ").append(toIndentedString(type)).append("\n");
|
||||
sb.append(" slug: ").append(toIndentedString(slug)).append("\n");
|
||||
sb.append(" imageUrl: ").append(toIndentedString(imageUrl)).append("\n");
|
||||
sb.append(" isPhysical: ").append(toIndentedString(isPhysical)).append("\n");
|
||||
sb.append(" prices: ").append(toIndentedString(prices)).append("\n");
|
||||
sb.append(" created: ").append(toIndentedString(created)).append("\n");
|
||||
sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
|
||||
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
|
||||
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
|
||||
sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
@ -383,14 +409,15 @@ public class Product {
|
|||
openapiFields = new HashSet<String>();
|
||||
openapiFields.add("id");
|
||||
openapiFields.add("name");
|
||||
openapiFields.add("sku");
|
||||
openapiFields.add("description");
|
||||
openapiFields.add("type");
|
||||
openapiFields.add("slug");
|
||||
openapiFields.add("image_url");
|
||||
openapiFields.add("is_physical");
|
||||
openapiFields.add("prices");
|
||||
openapiFields.add("created");
|
||||
openapiFields.add("updated");
|
||||
openapiFields.add("created_at");
|
||||
openapiFields.add("updated_at");
|
||||
openapiFields.add("deleted_at");
|
||||
|
||||
// a set of required properties/fields (JSON key names)
|
||||
openapiRequiredFields = new HashSet<String>();
|
||||
|
|
@ -431,6 +458,9 @@ public class Product {
|
|||
if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString()));
|
||||
}
|
||||
if ((jsonObj.get("sku") != null && !jsonObj.get("sku").isJsonNull()) && !jsonObj.get("sku").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `sku` to be a primitive type in the JSON string but got `%s`", jsonObj.get("sku").toString()));
|
||||
}
|
||||
if ((jsonObj.get("description") != null && !jsonObj.get("description").isJsonNull()) && !jsonObj.get("description").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `description` to be a primitive type in the JSON string but got `%s`", jsonObj.get("description").toString()));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -49,17 +49,17 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* ProductPrice
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class ProductPrice {
|
||||
public static final String SERIALIZED_NAME_CURRENCY = "currency";
|
||||
@SerializedName(SERIALIZED_NAME_CURRENCY)
|
||||
@javax.annotation.Nullable
|
||||
private String currency;
|
||||
|
||||
public static final String SERIALIZED_NAME_AMOUNT = "amount";
|
||||
@SerializedName(SERIALIZED_NAME_AMOUNT)
|
||||
public static final String SERIALIZED_NAME_PRICE = "price";
|
||||
@SerializedName(SERIALIZED_NAME_PRICE)
|
||||
@javax.annotation.Nullable
|
||||
private Double amount;
|
||||
private Double price;
|
||||
|
||||
public static final String SERIALIZED_NAME_RENEWAL = "renewal";
|
||||
@SerializedName(SERIALIZED_NAME_RENEWAL)
|
||||
|
|
@ -88,22 +88,22 @@ public class ProductPrice {
|
|||
}
|
||||
|
||||
|
||||
public ProductPrice amount(@javax.annotation.Nullable Double amount) {
|
||||
this.amount = amount;
|
||||
public ProductPrice price(@javax.annotation.Nullable Double price) {
|
||||
this.price = price;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get amount
|
||||
* @return amount
|
||||
* Get price
|
||||
* @return price
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public Double getAmount() {
|
||||
return amount;
|
||||
public Double getPrice() {
|
||||
return price;
|
||||
}
|
||||
|
||||
public void setAmount(@javax.annotation.Nullable Double amount) {
|
||||
this.amount = amount;
|
||||
public void setPrice(@javax.annotation.Nullable Double price) {
|
||||
this.price = price;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -137,7 +137,7 @@ public class ProductPrice {
|
|||
}
|
||||
ProductPrice productPrice = (ProductPrice) o;
|
||||
return Objects.equals(this.currency, productPrice.currency) &&
|
||||
Objects.equals(this.amount, productPrice.amount) &&
|
||||
Objects.equals(this.price, productPrice.price) &&
|
||||
Objects.equals(this.renewal, productPrice.renewal);
|
||||
}
|
||||
|
||||
|
|
@ -147,7 +147,7 @@ public class ProductPrice {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(currency, amount, renewal);
|
||||
return Objects.hash(currency, price, renewal);
|
||||
}
|
||||
|
||||
private static <T> int hashCodeNullable(JsonNullable<T> a) {
|
||||
|
|
@ -162,7 +162,7 @@ public class ProductPrice {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class ProductPrice {\n");
|
||||
sb.append(" currency: ").append(toIndentedString(currency)).append("\n");
|
||||
sb.append(" amount: ").append(toIndentedString(amount)).append("\n");
|
||||
sb.append(" price: ").append(toIndentedString(price)).append("\n");
|
||||
sb.append(" renewal: ").append(toIndentedString(renewal)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
|
|
@ -187,7 +187,7 @@ public class ProductPrice {
|
|||
// a set of all properties/fields (JSON key names)
|
||||
openapiFields = new HashSet<String>();
|
||||
openapiFields.add("currency");
|
||||
openapiFields.add("amount");
|
||||
openapiFields.add("price");
|
||||
openapiFields.add("renewal");
|
||||
|
||||
// a set of required properties/fields (JSON key names)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -20,10 +20,10 @@ import com.google.gson.annotations.SerializedName;
|
|||
import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import java.io.IOException;
|
||||
import java.net.URI;
|
||||
import java.time.LocalDate;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
|
|
@ -52,18 +52,13 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* Profile
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class Profile {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
@javax.annotation.Nullable
|
||||
private String id;
|
||||
|
||||
public static final String SERIALIZED_NAME_UUID = "uuid";
|
||||
@SerializedName(SERIALIZED_NAME_UUID)
|
||||
@javax.annotation.Nullable
|
||||
private UUID uuid;
|
||||
|
||||
public static final String SERIALIZED_NAME_NAME = "name";
|
||||
@SerializedName(SERIALIZED_NAME_NAME)
|
||||
@javax.annotation.Nullable
|
||||
|
|
@ -74,11 +69,6 @@ public class Profile {
|
|||
@javax.annotation.Nullable
|
||||
private String displayName;
|
||||
|
||||
public static final String SERIALIZED_NAME_VERIFIED = "verified";
|
||||
@SerializedName(SERIALIZED_NAME_VERIFIED)
|
||||
@javax.annotation.Nullable
|
||||
private Boolean verified;
|
||||
|
||||
public static final String SERIALIZED_NAME_LEVEL = "level";
|
||||
@SerializedName(SERIALIZED_NAME_LEVEL)
|
||||
@javax.annotation.Nullable
|
||||
|
|
@ -89,11 +79,6 @@ public class Profile {
|
|||
@javax.annotation.Nullable
|
||||
private Double experience;
|
||||
|
||||
public static final String SERIALIZED_NAME_PUBLIC_BIRTHDAY = "public_birthday";
|
||||
@SerializedName(SERIALIZED_NAME_PUBLIC_BIRTHDAY)
|
||||
@javax.annotation.Nullable
|
||||
private Boolean publicBirthday;
|
||||
|
||||
public static final String SERIALIZED_NAME_BIRTHDAY = "birthday";
|
||||
@SerializedName(SERIALIZED_NAME_BIRTHDAY)
|
||||
@javax.annotation.Nullable
|
||||
|
|
@ -104,20 +89,15 @@ public class Profile {
|
|||
@javax.annotation.Nullable
|
||||
private Double points;
|
||||
|
||||
public static final String SERIALIZED_NAME_LOCATION = "location";
|
||||
@SerializedName(SERIALIZED_NAME_LOCATION)
|
||||
@javax.annotation.Nullable
|
||||
private String location;
|
||||
|
||||
public static final String SERIALIZED_NAME_PHOTO_URL = "photo_url";
|
||||
@SerializedName(SERIALIZED_NAME_PHOTO_URL)
|
||||
@javax.annotation.Nullable
|
||||
private String photoUrl;
|
||||
private URI photoUrl;
|
||||
|
||||
public static final String SERIALIZED_NAME_BANNER_URL = "banner_url";
|
||||
@SerializedName(SERIALIZED_NAME_BANNER_URL)
|
||||
@javax.annotation.Nullable
|
||||
private String bannerUrl;
|
||||
private URI bannerUrl;
|
||||
|
||||
public static final String SERIALIZED_NAME_LAST_ONLINE = "last_online";
|
||||
@SerializedName(SERIALIZED_NAME_LAST_ONLINE)
|
||||
|
|
@ -129,27 +109,48 @@ public class Profile {
|
|||
@javax.annotation.Nullable
|
||||
private String biography;
|
||||
|
||||
public static final String SERIALIZED_NAME_VIEW_COUNT = "view_count";
|
||||
@SerializedName(SERIALIZED_NAME_VIEW_COUNT)
|
||||
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private Integer viewCount;
|
||||
private OffsetDateTime createdAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_CREATED = "created";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED)
|
||||
public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime created;
|
||||
|
||||
public static final String SERIALIZED_NAME_UPDATED = "updated";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime updated;
|
||||
private OffsetDateTime updatedAt;
|
||||
|
||||
public Profile() {
|
||||
}
|
||||
|
||||
public Profile id(@javax.annotation.Nullable String id) {
|
||||
public Profile(
|
||||
String id,
|
||||
String name,
|
||||
String displayName,
|
||||
Integer level,
|
||||
Double experience,
|
||||
LocalDate birthday,
|
||||
Double points,
|
||||
URI photoUrl,
|
||||
URI bannerUrl,
|
||||
OffsetDateTime lastOnline,
|
||||
String biography,
|
||||
OffsetDateTime createdAt,
|
||||
OffsetDateTime updatedAt
|
||||
) {
|
||||
this();
|
||||
this.id = id;
|
||||
return this;
|
||||
this.name = name;
|
||||
this.displayName = displayName;
|
||||
this.level = level;
|
||||
this.experience = experience;
|
||||
this.birthday = birthday;
|
||||
this.points = points;
|
||||
this.photoUrl = photoUrl;
|
||||
this.bannerUrl = bannerUrl;
|
||||
this.lastOnline = lastOnline;
|
||||
this.biography = biography;
|
||||
this.createdAt = createdAt;
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -161,35 +162,8 @@ public class Profile {
|
|||
return id;
|
||||
}
|
||||
|
||||
public void setId(@javax.annotation.Nullable String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
public Profile uuid(@javax.annotation.Nullable UUID uuid) {
|
||||
this.uuid = uuid;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get uuid
|
||||
* @return uuid
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
public void setUuid(@javax.annotation.Nullable UUID uuid) {
|
||||
this.uuid = uuid;
|
||||
}
|
||||
|
||||
|
||||
public Profile name(@javax.annotation.Nullable String name) {
|
||||
this.name = name;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get name
|
||||
* @return name
|
||||
|
|
@ -199,16 +173,8 @@ public class Profile {
|
|||
return name;
|
||||
}
|
||||
|
||||
public void setName(@javax.annotation.Nullable String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
|
||||
public Profile displayName(@javax.annotation.Nullable String displayName) {
|
||||
this.displayName = displayName;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get displayName
|
||||
* @return displayName
|
||||
|
|
@ -218,35 +184,8 @@ public class Profile {
|
|||
return displayName;
|
||||
}
|
||||
|
||||
public void setDisplayName(@javax.annotation.Nullable String displayName) {
|
||||
this.displayName = displayName;
|
||||
}
|
||||
|
||||
|
||||
public Profile verified(@javax.annotation.Nullable Boolean verified) {
|
||||
this.verified = verified;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get verified
|
||||
* @return verified
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public Boolean getVerified() {
|
||||
return verified;
|
||||
}
|
||||
|
||||
public void setVerified(@javax.annotation.Nullable Boolean verified) {
|
||||
this.verified = verified;
|
||||
}
|
||||
|
||||
|
||||
public Profile level(@javax.annotation.Nullable Integer level) {
|
||||
this.level = level;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get level
|
||||
* @return level
|
||||
|
|
@ -256,16 +195,8 @@ public class Profile {
|
|||
return level;
|
||||
}
|
||||
|
||||
public void setLevel(@javax.annotation.Nullable Integer level) {
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
|
||||
public Profile experience(@javax.annotation.Nullable Double experience) {
|
||||
this.experience = experience;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get experience
|
||||
* @return experience
|
||||
|
|
@ -275,35 +206,8 @@ public class Profile {
|
|||
return experience;
|
||||
}
|
||||
|
||||
public void setExperience(@javax.annotation.Nullable Double experience) {
|
||||
this.experience = experience;
|
||||
}
|
||||
|
||||
|
||||
public Profile publicBirthday(@javax.annotation.Nullable Boolean publicBirthday) {
|
||||
this.publicBirthday = publicBirthday;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get publicBirthday
|
||||
* @return publicBirthday
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public Boolean getPublicBirthday() {
|
||||
return publicBirthday;
|
||||
}
|
||||
|
||||
public void setPublicBirthday(@javax.annotation.Nullable Boolean publicBirthday) {
|
||||
this.publicBirthday = publicBirthday;
|
||||
}
|
||||
|
||||
|
||||
public Profile birthday(@javax.annotation.Nullable LocalDate birthday) {
|
||||
this.birthday = birthday;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get birthday
|
||||
* @return birthday
|
||||
|
|
@ -313,16 +217,8 @@ public class Profile {
|
|||
return birthday;
|
||||
}
|
||||
|
||||
public void setBirthday(@javax.annotation.Nullable LocalDate birthday) {
|
||||
this.birthday = birthday;
|
||||
}
|
||||
|
||||
|
||||
public Profile points(@javax.annotation.Nullable Double points) {
|
||||
this.points = points;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get points
|
||||
* @return points
|
||||
|
|
@ -332,73 +228,30 @@ public class Profile {
|
|||
return points;
|
||||
}
|
||||
|
||||
public void setPoints(@javax.annotation.Nullable Double points) {
|
||||
this.points = points;
|
||||
}
|
||||
|
||||
|
||||
public Profile location(@javax.annotation.Nullable String location) {
|
||||
this.location = location;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get location
|
||||
* @return location
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public String getLocation() {
|
||||
return location;
|
||||
}
|
||||
|
||||
public void setLocation(@javax.annotation.Nullable String location) {
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
|
||||
public Profile photoUrl(@javax.annotation.Nullable String photoUrl) {
|
||||
this.photoUrl = photoUrl;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get photoUrl
|
||||
* @return photoUrl
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public String getPhotoUrl() {
|
||||
public URI getPhotoUrl() {
|
||||
return photoUrl;
|
||||
}
|
||||
|
||||
public void setPhotoUrl(@javax.annotation.Nullable String photoUrl) {
|
||||
this.photoUrl = photoUrl;
|
||||
}
|
||||
|
||||
|
||||
public Profile bannerUrl(@javax.annotation.Nullable String bannerUrl) {
|
||||
this.bannerUrl = bannerUrl;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get bannerUrl
|
||||
* @return bannerUrl
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public String getBannerUrl() {
|
||||
public URI getBannerUrl() {
|
||||
return bannerUrl;
|
||||
}
|
||||
|
||||
public void setBannerUrl(@javax.annotation.Nullable String bannerUrl) {
|
||||
this.bannerUrl = bannerUrl;
|
||||
}
|
||||
|
||||
|
||||
public Profile lastOnline(@javax.annotation.Nullable OffsetDateTime lastOnline) {
|
||||
this.lastOnline = lastOnline;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get lastOnline
|
||||
* @return lastOnline
|
||||
|
|
@ -408,16 +261,8 @@ public class Profile {
|
|||
return lastOnline;
|
||||
}
|
||||
|
||||
public void setLastOnline(@javax.annotation.Nullable OffsetDateTime lastOnline) {
|
||||
this.lastOnline = lastOnline;
|
||||
}
|
||||
|
||||
|
||||
public Profile biography(@javax.annotation.Nullable String biography) {
|
||||
this.biography = biography;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get biography
|
||||
* @return biography
|
||||
|
|
@ -427,66 +272,28 @@ public class Profile {
|
|||
return biography;
|
||||
}
|
||||
|
||||
public void setBiography(@javax.annotation.Nullable String biography) {
|
||||
this.biography = biography;
|
||||
}
|
||||
|
||||
|
||||
public Profile viewCount(@javax.annotation.Nullable Integer viewCount) {
|
||||
this.viewCount = viewCount;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get viewCount
|
||||
* @return viewCount
|
||||
* Get createdAt
|
||||
* @return createdAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public Integer getViewCount() {
|
||||
return viewCount;
|
||||
}
|
||||
|
||||
public void setViewCount(@javax.annotation.Nullable Integer viewCount) {
|
||||
this.viewCount = viewCount;
|
||||
public OffsetDateTime getCreatedAt() {
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
|
||||
public Profile created(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get created
|
||||
* @return created
|
||||
* Get updatedAt
|
||||
* @return updatedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getCreated() {
|
||||
return created;
|
||||
public OffsetDateTime getUpdatedAt() {
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
public void setCreated(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
}
|
||||
|
||||
|
||||
public Profile updated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get updated
|
||||
* @return updated
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getUpdated() {
|
||||
return updated;
|
||||
}
|
||||
|
||||
public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
@ -500,23 +307,18 @@ public class Profile {
|
|||
}
|
||||
Profile profile = (Profile) o;
|
||||
return Objects.equals(this.id, profile.id) &&
|
||||
Objects.equals(this.uuid, profile.uuid) &&
|
||||
Objects.equals(this.name, profile.name) &&
|
||||
Objects.equals(this.displayName, profile.displayName) &&
|
||||
Objects.equals(this.verified, profile.verified) &&
|
||||
Objects.equals(this.level, profile.level) &&
|
||||
Objects.equals(this.experience, profile.experience) &&
|
||||
Objects.equals(this.publicBirthday, profile.publicBirthday) &&
|
||||
Objects.equals(this.birthday, profile.birthday) &&
|
||||
Objects.equals(this.points, profile.points) &&
|
||||
Objects.equals(this.location, profile.location) &&
|
||||
Objects.equals(this.photoUrl, profile.photoUrl) &&
|
||||
Objects.equals(this.bannerUrl, profile.bannerUrl) &&
|
||||
Objects.equals(this.lastOnline, profile.lastOnline) &&
|
||||
Objects.equals(this.biography, profile.biography) &&
|
||||
Objects.equals(this.viewCount, profile.viewCount) &&
|
||||
Objects.equals(this.created, profile.created) &&
|
||||
Objects.equals(this.updated, profile.updated);
|
||||
Objects.equals(this.createdAt, profile.createdAt) &&
|
||||
Objects.equals(this.updatedAt, profile.updatedAt);
|
||||
}
|
||||
|
||||
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
|
||||
|
|
@ -525,7 +327,7 @@ public class Profile {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, uuid, name, displayName, verified, level, experience, publicBirthday, birthday, points, location, photoUrl, bannerUrl, lastOnline, biography, viewCount, created, updated);
|
||||
return Objects.hash(id, name, displayName, level, experience, birthday, points, photoUrl, bannerUrl, lastOnline, biography, createdAt, updatedAt);
|
||||
}
|
||||
|
||||
private static <T> int hashCodeNullable(JsonNullable<T> a) {
|
||||
|
|
@ -540,23 +342,18 @@ public class Profile {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class Profile {\n");
|
||||
sb.append(" id: ").append(toIndentedString(id)).append("\n");
|
||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||
sb.append(" name: ").append(toIndentedString(name)).append("\n");
|
||||
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
|
||||
sb.append(" verified: ").append(toIndentedString(verified)).append("\n");
|
||||
sb.append(" level: ").append(toIndentedString(level)).append("\n");
|
||||
sb.append(" experience: ").append(toIndentedString(experience)).append("\n");
|
||||
sb.append(" publicBirthday: ").append(toIndentedString(publicBirthday)).append("\n");
|
||||
sb.append(" birthday: ").append(toIndentedString(birthday)).append("\n");
|
||||
sb.append(" points: ").append(toIndentedString(points)).append("\n");
|
||||
sb.append(" location: ").append(toIndentedString(location)).append("\n");
|
||||
sb.append(" photoUrl: ").append(toIndentedString(photoUrl)).append("\n");
|
||||
sb.append(" bannerUrl: ").append(toIndentedString(bannerUrl)).append("\n");
|
||||
sb.append(" lastOnline: ").append(toIndentedString(lastOnline)).append("\n");
|
||||
sb.append(" biography: ").append(toIndentedString(biography)).append("\n");
|
||||
sb.append(" viewCount: ").append(toIndentedString(viewCount)).append("\n");
|
||||
sb.append(" created: ").append(toIndentedString(created)).append("\n");
|
||||
sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
|
||||
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
|
||||
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
@ -580,23 +377,18 @@ public class Profile {
|
|||
// a set of all properties/fields (JSON key names)
|
||||
openapiFields = new HashSet<String>();
|
||||
openapiFields.add("id");
|
||||
openapiFields.add("uuid");
|
||||
openapiFields.add("name");
|
||||
openapiFields.add("display_name");
|
||||
openapiFields.add("verified");
|
||||
openapiFields.add("level");
|
||||
openapiFields.add("experience");
|
||||
openapiFields.add("public_birthday");
|
||||
openapiFields.add("birthday");
|
||||
openapiFields.add("points");
|
||||
openapiFields.add("location");
|
||||
openapiFields.add("photo_url");
|
||||
openapiFields.add("banner_url");
|
||||
openapiFields.add("last_online");
|
||||
openapiFields.add("biography");
|
||||
openapiFields.add("view_count");
|
||||
openapiFields.add("created");
|
||||
openapiFields.add("updated");
|
||||
openapiFields.add("created_at");
|
||||
openapiFields.add("updated_at");
|
||||
|
||||
// a set of required properties/fields (JSON key names)
|
||||
openapiRequiredFields = new HashSet<String>();
|
||||
|
|
@ -626,18 +418,12 @@ public class Profile {
|
|||
if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString()));
|
||||
}
|
||||
if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString()));
|
||||
}
|
||||
if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString()));
|
||||
}
|
||||
if ((jsonObj.get("display_name") != null && !jsonObj.get("display_name").isJsonNull()) && !jsonObj.get("display_name").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `display_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("display_name").toString()));
|
||||
}
|
||||
if ((jsonObj.get("location") != null && !jsonObj.get("location").isJsonNull()) && !jsonObj.get("location").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `location` to be a primitive type in the JSON string but got `%s`", jsonObj.get("location").toString()));
|
||||
}
|
||||
if ((jsonObj.get("photo_url") != null && !jsonObj.get("photo_url").isJsonNull()) && !jsonObj.get("photo_url").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `photo_url` to be a primitive type in the JSON string but got `%s`", jsonObj.get("photo_url").toString()));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -50,7 +50,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* ProfileGame
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class ProfileGame {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -23,7 +23,6 @@ import com.tribufu.generated.models.GroupRank;
|
|||
import java.io.IOException;
|
||||
import java.time.OffsetDateTime;
|
||||
import java.util.Arrays;
|
||||
import java.util.UUID;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
|
|
@ -52,7 +51,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* ProfileGroup
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class ProfileGroup {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
|
|
@ -62,7 +61,7 @@ public class ProfileGroup {
|
|||
public static final String SERIALIZED_NAME_UUID = "uuid";
|
||||
@SerializedName(SERIALIZED_NAME_UUID)
|
||||
@javax.annotation.Nullable
|
||||
private UUID uuid;
|
||||
private String uuid;
|
||||
|
||||
public static final String SERIALIZED_NAME_NAME = "name";
|
||||
@SerializedName(SERIALIZED_NAME_NAME)
|
||||
|
|
@ -126,7 +125,7 @@ public class ProfileGroup {
|
|||
}
|
||||
|
||||
|
||||
public ProfileGroup uuid(@javax.annotation.Nullable UUID uuid) {
|
||||
public ProfileGroup uuid(@javax.annotation.Nullable String uuid) {
|
||||
this.uuid = uuid;
|
||||
return this;
|
||||
}
|
||||
|
|
@ -136,11 +135,11 @@ public class ProfileGroup {
|
|||
* @return uuid
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public UUID getUuid() {
|
||||
public String getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
public void setUuid(@javax.annotation.Nullable UUID uuid) {
|
||||
public void setUuid(@javax.annotation.Nullable String uuid) {
|
||||
this.uuid = uuid;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -49,7 +49,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* RevokeRequest
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class RevokeRequest {
|
||||
public static final String SERIALIZED_NAME_TOKEN = "token";
|
||||
@SerializedName(SERIALIZED_NAME_TOKEN)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -50,7 +50,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* Search
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class Search {
|
||||
public static final String SERIALIZED_NAME_TYPE = "type";
|
||||
@SerializedName(SERIALIZED_NAME_TYPE)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -48,7 +48,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* ServerMetrics
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class ServerMetrics {
|
||||
public static final String SERIALIZED_NAME_SERVER_COUNT = "server_count";
|
||||
@SerializedName(SERIALIZED_NAME_SERVER_COUNT)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -51,7 +51,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* StorageFile
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class StorageFile {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
|
|
@ -88,15 +88,20 @@ public class StorageFile {
|
|||
@javax.annotation.Nullable
|
||||
private String etag;
|
||||
|
||||
public static final String SERIALIZED_NAME_CREATED = "created";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED)
|
||||
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime created;
|
||||
private OffsetDateTime createdAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_UPDATED = "updated";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED)
|
||||
public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime updated;
|
||||
private OffsetDateTime updatedAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_DELETED_AT = "deleted_at";
|
||||
@SerializedName(SERIALIZED_NAME_DELETED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime deletedAt;
|
||||
|
||||
public StorageFile() {
|
||||
}
|
||||
|
|
@ -234,41 +239,60 @@ public class StorageFile {
|
|||
}
|
||||
|
||||
|
||||
public StorageFile created(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public StorageFile createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get created
|
||||
* @return created
|
||||
* Get createdAt
|
||||
* @return createdAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getCreated() {
|
||||
return created;
|
||||
public OffsetDateTime getCreatedAt() {
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setCreated(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
|
||||
public StorageFile updated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public StorageFile updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get updated
|
||||
* @return updated
|
||||
* Get updatedAt
|
||||
* @return updatedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getUpdated() {
|
||||
return updated;
|
||||
public OffsetDateTime getUpdatedAt() {
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
|
||||
public StorageFile deletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get deletedAt
|
||||
* @return deletedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getDeletedAt() {
|
||||
return deletedAt;
|
||||
}
|
||||
|
||||
public void setDeletedAt(@javax.annotation.Nullable OffsetDateTime deletedAt) {
|
||||
this.deletedAt = deletedAt;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -289,8 +313,9 @@ public class StorageFile {
|
|||
Objects.equals(this.size, storageFile.size) &&
|
||||
Objects.equals(this.hash, storageFile.hash) &&
|
||||
Objects.equals(this.etag, storageFile.etag) &&
|
||||
Objects.equals(this.created, storageFile.created) &&
|
||||
Objects.equals(this.updated, storageFile.updated);
|
||||
Objects.equals(this.createdAt, storageFile.createdAt) &&
|
||||
Objects.equals(this.updatedAt, storageFile.updatedAt) &&
|
||||
Objects.equals(this.deletedAt, storageFile.deletedAt);
|
||||
}
|
||||
|
||||
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
|
||||
|
|
@ -299,7 +324,7 @@ public class StorageFile {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, name, contentType, url, size, hash, etag, created, updated);
|
||||
return Objects.hash(id, name, contentType, url, size, hash, etag, createdAt, updatedAt, deletedAt);
|
||||
}
|
||||
|
||||
private static <T> int hashCodeNullable(JsonNullable<T> a) {
|
||||
|
|
@ -320,8 +345,9 @@ public class StorageFile {
|
|||
sb.append(" size: ").append(toIndentedString(size)).append("\n");
|
||||
sb.append(" hash: ").append(toIndentedString(hash)).append("\n");
|
||||
sb.append(" etag: ").append(toIndentedString(etag)).append("\n");
|
||||
sb.append(" created: ").append(toIndentedString(created)).append("\n");
|
||||
sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
|
||||
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
|
||||
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
|
||||
sb.append(" deletedAt: ").append(toIndentedString(deletedAt)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
@ -351,8 +377,9 @@ public class StorageFile {
|
|||
openapiFields.add("size");
|
||||
openapiFields.add("hash");
|
||||
openapiFields.add("etag");
|
||||
openapiFields.add("created");
|
||||
openapiFields.add("updated");
|
||||
openapiFields.add("created_at");
|
||||
openapiFields.add("updated_at");
|
||||
openapiFields.add("deleted_at");
|
||||
|
||||
// a set of required properties/fields (JSON key names)
|
||||
openapiRequiredFields = new HashSet<String>();
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -50,7 +50,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* TokenRequest
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class TokenRequest {
|
||||
public static final String SERIALIZED_NAME_GRANT_TYPE = "grant_type";
|
||||
@SerializedName(SERIALIZED_NAME_GRANT_TYPE)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -50,7 +50,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* TokenResponse
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class TokenResponse {
|
||||
public static final String SERIALIZED_NAME_TOKEN_TYPE = "token_type";
|
||||
@SerializedName(SERIALIZED_NAME_TOKEN_TYPE)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -49,7 +49,7 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* UpdateProfile
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class UpdateProfile {
|
||||
public static final String SERIALIZED_NAME_DISPLAY_NAME = "display_name";
|
||||
@SerializedName(SERIALIZED_NAME_DISPLAY_NAME)
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
@ -25,7 +25,6 @@ import java.time.OffsetDateTime;
|
|||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import org.openapitools.jackson.nullable.JsonNullable;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
|
|
@ -54,18 +53,13 @@ import com.tribufu.generated.JSON;
|
|||
/**
|
||||
* UserInfo
|
||||
*/
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-12-27T09:52:38.593392400-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2026-06-15T20:18:39.326231700-03:00[America/Sao_Paulo]", comments = "Generator version: 7.12.0")
|
||||
public class UserInfo {
|
||||
public static final String SERIALIZED_NAME_ID = "id";
|
||||
@SerializedName(SERIALIZED_NAME_ID)
|
||||
@javax.annotation.Nullable
|
||||
private String id;
|
||||
|
||||
public static final String SERIALIZED_NAME_UUID = "uuid";
|
||||
@SerializedName(SERIALIZED_NAME_UUID)
|
||||
@javax.annotation.Nullable
|
||||
private UUID uuid;
|
||||
|
||||
public static final String SERIALIZED_NAME_NAME = "name";
|
||||
@SerializedName(SERIALIZED_NAME_NAME)
|
||||
@javax.annotation.Nullable
|
||||
|
|
@ -76,10 +70,10 @@ public class UserInfo {
|
|||
@javax.annotation.Nullable
|
||||
private String displayName;
|
||||
|
||||
public static final String SERIALIZED_NAME_EMAIL = "email";
|
||||
@SerializedName(SERIALIZED_NAME_EMAIL)
|
||||
public static final String SERIALIZED_NAME_EMAIL_ADDRESS = "email_address";
|
||||
@SerializedName(SERIALIZED_NAME_EMAIL_ADDRESS)
|
||||
@javax.annotation.Nullable
|
||||
private String email;
|
||||
private String emailAddress;
|
||||
|
||||
public static final String SERIALIZED_NAME_EMAIL_VERIFIED = "email_verified";
|
||||
@SerializedName(SERIALIZED_NAME_EMAIL_VERIFIED)
|
||||
|
|
@ -116,15 +110,15 @@ public class UserInfo {
|
|||
@javax.annotation.Nullable
|
||||
private List<String> permissions;
|
||||
|
||||
public static final String SERIALIZED_NAME_CREATED = "created";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED)
|
||||
public static final String SERIALIZED_NAME_CREATED_AT = "created_at";
|
||||
@SerializedName(SERIALIZED_NAME_CREATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime created;
|
||||
private OffsetDateTime createdAt;
|
||||
|
||||
public static final String SERIALIZED_NAME_UPDATED = "updated";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED)
|
||||
public static final String SERIALIZED_NAME_UPDATED_AT = "updated_at";
|
||||
@SerializedName(SERIALIZED_NAME_UPDATED_AT)
|
||||
@javax.annotation.Nullable
|
||||
private OffsetDateTime updated;
|
||||
private OffsetDateTime updatedAt;
|
||||
|
||||
public UserInfo() {
|
||||
}
|
||||
|
|
@ -148,25 +142,6 @@ public class UserInfo {
|
|||
}
|
||||
|
||||
|
||||
public UserInfo uuid(@javax.annotation.Nullable UUID uuid) {
|
||||
this.uuid = uuid;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get uuid
|
||||
* @return uuid
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
public void setUuid(@javax.annotation.Nullable UUID uuid) {
|
||||
this.uuid = uuid;
|
||||
}
|
||||
|
||||
|
||||
public UserInfo name(@javax.annotation.Nullable String name) {
|
||||
this.name = name;
|
||||
return this;
|
||||
|
|
@ -205,22 +180,22 @@ public class UserInfo {
|
|||
}
|
||||
|
||||
|
||||
public UserInfo email(@javax.annotation.Nullable String email) {
|
||||
this.email = email;
|
||||
public UserInfo emailAddress(@javax.annotation.Nullable String emailAddress) {
|
||||
this.emailAddress = emailAddress;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get email
|
||||
* @return email
|
||||
* Get emailAddress
|
||||
* @return emailAddress
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public String getEmail() {
|
||||
return email;
|
||||
public String getEmailAddress() {
|
||||
return emailAddress;
|
||||
}
|
||||
|
||||
public void setEmail(@javax.annotation.Nullable String email) {
|
||||
this.email = email;
|
||||
public void setEmailAddress(@javax.annotation.Nullable String emailAddress) {
|
||||
this.emailAddress = emailAddress;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -365,41 +340,41 @@ public class UserInfo {
|
|||
}
|
||||
|
||||
|
||||
public UserInfo created(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public UserInfo createdAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get created
|
||||
* @return created
|
||||
* Get createdAt
|
||||
* @return createdAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getCreated() {
|
||||
return created;
|
||||
public OffsetDateTime getCreatedAt() {
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setCreated(@javax.annotation.Nullable OffsetDateTime created) {
|
||||
this.created = created;
|
||||
public void setCreatedAt(@javax.annotation.Nullable OffsetDateTime createdAt) {
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
|
||||
public UserInfo updated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public UserInfo updatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get updated
|
||||
* @return updated
|
||||
* Get updatedAt
|
||||
* @return updatedAt
|
||||
*/
|
||||
@javax.annotation.Nullable
|
||||
public OffsetDateTime getUpdated() {
|
||||
return updated;
|
||||
public OffsetDateTime getUpdatedAt() {
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
public void setUpdated(@javax.annotation.Nullable OffsetDateTime updated) {
|
||||
this.updated = updated;
|
||||
public void setUpdatedAt(@javax.annotation.Nullable OffsetDateTime updatedAt) {
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -414,10 +389,9 @@ public class UserInfo {
|
|||
}
|
||||
UserInfo userInfo = (UserInfo) o;
|
||||
return Objects.equals(this.id, userInfo.id) &&
|
||||
Objects.equals(this.uuid, userInfo.uuid) &&
|
||||
Objects.equals(this.name, userInfo.name) &&
|
||||
Objects.equals(this.displayName, userInfo.displayName) &&
|
||||
Objects.equals(this.email, userInfo.email) &&
|
||||
Objects.equals(this.emailAddress, userInfo.emailAddress) &&
|
||||
Objects.equals(this.emailVerified, userInfo.emailVerified) &&
|
||||
Objects.equals(this.type, userInfo.type) &&
|
||||
Objects.equals(this.language, userInfo.language) &&
|
||||
|
|
@ -425,8 +399,8 @@ public class UserInfo {
|
|||
Objects.equals(this.currency, userInfo.currency) &&
|
||||
Objects.equals(this.photoUrl, userInfo.photoUrl) &&
|
||||
Objects.equals(this.permissions, userInfo.permissions) &&
|
||||
Objects.equals(this.created, userInfo.created) &&
|
||||
Objects.equals(this.updated, userInfo.updated);
|
||||
Objects.equals(this.createdAt, userInfo.createdAt) &&
|
||||
Objects.equals(this.updatedAt, userInfo.updatedAt);
|
||||
}
|
||||
|
||||
private static <T> boolean equalsNullable(JsonNullable<T> a, JsonNullable<T> b) {
|
||||
|
|
@ -435,7 +409,7 @@ public class UserInfo {
|
|||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(id, uuid, name, displayName, email, emailVerified, type, language, timezone, currency, photoUrl, permissions, created, updated);
|
||||
return Objects.hash(id, name, displayName, emailAddress, emailVerified, type, language, timezone, currency, photoUrl, permissions, createdAt, updatedAt);
|
||||
}
|
||||
|
||||
private static <T> int hashCodeNullable(JsonNullable<T> a) {
|
||||
|
|
@ -450,10 +424,9 @@ public class UserInfo {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class UserInfo {\n");
|
||||
sb.append(" id: ").append(toIndentedString(id)).append("\n");
|
||||
sb.append(" uuid: ").append(toIndentedString(uuid)).append("\n");
|
||||
sb.append(" name: ").append(toIndentedString(name)).append("\n");
|
||||
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
|
||||
sb.append(" email: ").append(toIndentedString(email)).append("\n");
|
||||
sb.append(" emailAddress: ").append(toIndentedString(emailAddress)).append("\n");
|
||||
sb.append(" emailVerified: ").append(toIndentedString(emailVerified)).append("\n");
|
||||
sb.append(" type: ").append(toIndentedString(type)).append("\n");
|
||||
sb.append(" language: ").append(toIndentedString(language)).append("\n");
|
||||
|
|
@ -461,8 +434,8 @@ public class UserInfo {
|
|||
sb.append(" currency: ").append(toIndentedString(currency)).append("\n");
|
||||
sb.append(" photoUrl: ").append(toIndentedString(photoUrl)).append("\n");
|
||||
sb.append(" permissions: ").append(toIndentedString(permissions)).append("\n");
|
||||
sb.append(" created: ").append(toIndentedString(created)).append("\n");
|
||||
sb.append(" updated: ").append(toIndentedString(updated)).append("\n");
|
||||
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
|
||||
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
|
@ -486,10 +459,9 @@ public class UserInfo {
|
|||
// a set of all properties/fields (JSON key names)
|
||||
openapiFields = new HashSet<String>();
|
||||
openapiFields.add("id");
|
||||
openapiFields.add("uuid");
|
||||
openapiFields.add("name");
|
||||
openapiFields.add("display_name");
|
||||
openapiFields.add("email");
|
||||
openapiFields.add("email_address");
|
||||
openapiFields.add("email_verified");
|
||||
openapiFields.add("type");
|
||||
openapiFields.add("language");
|
||||
|
|
@ -497,8 +469,8 @@ public class UserInfo {
|
|||
openapiFields.add("currency");
|
||||
openapiFields.add("photo_url");
|
||||
openapiFields.add("permissions");
|
||||
openapiFields.add("created");
|
||||
openapiFields.add("updated");
|
||||
openapiFields.add("created_at");
|
||||
openapiFields.add("updated_at");
|
||||
|
||||
// a set of required properties/fields (JSON key names)
|
||||
openapiRequiredFields = new HashSet<String>();
|
||||
|
|
@ -536,17 +508,14 @@ public class UserInfo {
|
|||
if ((jsonObj.get("id") != null && !jsonObj.get("id").isJsonNull()) && !jsonObj.get("id").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("id").toString()));
|
||||
}
|
||||
if ((jsonObj.get("uuid") != null && !jsonObj.get("uuid").isJsonNull()) && !jsonObj.get("uuid").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `uuid` to be a primitive type in the JSON string but got `%s`", jsonObj.get("uuid").toString()));
|
||||
}
|
||||
if ((jsonObj.get("name") != null && !jsonObj.get("name").isJsonNull()) && !jsonObj.get("name").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("name").toString()));
|
||||
}
|
||||
if ((jsonObj.get("display_name") != null && !jsonObj.get("display_name").isJsonNull()) && !jsonObj.get("display_name").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `display_name` to be a primitive type in the JSON string but got `%s`", jsonObj.get("display_name").toString()));
|
||||
}
|
||||
if ((jsonObj.get("email") != null && !jsonObj.get("email").isJsonNull()) && !jsonObj.get("email").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `email` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email").toString()));
|
||||
if ((jsonObj.get("email_address") != null && !jsonObj.get("email_address").isJsonNull()) && !jsonObj.get("email_address").isJsonPrimitive()) {
|
||||
throw new IllegalArgumentException(String.format("Expected the field `email_address` to be a primitive type in the JSON string but got `%s`", jsonObj.get("email_address").toString()));
|
||||
}
|
||||
// validate the optional field `type`
|
||||
if (jsonObj.get("type") != null && !jsonObj.get("type").isJsonNull()) {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* Tribufu API
|
||||
* API to access Tribufu services.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.3.0
|
||||
* The version of the OpenAPI document: 1.4.3
|
||||
* Contact: contact@tribufu.com
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue