Backup
class Backup extends Snapshot
Snapshot
[id] => 4204610 [name] => node20140606-2 2014-06-05 [slug] => [distribution] => Ubuntu
Properties
protected integer | $id | from Snapshot | |
protected string | $name | from Snapshot | |
protected string | $slug | from Snapshot | |
protected string | $distribution | from Snapshot |
Methods
Details
in Snapshot at line 75
__construct(integer $id, string $name, string $slug, string $distribution)
Snapshot
in Snapshot at line 101
static
getInstanceFromArray(array $array)
Neues Objet erstellen
Diese Methode erstellt aus einem von der REST-API zurückgegebenen Ergebnisses ein Snapshot-Objekt.
Der Aufbau des Arrays ergibt sich aus dem json-String
[id] => 4204500 [name] => test-1-abc [slug] => [distribution] => Ubuntu
in Snapshot at line 121
integer
getID()
ID
in Snapshot at line 130
string
getName()
Name
in Snapshot at line 139
string
getSlug()
Slug
in Snapshot at line 148
string
getDistribution()
Distribution