
# BoxEnvironment

A named Boat environment. All flags/contents reflect the latest version.

## Properties

Name | Type
------------ | -------------
`id` | string
`name` | string
`isDefault` | boolean
`latestVersionId` | string
`safeForThirdParties` | boolean
`passGithub` | boolean
`passSecrets` | boolean
`passBoxCredentials` | boolean
`passAgentsCredentials` | boolean
`envContents` | string
`secretFiles` | [Array&lt;SecretFile&gt;](SecretFile.md)
`selectedRepositories` | [Array&lt;SelectedRepository&gt;](SelectedRepository.md)
`versions` | [Array&lt;BoxEnvironmentVersionSummary&gt;](BoxEnvironmentVersionSummary.md)

## Example

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

// TODO: Update the object below with actual values
const example = {
  "id": null,
  "name": null,
  "isDefault": null,
  "latestVersionId": null,
  "safeForThirdParties": null,
  "passGithub": null,
  "passSecrets": null,
  "passBoxCredentials": null,
  "passAgentsCredentials": null,
  "envContents": null,
  "secretFiles": null,
  "selectedRepositories": null,
  "versions": null,
} satisfies BoxEnvironment

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