/* 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 CreateDirectory200Response
 */
export interface CreateDirectory200Response {
    /**
     * The created directory path
     * @type {string}
     * @memberof CreateDirectory200Response
     */
    path?: string;
    /**
     * Whether the directory was created
     * @type {boolean}
     * @memberof CreateDirectory200Response
     */
    created?: boolean;
}

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

export function CreateDirectory200ResponseFromJSON(json: any): CreateDirectory200Response {
    return CreateDirectory200ResponseFromJSONTyped(json, false);
}

export function CreateDirectory200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateDirectory200Response {
    if (json == null) {
        return json;
    }
    return {
        
        'path': json['path'] == null ? undefined : json['path'],
        'created': json['created'] == null ? undefined : json['created'],
    };
}

export function CreateDirectory200ResponseToJSON(json: any): CreateDirectory200Response {
    return CreateDirectory200ResponseToJSONTyped(json, false);
}

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

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

