Class: JobDTO

JobDTO


new JobDTO( [json])

Parameters:
Name Type Argument Description
json any <optional>
Source:

Members


concurrency :number

Type:
  • number
Source:

concurrencyDelay :number

Type:
  • number
Source:

cron :string

Type:
  • string
Source:

duration

Source:

fields :Array.<FieldDTO>

Type:
Source:

id :string

Type:
  • string
Source:

name :string

Type:
  • string
Source:

scheduled

Source:

webhookURL

Source:

Methods


addRecord(record)

Parameters:
Name Type Description
record JobRecordDTO
Source:
Returns:
Type
void

expectedFields()

Source:
Returns:
Type
Array.<FieldDTO>

field(name)

Parameters:
Name Type Description
name string
Source:
Returns:
Type
FieldDTO | undefined

inputFields()

Source:
Returns:
Type
Array.<FieldDTO>