/* 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 DiscoverAgentsRequest
 */
export interface DiscoverAgentsRequest {
    /**
     * Session working directory for local agent discovery
     * @type {string}
     * @memberof DiscoverAgentsRequest
     */
    workingDir: string;
}

/**
 * Check if a given object implements the DiscoverAgentsRequest interface.
 */
export function instanceOfDiscoverAgentsRequest(value: object): value is DiscoverAgentsRequest {
    if (!('workingDir' in value) || value['workingDir'] === undefined) return false;
    return true;
}

export function DiscoverAgentsRequestFromJSON(json: any): DiscoverAgentsRequest {
    return DiscoverAgentsRequestFromJSONTyped(json, false);
}

export function DiscoverAgentsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DiscoverAgentsRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'workingDir': json['workingDir'],
    };
}

export function DiscoverAgentsRequestToJSON(json: any): DiscoverAgentsRequest {
    return DiscoverAgentsRequestToJSONTyped(json, false);
}

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

    return {
        
        'workingDir': value['workingDir'],
    };
}

