Home Manual Reference Source Test Repository
public class | source

NotebookScheduler

Extends:

BaseProvision → NotebookScheduler

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

Constructor Summary

Public Constructor
public

Constructor

Method Summary

Public Methods
public

create(): *

public

Sets the generateReport attribute

public

update()

public

Sets the crontab pattern

public

Sets the identifier attribute

public

Sets the notebookId attribute

public

withParams(params: *): *

public

Sets the reportRetentionDays attribute

Inherited Summary

From class BaseProvision
public

This invoke a request to OpenGate North API and the callback is managed by promises This function create a entity of provision

public

delete(body: *): Promise

This invoke a request to OpenGate North API and the callback is managed by promises This function deletes a entity of provision

public

This invoke a request to OpenGate North API and the callback is managed by promises This function updates a entity of provision

Public Constructors

public constructor(Reference: InternalOpenGateAPI) source

Constructor

Override:

BaseProvision#constructor

Params:

NameTypeAttributeDescription
Reference InternalOpenGateAPI

to the API object.

Public Methods

public create(): * source

This invoke a request to OpenGate North API and the callback is managed by promises This function create a entity of provision

Override:

BaseProvision#create

Return:

*

public generateReport(generateReport: boolean): NotebookScheduler source

Sets the generateReport attribute

Params:

NameTypeAttributeDescription
generateReport boolean

public update() source

This invoke a request to OpenGate North API and the callback is managed by promises This function updates a entity of provision

Override:

BaseProvision#update

public withCronPattern(cronPattern: string): NotebookScheduler source

Sets the crontab pattern

Params:

NameTypeAttributeDescription
cronPattern string

public withIdentifier(identifier: string): NotebookScheduler source

Sets the identifier attribute

Params:

NameTypeAttributeDescription
identifier string

public withNotebookId(notebookId: string): NotebookScheduler source

Sets the notebookId attribute

Params:

NameTypeAttributeDescription
notebookId string

public withParams(params: *): * source

Params:

NameTypeAttributeDescription
params *

Return:

*

public withReportRetentionDays(reportRetentionDays: number): NotebookScheduler source

Sets the reportRetentionDays attribute

Params:

NameTypeAttributeDescription
reportRetentionDays number