Skip to content

Commit f31b683

Browse files
committed
feat: update generated APIs
1 parent 9eb37ad commit f31b683

File tree

4 files changed

+24
-2
lines changed

4 files changed

+24
-2
lines changed

scaleway-async/scaleway_async/edge_services/v1beta1/marshalling.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,12 @@ def unmarshal_DNSStage(data: Any) -> DNSStage:
307307
else:
308308
args["id"] = None
309309

310+
field = data.get("default_fqdn", None)
311+
if field is not None:
312+
args["default_fqdn"] = field
313+
else:
314+
args["default_fqdn"] = None
315+
310316
field = data.get("fqdns", None)
311317
if field is not None:
312318
args["fqdns"] = field

scaleway-async/scaleway_async/edge_services/v1beta1/types.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,9 +441,14 @@ class DNSStage:
441441
ID of the DNS stage.
442442
"""
443443

444+
default_fqdn: str
445+
"""
446+
Default Fully Qualified Domain Name attached to the stage.
447+
"""
448+
444449
fqdns: list[str]
445450
"""
446-
List of Fully Qualified Domain Names attached to the stage.
451+
List of additional (custom) Fully Qualified Domain Names attached to the stage.
447452
"""
448453

449454
type_: DNSStageType

scaleway/scaleway/edge_services/v1beta1/marshalling.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,12 @@ def unmarshal_DNSStage(data: Any) -> DNSStage:
307307
else:
308308
args["id"] = None
309309

310+
field = data.get("default_fqdn", None)
311+
if field is not None:
312+
args["default_fqdn"] = field
313+
else:
314+
args["default_fqdn"] = None
315+
310316
field = data.get("fqdns", None)
311317
if field is not None:
312318
args["fqdns"] = field

scaleway/scaleway/edge_services/v1beta1/types.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,9 +441,14 @@ class DNSStage:
441441
ID of the DNS stage.
442442
"""
443443

444+
default_fqdn: str
445+
"""
446+
Default Fully Qualified Domain Name attached to the stage.
447+
"""
448+
444449
fqdns: list[str]
445450
"""
446-
List of Fully Qualified Domain Names attached to the stage.
451+
List of additional (custom) Fully Qualified Domain Names attached to the stage.
447452
"""
448453

449454
type_: DNSStageType

0 commit comments

Comments
 (0)