File tree Expand file tree Collapse file tree 4 files changed +24
-4
lines changed
scaleway-async/scaleway_async/domain/v2beta1
scaleway/scaleway/domain/v2beta1 Expand file tree Collapse file tree 4 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -310,6 +310,12 @@ def unmarshal_ContactExtensionIT(data: Any) -> ContactExtensionIT:
310310
311311 args : dict [str , Any ] = {}
312312
313+ field = data .get ("pin" , None )
314+ if field is not None :
315+ args ["pin" ] = field
316+ else :
317+ args ["pin" ] = None
318+
313319 field = data .get ("european_citizenship" , None )
314320 if field is not None :
315321 args ["european_citizenship" ] = field
@@ -3010,6 +3016,9 @@ def marshal_ContactExtensionIT(
30103016) -> dict [str , Any ]:
30113017 output : dict [str , Any ] = {}
30123018
3019+ if request .pin is not None :
3020+ output ["pin" ] = request .pin
3021+
30133022 if request .european_citizenship is not None :
30143023 output ["european_citizenship" ] = request .european_citizenship
30153024
Original file line number Diff line number Diff line change @@ -517,8 +517,9 @@ class ContactExtensionFR:
517517
518518@dataclass
519519class ContactExtensionIT :
520- european_citizenship : str
521- tax_code : str
520+ pin : str
521+ european_citizenship : Optional [str ] = None
522+ tax_code : Optional [str ] = None
522523
523524
524525@dataclass
Original file line number Diff line number Diff line change @@ -310,6 +310,12 @@ def unmarshal_ContactExtensionIT(data: Any) -> ContactExtensionIT:
310310
311311 args : dict [str , Any ] = {}
312312
313+ field = data .get ("pin" , None )
314+ if field is not None :
315+ args ["pin" ] = field
316+ else :
317+ args ["pin" ] = None
318+
313319 field = data .get ("european_citizenship" , None )
314320 if field is not None :
315321 args ["european_citizenship" ] = field
@@ -3010,6 +3016,9 @@ def marshal_ContactExtensionIT(
30103016) -> dict [str , Any ]:
30113017 output : dict [str , Any ] = {}
30123018
3019+ if request .pin is not None :
3020+ output ["pin" ] = request .pin
3021+
30133022 if request .european_citizenship is not None :
30143023 output ["european_citizenship" ] = request .european_citizenship
30153024
Original file line number Diff line number Diff line change @@ -517,8 +517,9 @@ class ContactExtensionFR:
517517
518518@dataclass
519519class ContactExtensionIT :
520- european_citizenship : str
521- tax_code : str
520+ pin : str
521+ european_citizenship : Optional [str ] = None
522+ tax_code : Optional [str ] = None
522523
523524
524525@dataclass
You can’t perform that action at this time.
0 commit comments