File tree Expand file tree Collapse file tree 4 files changed +54
-0
lines changed
scaleway-async/scaleway_async/iam/v1alpha1
scaleway/scaleway/iam/v1alpha1 Expand file tree Collapse file tree 4 files changed +54
-0
lines changed Original file line number Diff line number Diff line change @@ -378,6 +378,18 @@ def unmarshal_Quotum(data: Any) -> Quotum:
378378 if field is not None :
379379 args ["name" ] = field
380380
381+ field = data .get ("pretty_name" , None )
382+ if field is not None :
383+ args ["pretty_name" ] = field
384+
385+ field = data .get ("unit" , None )
386+ if field is not None :
387+ args ["unit" ] = field
388+
389+ field = data .get ("description" , None )
390+ if field is not None :
391+ args ["description" ] = field
392+
381393 field = data .get ("limit" , None )
382394 if field is not None :
383395 args ["limit" ] = field
Original file line number Diff line number Diff line change @@ -533,6 +533,21 @@ class Quotum:
533533 Name of the quota.
534534 """
535535
536+ pretty_name : str
537+ """
538+ A human-readable name for the quota.
539+ """
540+
541+ unit : str
542+ """
543+ The unit in which the quota is expressed.
544+ """
545+
546+ description : str
547+ """
548+ Details about the quota.
549+ """
550+
536551 limit : Optional [int ]
537552
538553 unlimited : Optional [bool ]
Original file line number Diff line number Diff line change @@ -378,6 +378,18 @@ def unmarshal_Quotum(data: Any) -> Quotum:
378378 if field is not None :
379379 args ["name" ] = field
380380
381+ field = data .get ("pretty_name" , None )
382+ if field is not None :
383+ args ["pretty_name" ] = field
384+
385+ field = data .get ("unit" , None )
386+ if field is not None :
387+ args ["unit" ] = field
388+
389+ field = data .get ("description" , None )
390+ if field is not None :
391+ args ["description" ] = field
392+
381393 field = data .get ("limit" , None )
382394 if field is not None :
383395 args ["limit" ] = field
Original file line number Diff line number Diff line change @@ -533,6 +533,21 @@ class Quotum:
533533 Name of the quota.
534534 """
535535
536+ pretty_name : str
537+ """
538+ A human-readable name for the quota.
539+ """
540+
541+ unit : str
542+ """
543+ The unit in which the quota is expressed.
544+ """
545+
546+ description : str
547+ """
548+ Details about the quota.
549+ """
550+
536551 limit : Optional [int ]
537552
538553 unlimited : Optional [bool ]
You can’t perform that action at this time.
0 commit comments