id; } /** * @return string * @see alphayax\freebox\api\v3\symbols\FileSystem\TaskType */ public function getType(){ return $this->type; } /** * @return string * @see alphayax\freebox\api\v3\symbols\FileSystem\TaskState */ public function getState(){ return $this->state; } /** * @param string $state * @see alphayax\freebox\api\v3\symbols\FileSystem\TaskState */ public function setState( $state){ $this->state = $state; } /** * @return string */ public function getError(){ return $this->error; } /** * @return int */ public function getCreatedTs(){ return $this->created_ts; } /** * @return int */ public function getStartedTs(){ return $this->started_ts; } /** * @return int */ public function getDoneTs(){ return $this->done_ts; } /** * @return int */ public function getDuration(){ return $this->duration; } /** * @return int */ public function getProgress(){ return $this->progress; } /** * @return int */ public function getEta(){ return $this->eta; } /** * @return string */ public function getFrom(){ return $this->from; } /** * @return string */ public function getTo(){ return $this->to; } /** * @return int */ public function getNfiles(){ return $this->nfiles; } /** * @return int */ public function getNfilesDone(){ return $this->nfiles_done; } /** * @return int */ public function getTotalBytes(){ return $this->total_bytes; } /** * @return int */ public function getTotalBytesDone(){ return $this->total_bytes_done; } /** * @return int */ public function getCurrBytes(){ return $this->curr_bytes; } /** * @return int */ public function getCurrBytesDone(){ return $this->curr_bytes_done; } /** * @return int */ public function getRate(){ return $this->rate; } }