[SDK reference](../../index.md) / [Models](../index.md) / [Sandboxes](index.md)

# SandboxSessionEnd

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Sandboxes`  

How a session ended and what was saved back (W106; ADR-0718).

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `EndReason` | `string?` | `endReason` | `closed`, `expired`, `hour-cap`, `sandbox-ended` or `killed`. |
| `EndedAt` | `DateTimeOffset?` | `endedAt` | The endedAt property |
| `SaveBackQuarantined` | `bool?` | `saveBackQuarantined` | True when the web app quarantined the saved-back revision (phishing check); the workspace is kept, the revision is not routed. |
| `SaveBackRevision` | `string?` | `saveBackRevision` | The web app revision the save-back created, when it created one. |
| `SavedBackFiles` | `int?` | `savedBackFiles` | Files saved back to the web app's deploy workspace (0 without a web app or without changes). |
| `SessionId` | `string?` | `sessionId` | The sessionId property |
| `UsedSeconds` | `long?` | `usedSeconds` | Seconds the session ran, counted against the organisation's session hours and metered as `sandbox-session-seconds`. |
