/* 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. */ import { mapValues } from '../runtime'; /** * * @export * @interface ListResourceComments404Response */ export interface ListResourceComments404Response { /** * * @type {string} * @memberof ListResourceComments404Response */ 'title': ListResourceComments404ResponseTitleEnum; /** * * @type {string} * @memberof ListResourceComments404Response */ 'detail': ListResourceComments404ResponseDetailEnum; } /** * @export */ export const ListResourceComments404ResponseTitleEnum = { NotFound: 'Not Found' } as const; export type ListResourceComments404ResponseTitleEnum = typeof ListResourceComments404ResponseTitleEnum[keyof typeof ListResourceComments404ResponseTitleEnum]; /** * @export */ export const ListResourceComments404ResponseDetailEnum = { ResourceNotFound: 'resource_not_found' } as const; export type ListResourceComments404ResponseDetailEnum = typeof ListResourceComments404ResponseDetailEnum[keyof typeof ListResourceComments404ResponseDetailEnum]; /** * Check if a given object implements the ListResourceComments404Response interface. */ export function instanceOfListResourceComments404Response(value: object): value is ListResourceComments404Response { if (!('title' in value) || value['title'] === undefined) return false; if (!('detail' in value) || value['detail'] === undefined) return false; return true; } export function ListResourceComments404ResponseFromJSON(json: any): ListResourceComments404Response { return ListResourceComments404ResponseFromJSONTyped(json, false); } export function ListResourceComments404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListResourceComments404Response { if (json == null) { return json; } const result = { } as ListResourceComments404Response; if (json['title'] !== undefined) { result['title'] = json['title']; } if (json['detail'] !== undefined) { result['detail'] = json['detail']; } return result; } export function ListResourceComments404ResponseToJSON(json: any): ListResourceComments404Response { return ListResourceComments404ResponseToJSONTyped(json, false); } export function ListResourceComments404ResponseToJSONTyped(value?: ListResourceComments404Response | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'title': value['title'], 'detail': value['detail'], }; }