Models
This is a base object that contains all you can do about Models.
constructor
Constructor
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| Reference | InternalOpenGateAPI |
❌ | to the API object. |
withDescription(description)
Set the description attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| description | string |
❌ | required field |
Retorna
Tip
Tipo: Models
withIdentifier(id)
Set the identifier attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| id | string |
❌ | required field |
Retorna
Tip
Tipo: Models
withName(name)
Set the name attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| name | string |
❌ | required field |
Retorna
Tip
Tipo: Models
withNotes(notes)
Set the notes attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| notes | string |
❌ |
Retorna
Tip
Tipo: Models
withUrl(url)
Set the url attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| url | string |
❌ |
Retorna
Tip
Tipo: Models
withVersion(version)
Set the version attribute
Parámetros
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| version | string |
❌ |
Retorna
Tip
Tipo: Models