/* tslint:disable */ /* eslint-disable */ /** * Equisoft /plan API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: latest * * * 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'; /** * Create user response * @export * @interface UserCreateUserResponse */ export interface UserCreateUserResponse { /** * * @type {number} * @memberof UserCreateUserResponse */ id: number; /** * * @type {string} * @memberof UserCreateUserResponse */ uuid: string; /** * * @type {string} * @memberof UserCreateUserResponse */ organizationUuid: string; } /** * Check if a given object implements the UserCreateUserResponse interface. */ export function instanceOfUserCreateUserResponse(value: object): value is UserCreateUserResponse { if (!('id' in value) || value['id'] === undefined) return false; if (!('uuid' in value) || value['uuid'] === undefined) return false; if (!('organizationUuid' in value) || value['organizationUuid'] === undefined) return false; return true; } export function UserCreateUserResponseFromJSON(json: any): UserCreateUserResponse { return UserCreateUserResponseFromJSONTyped(json, false); } export function UserCreateUserResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserCreateUserResponse { if (json == null) { return json; } return { 'id': json['id'], 'uuid': json['uuid'], 'organizationUuid': json['organizationUuid'], }; } export function UserCreateUserResponseToJSON(json: any): UserCreateUserResponse { return UserCreateUserResponseToJSONTyped(json, false); } export function UserCreateUserResponseToJSONTyped(value?: UserCreateUserResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'id': value['id'], 'uuid': value['uuid'], 'organizationUuid': value['organizationUuid'], }; }