2020-05-03 12:11:53 +01:00
|
|
|
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>
|
2020-05-03 12:11:53 +01:00
|
|
|
[BodyParam("name")]
|
2020-05-25 17:00:38 +01:00
|
|
|
public string? Name { get; set; }
|
2020-05-03 12:11:53 +01:00
|
|
|
|
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>
|
2020-05-03 12:11:53 +01:00
|
|
|
[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>
|
2020-05-03 12:11:53 +01:00
|
|
|
[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>
|
2020-05-03 12:11:53 +01:00
|
|
|
[BodyParam("description")]
|
2020-05-25 17:00:38 +01:00
|
|
|
public string? Description { get; set; }
|
2020-05-03 12:11:53 +01:00
|
|
|
}
|
|
|
|
}
|
2020-05-25 17:00:38 +01:00
|
|
|
|