UNPKG

@jellyfin/sdk

Version:
56 lines (55 loc) 1.51 kB
/** * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * Do not edit the class manually. * * Jellyfin API * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import type { MediaType } from './media-type'; import type { PlaylistUserPermissions } from './playlist-user-permissions'; /** * Create new playlist dto. * @export * @interface CreatePlaylistDto */ export interface CreatePlaylistDto { /** * Gets or sets the name of the new playlist. * @type {string} * @memberof CreatePlaylistDto */ 'Name'?: string; /** * Gets or sets item ids to add to the playlist. * @type {Array<string>} * @memberof CreatePlaylistDto */ 'Ids'?: Array<string>; /** * Gets or sets the user id. * @type {string} * @memberof CreatePlaylistDto */ 'UserId'?: string | null; /** * * @type {MediaType} * @memberof CreatePlaylistDto */ 'MediaType'?: MediaType; /** * Gets or sets the playlist users. * @type {Array<PlaylistUserPermissions>} * @memberof CreatePlaylistDto */ 'Users'?: Array<PlaylistUserPermissions>; /** * Gets or sets a value indicating whether the playlist is public. * @type {boolean} * @memberof CreatePlaylistDto */ 'IsPublic'?: boolean; }