initProperty( 'operation_pct', OperationProgress::class); } /** * @return int */ public function getId() { return $this->id; } /** * @return int */ public function getDiskId() { return $this->disk_id; } /** * @return string * @see symbols\Storage\DiskPartition\State */ public function getState() { return $this->state; } /** * @param string $state * @see symbols\Storage\DiskPartition\State */ public function setState( $state) { $this->state = $state; } /** * @return string * @see symbols\Storage\DiskPartition\FsType */ public function getFstype() { return $this->fstype; } /** * @return string */ public function getLabel() { return $this->label; } /** * @param string $label */ public function setLabel( $label) { $this->label = $label; } /** * @return string */ public function getPath() { return base64_decode( $this->path); } /** * @return int */ public function getTotalBytes() { return $this->total_bytes; } /** * @return int */ public function getUsedBytes() { return $this->used_bytes; } /** * @return int */ public function getFreeBytes() { return $this->free_bytes; } /** * @return string * @see symbols\Storage\DiskPartition\FsckResult */ public function getFsckResult() { return $this->fsck_result; } /** * @return \alphayax\freebox\api\v3\models\Storage\OperationProgress */ public function getOperationPct() { return $this->operation_pct; } }