File tree Expand file tree Collapse file tree 4 files changed +22
-0
lines changed
scaleway-async/scaleway_async/webhosting/v1
scaleway/scaleway/webhosting/v1 Expand file tree Collapse file tree 4 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -875,6 +875,12 @@ def unmarshal_Offer(data: Any) -> Offer:
875875 else :
876876 args ["quota_warning" ] = OfferOptionWarning .UNKNOWN_WARNING
877877
878+ field = data .get ("region" , None )
879+ if field is not None :
880+ args ["region" ] = field
881+ else :
882+ args ["region" ] = None
883+
878884 field = data .get ("price" , None )
879885 if field is not None :
880886 args ["price" ] = unmarshal_Money (field )
Original file line number Diff line number Diff line change @@ -621,6 +621,11 @@ class Offer:
621621 Defines a warning if the maximum value for an option in the offer is exceeded.
622622 """
623623
624+ region : ScwRegion
625+ """
626+ Region where the offer is hosted.
627+ """
628+
624629 price : Optional [Money ] = None
625630 """
626631 Price of the offer.
Original file line number Diff line number Diff line change @@ -875,6 +875,12 @@ def unmarshal_Offer(data: Any) -> Offer:
875875 else :
876876 args ["quota_warning" ] = OfferOptionWarning .UNKNOWN_WARNING
877877
878+ field = data .get ("region" , None )
879+ if field is not None :
880+ args ["region" ] = field
881+ else :
882+ args ["region" ] = None
883+
878884 field = data .get ("price" , None )
879885 if field is not None :
880886 args ["price" ] = unmarshal_Money (field )
Original file line number Diff line number Diff line change @@ -621,6 +621,11 @@ class Offer:
621621 Defines a warning if the maximum value for an option in the offer is exceeded.
622622 """
623623
624+ region : ScwRegion
625+ """
626+ Region where the offer is hosted.
627+ """
628+
624629 price : Optional [Money ] = None
625630 """
626631 Price of the offer.
You can’t perform that action at this time.
0 commit comments