/* 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 PasswordResetTemplateResponse
 */
export interface PasswordResetTemplateResponse {
    /**
     * 
     * @type {string}
     * @memberof PasswordResetTemplateResponse
     */
    subject?: string | null;
    /**
     * 
     * @type {string}
     * @memberof PasswordResetTemplateResponse
     */
    bodyTemplate?: string | null;
}

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

export function PasswordResetTemplateResponseFromJSON(json: any): PasswordResetTemplateResponse {
    return PasswordResetTemplateResponseFromJSONTyped(json, false);
}

export function PasswordResetTemplateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordResetTemplateResponse {
    if (json == null) {
        return json;
    }
    return {
        
        'subject': json['subject'] == null ? undefined : json['subject'],
        'bodyTemplate': json['bodyTemplate'] == null ? undefined : json['bodyTemplate'],
    };
}

export function PasswordResetTemplateResponseToJSON(json: any): PasswordResetTemplateResponse {
    return PasswordResetTemplateResponseToJSONTyped(json, false);
}

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

    return {
        
        'subject': value['subject'],
        'bodyTemplate': value['bodyTemplate'],
    };
}

