---
id: job
title: Job
sidebar_label: Job
---

[Job](job.md) /

represents Job model with Generics

## Type parameters

▪ **P**: *object*

payload type

## Hierarchy

* **Job**

## Index

### Properties

* [active](job.md#active)
* [attempts](job.md#attempts)
* [created](job.md#created)
* [failed](job.md#failed)
* [id](job.md#id)
* [metaData](job.md#metadata)
* [payload](job.md#payload)
* [priority](job.md#priority)
* [timeout](job.md#timeout)
* [workerName](job.md#workername)

## Properties

###  active

• **active**: *[Bool](../index.md#bool)*

*Defined in [models/Job.ts:8](https://github.com/SimonErm/react-native-job-queue/blob/054fcbe/src/models/Job.ts#L8)*

___

###  attempts

• **attempts**: *number*

*Defined in [models/Job.ts:11](https://github.com/SimonErm/react-native-job-queue/blob/054fcbe/src/models/Job.ts#L11)*

___

###  created

• **created**: *string*

*Defined in [models/Job.ts:12](https://github.com/SimonErm/react-native-job-queue/blob/054fcbe/src/models/Job.ts#L12)*

___

###  failed

• **failed**: *string*

*Defined in [models/Job.ts:13](https://github.com/SimonErm/react-native-job-queue/blob/054fcbe/src/models/Job.ts#L13)*

___

###  id

• **id**: *string*

*Defined in [models/Job.ts:6](https://github.com/SimonErm/react-native-job-queue/blob/054fcbe/src/models/Job.ts#L6)*

___

###  metaData

• **metaData**: *string*

*Defined in [models/Job.ts:10](https://github.com/SimonErm/react-native-job-queue/blob/054fcbe/src/models/Job.ts#L10)*

___

###  payload

• **payload**: *`P`*

*Defined in [models/Job.ts:9](https://github.com/SimonErm/react-native-job-queue/blob/054fcbe/src/models/Job.ts#L9)*

___

###  priority

• **priority**: *number*

*Defined in [models/Job.ts:15](https://github.com/SimonErm/react-native-job-queue/blob/054fcbe/src/models/Job.ts#L15)*

___

###  timeout

• **timeout**: *number*

*Defined in [models/Job.ts:14](https://github.com/SimonErm/react-native-job-queue/blob/054fcbe/src/models/Job.ts#L14)*

___

###  workerName

• **workerName**: *string*

*Defined in [models/Job.ts:7](https://github.com/SimonErm/react-native-job-queue/blob/054fcbe/src/models/Job.ts#L7)*