/* 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 ForgotPasswordResetRequest
 */
export interface ForgotPasswordResetRequest {
    /**
     * 
     * @type {string}
     * @memberof ForgotPasswordResetRequest
     */
    resetToken?: string | null;
    /**
     * 
     * @type {string}
     * @memberof ForgotPasswordResetRequest
     */
    newPassword?: string | null;
}

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

export function ForgotPasswordResetRequestFromJSON(json: any): ForgotPasswordResetRequest {
    return ForgotPasswordResetRequestFromJSONTyped(json, false);
}

export function ForgotPasswordResetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForgotPasswordResetRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'resetToken': json['resetToken'] == null ? undefined : json['resetToken'],
        'newPassword': json['newPassword'] == null ? undefined : json['newPassword'],
    };
}

export function ForgotPasswordResetRequestToJSON(json: any): ForgotPasswordResetRequest {
    return ForgotPasswordResetRequestToJSONTyped(json, false);
}

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

    return {
        
        'resetToken': value['resetToken'],
        'newPassword': value['newPassword'],
    };
}

