
# SnapshotTreeResponse


## Properties

Name | Type
------------ | -------------
`ok` | boolean
`type` | string
`snapshotId` | string
`boxId` | string
`generation` | number
`treeAvailable` | boolean
`truncated` | boolean
`fileCount` | number
`totalSizeBytes` | number
`entries` | [Array&lt;SnapshotTreeEntry&gt;](SnapshotTreeEntry.md)
`reason` | string

## Example

```typescript
import type { SnapshotTreeResponse } from '@asciidev/box-sdk'

// TODO: Update the object below with actual values
const example = {
  "ok": null,
  "type": null,
  "snapshotId": null,
  "boxId": null,
  "generation": null,
  "treeAvailable": null,
  "truncated": null,
  "fileCount": null,
  "totalSizeBytes": null,
  "entries": null,
  "reason": null,
} satisfies SnapshotTreeResponse

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as SnapshotTreeResponse
console.log(exampleParsed)
```

[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
