| Total Complexity | 7 |
| Total Lines | 90 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class TaskResumeMonitoring implements RequestInterface |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $username; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | private $password; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var int |
||
| 23 | */ |
||
| 24 | private $taskIDList; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Constructor |
||
| 28 | * |
||
| 29 | * @var string $username |
||
| 30 | * @var string $password |
||
| 31 | * @var int $taskIDList |
||
| 32 | */ |
||
| 33 | public function __construct($username, $password, $taskIDList) |
||
| 34 | { |
||
| 35 | $this->username = $username; |
||
| 36 | $this->password = $password; |
||
| 37 | $this->taskIDList = $taskIDList; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function getUsername() |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param string $username |
||
| 50 | * @return TaskResumeMonitoring |
||
| 51 | */ |
||
| 52 | public function withUsername($username) |
||
| 53 | { |
||
| 54 | $new = clone $this; |
||
| 55 | $new->username = $username; |
||
| 56 | |||
| 57 | return $new; |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return string |
||
| 62 | */ |
||
| 63 | public function getPassword() |
||
| 64 | { |
||
| 65 | return $this->password; |
||
| 66 | } |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @param string $password |
||
| 70 | * @return TaskResumeMonitoring |
||
| 71 | */ |
||
| 72 | public function withPassword($password) |
||
| 73 | { |
||
| 74 | $new = clone $this; |
||
| 75 | $new->password = $password; |
||
| 76 | |||
| 77 | return $new; |
||
| 78 | } |
||
| 79 | |||
| 80 | /** |
||
| 81 | * @return int |
||
| 82 | */ |
||
| 83 | public function getTaskIDList() |
||
| 86 | } |
||
| 87 | |||
| 88 | /** |
||
| 89 | * @param int $taskIDList |
||
| 90 | * @return TaskResumeMonitoring |
||
| 91 | */ |
||
| 92 | public function withTaskIDList($taskIDList) |
||
| 98 | } |
||
| 99 | |||
| 103 |