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