Home Manual Reference Source Test Repository
public class | source

TimeseriesFunction

Extends:

BaseProvision → TimeseriesFunction

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

Constructor Summary

Public Constructor
public

Constructor

Method Summary

Public Methods
public

create(): *

public

Deletes the selected RuleConfiguration

public

Udpate a Rule

public

Set the description attribute

public

Set the name for update attribute

public

withMetadataFile(file: *)

public

Set the name attribute

public

Set the organization attribute

public

Set the returnType attribute

public

Set the script attribute

public

Set the valueTypes 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 delete(): Promise source

Deletes the selected RuleConfiguration

Override:

BaseProvision#delete

Return:

Promise

Throw:

Error

public update(): Promise source

Udpate a Rule

Override:

BaseProvision#update

Return:

Promise

Throw:

Error

public withDescription(description: string): TimeseriesFunction source

Set the description attribute

Params:

NameTypeAttributeDescription
description string

public withIdentifier(name: string): TimeseriesFunction source

Set the name for update attribute

Params:

NameTypeAttributeDescription
name string

required field

public withMetadataFile(file: *) source

Params:

NameTypeAttributeDescription
file *

public withName(name: string): TimeseriesFunction source

Set the name attribute

Params:

NameTypeAttributeDescription
name string

required field

public withOrganization(organization: string): TimeseriesFunction source

Set the organization attribute

Params:

NameTypeAttributeDescription
organization string

required field

public withReturnType(returnType: String): TimeseriesFunction source

Set the returnType attribute

Params:

NameTypeAttributeDescription
returnType String

public withScript(script: string): TimeseriesFunction source

Set the script attribute

Params:

NameTypeAttributeDescription
script string

public withValueTypes(valueTypes: Array): TimeseriesFunction source

Set the valueTypes attribute

Params:

NameTypeAttributeDescription
valueTypes Array