/* tslint:disable */ /* eslint-disable */ /** * ELEMENTS API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 2 * * * 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 Ticket */ export interface Ticket { /** * * @type {string} * @memberof Ticket */ ticket: string; } export function TicketFromJSON(json: any): Ticket { return TicketFromJSONTyped(json, false); } export function TicketFromJSONTyped(json: any, ignoreDiscriminator: boolean): Ticket { if ((json === undefined) || (json === null)) { return json; } return { 'ticket': json['ticket'], }; } export function TicketToJSON(value?: Ticket | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'ticket': value.ticket, }; }