Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,12 @@ def unmarshal_DNSStage(data: Any) -> DNSStage:
else:
args["id"] = None

field = data.get("default_fqdn", None)
if field is not None:
args["default_fqdn"] = field
else:
args["default_fqdn"] = None

field = data.get("fqdns", None)
if field is not None:
args["fqdns"] = field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,14 @@ class DNSStage:
ID of the DNS stage.
"""

default_fqdn: str
"""
Default Fully Qualified Domain Name attached to the stage.
"""

fqdns: list[str]
"""
List of Fully Qualified Domain Names attached to the stage.
List of additional (custom) Fully Qualified Domain Names attached to the stage.
"""

type_: DNSStageType
Expand Down
6 changes: 6 additions & 0 deletions scaleway/scaleway/edge_services/v1beta1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,12 @@ def unmarshal_DNSStage(data: Any) -> DNSStage:
else:
args["id"] = None

field = data.get("default_fqdn", None)
if field is not None:
args["default_fqdn"] = field
else:
args["default_fqdn"] = None

field = data.get("fqdns", None)
if field is not None:
args["fqdns"] = field
Expand Down
7 changes: 6 additions & 1 deletion scaleway/scaleway/edge_services/v1beta1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,14 @@ class DNSStage:
ID of the DNS stage.
"""

default_fqdn: str
"""
Default Fully Qualified Domain Name attached to the stage.
"""

fqdns: list[str]
"""
List of Fully Qualified Domain Names attached to the stage.
List of additional (custom) Fully Qualified Domain Names attached to the stage.
"""

type_: DNSStageType
Expand Down