File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed
scaleway-async/scaleway_async/k8s/v1 Expand file tree Collapse file tree 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:
211211 field = data .get ("cni" , None )
212212 args ["cni" ] = field
213213
214+ field = data .get ("commitment_ends_at" , None )
215+ args ["commitment_ends_at" ] = parser .isoparse (field ) if type (field ) is str else field
216+
214217 field = data .get ("created_at" , None )
215218 args ["created_at" ] = parser .isoparse (field ) if type (field ) is str else field
216219
Original file line number Diff line number Diff line change @@ -317,6 +317,11 @@ class Cluster:
317317 Private network ID for internal cluster communication.
318318 """
319319
320+ commitment_ends_at : Optional [datetime ]
321+ """
322+ Date on which it will be possible to switch to a smaller offer.
323+ """
324+
320325
321326@dataclass
322327class ClusterAutoUpgrade :
Original file line number Diff line number Diff line change @@ -211,6 +211,9 @@ def unmarshal_Cluster(data: Any) -> Cluster:
211211 field = data .get ("cni" , None )
212212 args ["cni" ] = field
213213
214+ field = data .get ("commitment_ends_at" , None )
215+ args ["commitment_ends_at" ] = parser .isoparse (field ) if type (field ) is str else field
216+
214217 field = data .get ("created_at" , None )
215218 args ["created_at" ] = parser .isoparse (field ) if type (field ) is str else field
216219
Original file line number Diff line number Diff line change @@ -317,6 +317,11 @@ class Cluster:
317317 Private network ID for internal cluster communication.
318318 """
319319
320+ commitment_ends_at : Optional [datetime ]
321+ """
322+ Date on which it will be possible to switch to a smaller offer.
323+ """
324+
320325
321326@dataclass
322327class ClusterAutoUpgrade :
You can’t perform that action at this time.
0 commit comments