Extends
Methods
(static) filtertypes() → {Promise}
Returns all the acceptable filter types on a record's filter chain.
Returns:
- Type
- Promise
(static) find(id) → {Promise}
Throws an error if an ID isn't supplied, informs the user to get records through a Zone object if they want a list.
Parameters:
Name | Type | Description |
---|---|---|
id |
String |
Returns:
- Type
- Promise
(static) get_base_path() → {String}
Defines the base path as just "zones/", all other info is derided from actual record object
itself.
Returns:
- Type
- String
(static) metatypes() → {Promise}
Returns all the acceptable metadata keys for records.
Returns:
- Type
- Promise
create_resource_path() → {String}
Overrideable method to provide non-standard "PUT" behavior on creating new records.
E.g. Zones require info in the URI where Data Sources don't.
- Inherited From:
- Source:
Returns:
- Type
- String
destroy() → {Promise}
Destroys an object on the server w/ the delete HTTP verb.
- Inherited From:
- Source:
Returns:
- Type
- Promise
get_resource_path() → {String}
Defines the resource path w/ necessary zone information to succesfully GET the resource. Used
internally.
- Overrides:
- Source:
Returns:
- Type
- String
qps() → {Promise}
Returns the Queries Per Second statistics of a single record
Returns:
- Type
- Promise
save() → {Promise}
Saves an object on the server.
- Inherited From:
- Source:
Returns:
- Type
- Promise
update(attributes) → {Promise}
Updates an object w/ the provided attributes.
Parameters:
Name | Type | Description |
---|---|---|
attributes |
Object |
- Inherited From:
- Source:
Returns:
- Type
- Promise
usage() → {Promise}
Returns usage statistics on a single record
Returns:
- Type
- Promise