/* tslint:disable */ /* eslint-disable */ /** * Fabric API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * 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 SharingFilters = { OnlyMe: 'onlyMe', MyContent: 'myContent', Published: 'published', Shared: 'shared', SharedWithMe: 'sharedWithMe', SharedWithMeDirectly: 'sharedWithMeDirectly' } as const; export type SharingFilters = typeof SharingFilters[keyof typeof SharingFilters]; export function instanceOfSharingFilters(value: any): boolean { for (const key in SharingFilters) { if (Object.prototype.hasOwnProperty.call(SharingFilters, key)) { if (SharingFilters[key as keyof typeof SharingFilters] === value) { return true; } } } return false; } export function SharingFiltersFromJSON(json: any): SharingFilters { return SharingFiltersFromJSONTyped(json, false); } export function SharingFiltersFromJSONTyped(json: any, ignoreDiscriminator: boolean): SharingFilters { return json as SharingFilters; } export function SharingFiltersToJSON(value?: SharingFilters | null): any { return value as any; } export function SharingFiltersToJSONTyped(value: any, ignoreDiscriminator: boolean): SharingFilters { return value as SharingFilters; }