Files
plexcsharp/PlexAPI/Models/Requests/CreatePlaylistRequest.cs

48 lines
1.6 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
//
// Changes to this file may cause incorrect behavior and will be lost when
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
#nullable enable
namespace PlexAPI.Models.Requests
{
using PlexAPI.Utils;
public class CreatePlaylistRequest
{
/// <summary>
/// name of the playlist
/// </summary>
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=title")]
public string Title { get; set; } = default!;
/// <summary>
/// type of playlist to create
/// </summary>
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=type")]
public Type Type { get; set; } = default!;
/// <summary>
/// whether the playlist is smart or not
/// </summary>
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=smart")]
public Smart Smart { get; set; } = default!;
/// <summary>
/// the content URI for the playlist
/// </summary>
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=uri")]
public string? Uri { get; set; }
/// <summary>
/// the play queue to copy to a playlist
/// </summary>
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=playQueueID")]
public double? PlayQueueID { get; set; }
}
}