/* 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';
import type { BulkArchiveResponseData } from './BulkArchiveResponseData';
import {
    BulkArchiveResponseDataFromJSON,
    BulkArchiveResponseDataFromJSONTyped,
    BulkArchiveResponseDataToJSON,
    BulkArchiveResponseDataToJSONTyped,
} from './BulkArchiveResponseData';

/**
 * 
 * @export
 * @interface BulkArchiveResponse
 */
export interface BulkArchiveResponse {
    /**
     * 
     * @type {BulkArchiveResponseData}
     * @memberof BulkArchiveResponse
     */
    data: BulkArchiveResponseData;
}

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

export function BulkArchiveResponseFromJSON(json: any): BulkArchiveResponse {
    return BulkArchiveResponseFromJSONTyped(json, false);
}

export function BulkArchiveResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BulkArchiveResponse {
    if (json == null) {
        return json;
    }
    return {
        
        'data': BulkArchiveResponseDataFromJSON(json['data']),
    };
}

export function BulkArchiveResponseToJSON(json: any): BulkArchiveResponse {
    return BulkArchiveResponseToJSONTyped(json, false);
}

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

    return {
        
        'data': BulkArchiveResponseDataToJSON(value['data']),
    };
}

