Skip to content

Latest commit

 

History

History
1189 lines (600 loc) · 53.1 KB

File metadata and controls

1189 lines (600 loc) · 53.1 KB

root / docs / classes

[Back to README.md]

dataforseo-client / Exports / BaseResponseInfo

Class: BaseResponseInfo

Hierarchy

Implements

Indexable

▪ [key: string]: any

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new BaseResponseInfo(data?): BaseResponseInfo

Parameters

Name Type
data? IBaseResponseInfo

Returns

BaseResponseInfo

Defined in

main.ts:22518

Properties

cost

Optional cost: number

total tasks cost, USD

Implementation of

IBaseResponseInfo.cost

Defined in

main.ts:22510


status_code

Optional status_code: number

general status code you can find the full list of the response codes here

Implementation of

IBaseResponseInfo.status_code

Defined in

main.ts:22503


status_message

Optional status_message: string

general informational message you can find the full list of general informational messages here

Implementation of

IBaseResponseInfo.status_message

Defined in

main.ts:22506


tasks_count

Optional tasks_count: number

the number of tasks in the tasks array

Implementation of

IBaseResponseInfo.tasks_count

Defined in

main.ts:22512


tasks_error

Optional tasks_error: number

the number of tasks in the tasks array returned with an error

Implementation of

IBaseResponseInfo.tasks_error

Defined in

main.ts:22514


time

Optional time: string

total execution time, seconds

Implementation of

IBaseResponseInfo.time

Defined in

main.ts:22508


version

Optional version: string

the current version of the API

Implementation of

IBaseResponseInfo.version

Defined in

main.ts:22500

Methods

init

init(_data?): void

Parameters

Name Type
_data? any

Returns

void

Defined in

main.ts:22527


toJSON

toJSON(data?): any

Parameters

Name Type
data? any

Returns

any

Defined in

main.ts:22550


fromJS

fromJS(data): BaseResponseInfo

Parameters

Name Type
data any

Returns

BaseResponseInfo

Defined in

main.ts:22543

root / docs / classes

[Back to README.md]