File tree 4 files changed +22
-0
lines changed
scaleway/scaleway/webhosting/v1
scaleway-async/scaleway_async/webhosting/v1 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:
430
430
if field is not None :
431
431
args ["region" ] = field
432
432
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
+
433
439
field = data .get ("updated_at" , None )
434
440
if field is not None :
435
441
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:
315
315
Region where the Web Hosting plan is hosted.
316
316
"""
317
317
318
+ created_at : Optional [datetime ]
319
+ """
320
+ Date on which the Web Hosting plan was created.
321
+ """
322
+
318
323
updated_at : Optional [datetime ]
319
324
"""
320
325
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:
430
430
if field is not None :
431
431
args ["region" ] = field
432
432
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
+
433
439
field = data .get ("updated_at" , None )
434
440
if field is not None :
435
441
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:
315
315
Region where the Web Hosting plan is hosted.
316
316
"""
317
317
318
+ created_at : Optional [datetime ]
319
+ """
320
+ Date on which the Web Hosting plan was created.
321
+ """
322
+
318
323
updated_at : Optional [datetime ]
319
324
"""
320
325
Date on which the Web Hosting plan was last updated.
You can’t perform that action at this time.
0 commit comments