Total Complexity | 8 |
Total Lines | 64 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class BatchResponse |
||
8 | { |
||
9 | /** |
||
10 | * @var string |
||
11 | */ |
||
12 | private $id; |
||
13 | |||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | private $status; |
||
18 | |||
19 | /** |
||
20 | * @var int |
||
21 | */ |
||
22 | private $totalOperations; |
||
23 | |||
24 | /** |
||
25 | * @var int |
||
26 | */ |
||
27 | private $finishedOperations; |
||
28 | |||
29 | public function getId(): string |
||
30 | { |
||
31 | return $this->id; |
||
32 | } |
||
33 | |||
34 | public function setId(string $id): BatchResponse |
||
35 | { |
||
36 | $this->id = $id; |
||
37 | return $this; |
||
38 | } |
||
39 | |||
40 | public function getStatus(): string |
||
43 | } |
||
44 | |||
45 | public function setStatus(string $status): BatchResponse |
||
46 | { |
||
47 | $this->status = $status; |
||
48 | return $this; |
||
49 | } |
||
50 | |||
51 | public function getTotalOperations(): int |
||
52 | { |
||
53 | return $this->totalOperations; |
||
54 | } |
||
55 | |||
56 | public function setTotalOperations(int $totalOperations): BatchResponse |
||
60 | } |
||
61 | |||
62 | public function getFinishedOperations(): int |
||
63 | { |
||
64 | return $this->finishedOperations; |
||
65 | } |
||
66 | |||
67 | public function setFinishedOperations(int $finishedOperations): BatchResponse |
||
71 | } |
||
72 | } |
||
73 |