/* tslint:disable */ /* eslint-disable */ /** * Hathora Cloud API * Welcome to the Hathora Cloud API documentation! Learn how to use the Hathora Cloud APIs to build and scale your game servers globally. * * The version of the OpenAPI document: 0.0.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 { exists, mapValues } from '../runtime'; /** * * @export * @interface InviteStatusPending */ export interface InviteStatusPending { /** * * @type {string} * @memberof InviteStatusPending */ type: InviteStatusPendingTypeEnum; } /** * @export */ export const InviteStatusPendingTypeEnum = { Pending: 'pending' } as const; export type InviteStatusPendingTypeEnum = typeof InviteStatusPendingTypeEnum[keyof typeof InviteStatusPendingTypeEnum]; /** * Check if a given object implements the InviteStatusPending interface. */ export function instanceOfInviteStatusPending(value: object): boolean { let isInstance = true; isInstance = isInstance && "type" in value; return isInstance; } export function InviteStatusPendingFromJSON(json: any): InviteStatusPending { return InviteStatusPendingFromJSONTyped(json, false); } export function InviteStatusPendingFromJSONTyped(json: any, ignoreDiscriminator: boolean): InviteStatusPending { if ((json === undefined) || (json === null)) { return json; } return { 'type': json['type'], }; } export function InviteStatusPendingToJSON(value?: InviteStatusPending | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'type': value.type, }; }