/* 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 ForgotPasswordVerifyRequest */ export interface ForgotPasswordVerifyRequest { /** * * @type {string} * @memberof ForgotPasswordVerifyRequest */ username?: string | null; /** * * @type {string} * @memberof ForgotPasswordVerifyRequest */ pin?: string | null; } /** * Check if a given object implements the ForgotPasswordVerifyRequest interface. */ export function instanceOfForgotPasswordVerifyRequest(value: object): value is ForgotPasswordVerifyRequest { return true; } export function ForgotPasswordVerifyRequestFromJSON(json: any): ForgotPasswordVerifyRequest { return ForgotPasswordVerifyRequestFromJSONTyped(json, false); } export function ForgotPasswordVerifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForgotPasswordVerifyRequest { if (json == null) { return json; } return { 'username': json['username'] == null ? undefined : json['username'], 'pin': json['pin'] == null ? undefined : json['pin'], }; } export function ForgotPasswordVerifyRequestToJSON(json: any): ForgotPasswordVerifyRequest { return ForgotPasswordVerifyRequestToJSONTyped(json, false); } export function ForgotPasswordVerifyRequestToJSONTyped(value?: ForgotPasswordVerifyRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'username': value['username'], 'pin': value['pin'], }; }