
# DeviceUserBinding

PolicyBinding Serializer

## Properties

Name | Type
------------ | -------------
`pk` | string
`policy` | string
`group` | string
`user` | number
`policyObj` | [Policy](Policy.md)
`groupObj` | [PartialGroup](PartialGroup.md)
`userObj` | [PartialUser](PartialUser.md)
`target` | string
`negate` | boolean
`enabled` | boolean
`order` | number
`timeout` | number
`failureResult` | boolean
`isPrimary` | boolean
`connector` | string
`connectorObj` | [Connector](Connector.md)

## Example

```typescript
import type { DeviceUserBinding } from '@goauthentik/api'

// TODO: Update the object below with actual values
const example = {
  "pk": null,
  "policy": null,
  "group": null,
  "user": null,
  "policyObj": null,
  "groupObj": null,
  "userObj": null,
  "target": null,
  "negate": null,
  "enabled": null,
  "order": null,
  "timeout": null,
  "failureResult": null,
  "isPrimary": null,
  "connector": null,
  "connectorObj": null,
} satisfies DeviceUserBinding

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


