Repository navigation
Expand file tree
/
Copy pathContainersIdJsonGetResponse200.php
More file actions
579 lines (498 loc) · 13.5 KB
/
Copy pathContainersIdJsonGetResponse200.php
File metadata and controls
579 lines (498 loc) · 13.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
<?php
declare(strict_types=1);
namespace Docker\API\Model;
use Docker\API\Runtime\AdditionalAndPatternProperties;
use Docker\API\Runtime\AdditionalPropertiesInterface;
class ContainersIdJsonGetResponse200 implements AdditionalPropertiesInterface
{
use AdditionalAndPatternProperties;
/**
* @var array
*/
protected $initialized = [];
public function isInitialized($property): bool
{
return \array_key_exists($property, $this->initialized);
}
/**
* The ID of the container.
*
* @var string|null
*/
protected $id;
/**
* The time the container was created.
*
* @var string|null
*/
protected $created;
/**
* The path to the command being run.
*
* @var string|null
*/
protected $path;
/**
* The arguments to the command being run.
*
* @var list<string>|null
*/
protected $args;
/**
* ContainerState stores container's running state. It's part of ContainerJSONBase
* and will be returned by the "inspect" command.
*
* @var ContainerState|null
*/
protected $state;
/**
* The container's image ID.
*
* @var string|null
*/
protected $image;
/**
* @var string|null
*/
protected $resolvConfPath;
/**
* @var string|null
*/
protected $hostnamePath;
/**
* @var string|null
*/
protected $hostsPath;
/**
* @var string|null
*/
protected $logPath;
/**
* @var string|null
*/
protected $name;
/**
* @var int|null
*/
protected $restartCount;
/**
* @var string|null
*/
protected $driver;
/**
* @var string|null
*/
protected $platform;
/**
* @var string|null
*/
protected $mountLabel;
/**
* @var string|null
*/
protected $processLabel;
/**
* @var string|null
*/
protected $appArmorProfile;
/**
* IDs of exec instances that are running in the container.
*
* @var list<string>|null
*/
protected $execIDs;
/**
* Container configuration that depends on the host we are running on.
*
* @var HostConfig|null
*/
protected $hostConfig;
/**
* Information about the storage driver used to store the container's and
* image's filesystem.
*
* @var GraphDriverData|null
*/
protected $graphDriver;
/**
* The size of files that have been created or changed by this
* container.
*
* @var int|null
*/
protected $sizeRw;
/**
* The total size of all the files in this container.
*
* @var int|null
*/
protected $sizeRootFs;
/**
* @var list<MountPoint>|null
*/
protected $mounts;
/**
* Configuration for a container that is portable between hosts.
*
* @var ContainerConfig|null
*/
protected $config;
/**
* NetworkSettings exposes the network settings in the API.
*
* @var NetworkSettings|null
*/
protected $networkSettings;
/**
* The ID of the container.
*/
public function getId(): ?string
{
return $this->id;
}
/**
* The ID of the container.
*/
public function setId(?string $id): self
{
$this->initialized['id'] = true;
$this->id = $id;
return $this;
}
/**
* The time the container was created.
*/
public function getCreated(): ?string
{
return $this->created;
}
/**
* The time the container was created.
*/
public function setCreated(?string $created): self
{
$this->initialized['created'] = true;
$this->created = $created;
return $this;
}
/**
* The path to the command being run.
*/
public function getPath(): ?string
{
return $this->path;
}
/**
* The path to the command being run.
*/
public function setPath(?string $path): self
{
$this->initialized['path'] = true;
$this->path = $path;
return $this;
}
/**
* The arguments to the command being run.
*
* @return list<string>|null
*/
public function getArgs(): ?array
{
return $this->args;
}
/**
* The arguments to the command being run.
*
* @param list<string>|null $args
*/
public function setArgs(?array $args): self
{
$this->initialized['args'] = true;
$this->args = $args;
return $this;
}
/**
* ContainerState stores container's running state. It's part of ContainerJSONBase
* and will be returned by the "inspect" command.
*/
public function getState(): ?ContainerState
{
return $this->state;
}
/**
* ContainerState stores container's running state. It's part of ContainerJSONBase
* and will be returned by the "inspect" command.
*/
public function setState(?ContainerState $state): self
{
$this->initialized['state'] = true;
$this->state = $state;
return $this;
}
/**
* The container's image ID.
*/
public function getImage(): ?string
{
return $this->image;
}
/**
* The container's image ID.
*/
public function setImage(?string $image): self
{
$this->initialized['image'] = true;
$this->image = $image;
return $this;
}
public function getResolvConfPath(): ?string
{
return $this->resolvConfPath;
}
public function setResolvConfPath(?string $resolvConfPath): self
{
$this->initialized['resolvConfPath'] = true;
$this->resolvConfPath = $resolvConfPath;
return $this;
}
public function getHostnamePath(): ?string
{
return $this->hostnamePath;
}
public function setHostnamePath(?string $hostnamePath): self
{
$this->initialized['hostnamePath'] = true;
$this->hostnamePath = $hostnamePath;
return $this;
}
public function getHostsPath(): ?string
{
return $this->hostsPath;
}
public function setHostsPath(?string $hostsPath): self
{
$this->initialized['hostsPath'] = true;
$this->hostsPath = $hostsPath;
return $this;
}
public function getLogPath(): ?string
{
return $this->logPath;
}
public function setLogPath(?string $logPath): self
{
$this->initialized['logPath'] = true;
$this->logPath = $logPath;
return $this;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): self
{
$this->initialized['name'] = true;
$this->name = $name;
return $this;
}
public function getRestartCount(): ?int
{
return $this->restartCount;
}
public function setRestartCount(?int $restartCount): self
{
$this->initialized['restartCount'] = true;
$this->restartCount = $restartCount;
return $this;
}
public function getDriver(): ?string
{
return $this->driver;
}
public function setDriver(?string $driver): self
{
$this->initialized['driver'] = true;
$this->driver = $driver;
return $this;
}
public function getPlatform(): ?string
{
return $this->platform;
}
public function setPlatform(?string $platform): self
{
$this->initialized['platform'] = true;
$this->platform = $platform;
return $this;
}
public function getMountLabel(): ?string
{
return $this->mountLabel;
}
public function setMountLabel(?string $mountLabel): self
{
$this->initialized['mountLabel'] = true;
$this->mountLabel = $mountLabel;
return $this;
}
public function getProcessLabel(): ?string
{
return $this->processLabel;
}
public function setProcessLabel(?string $processLabel): self
{
$this->initialized['processLabel'] = true;
$this->processLabel = $processLabel;
return $this;
}
public function getAppArmorProfile(): ?string
{
return $this->appArmorProfile;
}
public function setAppArmorProfile(?string $appArmorProfile): self
{
$this->initialized['appArmorProfile'] = true;
$this->appArmorProfile = $appArmorProfile;
return $this;
}
/**
* IDs of exec instances that are running in the container.
*
* @return list<string>|null
*/
public function getExecIDs(): ?array
{
return $this->execIDs;
}
/**
* IDs of exec instances that are running in the container.
*
* @param list<string>|null $execIDs
*/
public function setExecIDs(?array $execIDs): self
{
$this->initialized['execIDs'] = true;
$this->execIDs = $execIDs;
return $this;
}
/**
* Container configuration that depends on the host we are running on.
*/
public function getHostConfig(): ?HostConfig
{
return $this->hostConfig;
}
/**
* Container configuration that depends on the host we are running on.
*/
public function setHostConfig(?HostConfig $hostConfig): self
{
$this->initialized['hostConfig'] = true;
$this->hostConfig = $hostConfig;
return $this;
}
/**
* Information about the storage driver used to store the container's and
* image's filesystem.
*/
public function getGraphDriver(): ?GraphDriverData
{
return $this->graphDriver;
}
/**
* Information about the storage driver used to store the container's and
* image's filesystem.
*/
public function setGraphDriver(?GraphDriverData $graphDriver): self
{
$this->initialized['graphDriver'] = true;
$this->graphDriver = $graphDriver;
return $this;
}
/**
* The size of files that have been created or changed by this
* container.
*/
public function getSizeRw(): ?int
{
return $this->sizeRw;
}
/**
* The size of files that have been created or changed by this
* container.
*/
public function setSizeRw(?int $sizeRw): self
{
$this->initialized['sizeRw'] = true;
$this->sizeRw = $sizeRw;
return $this;
}
/**
* The total size of all the files in this container.
*/
public function getSizeRootFs(): ?int
{
return $this->sizeRootFs;
}
/**
* The total size of all the files in this container.
*/
public function setSizeRootFs(?int $sizeRootFs): self
{
$this->initialized['sizeRootFs'] = true;
$this->sizeRootFs = $sizeRootFs;
return $this;
}
/**
* @return list<MountPoint>|null
*/
public function getMounts(): ?array
{
return $this->mounts;
}
/**
* @param list<MountPoint>|null $mounts
*/
public function setMounts(?array $mounts): self
{
$this->initialized['mounts'] = true;
$this->mounts = $mounts;
return $this;
}
/**
* Configuration for a container that is portable between hosts.
*/
public function getConfig(): ?ContainerConfig
{
return $this->config;
}
/**
* Configuration for a container that is portable between hosts.
*/
public function setConfig(?ContainerConfig $config): self
{
$this->initialized['config'] = true;
$this->config = $config;
return $this;
}
/**
* NetworkSettings exposes the network settings in the API.
*/
public function getNetworkSettings(): ?NetworkSettings
{
return $this->networkSettings;
}
/**
* NetworkSettings exposes the network settings in the API.
*/
public function setNetworkSettings(?NetworkSettings $networkSettings): self
{
$this->initialized['networkSettings'] = true;
$this->networkSettings = $networkSettings;
return $this;
}
public function definedProperties(): array
{
return ['id' => ['Id', 'getId', 'setId'], 'created' => ['Created', 'getCreated', 'setCreated'], 'path' => ['Path', 'getPath', 'setPath'], 'args' => ['Args', 'getArgs', 'setArgs'], 'state' => ['State', 'getState', 'setState'], 'image' => ['Image', 'getImage', 'setImage'], 'resolvConfPath' => ['ResolvConfPath', 'getResolvConfPath', 'setResolvConfPath'], 'hostnamePath' => ['HostnamePath', 'getHostnamePath', 'setHostnamePath'], 'hostsPath' => ['HostsPath', 'getHostsPath', 'setHostsPath'], 'logPath' => ['LogPath', 'getLogPath', 'setLogPath'], 'name' => ['Name', 'getName', 'setName'], 'restartCount' => ['RestartCount', 'getRestartCount', 'setRestartCount'], 'driver' => ['Driver', 'getDriver', 'setDriver'], 'platform' => ['Platform', 'getPlatform', 'setPlatform'], 'mountLabel' => ['MountLabel', 'getMountLabel', 'setMountLabel'], 'processLabel' => ['ProcessLabel', 'getProcessLabel', 'setProcessLabel'], 'appArmorProfile' => ['AppArmorProfile', 'getAppArmorProfile', 'setAppArmorProfile'], 'execIDs' => ['ExecIDs', 'getExecIDs', 'setExecIDs'], 'hostConfig' => ['HostConfig', 'getHostConfig', 'setHostConfig'], 'graphDriver' => ['GraphDriver', 'getGraphDriver', 'setGraphDriver'], 'sizeRw' => ['SizeRw', 'getSizeRw', 'setSizeRw'], 'sizeRootFs' => ['SizeRootFs', 'getSizeRootFs', 'setSizeRootFs'], 'mounts' => ['Mounts', 'getMounts', 'setMounts'], 'config' => ['Config', 'getConfig', 'setConfig'], 'networkSettings' => ['NetworkSettings', 'getNetworkSettings', 'setNetworkSettings']];
}
}