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.

78 lines (69 loc) 1.95 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 ProcessedJob */ export interface ProcessedJob { /** * * @type {string} * @memberof ProcessedJob */ website: string; /** * * @type {string} * @memberof ProcessedJob */ html?: string; /** * * @type {{ [key: string]: any; }} * @memberof ProcessedJob */ jsonData?: { [key: string]: any; }; } /** * Check if a given object implements the ProcessedJob interface. */ export function instanceOfProcessedJob(value: object): value is ProcessedJob { if (!('website' in value) || value['website'] === undefined) return false; return true; } export function ProcessedJobFromJSON(json: any): ProcessedJob { return ProcessedJobFromJSONTyped(json, false); } export function ProcessedJobFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProcessedJob { if (json == null) { return json; } return { 'website': json['website'], 'html': json['html'] == null ? undefined : json['html'], 'jsonData': json['jsonData'] == null ? undefined : json['jsonData'], }; } export function ProcessedJobToJSON(value?: ProcessedJob | null): any { if (value == null) { return value; } return { 'website': value['website'], 'html': value['html'], 'jsonData': value['jsonData'], }; }