@space-cow-media/spellbook-client
Version:
An Open Api generated client for the Commander Spellbook backend REST API.
47 lines (33 loc) • 916 B
Markdown
# UserDetail
## Properties
Name | Type
------------ | -------------
`id` | number
`username` | string
`email` | string
`isStaff` | boolean
`isActive` | boolean
`firstName` | string
`lastName` | string
## Example
```typescript
import type { UserDetail } from ''
// TODO: Update the object below with actual values
const example = {
"id": null,
"username": null,
"email": null,
"isStaff": null,
"isActive": null,
"firstName": null,
"lastName": null,
} satisfies UserDetail
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 UserDetail
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)