mirror of
https://github.com/Tribufu/TribufuJava
synced 2026-08-17 16:41:07 +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).
|
||||
|
|
@ -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>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue