@space-cow-media/spellbook-client
Version:
An Open Api generated client for the Commander Spellbook backend REST API.
51 lines (37 loc) • 1.29 kB
Markdown
# TemplateRequiredInVariantSuggestionRequest
## Properties
Name | Type
------------ | -------------
`template` | string
`quantity` | number
`scryfallQuery` | string
`zoneLocations` | [Array<ZoneLocationsEnum>](ZoneLocationsEnum.md)
`battlefieldCardState` | string
`exileCardState` | string
`libraryCardState` | string
`graveyardCardState` | string
`mustBeCommander` | boolean
## Example
```typescript
import type { TemplateRequiredInVariantSuggestionRequest } from ''
// TODO: Update the object below with actual values
const example = {
"template": null,
"quantity": null,
"scryfallQuery": null,
"zoneLocations": null,
"battlefieldCardState": null,
"exileCardState": null,
"libraryCardState": null,
"graveyardCardState": null,
"mustBeCommander": null,
} satisfies TemplateRequiredInVariantSuggestionRequest
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 TemplateRequiredInVariantSuggestionRequest
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)