
# RepoSelectionRequest

Idempotently selects a repository for future Boxes. If the repository is already selected, the API updates its base branch instead of returning a conflict.

## Properties

Name | Type
------------ | -------------
`repositoryId` | string
`baseBranch` | string

## Example

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

// TODO: Update the object below with actual values
const example = {
  "repositoryId": null,
  "baseBranch": null,
} satisfies RepoSelectionRequest

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