/* 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 GetCanvasSnapshot200Response */ export interface GetCanvasSnapshot200Response { /** * * @type {{ [key: string]: any | null; }} * @memberof GetCanvasSnapshot200Response */ 'snapshot': { [key: string]: any | null; }; } /** * Check if a given object implements the GetCanvasSnapshot200Response interface. */ export function instanceOfGetCanvasSnapshot200Response(value: object): value is GetCanvasSnapshot200Response { if (!('snapshot' in value) || value['snapshot'] === undefined) return false; return true; } export function GetCanvasSnapshot200ResponseFromJSON(json: any): GetCanvasSnapshot200Response { return GetCanvasSnapshot200ResponseFromJSONTyped(json, false); } export function GetCanvasSnapshot200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCanvasSnapshot200Response { if (json == null) { return json; } const result = { } as GetCanvasSnapshot200Response; if (json['snapshot'] !== undefined) { result['snapshot'] = json['snapshot']; } return result; } export function GetCanvasSnapshot200ResponseToJSON(json: any): GetCanvasSnapshot200Response { return GetCanvasSnapshot200ResponseToJSONTyped(json, false); } export function GetCanvasSnapshot200ResponseToJSONTyped(value?: GetCanvasSnapshot200Response | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'snapshot': value['snapshot'], }; }