<commit_before>/* 
 * Copyright (C) 2015 <NAME>
 * All rights reserved.
 *
 * This software may be modified and distributed under the terms
 * of the BSD license.  See the LICENSE file for details.
 */
package api.web.gw2.mapping.v2.pvp.games;

import api.web.gw2.mapping.core.IdValue;
import api.web.gw2.mapping.v2.APIv2;
import api.web.gw2.mapping.v2.characters.CharacterProfession;
import java.time.LocalDateTime;
import java.util.Map;

/**
 * Defines a PvP game.
 * @author <NAME>
 */
@APIv2(endpoint = "v2/pvp/games", requiresAuthentication = true, scope = "pvp") // NOI18N.
public interface Game {

    /**
     * Gets the id of this game.
     * @return An {@code int}.
     */
    @IdValue
    int getId();

    /**
     * Gets the map id of this game.
     * @return An {@code int}.
     */
    @IdValue
    int getMapId();

    /**
     * Gets the time on which the game has started.
     * @return A {@code LocalDateTime} instance, never {@code null}.
     */
    LocalDateTime getStarted();

    /**
     * Gets the time on which the game has ended.
     * @return A {@code LocalDateTime} instance, never {@code null}.
     */
    LocalDateTime getEnded();

    /**
     * Gets the result of the game.
     * @return A {@code GameResult} instance, never {@code null}.
     */<commit_msg>Added support for date values. Dates are now TimedDateTime instead of LocalDateTime instances.<commit_after>/* 
 * Copyright (C) 2015 <NAME>
 * All rights reserved.
 *
 * This software may be modified and distributed under the terms
 * of the BSD license.  See the LICENSE file for details.
 */
package api.web.gw2.mapping.v2.pvp.games;

import api.web.gw2.mapping.core.DateValue;
import api.web.gw2.mapping.core.IdValue;
import api.web.gw2.mapping.v2.APIv2;
import api.web.gw2.mapping.v2.characters.CharacterProfession;
import java.time.ZonedDateTime;
import java.util.Map;

/**
 * Defines a PvP game.
 * @author <NAME>
 */
@APIv2(endpoint = "v2/pvp/games", requiresAuthentication = true, scope = "pvp") // NOI18N.
public interface Game {

    /**
     * Gets the id of this game.
     * @return An {@code int}.
     */
    @IdValue
    int getId();

    /**
     * Gets the map id of this game.
     * @return An {@code int}.
     */
    @IdValue
    int getMapId();

    /**
     * Gets the time on which the game has started.
     * @return A {@code ZonedDateTime} instance, never {@code null}.
     */
    @DateValue
    ZonedDateTime getStarted();

    /**
     * Gets the time on which the game has ended.
     * @return A {@code ZonedDateTime} instance, never {@code null}.
     */
    @DateValue
    ZonedDateTime getEnded();

    /**
     * Gets the result of the game.
     * @return A {@code GameResult} instance, never {@code null}.
     */
{'fraction_non_alphanumeric': 0.12790697674418605, 'fraction_numerical': 0.011991279069767442, 'mean_word_length': 2.6128608923884515, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1207461', 'n_tokens_mistral': 904, 'n_tokens_neox': 875, 'n_words': 286}