/* tslint:disable */ /* eslint-disable */ /** * @fastify/swagger * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 9.6.1 * * * 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 GuestLoginRequest */ export interface GuestLoginRequest { /** * * @type {string} * @memberof GuestLoginRequest */ name?: string; } /** * Check if a given object implements the GuestLoginRequest interface. */ export function instanceOfGuestLoginRequest(value: object): value is GuestLoginRequest { return true; } export function GuestLoginRequestFromJSON(json: any): GuestLoginRequest { return GuestLoginRequestFromJSONTyped(json, false); } export function GuestLoginRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GuestLoginRequest { if (json == null) { return json; } return { 'name': json['name'] == null ? undefined : json['name'], }; } export function GuestLoginRequestToJSON(json: any): GuestLoginRequest { return GuestLoginRequestToJSONTyped(json, false); } export function GuestLoginRequestToJSONTyped(value?: GuestLoginRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'name': value['name'], }; }