Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5fbdf85

Browse files
committed
Add missed ImageID for container config.
1 parent 5d2a65b commit 5fbdf85

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

docker-swagger.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,9 @@
347347
"Image": {
348348
"type": "string"
349349
},
350+
"ImageID": {
351+
"type": "string"
352+
},
350353
"Command": {
351354
"type": "string"
352355
},

generated/Model/ContainerConfig.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ class ContainerConfig
1616
* @var string
1717
*/
1818
protected $image;
19+
/**
20+
* @var string
21+
*/
22+
protected $imageID;
1923
/**
2024
* @var string
2125
*/
@@ -181,6 +185,26 @@ public function setImage($image = null)
181185
return $this;
182186
}
183187

188+
/**
189+
* @return string
190+
*/
191+
public function getImageID()
192+
{
193+
return $this->imageID;
194+
}
195+
196+
/**
197+
* @param string $imageID
198+
*
199+
* @return self
200+
*/
201+
public function setImageID($imageID = null)
202+
{
203+
$this->imageID = $imageID;
204+
205+
return $this;
206+
}
207+
184208
/**
185209
* @return string
186210
*/

generated/Normalizer/ContainerConfigNormalizer.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ public function denormalize($data, $class, $format = null, array $context = [])
5252
if (isset($data->{'Image'})) {
5353
$object->setImage($data->{'Image'});
5454
}
55+
if (isset($data->{'ImageID'})) {
56+
$object->setImageID($data->{'ImageID'});
57+
}
5558
if (isset($data->{'Command'})) {
5659
$object->setCommand($data->{'Command'});
5760
}
@@ -192,6 +195,9 @@ public function normalize($object, $format = null, array $context = [])
192195
if (null !== $object->getImage()) {
193196
$data->{'Image'} = $object->getImage();
194197
}
198+
if (null !== $object->getImageID()) {
199+
$data->{'ImageID'} = $object->getImageID();
200+
}
195201
if (null !== $object->getCommand()) {
196202
$data->{'Command'} = $object->getCommand();
197203
}

0 commit comments

Comments
 (0)