/* tslint:disable */
/* eslint-disable */
/**
 * HumanLayer Daemon REST API
 * REST API for HumanLayer daemon operations, providing session management, approval workflows, and real-time event streaming capabilities. 
 *
 * The version of the OpenAPI document: 1.0.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 UpdateConfigRequest
 */
export interface UpdateConfigRequest {
    /**
     * Path to Claude binary (empty string for auto-detection)
     * @type {string}
     * @memberof UpdateConfigRequest
     */
    claudePath?: string;
}

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

export function UpdateConfigRequestFromJSON(json: any): UpdateConfigRequest {
    return UpdateConfigRequestFromJSONTyped(json, false);
}

export function UpdateConfigRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateConfigRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'claudePath': json['claude_path'] == null ? undefined : json['claude_path'],
    };
}

export function UpdateConfigRequestToJSON(json: any): UpdateConfigRequest {
    return UpdateConfigRequestToJSONTyped(json, false);
}

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

    return {
        
        'claude_path': value['claudePath'],
    };
}

