/* tslint:disable */ /* eslint-disable */ /** * EAS API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.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'; import type { AuthCurrentUser200ResponseUser } from './AuthCurrentUser200ResponseUser'; import { AuthCurrentUser200ResponseUserFromJSON, AuthCurrentUser200ResponseUserFromJSONTyped, AuthCurrentUser200ResponseUserToJSON, } from './AuthCurrentUser200ResponseUser'; /** * * @export * @interface AuthCurrentUser200Response */ export interface AuthCurrentUser200Response { /** * * @type {AuthCurrentUser200ResponseUser} * @memberof AuthCurrentUser200Response */ user?: AuthCurrentUser200ResponseUser; } /** * Check if a given object implements the AuthCurrentUser200Response interface. */ export function instanceOfAuthCurrentUser200Response(value: object): value is AuthCurrentUser200Response { return true; } export function AuthCurrentUser200ResponseFromJSON(json: any): AuthCurrentUser200Response { return AuthCurrentUser200ResponseFromJSONTyped(json, false); } export function AuthCurrentUser200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthCurrentUser200Response { if (json == null) { return json; } return { 'user': json['user'] == null ? undefined : AuthCurrentUser200ResponseUserFromJSON(json['user']), }; } export function AuthCurrentUser200ResponseToJSON(value?: AuthCurrentUser200Response | null): any { if (value == null) { return value; } return { 'user': AuthCurrentUser200ResponseUserToJSON(value['user']), }; }