/* 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 ValidateDirectoryRequest
 */
export interface ValidateDirectoryRequest {
    /**
     * Directory path to validate
     * @type {string}
     * @memberof ValidateDirectoryRequest
     */
    path: string;
}

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

export function ValidateDirectoryRequestFromJSON(json: any): ValidateDirectoryRequest {
    return ValidateDirectoryRequestFromJSONTyped(json, false);
}

export function ValidateDirectoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidateDirectoryRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'path': json['path'],
    };
}

export function ValidateDirectoryRequestToJSON(json: any): ValidateDirectoryRequest {
    return ValidateDirectoryRequestToJSONTyped(json, false);
}

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

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

