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

com.sportradar.unifiedodds.sdk.caching.SportCI Maven / Gradle / Ivy

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

package com.sportradar.unifiedodds.sdk.caching;

import com.sportradar.utils.URN;

import java.util.List;

/**
 * Defines methods used to access cached sports data
 */
public interface SportCI extends CacheItem {
    /**
     * Returns a {@link List} specifying the id's of associated categories
     *
     * @return a {@link List} specifying the id's of associated categories
     */
    List getCategoryIds();

    /**
     * Returns if categories should be fetched
     *
     * @return if categories should be fetched
     */
    boolean getShouldFetchCategories();

    /**
     * Clears ShouldFetchCategories flag
     */
    void categoriesFetched();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy