PlaceName
Extends:
Static Member Summary
Static Public Members | ||
public static get |
|
Inherited Summary
From class ResourceBase | ||
public static get |
Returns if the resource is readonly |
|
public static get abstract |
Resource name |
|
public static get |
Resource path template |
|
public static get |
Returns the url key of the resource |
|
protected static get |
protectedFields: Array<string>: string[] Protected read-only fields |
|
public get |
Get api instance |
|
public set |
Set the api instance |
|
public get |
Auto generated Resource base url |
|
public get |
fieldNames: Array<String>: * List fields that contain object data |
|
public get |
If the resource can be owned by an organisation |
|
public get |
Auto generated resource url |
|
public |
Clone the object |
|
public |
async refresh(updateSelf: Boolean): Promise<ResourceBase> Refresh the resource by requesting it from the server again |
|
public |
Resets model instance to it's original state |
|
public |
sanitize() Clean up instance and commit all changes locally. |
|
public |
static(Target: string | function, Constructor: function, seedData: Object<string, *>): SimpleResourceProxy Static proxy generation |
|
public |
Transform instance to object |
|
public |
String representation of the resource, similar to Python's repr |
|
protected |
_proxyResourceList(Target: string | function, url: String, seedData: object): SimpleResourceProxy Macro for resource listing |
|
protected |
Moves new fields to this._properties and turns them into a getter/setter |