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.
77 lines (68 loc) • 1.78 kB
text/typescript
/* 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 Actions
*/
export interface Actions {
/**
*
* @type {string}
* @memberof Actions
*/
type?: string;
/**
*
* @type {string}
* @memberof Actions
*/
selector?: string;
/**
*
* @type {string}
* @memberof Actions
*/
text?: string;
}
/**
* Check if a given object implements the Actions interface.
*/
export function instanceOfActions(value: object): value is Actions {
return true;
}
export function ActionsFromJSON(json: any): Actions {
return ActionsFromJSONTyped(json, false);
}
export function ActionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Actions {
if (json == null) {
return json;
}
return {
'type': json['type'] == null ? undefined : json['type'],
'selector': json['selector'] == null ? undefined : json['selector'],
'text': json['text'] == null ? undefined : json['text'],
};
}
export function ActionsToJSON(value?: Actions | null): any {
if (value == null) {
return value;
}
return {
'type': value['type'],
'selector': value['selector'],
'text': value['text'],
};
}