/* tslint:disable */
/* eslint-disable */
/**
 * Scraper API
 * The scraping SaaS platform provides a RESTful API for developers to perform web scraping tasks. Users can submit scraping tasks, monitor task status, retrieve scraped data, and manage their account through the API.
 *
 * 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 DeleteApiKeyRequest
 */
export interface DeleteApiKeyRequest {
    /**
     * 
     * @type {string}
     * @memberof DeleteApiKeyRequest
     */
    apikey: string;
}

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

export function DeleteApiKeyRequestFromJSON(json: any): DeleteApiKeyRequest {
    return DeleteApiKeyRequestFromJSONTyped(json, false);
}

export function DeleteApiKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteApiKeyRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'apikey': json['apikey'],
    };
}

export function DeleteApiKeyRequestToJSON(value?: DeleteApiKeyRequest | null): any {
    if (value == null) {
        return value;
    }
    return {
        
        'apikey': value['apikey'],
    };
}

