
# Box


## Properties

Name | Type
------------ | -------------
`id` | string
`name` | string
`state` | string
`type` | string
`vcpu` | number
`memoryGB` | number
`billingMultiplier` | number
`url` | string
`ip` | string
`createdAt` | Date
`updatedAt` | Date
`archiveAfter` | Date
`desktopAvailable` | boolean
`desktopUrl` | string
`snapshotAvailable` | boolean
`snapshotCompletedAt` | Date
`subdomain` | string
`lastSnapshotAttemptAt` | Date
`lastSnapshotStatus` | string
`setupStatus` | string
`setupError` | string
`environment` | string
`environmentVersion` | number

## Example

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

// TODO: Update the object below with actual values
const example = {
  "id": null,
  "name": null,
  "state": null,
  "type": null,
  "vcpu": null,
  "memoryGB": null,
  "billingMultiplier": null,
  "url": null,
  "ip": null,
  "createdAt": null,
  "updatedAt": null,
  "archiveAfter": null,
  "desktopAvailable": null,
  "desktopUrl": null,
  "snapshotAvailable": null,
  "snapshotCompletedAt": null,
  "subdomain": null,
  "lastSnapshotAttemptAt": null,
  "lastSnapshotStatus": null,
  "setupStatus": null,
  "setupError": null,
  "environment": null,
  "environmentVersion": null,
} satisfies Box

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 Box
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)
