This is a base object that contains all you can do about ConnectorFunctions.
constructor
Constructor
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| Reference | InternalOpenGateAPI |
❌ | to the API object. |
create()
Create a new Connector Function
Retorna
Tip
Tipo: Promise
delete()
Deletes the selected connector function
Retorna
Tip
Tipo: Promise
update()
Updates a connector function
Retorna
Tip
Tipo: Promise
withChannel(channel)
Set the channel attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| channel | string |
❌ | required field |
Retorna
Tip
Tipo: ConnectorFunctions
withDescription(description)
Set the description attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| description | string |
❌ |
Retorna
Tip
Tipo: ConnectorFunctions
withIdentifier(identifier)
Set the identifier attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| identifier | string |
❌ | required field |
Retorna
Tip
Tipo: ConnectorFunctions
withJavascript(javascript)
Set the javascript attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| javascript | string |
❌ |
Retorna
Tip
Tipo: ConnectorFunctions
withName(name)
Set the name attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| name | string |
❌ | required field |
Retorna
Tip
Tipo: ConnectorFunctions
withNorthCriterias(criterias)
Set the north criterias attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| criterias | array |
❌ |
Retorna
Tip
Tipo: ConnectorFunctions
withOperationalStatus(operationalStatus)
Set the operational status attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| operationalStatus | boolean |
❌ |
Retorna
Tip
Tipo: ConnectorFunctions
withOperationName(operationName)
Set the operation name attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| operationName | string |
❌ | required field |
Retorna
Tip
Tipo: ConnectorFunctions
withOrganization(organization)
Set the organization attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| organization | string |
❌ | required field |
Retorna
Tip
Tipo: ConnectorFunctions
withPayloadType(payloadType)
Set the payload type attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| payloadType | string |
❌ |
Retorna
Tip
Tipo: ConnectorFunctions
withSouthCriterias(criterias)
Set the south criterias attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| criterias | array |
❌ |
Retorna
Tip
Tipo: ConnectorFunctions
withType(type)
Set the type attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| type | string |
❌ |
Retorna
Tip
Tipo: ConnectorFunctions