import CsvBulkBuilder from 'opengate-js/src/provision/entities/CsvBulkBuilder.js'CsvBulkBuilder
Extends:
Csv builder. This builder give you the necessary tools to create a csv bulk using our OpenGate REST.
Constructor Summary
| Public Constructor | ||
| public |
constructor(ogapi: InternalOpenGateAPI, organization: string, resource: resource, timeout: number, async: boolean) Constructor |
|
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 |
|
| From class BulkBuilder | ||
| public |
Execute the bulk creation operation |
|
| public |
Execute the bulk delete operation |
|
| public |
Execute the bulk delete full operation |
|
| public |
Execute the bulk patch operation |
|
| public |
Execute the bulk update operation |
|
Public Constructors
public constructor(ogapi: InternalOpenGateAPI, organization: string, resource: resource, timeout: number, async: boolean) source
Constructor
Override:
BulkBuilder#constructorParams:
| Name | Type | Attribute | Description |
| ogapi | InternalOpenGateAPI | required field. This is ogapi instance |
|
| organization | string | required field. This is the organization name where entities will be created, updated or deleted |
|
| resource | resource | required field. This is the resource used for the bulk provision |
|
| timeout | number |
|
timeout in millisecons. The request will have a specific time out if it will be exceeded then the promise throw an exception |
| async | boolean |
|
forces async execution for the bulk operation |