Constructor
new SALocation(data)
Creates an SALocation object
Parameters:
| Name | Type | Description |
|---|---|---|
data |
SALocation | Object |
- Source:
Members
_id :string
Unique ID for the location
Type:
- string
- Default Value:
- ''
- Source:
dateLastUsedOnMobile :string
ISO date string (e.g., '2022-06-20T15:50:40.055Z'), when user on Mobile last edited this location or added this location to a CultureEvent
Type:
- string
- Default Value:
- ''
- Source:
name :string
Name of the location
Type:
- string
- Default Value:
- ''
- Source:
note :string
Any notes about the location
Type:
- string
- Default Value:
- ''
- Source:
Methods
set(data) → {SALocation}
Creates an updated SALocation object
Parameters:
| Name | Type | Description |
|---|---|---|
data |
SALocation | Object |
- Source:
Returns:
- Type
- SALocation