/* 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 PatchSmartCollectionRequest */ export interface PatchSmartCollectionRequest { /** * * @type {string} * @memberof PatchSmartCollectionRequest */ 'description': string | null; } /** * Check if a given object implements the PatchSmartCollectionRequest interface. */ export function instanceOfPatchSmartCollectionRequest(value: object): value is PatchSmartCollectionRequest { if (!('description' in value) || value['description'] === undefined) return false; return true; } export function PatchSmartCollectionRequestFromJSON(json: any): PatchSmartCollectionRequest { return PatchSmartCollectionRequestFromJSONTyped(json, false); } export function PatchSmartCollectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchSmartCollectionRequest { if (json == null) { return json; } const result = { } as PatchSmartCollectionRequest; if (json['description'] !== undefined) { if (json['description'] === null) { result['description'] = null; } else { result['description'] = json['description']; } } return result; } export function PatchSmartCollectionRequestToJSON(json: any): PatchSmartCollectionRequest { return PatchSmartCollectionRequestToJSONTyped(json, false); } export function PatchSmartCollectionRequestToJSONTyped(value?: PatchSmartCollectionRequest | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'description': value['description'], }; }