@@ -328,6 +328,7 @@ func (enum *ServerStatus) UnmarshalJSON(data []byte) error {
328328 return nil
329329}
330330
331+ // IP ip
331332type IP struct {
332333 // ID iD of the IP
333334 ID string `json:"id"`
@@ -347,20 +348,23 @@ type IP struct {
347348 ReverseStatusMessage * string `json:"reverse_status_message"`
348349}
349350
351+ // ListServerEventsResponse list server events response
350352type ListServerEventsResponse struct {
351353 // TotalCount total count of matching events
352354 TotalCount uint32 `json:"total_count"`
353355 // Event server events that match filters
354356 Event []* ServerEvent `json:"event"`
355357}
356358
359+ // ListServersResponse list servers response
357360type ListServersResponse struct {
358361 // TotalCount total count of matching servers
359362 TotalCount uint32 `json:"total_count"`
360363 // Servers servers that match filters
361364 Servers []* Server `json:"servers"`
362365}
363366
367+ // RemoteServerAccess remote server access
364368type RemoteServerAccess struct {
365369 // URL uRL to access to the server console
366370 URL string `json:"url"`
@@ -372,6 +376,7 @@ type RemoteServerAccess struct {
372376 ExpiresAt time.Time `json:"expires_at"`
373377}
374378
379+ // Server server
375380type Server struct {
376381 // ID iD of the server
377382 ID string `json:"id"`
@@ -405,6 +410,7 @@ type Server struct {
405410 BootType ServerBootType `json:"boot_type"`
406411}
407412
413+ // ServerEvent server event
408414type ServerEvent struct {
409415 // ID iD of the server for whom the action will be applied
410416 ID string `json:"id"`
@@ -416,6 +422,7 @@ type ServerEvent struct {
416422 CreatedAt time.Time `json:"created_at"`
417423}
418424
425+ // ServerInstall server install
419426type ServerInstall struct {
420427 // OsID iD of the OS
421428 OsID string `json:"os_id"`
0 commit comments