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.

85 lines (76 loc) 2.25 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 UserAccountUpdateRequest */ export interface UserAccountUpdateRequest { /** * * @type {string} * @memberof UserAccountUpdateRequest */ name?: string; /** * * @type {string} * @memberof UserAccountUpdateRequest */ email?: string; /** * * @type {string} * @memberof UserAccountUpdateRequest */ password?: string; /** * * @type {string} * @memberof UserAccountUpdateRequest */ csId?: string; } /** * Check if a given object implements the UserAccountUpdateRequest interface. */ export function instanceOfUserAccountUpdateRequest(value: object): value is UserAccountUpdateRequest { return true; } export function UserAccountUpdateRequestFromJSON(json: any): UserAccountUpdateRequest { return UserAccountUpdateRequestFromJSONTyped(json, false); } export function UserAccountUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserAccountUpdateRequest { if (json == null) { return json; } return { 'name': json['name'] == null ? undefined : json['name'], 'email': json['email'] == null ? undefined : json['email'], 'password': json['password'] == null ? undefined : json['password'], 'csId': json['cs_id'] == null ? undefined : json['cs_id'], }; } export function UserAccountUpdateRequestToJSON(value?: UserAccountUpdateRequest | null): any { if (value == null) { return value; } return { 'name': value['name'], 'email': value['email'], 'password': value['password'], 'cs_id': value['csId'], }; }