/* tslint:disable */ /* eslint-disable */ /** * My API * API documentation for my Laravel app * * 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. */ /** * * @export */ export const AttributeFieldType = { Performance: 'performance', Specification: 'specification', Dimension: 'dimension', Other: 'other' } as const; export type AttributeFieldType = typeof AttributeFieldType[keyof typeof AttributeFieldType]; export function instanceOfAttributeFieldType(value: any): boolean { for (const key in AttributeFieldType) { if (Object.prototype.hasOwnProperty.call(AttributeFieldType, key)) { if (AttributeFieldType[key as keyof typeof AttributeFieldType] === value) { return true; } } } return false; } export function AttributeFieldTypeFromJSON(json: any): AttributeFieldType { return AttributeFieldTypeFromJSONTyped(json, false); } export function AttributeFieldTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeFieldType { return json as AttributeFieldType; } export function AttributeFieldTypeToJSON(value?: AttributeFieldType | null): any { return value as any; } export function AttributeFieldTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): AttributeFieldType { return value as AttributeFieldType; }