File tree 4 files changed +16
-0
lines changed
scaleway-async/scaleway_async/k8s/v1 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,9 @@ def unmarshal_Cluster(data: Any) -> Cluster:
211
211
field = data .get ("cni" , None )
212
212
args ["cni" ] = field
213
213
214
+ field = data .get ("commitment_ends_at" , None )
215
+ args ["commitment_ends_at" ] = parser .isoparse (field ) if type (field ) is str else field
216
+
214
217
field = data .get ("created_at" , None )
215
218
args ["created_at" ] = parser .isoparse (field ) if type (field ) is str else field
216
219
Original file line number Diff line number Diff line change @@ -317,6 +317,11 @@ class Cluster:
317
317
Private network ID for internal cluster communication.
318
318
"""
319
319
320
+ commitment_ends_at : Optional [datetime ]
321
+ """
322
+ Date on which it will be possible to switch to a smaller offer.
323
+ """
324
+
320
325
321
326
@dataclass
322
327
class ClusterAutoUpgrade :
Original file line number Diff line number Diff line change @@ -211,6 +211,9 @@ def unmarshal_Cluster(data: Any) -> Cluster:
211
211
field = data .get ("cni" , None )
212
212
args ["cni" ] = field
213
213
214
+ field = data .get ("commitment_ends_at" , None )
215
+ args ["commitment_ends_at" ] = parser .isoparse (field ) if type (field ) is str else field
216
+
214
217
field = data .get ("created_at" , None )
215
218
args ["created_at" ] = parser .isoparse (field ) if type (field ) is str else field
216
219
Original file line number Diff line number Diff line change @@ -317,6 +317,11 @@ class Cluster:
317
317
Private network ID for internal cluster communication.
318
318
"""
319
319
320
+ commitment_ends_at : Optional [datetime ]
321
+ """
322
+ Date on which it will be possible to switch to a smaller offer.
323
+ """
324
+
320
325
321
326
@dataclass
322
327
class ClusterAutoUpgrade :
You can’t perform that action at this time.
0 commit comments