Skip to content

Latest commit

 

History

History
1213 lines (613 loc) · 50.1 KB

File metadata and controls

1213 lines (613 loc) · 50.1 KB

root / docs / classes

[Back to README.md]

dataforseo-client / Exports / BaseResponseTaskInfo

Class: BaseResponseTaskInfo

Hierarchy

Implements

Indexable

▪ [key: string]: any

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new BaseResponseTaskInfo(data?): BaseResponseTaskInfo

Parameters

Name Type
data? IBaseResponseTaskInfo

Returns

BaseResponseTaskInfo

Defined in

main.ts:22612

Properties

cost

Optional cost: number

total tasks cost, USD

Implementation of

IBaseResponseTaskInfo.cost

Defined in

main.ts:22602


data

Optional data: Object

contains the same parameters that you specified in the POST request

Index signature

▪ [key: string]: any

Implementation of

IBaseResponseTaskInfo.data

Defined in

main.ts:22608


id

Optional id: string

task identifier unique task identifier in our system in the UUID format

Implementation of

IBaseResponseTaskInfo.id

Defined in

main.ts:22591


path

Optional path: string[]

URL path

Implementation of

IBaseResponseTaskInfo.path

Defined in

main.ts:22606


result_count

Optional result_count: number

number of elements in the result array

Implementation of

IBaseResponseTaskInfo.result_count

Defined in

main.ts:22604


status_code

Optional status_code: number

status code of the task generated by DataForSEO, can be within the following range: 10000-60000 you can find the full list of the response codes here

Implementation of

IBaseResponseTaskInfo.status_code

Defined in

main.ts:22595


status_message

Optional status_message: string

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

Implementation of

IBaseResponseTaskInfo.status_message

Defined in

main.ts:22598


time

Optional time: string

execution time, seconds

Implementation of

IBaseResponseTaskInfo.time

Defined in

main.ts:22600

Methods

init

init(_data?): void

Parameters

Name Type
_data? any

Returns

void

Defined in

main.ts:22621


toJSON

toJSON(data?): any

Parameters

Name Type
data? any

Returns

any

Defined in

main.ts:22655


fromJS

fromJS(data): BaseResponseTaskInfo

Parameters

Name Type
data any

Returns

BaseResponseTaskInfo

Defined in

main.ts:22648

root / docs / classes

[Back to README.md]