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
6 changes: 6 additions & 0 deletions scaleway-async/scaleway_async/cockpit/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,12 @@ def unmarshal_Exporter(data: Any) -> Exporter:
else:
args["exported_products"] = []

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

field = data.get("datadog_destination", None)
if field is not None:
args["datadog_destination"] = unmarshal_ExporterDatadogDestination(field)
Expand Down
5 changes: 5 additions & 0 deletions scaleway-async/scaleway_async/cockpit/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,11 @@ class Exporter:
List of Scaleway products name exported by the data export.
"""

region: ScwRegion
"""
The region in which the export is located.
"""

created_at: Optional[datetime] = None
"""
A timestamp of the creation date of the data export.
Expand Down
6 changes: 6 additions & 0 deletions scaleway/scaleway/cockpit/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,12 @@ def unmarshal_Exporter(data: Any) -> Exporter:
else:
args["exported_products"] = []

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

field = data.get("datadog_destination", None)
if field is not None:
args["datadog_destination"] = unmarshal_ExporterDatadogDestination(field)
Expand Down
5 changes: 5 additions & 0 deletions scaleway/scaleway/cockpit/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,11 @@ class Exporter:
List of Scaleway products name exported by the data export.
"""

region: ScwRegion
"""
The region in which the export is located.
"""

created_at: Optional[datetime] = None
"""
A timestamp of the creation date of the data export.
Expand Down
Loading