freebox_api_php/freebox/api/v3/models/Storage/OperationProgress.php

42 lines
799 B
PHP
Raw Normal View History

2016-06-09 12:47:13 +02:00
<?php
namespace alphayax\freebox\api\v3\models\Storage;
2016-06-24 21:41:17 +02:00
use alphayax\freebox\utils\Model;
2016-06-09 12:47:13 +02:00
/**
* Class OperationProgress
* @package alphayax\freebox\api\v3\models\Storage
*/
class OperationProgress extends Model {
/** @var int (Read-only) : number of steps done */
protected $done_steps;
/** @var int (Read-only) : total number of steps */
protected $max_steps;
/** @var int (Read-only) : current step progress */
protected $percent;
/**
* @return int
*/
public function getDoneSteps() {
return $this->done_steps;
}
/**
* @return int
*/
public function getMaxSteps() {
return $this->max_steps;
}
/**
* @return int
*/
public function getPercent() {
return $this->percent;
}
}