SetSessionLockdownData

class SetSessionLockdownData[source]

SetSessionLockdownData(*, tag: “t.Literal[‘set’]”, max_entries: ‘int’, heartbeat_enforced: ‘bool’ = False, entry_starts_at: ‘Maybe[t.Optional[datetime.datetime]]’ = Nothing, entry_ends_at: ‘Maybe[t.Optional[datetime.datetime]]’ = Nothing)

tag: Literal['set']

Discriminator

max_entries: int

Maximum number of entries per student

heartbeat_enforced: bool = False

Whether heartbeat enforcement is enabled

entry_starts_at: Just[datetime | None] | _Nothing[datetime | None] = Nothing

When the entry window opens, or null for no lower bound. Must be set together with entry_ends_at.

entry_ends_at: Just[datetime | None] | _Nothing[datetime | None] = Nothing

When the entry window closes, or null for no upper bound. Must be set together with entry_starts_at.