@vectorize-io/vectorize-client
Version:
Client for the Vectorize API
53 lines (43 loc) • 1.34 kB
text/typescript
/* tslint:disable */
/* eslint-disable */
/**
* Vectorize API (Beta)
* API for Vectorize services
*
* The version of the OpenAPI document: 0.0.1
*
*
* 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 ExtractionType = {
Iris: 'iris'
} as const;
export type ExtractionType = typeof ExtractionType[keyof typeof ExtractionType];
export function instanceOfExtractionType(value: any): boolean {
for (const key in ExtractionType) {
if (Object.prototype.hasOwnProperty.call(ExtractionType, key)) {
if (ExtractionType[key as keyof typeof ExtractionType] === value) {
return true;
}
}
}
return false;
}
export function ExtractionTypeFromJSON(json: any): ExtractionType {
return ExtractionTypeFromJSONTyped(json, false);
}
export function ExtractionTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExtractionType {
return json as ExtractionType;
}
export function ExtractionTypeToJSON(value?: ExtractionType | null): any {
return value as any;
}
export function ExtractionTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ExtractionType {
return value as ExtractionType;
}