Notebook Scheduler

NotebookScheduler

NotebookScheduler Objects

class NotebookScheduler()

This is a base object that contains all you can do about Bundles.

constructor
function constructor()

Constructor

Arguments:

  • Reference InternalOpenGateAPI - to the API object.

create
function create() -> '*'

Returns:

  • *

generateReport
function generateReport(generateReport: boolean) -> 'NotebookScheduler'

Sets the generateReport attribute

Arguments:

  • generateReport boolean

Returns:

  • NotebookScheduler

update
function update()

withCronPattern
function withCronPattern(cronPattern: string) -> 'NotebookScheduler'

Sets the crontab pattern

Arguments:

  • cronPattern string

Returns:

  • NotebookScheduler

withIdentifier
function withIdentifier(identifier: string) -> 'NotebookScheduler'

Sets the identifier attribute

Arguments:

  • identifier string

Returns:

  • NotebookScheduler

withNotebookId
function withNotebookId(notebookId: string) -> 'NotebookScheduler'

Sets the notebookId attribute

Arguments:

  • notebookId string

Returns:

  • NotebookScheduler

withParams
function withParams(params: *) -> '*'

Arguments:

  • params *

Returns:

  • *

withReportRetentionDays
function withReportRetentionDays(reportRetentionDays: number) -> 'NotebookScheduler'

Sets the reportRetentionDays attribute

Arguments:

  • reportRetentionDays number

Returns:

  • NotebookScheduler