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

com.sportradar.unifiedodds.sdk.entities.status.PeriodStatistics Maven / Gradle / Ivy

/*
 * Copyright (C) Sportradar AG. See LICENSE for full license governing this code
 */

package com.sportradar.unifiedodds.sdk.entities.status;

import java.util.List;

/**
 * Defines methods used to access specific period statistics
 */
public interface PeriodStatistics {
    /**
     * Returns the name of the round to which the statistics belong to
     *
     * @return the name of the round to which the statistics belong to
     */
    String getPeriodName();

    /**
     * Returns a list of specific team statistics related to the round indicated by the {@link #getPeriodName()}
     *
     * @return a list of specific team statistics related to the associated round
     *
     * @deprecated with version 2.0.1, use {@link #getTeamStatistics()} instead
     */
    @Deprecated
    List getTeamStatisticDTOS();

    /**
     * Returns a list of specific team statistics related to the round indicated by the {@link #getPeriodName()}
     *
     * @return a list of specific team statistics related to the associated round
     *
     * @since 2.0.1
     */
    List getTeamStatistics();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy