-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/feature/#1775-show-all-search-re…
…sults' into feature/#1775-show-all-search-results
- Loading branch information
Showing
21 changed files
with
547 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/main/java/com/faforever/client/api/dto/GlobalRatingWithRank.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.faforever.client.api.dto; | ||
|
||
import com.github.jasminb.jsonapi.annotations.Id; | ||
import com.github.jasminb.jsonapi.annotations.Relationship; | ||
import com.github.jasminb.jsonapi.annotations.Type; | ||
import lombok.Data; | ||
|
||
@Data | ||
@Type("globalRatingWithRank") | ||
public class GlobalRatingWithRank { | ||
@Id | ||
private String id; | ||
private double mean; | ||
private double deviation; | ||
private double rating; | ||
private int rank; | ||
|
||
@Relationship("player") | ||
private Player player; | ||
|
||
} |
20 changes: 20 additions & 0 deletions
20
src/main/java/com/faforever/client/api/dto/Ladder1v1RatingWithRank.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.faforever.client.api.dto; | ||
|
||
import com.github.jasminb.jsonapi.annotations.Id; | ||
import com.github.jasminb.jsonapi.annotations.Relationship; | ||
import com.github.jasminb.jsonapi.annotations.Type; | ||
import lombok.Data; | ||
|
||
@Data | ||
@Type("Ladder1v1RatingWithRank") | ||
public class Ladder1v1RatingWithRank { | ||
@Id | ||
private String id; | ||
private double mean; | ||
private double deviation; | ||
private double rating; | ||
private int rank; | ||
|
||
@Relationship("player") | ||
private Player player; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.