Spotify.NET/SpotifyAPI.Web/Models/Request/FeaturedPlaylistsRequest.cs
2020-05-02 14:58:11 +02:00

23 lines
526 B
C#

using System;
namespace SpotifyAPI.Web
{
public class FeaturedPlaylistsRequest : RequestParams
{
[QueryParam("country")]
public string Country { get; set; }
[QueryParam("locale")]
public string Locale { get; set; }
[QueryParam("limit")]
public int? Limit { get; set; }
[QueryParam("offset")]
public int? Offset { get; set; }
public DateTime? Timestamp { get; set; }
[QueryParam("timestamp")]
protected string _Timestamp
{
get => Timestamp?.ToString("o");
}
}
}