/* 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 AttributeType = { Select: 'select', MultiSelect: 'multi_select', Text: 'text' } as const; export type AttributeType = typeof AttributeType[keyof typeof AttributeType]; export function instanceOfAttributeType(value: any): boolean { for (const key in AttributeType) { if (Object.prototype.hasOwnProperty.call(AttributeType, key)) { if (AttributeType[key as keyof typeof AttributeType] === value) { return true; } } } return false; } export function AttributeTypeFromJSON(json: any): AttributeType { return AttributeTypeFromJSONTyped(json, false); } export function AttributeTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttributeType { return json as AttributeType; } export function AttributeTypeToJSON(value?: AttributeType | null): any { return value as any; } export function AttributeTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): AttributeType { return value as AttributeType; }