$timestamp
$timestamp : \DateTime
Files entity
fromApiResponse(array{timestamp: int, timestampDateTime?: string, version: int, files: array{name: string, size: int, date: int, dateDateTime?: string, sha256: string}[]} $response) : \Iqrf\Repository\Entities\Files
Creates a new files entity from the API response
array{timestamp: int, timestampDateTime?: string, version: int, files: array{name: string, size: int, date: int, dateDateTime?: string, sha256: string}[]} | $response | API response body |
Files entity
jsonSerialize() : array{timestamp: string, version: int, files: array{name: string, size: int, creationDate: string, sha256: string}[]}
Serializes the files entity into JSON
JSON serialized files entity