/* 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 ForgotPasswordPinRequest */ export interface ForgotPasswordPinRequest { /** * Gets or sets the entered pin to have the password reset. * @type {string} * @memberof ForgotPasswordPinRequest */ pin: string; } /** * Check if a given object implements the ForgotPasswordPinRequest interface. */ export function instanceOfForgotPasswordPinRequest(value: object): boolean { let isInstance = true; isInstance = isInstance && "pin" in value; return isInstance; } export function ForgotPasswordPinRequestFromJSON(json: any): ForgotPasswordPinRequest { return ForgotPasswordPinRequestFromJSONTyped(json, false); } export function ForgotPasswordPinRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForgotPasswordPinRequest { if ((json === undefined) || (json === null)) { return json; } return { 'pin': json['Pin'], }; } export function ForgotPasswordPinRequestToJSON(value?: ForgotPasswordPinRequest | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'Pin': value.pin, }; }