Removed custom IGDB Dto (not needed any more)

This commit is contained in:
Simon Grimme
2022-07-15 10:52:34 +02:00
parent f46f82d4f3
commit f321088636
2 changed files with 1 additions and 46 deletions
@@ -25,7 +25,7 @@ public class WebClientConfig implements WebClientCustomizer {
}
/**
* This fixes the wrong Content-Type in reponses of the IGDB API by overwriting it so the WebClient is able to parse it automatically
* This fixes the wrong Content-Type in responses of the IGDB API by overwriting it so the WebClient is able to parse it automatically
* They return "application/protobuf", correct would be "application/x-protobuf"
* @return the filter function
*/
@@ -1,45 +0,0 @@
package de.grimsi.gameyfin.igdb.dto;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.Instant;
import java.util.List;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class IgdbGame {
private Long id;
private List<Long> alternativeNames;
private Long category;
private Long cover;
private Instant createdAt;
private List<Long> externalGames;
private Instant firstReleaseDate;
private Long follows;
private List<Long> gameModes;
private List<Long> genres;
private Long hypes;
private List<Long> involvedCompanies;
private List<Long> keywords;
private List<Long> multiplayerModes;
private String name;
private List<Long> platforms;
private List<Long> playerPerspectives;
private Float rating;
private Long ratingCount;
private List<Long> releaseDates;
private List<Long> screenshots;
private List<Long> similiarGames;
private String slug;
private String storyline;
private String summary;
private List<Long> tags;
}