/* 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 ImageMetadataBlockAttributesDevice */ export interface ImageMetadataBlockAttributesDevice { /** * * @type {string} * @memberof ImageMetadataBlockAttributesDevice */ 'maker'?: string | null; /** * * @type {string} * @memberof ImageMetadataBlockAttributesDevice */ 'model'?: string | null; /** * * @type {string} * @memberof ImageMetadataBlockAttributesDevice */ 'software'?: string | null; } /** * Check if a given object implements the ImageMetadataBlockAttributesDevice interface. */ export function instanceOfImageMetadataBlockAttributesDevice(value: object): value is ImageMetadataBlockAttributesDevice { return true; } export function ImageMetadataBlockAttributesDeviceFromJSON(json: any): ImageMetadataBlockAttributesDevice { return ImageMetadataBlockAttributesDeviceFromJSONTyped(json, false); } export function ImageMetadataBlockAttributesDeviceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageMetadataBlockAttributesDevice { if (json == null) { return json; } const result = { } as ImageMetadataBlockAttributesDevice; if (json['maker'] !== undefined) { if (json['maker'] === null) { result['maker'] = null; } else { result['maker'] = json['maker']; } } if (json['model'] !== undefined) { if (json['model'] === null) { result['model'] = null; } else { result['model'] = json['model']; } } if (json['software'] !== undefined) { if (json['software'] === null) { result['software'] = null; } else { result['software'] = json['software']; } } return result; } export function ImageMetadataBlockAttributesDeviceToJSON(json: any): ImageMetadataBlockAttributesDevice { return ImageMetadataBlockAttributesDeviceToJSONTyped(json, false); } export function ImageMetadataBlockAttributesDeviceToJSONTyped(value?: ImageMetadataBlockAttributesDevice | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'maker': value['maker'], 'model': value['model'], 'software': value['software'], }; }