Discussion
Extends:
Inherited Summary
From class Model | ||
public static |
Generate a function which returns the value of the given attribute. |
|
public static |
Generate a function which returns the value of the given has-many relationship. |
|
public static |
Generate a function which returns the value of the given has-one relationship. |
|
public static |
transformDate(value: String): Date | null Transform the given value into a Date object. |
|
protected static |
getIdentifier(model: Model): Object Get a resource identifier object for the given model. |
|
public |
The resource object from the API. |
|
public |
Whether or not the resource exists on the server. |
|
public |
The time at which the model's data was last updated. Watching the value of this property is a fast way to retain/cache a subtree if data hasn't changed. |
|
protected |
The data store that this resource should be persisted to. |
|
public |
Get one of the model's attributes. |
|
public |
copyData(): * |
|
public |
Send a request to delete the resource. |
|
public |
id(): Integer Get the model's ID. |
|
public |
pushAttributes(attributes: Object) Merge new attributes into this model locally. |
|
public |
Merge new data into this model locally. |
|
public |
Merge new attributes into this model, both locally and with persistence. |
|
protected |
Construct a path to the API endpoint for this resource. |