PatchRestrictionData

class PatchRestrictionData[source]

Input data required for the Restriction::Patch operation.

password: Just[SetPasswordData | ClearPasswordData] | _Nothing[SetPasswordData | ClearPasswordData] = Nothing

Password settings

session_lockdown: Just[SetSessionLockdownData | ClearSessionLockdownData] | _Nothing[SetSessionLockdownData | ClearSessionLockdownData] = Nothing

Session lockdown settings

exam_environment: Just[SetSchoolyearExamEnvironmentData | ClearExamEnvironmentData] | _Nothing[SetSchoolyearExamEnvironmentData | ClearExamEnvironmentData] = Nothing

Exam environment provider settings. Attaching provisions the exam at the provider (and requires a configured entry window); detaching archives it at the provider while retaining its state, so re-attaching revives the same provider-side exam. Provider state is committed atomically with the rest of the patch: a provider failure fails the whole request.