/* 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 ProductRangeSortBy = { Relevance: 'relevance', MostPopular: 'mostPopular', AscendingName: 'ascendingName', DescendingName: 'descendingName' } as const; export type ProductRangeSortBy = typeof ProductRangeSortBy[keyof typeof ProductRangeSortBy]; export function instanceOfProductRangeSortBy(value: any): boolean { for (const key in ProductRangeSortBy) { if (Object.prototype.hasOwnProperty.call(ProductRangeSortBy, key)) { if (ProductRangeSortBy[key as keyof typeof ProductRangeSortBy] === value) { return true; } } } return false; } export function ProductRangeSortByFromJSON(json: any): ProductRangeSortBy { return ProductRangeSortByFromJSONTyped(json, false); } export function ProductRangeSortByFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSortBy { return json as ProductRangeSortBy; } export function ProductRangeSortByToJSON(value?: ProductRangeSortBy | null): any { return value as any; } export function ProductRangeSortByToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductRangeSortBy { return value as ProductRangeSortBy; }