/* 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 UpdateAssignmentRequest
 */
export interface UpdateAssignmentRequest {
    /**
     * 
     * @type {string}
     * @memberof UpdateAssignmentRequest
     */
    note?: string | null;
}

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

export function UpdateAssignmentRequestFromJSON(json: any): UpdateAssignmentRequest {
    return UpdateAssignmentRequestFromJSONTyped(json, false);
}

export function UpdateAssignmentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAssignmentRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'note': json['note'] == null ? undefined : json['note'],
    };
}

export function UpdateAssignmentRequestToJSON(json: any): UpdateAssignmentRequest {
    return UpdateAssignmentRequestToJSONTyped(json, false);
}

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

    return {
        
        'note': value['note'],
    };
}

