src/Scalify/PuppetMaster/Client/Job.php
protected function fill(array $data)
    {
        $this->uuid = $data["uuid"] ?: "";
        $this->status = $data["status"] ?: "";
        $this->code = $data["code"] ?: "";
        $this->modules = $data["modules"] ?: [];
        $this->vars = $data["vars"] ?: [];
        $this->error = $data["error"] ?: "";
        $this->logs = $data["logs"] ?: [];
        $this->results = $data["results"] ?: [];
        $this->duration = $data["duration"] ?: 0;
        $this->createdAt = $this->parseDate($data["created_at"]);
        $this->startedAt = $this->parseDate($data["started_at"]);
        $this->finishedAt = $this->parseDate($data["finished_at"]);
    }
protected function fill(array $data)
    {
        $this->uuid = $data["uuid"] ?: "";
        $this->status = $data["status"] ?: "";
        $this->code = $data["code"] ?: "";
        $this->modules = $data["modules"] ?: [];
        $this->vars = $data["vars"] ?: [];
        $this->error = $data["error"] ?: "";
        $this->logs = $data["logs"] ?: [];
        $this->results = $data["results"] ?: [];
        $this->duration = $data["duration"] ?: 0;
        $this->createdAt = $this->parseDate($data["created_at"]);
        $this->startedAt = $this->parseDate($data["started_at"]);
        $this->finishedAt = $this->parseDate($data["finished_at"]);
    }
Fills the given data into the respective properties.

@param array $data