/* tslint:disable */ /* eslint-disable */ /** * Mubicon v1 API * Api with Swagger, Swashbuckle, and Manual API versioning. * * The version of the OpenAPI document: 1 * Contact: support@mubicloud.com * * 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 ForgotPasswordViewModel */ export interface ForgotPasswordViewModel { /** * * @type {string} * @memberof ForgotPasswordViewModel */ login: string; /** * * @type {string} * @memberof ForgotPasswordViewModel */ resetUrl?: string | null; } /** * Check if a given object implements the ForgotPasswordViewModel interface. */ export function instanceOfForgotPasswordViewModel(value: object): value is ForgotPasswordViewModel { if (!('login' in value) || value['login'] === undefined) return false; return true; } export function ForgotPasswordViewModelFromJSON(json: any): ForgotPasswordViewModel { return ForgotPasswordViewModelFromJSONTyped(json, false); } export function ForgotPasswordViewModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): ForgotPasswordViewModel { if (json == null) { return json; } return { 'login': json['Login'], 'resetUrl': json['ResetUrl'] == null ? undefined : json['ResetUrl'], }; } export function ForgotPasswordViewModelToJSON(json: any): ForgotPasswordViewModel { return ForgotPasswordViewModelToJSONTyped(json, false); } export function ForgotPasswordViewModelToJSONTyped(value?: ForgotPasswordViewModel | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'Login': value['login'], 'ResetUrl': value['resetUrl'], }; }