File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
packages/clients/src/api/instance/v1 Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -358,6 +358,7 @@ const unmarshalServerMaintenance = (data: unknown): ServerMaintenance => {
358358
359359 return {
360360 reason : data . reason ,
361+ startDate : unmarshalDate ( data . start_date ) ,
361362 } as ServerMaintenance
362363}
363364
@@ -2240,6 +2241,7 @@ const marshalServerMaintenance = (
22402241 defaults : DefaultValues ,
22412242) : Record < string , unknown > => ( {
22422243 reason : request . reason ,
2244+ start_date : request . startDate ,
22432245} )
22442246
22452247export const marshalSetServerRequest = (
Original file line number Diff line number Diff line change @@ -327,6 +327,7 @@ export interface ServerLocation {
327327
328328export interface ServerMaintenance {
329329 reason : string
330+ startDate ?: Date
330331}
331332
332333export interface VolumeServer {
You can’t perform that action at this time.
0 commit comments