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

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

export function TimeEntryDecisionRequestFromJSON(json: any): TimeEntryDecisionRequest {
    return TimeEntryDecisionRequestFromJSONTyped(json, false);
}

export function TimeEntryDecisionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TimeEntryDecisionRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'statusId': json['statusId'] == null ? undefined : json['statusId'],
        'adminNote': json['adminNote'] == null ? undefined : json['adminNote'],
    };
}

export function TimeEntryDecisionRequestToJSON(json: any): TimeEntryDecisionRequest {
    return TimeEntryDecisionRequestToJSONTyped(json, false);
}

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

    return {
        
        'statusId': value['statusId'],
        'adminNote': value['adminNote'],
    };
}

