Constructor Summary
Public Constructor | ||
public |
constructor(response: Object) |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
Public Constructors
public constructor(response: Object) source
Params:
Name | Type | Attribute | Description |
response | Object | JSON formatted response of a single generic file |
|
response.id | Number |
|
The id of the generic file on the server |
response.type | String |
|
The type of this object ('generic_files') |
response.name | String |
|
Name for the generic file |
response.public | Boolean |
|
Whether or not the file is public |
response.visible_until | Date |
|
Datetime until it's no longer visible |
response.created_at | Date |
|
Time at which the generic file was created |
response.updated_at | Date |
|
Time at which the generic file was updated |