Restriction

class Restriction[source]

The JSON representation of a Restriction.

id: str

The unique identifier for this restriction.

session_lockdown: RestrictionSetSessionLockdown | RestrictionNotSetSessionLockdown

Session lockdown settings, or not-set if disabled.

password: RestrictionMixinSetPassword | RestrictionMixinNotSetPassword

Whether a password is set (tag: ‘set’) or not (tag: ‘not-set’).