/* tslint:disable */
/* eslint-disable */
/**
 * Jellyfin API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 10.8.9
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { exists, mapValues } from '../runtime';
/**
 * Class NextItemRequestDto.
 * @export
 * @interface NextItemRequestDto
 */
export interface NextItemRequestDto {
    /**
     * Gets or sets the playing item identifier.
     * @type {string}
     * @memberof NextItemRequestDto
     */
    playlistItemId?: string;
}

/**
 * Check if a given object implements the NextItemRequestDto interface.
 */
export function instanceOfNextItemRequestDto(value: object): boolean {
    let isInstance = true;

    return isInstance;
}

export function NextItemRequestDtoFromJSON(json: any): NextItemRequestDto {
    return NextItemRequestDtoFromJSONTyped(json, false);
}

export function NextItemRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): NextItemRequestDto {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'playlistItemId': !exists(json, 'PlaylistItemId') ? undefined : json['PlaylistItemId'],
    };
}

export function NextItemRequestDtoToJSON(value?: NextItemRequestDto | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'PlaylistItemId': value.playlistItemId,
    };
}

