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.

80 lines (71 loc) 2.19 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 UserAccountCreateResponse */ export interface UserAccountCreateResponse { /** * * @type {string} * @memberof UserAccountCreateResponse */ name: string; /** * * @type {string} * @memberof UserAccountCreateResponse */ email: string; /** * * @type {string} * @memberof UserAccountCreateResponse */ createDate: string; } /** * Check if a given object implements the UserAccountCreateResponse interface. */ export function instanceOfUserAccountCreateResponse(value: object): value is UserAccountCreateResponse { if (!('name' in value) || value['name'] === undefined) return false; if (!('email' in value) || value['email'] === undefined) return false; if (!('createDate' in value) || value['createDate'] === undefined) return false; return true; } export function UserAccountCreateResponseFromJSON(json: any): UserAccountCreateResponse { return UserAccountCreateResponseFromJSONTyped(json, false); } export function UserAccountCreateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAccountCreateResponse { if (json == null) { return json; } return { 'name': json['name'], 'email': json['email'], 'createDate': json['create_date'], }; } export function UserAccountCreateResponseToJSON(value?: UserAccountCreateResponse | null): any { if (value == null) { return value; } return { 'name': value['name'], 'email': value['email'], 'create_date': value['createDate'], }; }