File tree Expand file tree Collapse file tree 4 files changed +22
-0
lines changed
scaleway-async/scaleway_async/webhosting/v1
scaleway/scaleway/webhosting/v1 Expand file tree Collapse file tree 4 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -430,6 +430,12 @@ def unmarshal_HostingSummary(data: Any) -> HostingSummary:
430430 if field is not None :
431431 args ["region" ] = field
432432
433+ field = data .get ("created_at" , None )
434+ if field is not None :
435+ args ["created_at" ] = parser .isoparse (field ) if isinstance (field , str ) else field
436+ else :
437+ args ["created_at" ] = None
438+
433439 field = data .get ("updated_at" , None )
434440 if field is not None :
435441 args ["updated_at" ] = parser .isoparse (field ) if isinstance (field , str ) else field
Original file line number Diff line number Diff line change @@ -315,6 +315,11 @@ class HostingSummary:
315315 Region where the Web Hosting plan is hosted.
316316 """
317317
318+ created_at : Optional [datetime ]
319+ """
320+ Date on which the Web Hosting plan was created.
321+ """
322+
318323 updated_at : Optional [datetime ]
319324 """
320325 Date on which the Web Hosting plan was last updated.
Original file line number Diff line number Diff line change @@ -430,6 +430,12 @@ def unmarshal_HostingSummary(data: Any) -> HostingSummary:
430430 if field is not None :
431431 args ["region" ] = field
432432
433+ field = data .get ("created_at" , None )
434+ if field is not None :
435+ args ["created_at" ] = parser .isoparse (field ) if isinstance (field , str ) else field
436+ else :
437+ args ["created_at" ] = None
438+
433439 field = data .get ("updated_at" , None )
434440 if field is not None :
435441 args ["updated_at" ] = parser .isoparse (field ) if isinstance (field , str ) else field
Original file line number Diff line number Diff line change @@ -315,6 +315,11 @@ class HostingSummary:
315315 Region where the Web Hosting plan is hosted.
316316 """
317317
318+ created_at : Optional [datetime ]
319+ """
320+ Date on which the Web Hosting plan was created.
321+ """
322+
318323 updated_at : Optional [datetime ]
319324 """
320325 Date on which the Web Hosting plan was last updated.
You can’t perform that action at this time.
0 commit comments