JsonPatchSubmitTypesAssignment¶
- class JsonPatchSubmitTypesAssignment[source]¶
JsonPatchSubmitTypesAssignment(*, files_upload_enabled: ‘Maybe[bool]’ = Nothing, webhook_upload_enabled: ‘Maybe[bool]’ = Nothing, webhook_configuration: ‘Maybe[t.Union[WebhookConfigurationEnabledAsJSON, WebhookConfigurationDisabledAsJSON]]’ = Nothing, editor_upload_enabled: ‘Maybe[bool]’ = Nothing, editor_configuration: ‘Maybe[t.Union[EditorConfigurationEnabledInput, EditorConfigurationDisabledInput]]’ = Nothing)
- files_upload_enabled: Just[bool] | _Nothing[bool] = Nothing¶
Should students be allowed to make submissions by uploading files
- webhook_upload_enabled: Just[bool] | _Nothing[bool] = Nothing¶
Should students be allowed to make submissions using git webhooks
- webhook_configuration: Just[WebhookConfigurationEnabledAsJSON | WebhookConfigurationDisabledAsJSON] | _Nothing[WebhookConfigurationEnabledAsJSON | WebhookConfigurationDisabledAsJSON] = Nothing¶
The configuration for the Webhook upload for this assignment
- editor_upload_enabled: Just[bool] | _Nothing[bool] = Nothing¶
Should students be allowed to make submissions using the editor
- editor_configuration: Just[EditorConfigurationEnabledInput | EditorConfigurationDisabledInput] | _Nothing[EditorConfigurationEnabledInput | EditorConfigurationDisabledInput] = Nothing¶
The configuration for the editor upload for this assignment. {“tag”: “enabled”} enables the editor and accepts an optional max_paste_size (omit to leave the current limit unchanged, null to clear it, 0 to block all pastes); {“tag”: “disabled”} disables it. Takes precedence over the legacy editor_upload_enabled flag.