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 @@ -453,6 +453,12 @@ def unmarshal_Pop(data: Any) -> Pop:
else:
args["available_link_bandwidths_mbps"] = []

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

field = data.get("region", None)
if field is not None:
args["region"] = field
Expand Down
5 changes: 5 additions & 0 deletions scaleway-async/scaleway_async/interlink/v1beta1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,11 @@ class Pop:
Available bandwidth in Mbits/s for future hosted links from available connections in this PoP.
"""

display_name: str
"""
Pretty name of the PoP. Includes name, hosting provider and location information (ex: Paris - TeleHouse TH2).
"""

region: ScwRegion
"""
Region of the PoP.
Expand Down
6 changes: 6 additions & 0 deletions scaleway/scaleway/interlink/v1beta1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,12 @@ def unmarshal_Pop(data: Any) -> Pop:
else:
args["available_link_bandwidths_mbps"] = []

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

field = data.get("region", None)
if field is not None:
args["region"] = field
Expand Down
5 changes: 5 additions & 0 deletions scaleway/scaleway/interlink/v1beta1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,11 @@ class Pop:
Available bandwidth in Mbits/s for future hosted links from available connections in this PoP.
"""

display_name: str
"""
Pretty name of the PoP. Includes name, hosting provider and location information (ex: Paris - TeleHouse TH2).
"""

region: ScwRegion
"""
Region of the PoP.
Expand Down