Skip to content
This repository was archived by the owner on Oct 26, 2019. It is now read-only.

Commit 2ad05f7

Browse files
committed
New generation, fix double properties, add description
1 parent ae9671d commit 2ad05f7

File tree

118 files changed

+3271
-473
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+3271
-473
lines changed

src/Client.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ public static function create($httpClient = null)
3535
$httpClient = new \Http\Client\Common\PluginClient($httpClient, $plugins);
3636
}
3737
$messageFactory = \Http\Discovery\MessageFactoryDiscovery::find();
38+
$streamFactory = \Http\Discovery\StreamFactoryDiscovery::find();
3839
$serializer = new \Symfony\Component\Serializer\Serializer(\Docker\API\Normalizer\NormalizerFactory::create(), [new \Symfony\Component\Serializer\Encoder\JsonEncoder(new \Symfony\Component\Serializer\Encoder\JsonEncode(), new \Symfony\Component\Serializer\Encoder\JsonDecode())]);
3940

40-
return new static($httpClient, $messageFactory, $serializer);
41+
return new static($httpClient, $messageFactory, $serializer, $streamFactory);
4142
}
4243
}

src/Model/AuthPostResponse200.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,21 @@
1313
class AuthPostResponse200
1414
{
1515
/**
16+
* The status of the authentication.
17+
*
1618
* @var string
1719
*/
1820
protected $status;
1921
/**
22+
* An opaque token used to authenticate a user after a successful login.
23+
*
2024
* @var string
2125
*/
2226
protected $identityToken;
2327

2428
/**
29+
* The status of the authentication.
30+
*
2531
* @return string
2632
*/
2733
public function getStatus(): ?string
@@ -30,6 +36,8 @@ public function getStatus(): ?string
3036
}
3137

3238
/**
39+
* The status of the authentication.
40+
*
3341
* @param string $status
3442
*
3543
* @return self
@@ -42,6 +50,8 @@ public function setStatus(?string $status): self
4250
}
4351

4452
/**
53+
* An opaque token used to authenticate a user after a successful login.
54+
*
4555
* @return string
4656
*/
4757
public function getIdentityToken(): ?string
@@ -50,6 +60,8 @@ public function getIdentityToken(): ?string
5060
}
5161

5262
/**
63+
* An opaque token used to authenticate a user after a successful login.
64+
*
5365
* @param string $identityToken
5466
*
5567
* @return self

src/Model/ClusterInfo.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
class ClusterInfo
1414
{
1515
/**
16+
* The ID of the swarm.
17+
*
1618
* @var string
1719
*/
1820
protected $iD;
@@ -29,11 +31,15 @@ class ClusterInfo
2931
*/
3032
protected $updatedAt;
3133
/**
34+
* User modifiable swarm configuration.
35+
*
3236
* @var SwarmSpec
3337
*/
3438
protected $spec;
3539

3640
/**
41+
* The ID of the swarm.
42+
*
3743
* @return string
3844
*/
3945
public function getID(): ?string
@@ -42,6 +48,8 @@ public function getID(): ?string
4248
}
4349

4450
/**
51+
* The ID of the swarm.
52+
*
4553
* @param string $iD
4654
*
4755
* @return self
@@ -114,6 +122,8 @@ public function setUpdatedAt(?string $updatedAt): self
114122
}
115123

116124
/**
125+
* User modifiable swarm configuration.
126+
*
117127
* @return SwarmSpec
118128
*/
119129
public function getSpec(): ?SwarmSpec
@@ -122,6 +132,8 @@ public function getSpec(): ?SwarmSpec
122132
}
123133

124134
/**
135+
* User modifiable swarm configuration.
136+
*
125137
* @param SwarmSpec $spec
126138
*
127139
* @return self

0 commit comments

Comments
 (0)