/* 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'; /** * * @export * @interface SecretSantaAdminResponseParticipantsInner */ export interface SecretSantaAdminResponseParticipantsInner { /** * * @type {string} * @memberof SecretSantaAdminResponseParticipantsInner */ id: string; /** * * @type {string} * @memberof SecretSantaAdminResponseParticipantsInner */ name: string; /** * * @type {boolean} * @memberof SecretSantaAdminResponseParticipantsInner */ revealed: boolean; } /** * Check if a given object implements the SecretSantaAdminResponseParticipantsInner interface. */ export function instanceOfSecretSantaAdminResponseParticipantsInner(value: object): value is SecretSantaAdminResponseParticipantsInner { if (!('id' in value) || value['id'] === undefined) return false; if (!('name' in value) || value['name'] === undefined) return false; if (!('revealed' in value) || value['revealed'] === undefined) return false; return true; } export function SecretSantaAdminResponseParticipantsInnerFromJSON(json: any): SecretSantaAdminResponseParticipantsInner { return SecretSantaAdminResponseParticipantsInnerFromJSONTyped(json, false); } export function SecretSantaAdminResponseParticipantsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SecretSantaAdminResponseParticipantsInner { if (json == null) { return json; } return { 'id': json['id'], 'name': json['name'], 'revealed': json['revealed'], }; } export function SecretSantaAdminResponseParticipantsInnerToJSON(value?: SecretSantaAdminResponseParticipantsInner | null): any { if (value == null) { return value; } return { 'id': value['id'], 'name': value['name'], 'revealed': value['revealed'], }; }