/* 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 request body DTO. * @export * @interface ForgotPasswordRequest */ export interface ForgotPasswordRequest { /** * Gets or sets the entered username to have its password reset. * @type {string} * @memberof ForgotPasswordRequest */ enteredUsername: string; } /** * Check if a given object implements the ForgotPasswordRequest interface. */ export function instanceOfForgotPasswordRequest(value: object): boolean { let isInstance = true; isInstance = isInstance && "enteredUsername" in value; return isInstance; } export function ForgotPasswordRequestFromJSON(json: any): ForgotPasswordRequest { return ForgotPasswordRequestFromJSONTyped(json, false); } export function ForgotPasswordRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForgotPasswordRequest { if ((json === undefined) || (json === null)) { return json; } return { 'enteredUsername': json['EnteredUsername'], }; } export function ForgotPasswordRequestToJSON(value?: ForgotPasswordRequest | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'EnteredUsername': value.enteredUsername, }; }