/* 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 AssignmentValidationSettingsResponse
 */
export interface AssignmentValidationSettingsResponse {
    /**
     * 
     * @type {string}
     * @memberof AssignmentValidationSettingsResponse
     */
    qualificationMode?: string | null;
    /**
     * 
     * @type {string}
     * @memberof AssignmentValidationSettingsResponse
     */
    absenceMode?: string | null;
    /**
     * 
     * @type {string}
     * @memberof AssignmentValidationSettingsResponse
     */
    workingHoursMode?: string | null;
    /**
     * 
     * @type {string}
     * @memberof AssignmentValidationSettingsResponse
     */
    overlapMode?: string | null;
    /**
     * 
     * @type {string}
     * @memberof AssignmentValidationSettingsResponse
     */
    contractMode?: string | null;
}

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

export function AssignmentValidationSettingsResponseFromJSON(json: any): AssignmentValidationSettingsResponse {
    return AssignmentValidationSettingsResponseFromJSONTyped(json, false);
}

export function AssignmentValidationSettingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssignmentValidationSettingsResponse {
    if (json == null) {
        return json;
    }
    return {
        
        'qualificationMode': json['qualificationMode'] == null ? undefined : json['qualificationMode'],
        'absenceMode': json['absenceMode'] == null ? undefined : json['absenceMode'],
        'workingHoursMode': json['workingHoursMode'] == null ? undefined : json['workingHoursMode'],
        'overlapMode': json['overlapMode'] == null ? undefined : json['overlapMode'],
        'contractMode': json['contractMode'] == null ? undefined : json['contractMode'],
    };
}

export function AssignmentValidationSettingsResponseToJSON(json: any): AssignmentValidationSettingsResponse {
    return AssignmentValidationSettingsResponseToJSONTyped(json, false);
}

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

    return {
        
        'qualificationMode': value['qualificationMode'],
        'absenceMode': value['absenceMode'],
        'workingHoursMode': value['workingHoursMode'],
        'overlapMode': value['overlapMode'],
        'contractMode': value['contractMode'],
    };
}

