Repository navigation
Expand file tree
/
Copy pathPlayerResumePlaybackRequest.cs
More file actions
62 lines (54 loc) · 1.65 KB
/
Copy pathPlayerResumePlaybackRequest.cs
File metadata and controls
62 lines (54 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
using System.Collections.Generic;
using Newtonsoft.Json;
namespace SpotifyAPI.Web
{
public class PlayerResumePlaybackRequest : RequestParams
{
/// <summary>
/// The id of the device this command is targeting. If not supplied, the user’s currently active device is the target.
/// </summary>
/// <value></value>
[QueryParam("device_id")]
public string? DeviceId { get; set; }
/// <summary>
/// Undocumented by Spotify Beta Docs
/// </summary>
/// <value></value>
[BodyParam("context_uri")]
public string? ContextUri { get; set; }
/// <summary>
/// Undocumented by Spotify Beta Docs
/// </summary>
/// <value></value>
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227")]
[BodyParam("uris")]
public IList<string>? Uris { get; set; }
/// <summary>
/// Undocumented by Spotify Beta Docs
/// </summary>
/// <value></value>
[BodyParam("offset")]
public Offset? OffsetParam { get; set; }
/// <summary>
/// Undocumented by Spotify Beta Docs
/// </summary>
/// <value></value>
[BodyParam("position_ms")]
public int? PositionMs { get; set; }
public class Offset
{
/// <summary>
/// Undocumented by Spotify Beta Docs
/// </summary>
/// <value></value>
[JsonProperty("uri", NullValueHandling = NullValueHandling.Ignore)]
public string? Uri { get; set; }
/// <summary>
/// Undocumented by Spotify Beta Docs
/// </summary>
/// <value></value>
[JsonProperty("position", NullValueHandling = NullValueHandling.Ignore)]
public int? Position { get; set; }
}
}
}