//------------------------------------------------------------------------------ // // This code was generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. // // Changes to this file may cause incorrect behavior and will be lost when // the code is regenerated. // //------------------------------------------------------------------------------ #nullable enable namespace PlexAPI.Models.Requests { using PlexAPI.Models.Requests; using PlexAPI.Utils; public class GetPlaylistContentsRequest { /// /// the ID of the playlist /// [SpeakeasyMetadata("pathParam:style=simple,explode=false,name=playlistID")] public double PlaylistID { get; set; } = default!; /// /// The type of media to retrieve.
/// /// /// 1 = movie
/// 2 = show
/// 3 = season
/// 4 = episode
/// E.g. A movie library will not return anything with type 3 as there are no seasons for movie libraries
/// ///
///
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=type")] public GetPlaylistContentsQueryParamType Type { get; set; } = default!; } }