import TimeseriesFunction from 'opengate-js/src/timeseriesFunctionsCatalog/TimeseriesFunction.js'TimeseriesFunction
Extends:
This is a base object that contains all you can do about TimeseriesFunction.
Constructor Summary
| Public Constructor | ||
| public |
constructor(Reference: InternalOpenGateAPI) Constructor |
|
Method Summary
| Public Methods | ||
| public |
create(): * |
|
| public |
Deletes the selected RuleConfiguration |
|
| public |
Udpate a Rule |
|
| public |
withDescription(description: string): TimeseriesFunction Set the description attribute |
|
| public |
withIdentifier(name: string): TimeseriesFunction Set the name for update attribute |
|
| public |
withMetadataFile(file: *) |
|
| public |
withName(name: string): TimeseriesFunction Set the name attribute |
|
| public |
withOrganization(organization: string): TimeseriesFunction Set the organization attribute |
|
| public |
withReturnType(returnType: String): TimeseriesFunction Set the returnType attribute |
|
| public |
withScript(script: string): TimeseriesFunction Set the script attribute |
|
| public |
withValueTypes(valueTypes: Array): TimeseriesFunction 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 |
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#constructorParams:
| Name | Type | Attribute | Description |
| 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#createReturn:
| * |
public delete(): Promise source
Deletes the selected RuleConfiguration
Override:
BaseProvision#deleteThrow:
public withDescription(description: string): TimeseriesFunction source
Set the description attribute
Params:
| Name | Type | Attribute | Description |
| description | string |
public withIdentifier(name: string): TimeseriesFunction source
Set the name for update attribute
Params:
| Name | Type | Attribute | Description |
| name | string | required field |
public withMetadataFile(file: *) source
Params:
| Name | Type | Attribute | Description |
| file | * |
public withName(name: string): TimeseriesFunction source
Set the name attribute
Params:
| Name | Type | Attribute | Description |
| name | string | required field |
public withOrganization(organization: string): TimeseriesFunction source
Set the organization attribute
Params:
| Name | Type | Attribute | Description |
| organization | string | required field |
public withReturnType(returnType: String): TimeseriesFunction source
Set the returnType attribute
Params:
| Name | Type | Attribute | Description |
| returnType | String |
public withScript(script: string): TimeseriesFunction source
Set the script attribute
Params:
| Name | Type | Attribute | Description |
| script | string |
public withValueTypes(valueTypes: Array): TimeseriesFunction source
Set the valueTypes attribute
Params:
| Name | Type | Attribute | Description |
| valueTypes | Array |