/* 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'; /** * Forgot Password Pin enter request body DTO. * @export * @interface ForgotPasswordPinDto */ export interface ForgotPasswordPinDto { /** * Gets or sets the entered pin to have the password reset. * @type {string} * @memberof ForgotPasswordPinDto */ pin: string; } /** * Check if a given object implements the ForgotPasswordPinDto interface. */ export function instanceOfForgotPasswordPinDto(value: object): boolean { let isInstance = true; isInstance = isInstance && "pin" in value; return isInstance; } export function ForgotPasswordPinDtoFromJSON(json: any): ForgotPasswordPinDto { return ForgotPasswordPinDtoFromJSONTyped(json, false); } export function ForgotPasswordPinDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForgotPasswordPinDto { if ((json === undefined) || (json === null)) { return json; } return { 'pin': json['Pin'], }; } export function ForgotPasswordPinDtoToJSON(value?: ForgotPasswordPinDto | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'Pin': value.pin, }; }