UNPKG

scraper-api-datachaser

Version:

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.

68 lines (58 loc) 1.72 kB
/* 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'; import type { RateLimit } from './RateLimit'; import { RateLimitFromJSON, RateLimitFromJSONTyped, RateLimitToJSON, } from './RateLimit'; /** * * @export * @interface KeyCreateRequest */ export interface KeyCreateRequest { /** * * @type {RateLimit} * @memberof KeyCreateRequest */ rateLimit?: RateLimit; } /** * Check if a given object implements the KeyCreateRequest interface. */ export function instanceOfKeyCreateRequest(value: object): value is KeyCreateRequest { return true; } export function KeyCreateRequestFromJSON(json: any): KeyCreateRequest { return KeyCreateRequestFromJSONTyped(json, false); } export function KeyCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyCreateRequest { if (json == null) { return json; } return { 'rateLimit': json['rate_limit'] == null ? undefined : RateLimitFromJSON(json['rate_limit']), }; } export function KeyCreateRequestToJSON(value?: KeyCreateRequest | null): any { if (value == null) { return value; } return { 'rate_limit': RateLimitToJSON(value['rateLimit']), }; }