Attribute
Direct Subclass:
The Attribute class represents a single model attribute, like 'account_id'. Subclasses of {Attribute} like {AttributeDateTime} know how to covert between the JSON representation of that type and the javascript representation. The Attribute class also exposes convenience methods for generating {Matcher} objects.
Constructor Summary
Public Constructor | ||
public |
constructor(objectPattern: {"modelKey": *, "queryable": *, "jsonKey": *}) |
Method Summary
Public Methods | ||
public |
|
|
public |
|
|
public |
|
|
public |
fromJSON(val: *): * |
|
public |
|
|
public |
|
|
public |
toJSON(val: *): * |
Public Constructors
public constructor(objectPattern: {"modelKey": *, "queryable": *, "jsonKey": *}) source
Params:
Name | Type | Attribute | Description |
objectPattern | {"modelKey": *, "queryable": *, "jsonKey": *} |
|
Public Methods
public in(val: Array): Matcher source
Params:
Name | Type | Attribute | Description |
val | Array | An array of values |