13 lines
499 B
C#
13 lines
499 B
C#
using System.Net;
|
|
using YandexMusic.API.Models.Queue;
|
|
|
|
namespace YandexMusic.API.Requests.Queue;
|
|
|
|
internal class YGetQueueBuilder : YMusicRequestBuilder<YQueue?, string>
|
|
{
|
|
public YGetQueueBuilder(YandexMusicApi api) : base(api) { }
|
|
protected override string Method => WebRequestMethods.Http.Get;
|
|
protected override string PathTemplate => "queues/{queueId}";
|
|
protected override Dictionary<string, string> GetSubstitutions(string queueId)
|
|
=> new() { { "queueId", queueId } };
|
|
} |