mirror of
https://github.com/LukeHagar/plexcsharp.git
synced 2025-12-06 20:47:49 +00:00
53 lines
1.8 KiB
C#
53 lines
1.8 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 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.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
#nullable enable
|
|
namespace LukeHagar.PlexAPI.SDK.Models.Requests
|
|
{
|
|
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
|
using LukeHagar.PlexAPI.SDK.Utils;
|
|
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Concurrent;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
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 CreatePlaylistQueryParamType 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; } = default!;
|
|
|
|
/// <summary>
|
|
/// the play queue to copy to a playlist
|
|
/// </summary>
|
|
[SpeakeasyMetadata("queryParam:style=form,explode=true,name=playQueueID")]
|
|
public double? PlayQueueID { get; set; }
|
|
}
|
|
} |