using System.Collections.Generic; using Newtonsoft.Json; namespace SpotifyAPI.Web { public class PlayerResumePlaybackRequest : RequestParams { /// /// The id of the device this command is targeting. If not supplied, the user’s currently active device is the target. /// /// [QueryParam("device_id")] public string? DeviceId { get; set; } /// /// Undocumented by Spotify Beta Docs /// /// [BodyParam("context_uri")] public string? ContextUri { get; set; } /// /// Undocumented by Spotify Beta Docs /// /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227")] [BodyParam("uris")] public IList? Uris { get; set; } /// /// Undocumented by Spotify Beta Docs /// /// [BodyParam("offset")] public Offset? OffsetParam { get; set; } /// /// Undocumented by Spotify Beta Docs /// /// [BodyParam("position_ms")] public int? PositionMs { get; set; } public class Offset { /// /// Undocumented by Spotify Beta Docs /// /// [JsonProperty("uri", NullValueHandling = NullValueHandling.Ignore)] public string? Uri { get; set; } /// /// Undocumented by Spotify Beta Docs /// /// [JsonProperty("position", NullValueHandling = NullValueHandling.Ignore)] public int? Position { get; set; } } } }