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.

69 lines (60 loc) 1.61 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'; /** * * @export * @interface Selector */ export interface Selector { /** * * @type {string} * @memberof Selector */ type?: string; /** * * @type {string} * @memberof Selector */ selector?: string; } /** * Check if a given object implements the Selector interface. */ export function instanceOfSelector(value: object): value is Selector { return true; } export function SelectorFromJSON(json: any): Selector { return SelectorFromJSONTyped(json, false); } export function SelectorFromJSONTyped(json: any, ignoreDiscriminator: boolean): Selector { if (json == null) { return json; } return { 'type': json['type'] == null ? undefined : json['type'], 'selector': json['selector'] == null ? undefined : json['selector'], }; } export function SelectorToJSON(value?: Selector | null): any { if (value == null) { return value; } return { 'type': value['type'], 'selector': value['selector'], }; }