Spotify.NET/SpotifyAPI.Web/Models/Request/PlaylistChangeDetailsRequest.cs

36 lines
1.1 KiB
C#
Raw Normal View History

namespace SpotifyAPI.Web
{
public class PlaylistChangeDetailsRequest : RequestParams
{
2020-05-30 23:11:05 +01:00
/// <summary>
/// The new name for the playlist, for example "My New Playlist Title"
/// </summary>
/// <value></value>
[BodyParam("name")]
2020-05-25 17:00:38 +01:00
public string? Name { get; set; }
2020-05-30 23:11:05 +01:00
/// <summary>
/// If true the playlist will be public, if false it will be private.
/// </summary>
/// <value></value>
[BodyParam("public")]
public bool? Public { get; set; }
2020-05-30 23:11:05 +01:00
/// <summary>
/// If true , the playlist will become collaborative and other users will be able to modify the
/// playlist in their Spotify client. Note: You can only set collaborative to true on non-public playlists.
/// </summary>
/// <value></value>
[BodyParam("collaborative")]
public bool? Collaborative { get; set; }
2020-05-30 23:11:05 +01:00
/// <summary>
/// Value for playlist description as displayed in Spotify Clients and in the Web API.
/// </summary>
/// <value></value>
[BodyParam("description")]
2020-05-25 17:00:38 +01:00
public string? Description { get; set; }
}
}
2020-05-25 17:00:38 +01:00