Spotify.NET/SpotifyAPI.Web/Models/Request/PlayerRecentlyPlayedRequest.cs
2020-05-30 23:32:06 +02:00

30 lines
896 B
C#

namespace SpotifyAPI.Web
{
public class PlayerRecentlyPlayedRequest : RequestParams
{
/// <summary>
/// The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.
/// </summary>
/// <value></value>
[QueryParam("limit")]
public int? Limit { get; set; }
/// <summary>
/// A Unix timestamp in milliseconds. Returns all items after (but not including) this cursor position.
/// If after is specified, before must not be specified.
/// </summary>
/// <value></value>
[QueryParam("after")]
public long? After { get; set; }
/// <summary>
/// A Unix timestamp in milliseconds. Returns all items before (but not including) this cursor position.
/// If before is specified, after must not be specified.
/// </summary>
/// <value></value>
[QueryParam("before")]
public long? Before { get; set; }
}
}