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

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

export function UpdateAssignmentValidationSettingsRequestFromJSON(json: any): UpdateAssignmentValidationSettingsRequest {
    return UpdateAssignmentValidationSettingsRequestFromJSONTyped(json, false);
}

export function UpdateAssignmentValidationSettingsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateAssignmentValidationSettingsRequest {
    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 UpdateAssignmentValidationSettingsRequestToJSON(json: any): UpdateAssignmentValidationSettingsRequest {
    return UpdateAssignmentValidationSettingsRequestToJSONTyped(json, false);
}

export function UpdateAssignmentValidationSettingsRequestToJSONTyped(value?: UpdateAssignmentValidationSettingsRequest | 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'],
    };
}

