mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-10-17 07:23:08 +01:00
29 lines
600 B
C#
29 lines
600 B
C#
using System.Globalization;
|
|
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? TimestampFormatted
|
|
{
|
|
get => Timestamp?.ToString("o", CultureInfo.InvariantCulture);
|
|
}
|
|
}
|
|
}
|
|
|