/* tslint:disable */ /* eslint-disable */ /** * BugBash * BugBash\'s backend service * * The version of the OpenAPI document: 1.2.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 { exists, mapValues } from '../runtime'; /** * * @export * @interface Account */ export interface Account { /** * * @type {string} * @memberof Account */ id: string; /** * * @type {string} * @memberof Account */ organization: string; /** * * @type {Date} * @memberof Account */ createdAt: Date; } export function AccountFromJSON(json: any): Account { return AccountFromJSONTyped(json, false); } export function AccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): Account { if ((json === undefined) || (json === null)) { return json; } return { 'id': json['id'], 'organization': json['organization'], 'createdAt': (new Date(json['createdAt'])), }; } export function AccountToJSON(value?: Account | null): any { if (value === undefined) { return undefined; } if (value === null) { return null; } return { 'id': value.id, 'organization': value.organization, 'createdAt': (value.createdAt.toISOString()), }; }