@@ -328,6 +328,7 @@ func (enum *ServerStatus) UnmarshalJSON(data []byte) error {
328
328
return nil
329
329
}
330
330
331
+ // IP ip
331
332
type IP struct {
332
333
// ID iD of the IP
333
334
ID string `json:"id"`
@@ -347,20 +348,23 @@ type IP struct {
347
348
ReverseStatusMessage * string `json:"reverse_status_message"`
348
349
}
349
350
351
+ // ListServerEventsResponse list server events response
350
352
type ListServerEventsResponse struct {
351
353
// TotalCount total count of matching events
352
354
TotalCount uint32 `json:"total_count"`
353
355
// Event server events that match filters
354
356
Event []* ServerEvent `json:"event"`
355
357
}
356
358
359
+ // ListServersResponse list servers response
357
360
type ListServersResponse struct {
358
361
// TotalCount total count of matching servers
359
362
TotalCount uint32 `json:"total_count"`
360
363
// Servers servers that match filters
361
364
Servers []* Server `json:"servers"`
362
365
}
363
366
367
+ // RemoteServerAccess remote server access
364
368
type RemoteServerAccess struct {
365
369
// URL uRL to access to the server console
366
370
URL string `json:"url"`
@@ -372,6 +376,7 @@ type RemoteServerAccess struct {
372
376
ExpiresAt time.Time `json:"expires_at"`
373
377
}
374
378
379
+ // Server server
375
380
type Server struct {
376
381
// ID iD of the server
377
382
ID string `json:"id"`
@@ -405,6 +410,7 @@ type Server struct {
405
410
BootType ServerBootType `json:"boot_type"`
406
411
}
407
412
413
+ // ServerEvent server event
408
414
type ServerEvent struct {
409
415
// ID iD of the server for whom the action will be applied
410
416
ID string `json:"id"`
@@ -416,6 +422,7 @@ type ServerEvent struct {
416
422
CreatedAt time.Time `json:"created_at"`
417
423
}
418
424
425
+ // ServerInstall server install
419
426
type ServerInstall struct {
420
427
// OsID iD of the OS
421
428
OsID string `json:"os_id"`
0 commit comments