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

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

export function AssignmentConflictResponseFromJSON(json: any): AssignmentConflictResponse {
    return AssignmentConflictResponseFromJSONTyped(json, false);
}

export function AssignmentConflictResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssignmentConflictResponse {
    if (json == null) {
        return json;
    }
    return {
        
        'type': json['type'] == null ? undefined : json['type'],
        'severity': json['severity'] == null ? undefined : json['severity'],
        'message': json['message'] == null ? undefined : json['message'],
    };
}

export function AssignmentConflictResponseToJSON(json: any): AssignmentConflictResponse {
    return AssignmentConflictResponseToJSONTyped(json, false);
}

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

    return {
        
        'type': value['type'],
        'severity': value['severity'],
        'message': value['message'],
    };
}

