All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hirez.realm.object.Leaderboard Maven / Gradle / Ivy

The newest version!
package hirez.realm.object;

import com.fasterxml.jackson.annotation.JsonProperty;
import hirez.api.object.adapters.DateTimeFormat;
import hirez.api.object.interfaces.ReturnedMessage;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Leaderboard implements ReturnedMessage {
    @DateTimeFormat("yyyy-MM-dd'T'HH:mm:ss.SSS")
    private final Date lastUpdated;
    @JsonProperty("leaderboard_details")
    private final List leaderboardDetails;
    private final String queue;
    private final int queueId;
    @JsonProperty("ret_msg")
    private final String returnedMessage;

    @Data
    public static class Detail {
        private final int matches;
        private final long playerId;
        private final String playerName;
        private final int rank;
        private final double teamAvgPlacement;
        private final int teamWins;
        private final double winPercentage;

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy