Extends
Members
authMechanism :string
Authentication mechanism
Type:
- Inherited From:
- Source:
backend :string
Backend
Type:
- Inherited From:
- Source:
backendOptions :Object.<string, object>
Backend-specific configuration
Type:
- Inherited From:
- Source:
id :int
Storage id
Type:
- Inherited From:
- Source:
mountOptions :Object.<string, object>
Mount-specific options
Type:
- Inherited From:
- Source:
mountPoint :string
Mount point
Type:
- Inherited From:
- Source:
Methods
destroy()
Deletes the storage
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options.success |
function |
<optional> |
success callback |
options.error |
function |
<optional> |
error callback |
- Inherited From:
- Source:
getData() → {Array}
Returns the data from this object
- Inherited From:
- Source:
Returns:
JSON array of the data
- Type
- Array
recheck()
Recheck the storage
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options.success |
function |
<optional> |
success callback, receives result as argument |
options.error |
function |
<optional> |
error callback |
- Inherited From:
- Source:
save()
Creates or saves the storage.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
options.success |
function |
<optional> |
success callback, receives result as argument |
options.error |
function |
<optional> |
error callback |
- Inherited From:
- Source:
validate() → {boolean}
Validate this model
- Inherited From:
- Source:
Returns:
false if errors exist, true otherwise
- Type
- boolean