| @@ 5-103 (lines=99) @@ | ||
| 2 | ||
| 3 | namespace Docker\API\Model; |
|
| 4 | ||
| 5 | class CreateImageInfo |
|
| 6 | { |
|
| 7 | /** |
|
| 8 | * @var string |
|
| 9 | */ |
|
| 10 | protected $error; |
|
| 11 | /** |
|
| 12 | * @var string |
|
| 13 | */ |
|
| 14 | protected $status; |
|
| 15 | /** |
|
| 16 | * @var string |
|
| 17 | */ |
|
| 18 | protected $progress; |
|
| 19 | /** |
|
| 20 | * @var ProgressDetail |
|
| 21 | */ |
|
| 22 | protected $progressDetail; |
|
| 23 | ||
| 24 | /** |
|
| 25 | * @return string |
|
| 26 | */ |
|
| 27 | public function getError() |
|
| 28 | { |
|
| 29 | return $this->error; |
|
| 30 | } |
|
| 31 | ||
| 32 | /** |
|
| 33 | * @param string $error |
|
| 34 | * |
|
| 35 | * @return self |
|
| 36 | */ |
|
| 37 | public function setError($error = null) |
|
| 38 | { |
|
| 39 | $this->error = $error; |
|
| 40 | ||
| 41 | return $this; |
|
| 42 | } |
|
| 43 | ||
| 44 | /** |
|
| 45 | * @return string |
|
| 46 | */ |
|
| 47 | public function getStatus() |
|
| 48 | { |
|
| 49 | return $this->status; |
|
| 50 | } |
|
| 51 | ||
| 52 | /** |
|
| 53 | * @param string $status |
|
| 54 | * |
|
| 55 | * @return self |
|
| 56 | */ |
|
| 57 | public function setStatus($status = null) |
|
| 58 | { |
|
| 59 | $this->status = $status; |
|
| 60 | ||
| 61 | return $this; |
|
| 62 | } |
|
| 63 | ||
| 64 | /** |
|
| 65 | * @return string |
|
| 66 | */ |
|
| 67 | public function getProgress() |
|
| 68 | { |
|
| 69 | return $this->progress; |
|
| 70 | } |
|
| 71 | ||
| 72 | /** |
|
| 73 | * @param string $progress |
|
| 74 | * |
|
| 75 | * @return self |
|
| 76 | */ |
|
| 77 | public function setProgress($progress = null) |
|
| 78 | { |
|
| 79 | $this->progress = $progress; |
|
| 80 | ||
| 81 | return $this; |
|
| 82 | } |
|
| 83 | ||
| 84 | /** |
|
| 85 | * @return ProgressDetail |
|
| 86 | */ |
|
| 87 | public function getProgressDetail() |
|
| 88 | { |
|
| 89 | return $this->progressDetail; |
|
| 90 | } |
|
| 91 | ||
| 92 | /** |
|
| 93 | * @param ProgressDetail $progressDetail |
|
| 94 | * |
|
| 95 | * @return self |
|
| 96 | */ |
|
| 97 | public function setProgressDetail(ProgressDetail $progressDetail = null) |
|
| 98 | { |
|
| 99 | $this->progressDetail = $progressDetail; |
|
| 100 | ||
| 101 | return $this; |
|
| 102 | } |
|
| 103 | } |
|
| 104 | ||
| @@ 5-103 (lines=99) @@ | ||
| 2 | ||
| 3 | namespace Docker\API\Model; |
|
| 4 | ||
| 5 | class PullInfo |
|
| 6 | { |
|
| 7 | /** |
|
| 8 | * @var string |
|
| 9 | */ |
|
| 10 | protected $error; |
|
| 11 | /** |
|
| 12 | * @var string |
|
| 13 | */ |
|
| 14 | protected $status; |
|
| 15 | /** |
|
| 16 | * @var string |
|
| 17 | */ |
|
| 18 | protected $progress; |
|
| 19 | /** |
|
| 20 | * @var ProgressDetail |
|
| 21 | */ |
|
| 22 | protected $progressDetail; |
|
| 23 | ||
| 24 | /** |
|
| 25 | * @return string |
|
| 26 | */ |
|
| 27 | public function getError() |
|
| 28 | { |
|
| 29 | return $this->error; |
|
| 30 | } |
|
| 31 | ||
| 32 | /** |
|
| 33 | * @param string $error |
|
| 34 | * |
|
| 35 | * @return self |
|
| 36 | */ |
|
| 37 | public function setError($error = null) |
|
| 38 | { |
|
| 39 | $this->error = $error; |
|
| 40 | ||
| 41 | return $this; |
|
| 42 | } |
|
| 43 | ||
| 44 | /** |
|
| 45 | * @return string |
|
| 46 | */ |
|
| 47 | public function getStatus() |
|
| 48 | { |
|
| 49 | return $this->status; |
|
| 50 | } |
|
| 51 | ||
| 52 | /** |
|
| 53 | * @param string $status |
|
| 54 | * |
|
| 55 | * @return self |
|
| 56 | */ |
|
| 57 | public function setStatus($status = null) |
|
| 58 | { |
|
| 59 | $this->status = $status; |
|
| 60 | ||
| 61 | return $this; |
|
| 62 | } |
|
| 63 | ||
| 64 | /** |
|
| 65 | * @return string |
|
| 66 | */ |
|
| 67 | public function getProgress() |
|
| 68 | { |
|
| 69 | return $this->progress; |
|
| 70 | } |
|
| 71 | ||
| 72 | /** |
|
| 73 | * @param string $progress |
|
| 74 | * |
|
| 75 | * @return self |
|
| 76 | */ |
|
| 77 | public function setProgress($progress = null) |
|
| 78 | { |
|
| 79 | $this->progress = $progress; |
|
| 80 | ||
| 81 | return $this; |
|
| 82 | } |
|
| 83 | ||
| 84 | /** |
|
| 85 | * @return ProgressDetail |
|
| 86 | */ |
|
| 87 | public function getProgressDetail() |
|
| 88 | { |
|
| 89 | return $this->progressDetail; |
|
| 90 | } |
|
| 91 | ||
| 92 | /** |
|
| 93 | * @param ProgressDetail $progressDetail |
|
| 94 | * |
|
| 95 | * @return self |
|
| 96 | */ |
|
| 97 | public function setProgressDetail(ProgressDetail $progressDetail = null) |
|
| 98 | { |
|
| 99 | $this->progressDetail = $progressDetail; |
|
| 100 | ||
| 101 | return $this; |
|
| 102 | } |
|
| 103 | } |
|
| 104 | ||
| @@ 5-103 (lines=99) @@ | ||
| 2 | ||
| 3 | namespace Docker\API\Model; |
|
| 4 | ||
| 5 | class PushImageInfo |
|
| 6 | { |
|
| 7 | /** |
|
| 8 | * @var string |
|
| 9 | */ |
|
| 10 | protected $error; |
|
| 11 | /** |
|
| 12 | * @var string |
|
| 13 | */ |
|
| 14 | protected $status; |
|
| 15 | /** |
|
| 16 | * @var string |
|
| 17 | */ |
|
| 18 | protected $progress; |
|
| 19 | /** |
|
| 20 | * @var ProgressDetail |
|
| 21 | */ |
|
| 22 | protected $progressDetail; |
|
| 23 | ||
| 24 | /** |
|
| 25 | * @return string |
|
| 26 | */ |
|
| 27 | public function getError() |
|
| 28 | { |
|
| 29 | return $this->error; |
|
| 30 | } |
|
| 31 | ||
| 32 | /** |
|
| 33 | * @param string $error |
|
| 34 | * |
|
| 35 | * @return self |
|
| 36 | */ |
|
| 37 | public function setError($error = null) |
|
| 38 | { |
|
| 39 | $this->error = $error; |
|
| 40 | ||
| 41 | return $this; |
|
| 42 | } |
|
| 43 | ||
| 44 | /** |
|
| 45 | * @return string |
|
| 46 | */ |
|
| 47 | public function getStatus() |
|
| 48 | { |
|
| 49 | return $this->status; |
|
| 50 | } |
|
| 51 | ||
| 52 | /** |
|
| 53 | * @param string $status |
|
| 54 | * |
|
| 55 | * @return self |
|
| 56 | */ |
|
| 57 | public function setStatus($status = null) |
|
| 58 | { |
|
| 59 | $this->status = $status; |
|
| 60 | ||
| 61 | return $this; |
|
| 62 | } |
|
| 63 | ||
| 64 | /** |
|
| 65 | * @return string |
|
| 66 | */ |
|
| 67 | public function getProgress() |
|
| 68 | { |
|
| 69 | return $this->progress; |
|
| 70 | } |
|
| 71 | ||
| 72 | /** |
|
| 73 | * @param string $progress |
|
| 74 | * |
|
| 75 | * @return self |
|
| 76 | */ |
|
| 77 | public function setProgress($progress = null) |
|
| 78 | { |
|
| 79 | $this->progress = $progress; |
|
| 80 | ||
| 81 | return $this; |
|
| 82 | } |
|
| 83 | ||
| 84 | /** |
|
| 85 | * @return ProgressDetail |
|
| 86 | */ |
|
| 87 | public function getProgressDetail() |
|
| 88 | { |
|
| 89 | return $this->progressDetail; |
|
| 90 | } |
|
| 91 | ||
| 92 | /** |
|
| 93 | * @param ProgressDetail $progressDetail |
|
| 94 | * |
|
| 95 | * @return self |
|
| 96 | */ |
|
| 97 | public function setProgressDetail(ProgressDetail $progressDetail = null) |
|
| 98 | { |
|
| 99 | $this->progressDetail = $progressDetail; |
|
| 100 | ||
| 101 | return $this; |
|
| 102 | } |
|
| 103 | } |
|
| 104 | ||