/* tslint:disable */
/* eslint-disable */
/**
 * OmsorgCore.Api
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.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 UpdateDocumentRequest
 */
export interface UpdateDocumentRequest {
    /**
     * 
     * @type {string}
     * @memberof UpdateDocumentRequest
     */
    category?: string | null;
    /**
     * 
     * @type {string}
     * @memberof UpdateDocumentRequest
     */
    description?: string | null;
    /**
     * 
     * @type {string}
     * @memberof UpdateDocumentRequest
     */
    fileName?: string | null;
}

/**
 * Check if a given object implements the UpdateDocumentRequest interface.
 */
export function instanceOfUpdateDocumentRequest(value: object): value is UpdateDocumentRequest {
    return true;
}

export function UpdateDocumentRequestFromJSON(json: any): UpdateDocumentRequest {
    return UpdateDocumentRequestFromJSONTyped(json, false);
}

export function UpdateDocumentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDocumentRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'category': json['category'] == null ? undefined : json['category'],
        'description': json['description'] == null ? undefined : json['description'],
        'fileName': json['fileName'] == null ? undefined : json['fileName'],
    };
}

export function UpdateDocumentRequestToJSON(json: any): UpdateDocumentRequest {
    return UpdateDocumentRequestToJSONTyped(json, false);
}

export function UpdateDocumentRequestToJSONTyped(value?: UpdateDocumentRequest | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
        'category': value['category'],
        'description': value['description'],
        'fileName': value['fileName'],
    };
}

