using System.Threading;
using System.Threading.Tasks;
namespace SpotifyAPI.Web
{
///
/// Endpoints for retrieving information about one or more episodes from the Spotify catalog.
///
public interface IEpisodesClient
{
///
/// Get Spotify catalog information for a single episode identified by its unique Spotify ID.
///
/// The Spotify ID for the episode.
/// The cancellation-token to allow to cancel the request.
///
/// https://developer.spotify.com/documentation/web-api/reference-beta/#endpoint-get-an-episode
///
///
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
Task Get(string episodeId, CancellationToken cancel = default);
///
/// Get Spotify catalog information for a single episode identified by its unique Spotify ID.
///
/// The Spotify ID for the episode.
/// The request-model which contains required and optional parameters.
/// The cancellation-token to allow to cancel the request.
///
/// https://developer.spotify.com/documentation/web-api/reference-beta/#endpoint-get-an-episode
///
///
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716")]
Task Get(string episodeId, EpisodeRequest request, CancellationToken cancel = default);
///
/// Get Spotify catalog information for several episodes based on their Spotify IDs.
///
/// The request-model which contains required and optional parameters.
/// The cancellation-token to allow to cancel the request.
///
/// https://developer.spotify.com/documentation/web-api/reference-beta/#endpoint-get-multiple-episodes
///
///
Task GetSeveral(EpisodesRequest request, CancellationToken cancel = default);
}
}