Constructor Summary
| Public Constructor | ||
| public |
constructor(Reference: InternalOpenGateAPI) Constructor |
|
Method Summary
| Public Methods | ||
| public |
Set the color attribute |
|
| public |
withDescription(description: string): Areas Set the description attribute |
|
| public |
withEntities(entities: array): Areas Set the entities attribute |
|
| public |
withGeometry(type: string, coordinates: array): Areas Set the geometry attribute |
|
| public |
withIdentifier(identifier: string): Areas Set the identifier attribute |
|
| public |
Set the name attribute |
|
| public |
Set the order attribute |
|
| public |
withOrganization(organization: string): Areas Set the organization 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 withColor(color: string): Areas source
Set the color attribute
Params:
| Name | Type | Attribute | Description |
| color | string | required field |
public withDescription(description: string): Areas source
Set the description attribute
Params:
| Name | Type | Attribute | Description |
| description | string | required field |
public withEntities(entities: array): Areas source
Set the entities attribute
Params:
| Name | Type | Attribute | Description |
| entities | array | required field |
public withGeometry(type: string, coordinates: array): Areas source
Set the geometry attribute
Params:
| Name | Type | Attribute | Description |
| type | string | required field |
|
| coordinates | array | required field |
public withIdentifier(identifier: string): Areas source
Set the identifier attribute
Params:
| Name | Type | Attribute | Description |
| identifier | string | required field |
public withName(name: string): Areas source
Set the name attribute
Params:
| Name | Type | Attribute | Description |
| name | string | required field |