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

import { mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface ForgotPasswordRequestRequest
 */
export interface ForgotPasswordRequestRequest {
    /**
     * 
     * @type {string}
     * @memberof ForgotPasswordRequestRequest
     */
    username?: string | null;
}

/**
 * Check if a given object implements the ForgotPasswordRequestRequest interface.
 */
export function instanceOfForgotPasswordRequestRequest(value: object): value is ForgotPasswordRequestRequest {
    return true;
}

export function ForgotPasswordRequestRequestFromJSON(json: any): ForgotPasswordRequestRequest {
    return ForgotPasswordRequestRequestFromJSONTyped(json, false);
}

export function ForgotPasswordRequestRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForgotPasswordRequestRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'username': json['username'] == null ? undefined : json['username'],
    };
}

export function ForgotPasswordRequestRequestToJSON(json: any): ForgotPasswordRequestRequest {
    return ForgotPasswordRequestRequestToJSONTyped(json, false);
}

export function ForgotPasswordRequestRequestToJSONTyped(value?: ForgotPasswordRequestRequest | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
        'username': value['username'],
    };
}

