InstanceSnapshotDTO
InstanceSnapshotDTO describes a restorable instance backup for snapshot history.
Kind
struct
Fields
| Go field | JSON field | Go type | TypeScript type | Optional | Nullable |
|---|---|---|---|---|---|
ID | id | string | string | No | No |
InstanceID | instanceId | string | string | No | No |
InstanceName | instanceName | string | string | No | No |
Type | type | string | string | No | No |
Reason | reason | string | string | Yes | No |
Context | context | map[string]string | Record<string, string> | Yes | No |
GameVersion | gameVersion | string | string | No | No |
CreatedAt | createdAt | string | string | No | No |
SizeBytes | sizeBytes | int64 | number | No | No |
ModCount | modCount | int | number | No | No |
WorldCount | worldCount | int | number | No | No |
Used by
- SnapshotController.ListInstanceSnapshots — return value
Source
internal/transport/wails/snapshot_dto.go:8