/* 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 ParticipantField */ export interface ParticipantField { /** * * @type {string} * @memberof ParticipantField */ name: string; /** * * @type {string} * @memberof ParticipantField */ facebookId?: string; } /** * Check if a given object implements the ParticipantField interface. */ export function instanceOfParticipantField(value: object): value is ParticipantField { if (!('name' in value) || value['name'] === undefined) return false; return true; } export function ParticipantFieldFromJSON(json: any): ParticipantField { return ParticipantFieldFromJSONTyped(json, false); } export function ParticipantFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): ParticipantField { if (json == null) { return json; } return { 'name': json['name'], 'facebookId': json['facebook_id'] == null ? undefined : json['facebook_id'], }; } export function ParticipantFieldToJSON(value?: ParticipantField | null): any { if (value == null) { return value; } return { 'name': value['name'], 'facebook_id': value['facebookId'], }; }