UNPKG

@fnt-eve/esi-client-typescript

Version:

[![npm version](https://img.shields.io/npm/v/@fnt-eve/esi-client-typescript)](https://www.npmjs.com/package/@fnt-eve/esi-client-typescript)

53 lines (52 loc) 1.78 kB
/* tslint:disable */ /* eslint-disable */ /** * EVE Swagger Interface * An OpenAPI for EVE Online * * The version of the OpenAPI document: 1.33 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * @export */ export const GetCharactersCharacterIdCalendarEventIdAttendees200OkEventResponseEnum = { Declined: 'declined', NotResponded: 'not_responded', Accepted: 'accepted', Tentative: 'tentative' }; /** * Check if a given object implements the GetCharactersCharacterIdCalendarEventIdAttendees200Ok interface. */ export function instanceOfGetCharactersCharacterIdCalendarEventIdAttendees200Ok(value) { return true; } export function GetCharactersCharacterIdCalendarEventIdAttendees200OkFromJSON(json) { return GetCharactersCharacterIdCalendarEventIdAttendees200OkFromJSONTyped(json, false); } export function GetCharactersCharacterIdCalendarEventIdAttendees200OkFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'characterId': json['character_id'] == null ? undefined : json['character_id'], 'eventResponse': json['event_response'] == null ? undefined : json['event_response'], }; } export function GetCharactersCharacterIdCalendarEventIdAttendees200OkToJSON(json) { return GetCharactersCharacterIdCalendarEventIdAttendees200OkToJSONTyped(json, false); } export function GetCharactersCharacterIdCalendarEventIdAttendees200OkToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'character_id': value['characterId'], 'event_response': value['eventResponse'], }; }