-
Notifications
You must be signed in to change notification settings - Fork 0
/
Woots-generatedcode.ps1
265 lines (264 loc) · 26.2 KB
/
Woots-generatedcode.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
##
## Woots PowerShell Module
## by Paul Wiegmans ([email protected])
##
## Swagger URL : https://app.woots.nl/api/docs/v2/swagger.yaml
## openapi : 3.0.3
## Generated by: WootsModuleCodeGenerator.ps1
## Generated : 2023-10-13T13:38:21
# -------- Assignment labels --------
Function Get-WootsAllLabel($MaxItems=-1) { return Get-WootsAllResources -resource "labels" -MaxItems $MaxItems}
Function Get-WootsLabel($id) { return Get-WootsResource -resource "labels" -id $id }
Function Add-WootsLabel($Parameter) {return Add-WootsResource -resource "labels" -parameter $Parameter}
Function Set-WootsLabel($id,$Parameter) {return Set-WootsResource -resource "labels" -id $id -parameter $Parameter}
Function Remove-WootsLabel($id) {return Remove-WootsResource -resource "labels" -id $id}
# -------- Assignments --------
Function Get-WootsCourseAssignment($id) { return Get-WootsResourceItem -resource "courses" -id $id -itemtype "assignments"}
Function Get-WootsAssignment($id) { return Get-WootsResource -resource "assignments" -id $id }
Function Add-WootsCourseAssignment($id,$Parameter) {return Add-WootsResourceItem -resource "courses" -id $id -itemtype "assignments" -parameter $Parameter}
Function Set-WootsAssignment($id,$Parameter) {return Set-WootsResource -resource "assignments" -id $id -parameter $Parameter}
Function Remove-WootsAssignment($id) {return Remove-WootsResource -resource "assignments" -id $id}
# -------- Background jobs --------
Function Get-WootsAllBackgroundJob($MaxItems=-1) {return Get-WootsNoIdResource -resource "background_jobs" -MaxItems $MaxItems}
Function Get-WootsBackgroundJob($id) { return Get-WootsResource -resource "background_jobs" -id $id }
Function Set-WootsBackgroundJob($id,$Parameter) {return Set-WootsResource -resource "background_jobs" -id $id -parameter $Parameter}
# -------- Blueprints --------
Function Get-WootsBlueprint($id) { return Get-WootsResource -resource "blueprints" -id $id }
Function Get-WootsQuestionBankBlueprint($id) { return Get-WootsResourceItem -resource "question_banks" -id $id -itemtype "blueprints"}
# -------- Classes --------
Function Get-WootsClass($id) { return Get-WootsResource -resource "classes" -id $id }
Function Get-WootsAllClass($MaxItems=-1) { return Get-WootsAllResources -resource "classes" -MaxItems $MaxItems}
Function Add-WootsClass($Parameter) {return Add-WootsResource -resource "classes" -parameter $Parameter}
Function Set-WootsClass($id,$Parameter) {return Set-WootsResource -resource "classes" -id $id -parameter $Parameter}
Function Remove-WootsClass($id) {return Remove-WootsResource -resource "classes" -id $id}
# -------- Comments --------
Function Get-WootsAllComment($MaxItems=-1) {return Get-WootsNoIdResource -resource "comments" -MaxItems $MaxItems}
Function Get-WootsComment($id) { return Get-WootsResource -resource "comments" -id $id }
Function Add-WootsNoIdComment() {return Add-WootsNoIdResource -resource "comments" -parameter $Parameter}
Function Set-WootsComment($id,$Parameter) {return Set-WootsResource -resource "comments" -id $id -parameter $Parameter}
Function Remove-WootsComment($id) {return Remove-WootsResource -resource "comments" -id $id}
# -------- Courses --------
Function Get-WootsAllCourse($MaxItems=-1) { return Get-WootsAllResources -resource "courses" -MaxItems $MaxItems}
Function Get-WootsCourse($id) { return Get-WootsResource -resource "courses" -id $id }
Function Add-WootsCourse($Parameter) {return Add-WootsResource -resource "courses" -parameter $Parameter}
Function Set-WootsCourse($id,$Parameter) {return Set-WootsResource -resource "courses" -id $id -parameter $Parameter}
Function Remove-WootsCourse($id) {return Remove-WootsResource -resource "courses" -id $id}
# -------- Courses classes --------
Function Get-WootsClassCoursesClass($id) { return Get-WootsResourceItem -resource "classes" -id $id -itemtype "courses_classes"}
Function Get-WootsCourseCoursesClass($id) { return Get-WootsResourceItem -resource "courses" -id $id -itemtype "courses_classes"}
Function Add-WootsClassCoursesClass($id,$Parameter) {return Add-WootsResourceItem -resource "classes" -id $id -itemtype "courses_classes" -parameter $Parameter}
Function Add-WootsCourseCoursesClass($id,$Parameter) {return Add-WootsResourceItem -resource "courses" -id $id -itemtype "courses_classes" -parameter $Parameter}
Function Remove-WootsCoursesClass($id) {return Remove-WootsResource -resource "courses_classes" -id $id}
# -------- Courses users --------
Function Get-WootsCourseCoursesUser($id) { return Get-WootsResourceItem -resource "courses" -id $id -itemtype "courses_users"}
Function Get-WootsUserCoursesUser($id) { return Get-WootsResourceItem -resource "users" -id $id -itemtype "courses_users"}
Function Get-WootsCoursesUser($id) { return Get-WootsResource -resource "courses_users" -id $id }
Function Add-WootsCourseCoursesUser($id,$Parameter) {return Add-WootsResourceItem -resource "courses" -id $id -itemtype "courses_users" -parameter $Parameter}
Function Add-WootsUserCoursesUser($id,$Parameter) {return Add-WootsResourceItem -resource "users" -id $id -itemtype "courses_users" -parameter $Parameter}
Function Set-WootsCoursesUser($id,$Parameter) {return Set-WootsResource -resource "courses_users" -id $id -parameter $Parameter}
Function Remove-WootsCoursesUser($id) {return Remove-WootsResource -resource "courses_users" -id $id}
# -------- Covers --------
Function Get-WootsQuestionBankAssignmentCover($id) { return Get-WootsResourceItem -resource "question_bank_assignments" -id $id -itemtype "cover"}
Function Get-WootsAssignmentCover($id) { return Get-WootsResourceItem -resource "assignments" -id $id -itemtype "cover"}
Function Set-WootsQuestionBankAssignmentCover($id,$Parameter) {return Set-WootsResourceItem -resource "question_bank_assignments" -id $id -itemtype "cover" -parameter $Parameter}
Function Set-WootsAssignmentCover($id,$Parameter) {return Set-WootsResourceItem -resource "assignments" -id $id -itemtype "cover" -parameter $Parameter}
# -------- Departments --------
Function Get-WootsAllDepartment($MaxItems=-1) { return Get-WootsAllResources -resource "departments" -MaxItems $MaxItems}
Function Get-WootsDepartment($id) { return Get-WootsResource -resource "departments" -id $id }
Function Add-WootsDepartment($Parameter) {return Add-WootsResource -resource "departments" -parameter $Parameter}
Function Set-WootsDepartment($id,$Parameter) {return Set-WootsResource -resource "departments" -id $id -parameter $Parameter}
Function Remove-WootsDepartment($id) {return Remove-WootsResource -resource "departments" -id $id}
# -------- Domains --------
Function Get-WootsCourseDomain($id) { return Get-WootsResourceItem -resource "courses" -id $id -itemtype "domains"}
Function Get-WootsQuestionBankDomain($id) { return Get-WootsResourceItem -resource "question_banks" -id $id -itemtype "domains"}
Function Get-WootsDomain($id) { return Get-WootsResource -resource "domains" -id $id }
Function Add-WootsQuestionBankDomain($id,$Parameter) {return Add-WootsResourceItem -resource "question_banks" -id $id -itemtype "domains" -parameter $Parameter}
Function Add-WootsCourseDomain($id,$Parameter) {return Add-WootsResourceItem -resource "courses" -id $id -itemtype "domains" -parameter $Parameter}
Function Set-WootsDomain($id,$Parameter) {return Set-WootsResource -resource "domains" -id $id -parameter $Parameter}
Function Remove-WootsDomain($id) {return Remove-WootsResource -resource "domains" -id $id}
# -------- Exercises --------
Function Get-WootsExercise($id) { return Get-WootsResource -resource "exercises" -id $id }
Function Get-WootsAssignmentExercise($id) { return Get-WootsResourceItem -resource "assignments" -id $id -itemtype "exercises"}
Function Add-WootsAssignmentExercise($id,$Parameter) {return Add-WootsResourceItem -resource "assignments" -id $id -itemtype "exercises" -parameter $Parameter}
Function Set-WootsExercise($id,$Parameter) {return Set-WootsResource -resource "exercises" -id $id -parameter $Parameter}
Function Remove-WootsExercise($id) {return Remove-WootsResource -resource "exercises" -id $id}
# -------- Forms --------
Function Get-WootsAssignmentForm($id) { return Get-WootsResourceItem -resource "assignments" -id $id -itemtype "forms"}
Function Invoke-Wootsdelete__api_v2_assignments__assignment_id__forms() { Throw "This function is not yet implemented"}
# -------- Groups --------
Function Get-WootsCourseGroup($id) { return Get-WootsResourceItem -resource "courses" -id $id -itemtype "groups"}
Function Get-WootsGroup($id) { return Get-WootsResource -resource "groups" -id $id }
Function Add-WootsCourseGroup($id,$Parameter) {return Add-WootsResourceItem -resource "courses" -id $id -itemtype "groups" -parameter $Parameter}
Function Set-WootsGroup($id,$Parameter) {return Set-WootsResource -resource "groups" -id $id -parameter $Parameter}
Function Remove-WootsGroup($id) {return Remove-WootsResource -resource "groups" -id $id}
# -------- Groups users --------
Function Get-WootsGroupGroupsUser($id) { return Get-WootsResourceItem -resource "groups" -id $id -itemtype "groups_users"}
Function Get-WootsUserGroupsUser($id) { return Get-WootsResourceItem -resource "users" -id $id -itemtype "groups_users"}
Function Add-WootsUserGroupsUser($id,$Parameter) {return Add-WootsResourceItem -resource "users" -id $id -itemtype "groups_users" -parameter $Parameter}
Function Add-WootsGroupGroupsUser($id,$Parameter) {return Add-WootsResourceItem -resource "groups" -id $id -itemtype "groups_users" -parameter $Parameter}
Function Remove-WootsGroupsUser($id) {return Remove-WootsResource -resource "groups_users" -id $id}
# -------- Insights --------
Function Invoke-Wootsget__api_v2_insights_assignments__id_() { Throw "This function is not yet implemented"}
Function Invoke-Wootsget__api_v2_insights_questions__id_() { Throw "This function is not yet implemented"}
# -------- Locations --------
Function Get-WootsAllLocation($MaxItems=-1) { return Get-WootsAllResources -resource "locations" -MaxItems $MaxItems}
Function Get-WootsLocation($id) { return Get-WootsResource -resource "locations" -id $id }
Function Add-WootsLocation($Parameter) {return Add-WootsResource -resource "locations" -parameter $Parameter}
Function Set-WootsLocation($id,$Parameter) {return Set-WootsResource -resource "locations" -id $id -parameter $Parameter}
Function Remove-WootsLocation($id) {return Remove-WootsResource -resource "locations" -id $id}
# -------- Logs --------
Function Get-WootsLogsSubsets($id) {return Get-WootsLogsResource -resource "Subsets" -id $id}
Function Get-WootsLogsResults($id) {return Get-WootsLogsResource -resource "Results" -id $id}
Function Get-WootsLogsCourses_Users($id) {return Get-WootsLogsResource -resource "Courses_Users" -id $id}
Function Get-WootsLogsSchools($id) {return Get-WootsLogsResource -resource "Schools" -id $id}
Function Get-WootsLogsSubmissions($id) {return Get-WootsLogsResource -resource "Submissions" -id $id}
Function Get-WootsLogsResponses($id) {return Get-WootsLogsResource -resource "Responses" -id $id}
Function Get-WootsLogsUsers($id) {return Get-WootsLogsResource -resource "Users" -id $id}
Function Get-WootsLogsAssignments($id) {return Get-WootsLogsResource -resource "Assignments" -id $id}
Function Get-WootsLogsCourses($id) {return Get-WootsLogsResource -resource "Courses" -id $id}
# -------- Notifications --------
Function Get-WootsAllNotification($MaxItems=-1) {return Get-WootsNoIdResource -resource "notifications" -MaxItems $MaxItems}
Function Get-WootsNotification($id) { return Get-WootsResource -resource "notifications" -id $id }
# -------- Objectives --------
Function Get-WootsObjective($id) { return Get-WootsResource -resource "objectives" -id $id }
Function Get-WootsDomainObjective($id) { return Get-WootsResourceItem -resource "domains" -id $id -itemtype "objectives"}
Function Add-WootsDomainObjective($id,$Parameter) {return Add-WootsResourceItem -resource "domains" -id $id -itemtype "objectives" -parameter $Parameter}
Function Set-WootsObjective($id,$Parameter) {return Set-WootsResource -resource "objectives" -id $id -parameter $Parameter}
Function Remove-WootsObjective($id) {return Remove-WootsResource -resource "objectives" -id $id}
# -------- Periods --------
Function Get-WootsAllPeriod($MaxItems=-1) { return Get-WootsAllResources -resource "periods" -MaxItems $MaxItems}
Function Get-WootsPeriod($id) { return Get-WootsResource -resource "periods" -id $id }
Function Add-WootsPeriod($Parameter) {return Add-WootsResource -resource "periods" -parameter $Parameter}
Function Set-WootsPeriod($id,$Parameter) {return Set-WootsResource -resource "periods" -id $id -parameter $Parameter}
Function Remove-WootsPeriod($id) {return Remove-WootsResource -resource "periods" -id $id}
# -------- Plans --------
Function Get-WootsPlan($id) { return Get-WootsResource -resource "plans" -id $id }
Function Get-WootsPublisherPlan($id) { return Get-WootsResourceItem -resource "publishers" -id $id -itemtype "plans"}
Function Add-WootsPublisherPlan($id,$Parameter) {return Add-WootsResourceItem -resource "publishers" -id $id -itemtype "plans" -parameter $Parameter}
Function Set-WootsPlan($id,$Parameter) {return Set-WootsResource -resource "plans" -id $id -parameter $Parameter}
Function Remove-WootsPlan($id) {return Remove-WootsResource -resource "plans" -id $id}
# -------- Publication timeslots --------
Function Get-WootsPublicationTimeslot($id) { return Get-WootsResource -resource "publication_timeslots" -id $id }
Function Get-WootsAssignmentPublicationTimeslot($id) { return Get-WootsResourceItem -resource "assignments" -id $id -itemtype "publication_timeslots"}
Function Add-WootsAssignmentPublicationTimeslot($id,$Parameter) {return Add-WootsResourceItem -resource "assignments" -id $id -itemtype "publication_timeslots" -parameter $Parameter}
Function Set-WootsPublicationTimeslot($id,$Parameter) {return Set-WootsResource -resource "publication_timeslots" -id $id -parameter $Parameter}
Function Remove-WootsPublicationTimeslot($id) {return Remove-WootsResource -resource "publication_timeslots" -id $id}
# -------- Publications --------
Function Get-WootsAssignmentPublication($id) { return Get-WootsResourceItem -resource "assignments" -id $id -itemtype "publication"}
Function Set-WootsAssignmentPublication($id,$Parameter) {return Set-WootsResourceItem -resource "assignments" -id $id -itemtype "publication" -parameter $Parameter}
# -------- QTI --------
Function Invoke-Wootsget__api_v2_qti_results__id_() { Throw "This function is not yet implemented"}
# -------- Question bank assignments --------
Function Get-WootsQuestionBankAssignmentQuestionBankAssignmentResult($id) { return Get-WootsResourceItem -resource "question_bank_assignments" -id $id -itemtype "question_bank_assignment_results"}
Function Get-WootsQuestionBankAssignment($id) { return Get-WootsResource -resource "question_bank_assignments" -id $id }
Function Get-WootsQuestionBankQuestionBankAssignment($id) { return Get-WootsResourceItem -resource "question_banks" -id $id -itemtype "question_bank_assignments"}
Function Add-WootsQuestionBankQuestionBankAssignment($id,$Parameter) {return Add-WootsResourceItem -resource "question_banks" -id $id -itemtype "question_bank_assignments" -parameter $Parameter}
Function Set-WootsQuestionBankAssignment($id,$Parameter) {return Set-WootsResource -resource "question_bank_assignments" -id $id -parameter $Parameter}
Function Remove-WootsQuestionBankAssignment($id) {return Remove-WootsResource -resource "question_bank_assignments" -id $id}
# -------- Question bank exercises --------
Function Get-WootsQuestionBankQuestionBankExercise($id) { return Get-WootsResourceItem -resource "question_banks" -id $id -itemtype "question_bank_exercises"}
Function Invoke-Wootsget__api_v2_question_banks__question_bank_id__question_bank_exercises_import() { Throw "This function is not yet implemented"}
Function Get-WootsQuestionBankExercise($id) { return Get-WootsResource -resource "question_bank_exercises" -id $id }
Function Add-WootsQuestionBankQuestionBankExercise($id,$Parameter) {return Add-WootsResourceItem -resource "question_banks" -id $id -itemtype "question_bank_exercises" -parameter $Parameter}
Function Set-WootsQuestionBankExercise($id,$Parameter) {return Set-WootsResource -resource "question_bank_exercises" -id $id -parameter $Parameter}
Function Remove-WootsQuestionBankExercise($id) {return Remove-WootsResource -resource "question_bank_exercises" -id $id}
# -------- Question bank labels --------
Function Get-WootsQuestionBankQuestionBankLabel($id) { return Get-WootsResourceItem -resource "question_banks" -id $id -itemtype "question_bank_labels"}
Function Get-WootsQuestionBankLabel($id) { return Get-WootsResource -resource "question_bank_labels" -id $id }
Function Add-WootsQuestionBankQuestionBankLabel($id,$Parameter) {return Add-WootsResourceItem -resource "question_banks" -id $id -itemtype "question_bank_labels" -parameter $Parameter}
Function Set-WootsQuestionBankLabel($id,$Parameter) {return Set-WootsResource -resource "question_bank_labels" -id $id -parameter $Parameter}
Function Remove-WootsQuestionBankLabel($id) {return Remove-WootsResource -resource "question_bank_labels" -id $id}
# -------- Question banks --------
Function Get-WootsQuestionBank($id) { return Get-WootsResource -resource "question_banks" -id $id }
Function Get-WootsAllQuestionBank($MaxItems=-1) {return Get-WootsNoIdResource -resource "question_banks" -MaxItems $MaxItems}
Function Add-WootsNoIdQuestionBank() {return Add-WootsNoIdResource -resource "question_banks" -parameter $Parameter}
Function Set-WootsQuestionBank($id,$Parameter) {return Set-WootsResource -resource "question_banks" -id $id -parameter $Parameter}
Function Remove-WootsQuestionBank($id) {return Remove-WootsResource -resource "question_banks" -id $id}
# -------- Questions --------
Function Get-WootsExerciseQuestion($id) { return Get-WootsResourceItem -resource "exercises" -id $id -itemtype "questions"}
Function Get-WootsQuestion($id) { return Get-WootsResource -resource "questions" -id $id }
Function Add-WootsExerciseQuestion($id,$Parameter) {return Add-WootsResourceItem -resource "exercises" -id $id -itemtype "questions" -parameter $Parameter}
Function Set-WootsQuestion($id,$Parameter) {return Set-WootsResource -resource "questions" -id $id -parameter $Parameter}
Function Remove-WootsQuestion($id) {return Remove-WootsResource -resource "questions" -id $id}
# -------- Requirements --------
Function Get-WootsRequirement($id) { return Get-WootsResource -resource "requirements" -id $id }
Function Get-WootsAssignmentRequirement($id) { return Get-WootsResourceItem -resource "assignments" -id $id -itemtype "requirements"}
Function Add-WootsAssignmentRequirement($id,$Parameter) {return Add-WootsResourceItem -resource "assignments" -id $id -itemtype "requirements" -parameter $Parameter}
Function Set-WootsRequirement($id,$Parameter) {return Set-WootsResource -resource "requirements" -id $id -parameter $Parameter}
Function Remove-WootsRequirement($id) {return Remove-WootsResource -resource "requirements" -id $id}
# -------- Result files --------
Function Invoke-Wootsget__api_v2_results__result_id__files_new() { Throw "This function is not yet implemented"}
Function Add-WootsResultFil($id,$Parameter) {return Add-WootsResourceItem -resource "results" -id $id -itemtype "files" -parameter $Parameter}
Function Remove-WootsFil($id) {return Remove-WootsResource -resource "files" -id $id}
# -------- Results --------
Function Get-WootsAssignmentResult($id) { return Get-WootsResourceItem -resource "assignments" -id $id -itemtype "results"}
Function Get-WootsResult($id) { return Get-WootsResource -resource "results" -id $id }
Function Add-WootsAssignmentResult($id,$Parameter) {return Add-WootsResourceItem -resource "assignments" -id $id -itemtype "results" -parameter $Parameter}
Function Set-WootsResult($id,$Parameter) {return Set-WootsResource -resource "results" -id $id -parameter $Parameter}
Function Remove-WootsResult($id) {return Remove-WootsResource -resource "results" -id $id}
# -------- Reviews --------
Function Get-WootsReview($id) { return Get-WootsResource -resource "reviews" -id $id }
# -------- Roles --------
Function Get-WootsAllRole($MaxItems=-1) { return Get-WootsAllResources -resource "roles" -MaxItems $MaxItems}
# -------- Schools --------
Function Get-WootsSchool($id) { return Get-WootsResource -resource "schools" -id $id }
Function Set-WootsSchool($id,$Parameter) {return Set-WootsResource -resource "schools" -id $id -parameter $Parameter}
# -------- Score marks --------
Function Get-WootsScoreMark($id) { return Get-WootsResource -resource "score_marks" -id $id }
Function Get-WootsQuestionBankAssignmentScoreMark($id) { return Get-WootsResourceItem -resource "question_bank_assignments" -id $id -itemtype "score_marks"}
Function Get-WootsAssignmentScoreMark($id) { return Get-WootsResourceItem -resource "assignments" -id $id -itemtype "score_marks"}
Function Add-WootsQuestionBankAssignmentScoreMark($id,$Parameter) {return Add-WootsResourceItem -resource "question_bank_assignments" -id $id -itemtype "score_marks" -parameter $Parameter}
Function Add-WootsAssignmentScoreMark($id,$Parameter) {return Add-WootsResourceItem -resource "assignments" -id $id -itemtype "score_marks" -parameter $Parameter}
Function Set-WootsScoreMark($id,$Parameter) {return Set-WootsResource -resource "score_marks" -id $id -parameter $Parameter}
Function Remove-WootsScoreMark($id) {return Remove-WootsResource -resource "score_marks" -id $id}
# -------- Search --------
Function Search-WootsGroup($Parameter,$MaxItems=-1) {return Search-WootsResource -resource "groups" -parameter $Parameter -MaxItem $MaxItems}
Function Search-WootsUser($Parameter,$MaxItems=-1) {return Search-WootsResource -resource "users" -parameter $Parameter -MaxItem $MaxItems}
Function Search-WootsAssignment($Parameter,$MaxItems=-1) {return Search-WootsResource -resource "assignments" -parameter $Parameter -MaxItem $MaxItems}
Function Search-WootsCourse($Parameter,$MaxItems=-1) {return Search-WootsResource -resource "courses" -parameter $Parameter -MaxItem $MaxItems}
Function Search-WootsQuestionBankAssignment($Parameter,$MaxItems=-1) {return Search-WootsResource -resource "question_bank_assignments" -parameter $Parameter -MaxItem $MaxItems}
Function Search-WootsQuestionBank($Parameter,$MaxItems=-1) {return Search-WootsResource -resource "question_banks" -parameter $Parameter -MaxItem $MaxItems}
Function Search-WootsResult($Parameter,$MaxItems=-1) {return Search-WootsResource -resource "results" -parameter $Parameter -MaxItem $MaxItems}
Function Search-WootsTimeslot($Parameter,$MaxItems=-1) {return Search-WootsResource -resource "timeslots" -parameter $Parameter -MaxItem $MaxItems}
# -------- Studies --------
Function Get-WootsStudy($id) { return Get-WootsResource -resource "studies" -id $id }
Function Get-WootsDepartmentStudy($id) { return Get-WootsResourceItem -resource "departments" -id $id -itemtype "studies"}
Function Add-WootsDepartmentStudy($id,$Parameter) {return Add-WootsResourceItem -resource "departments" -id $id -itemtype "studies" -parameter $Parameter}
Function Set-WootsStudy($id,$Parameter) {return Set-WootsResource -resource "studies" -id $id -parameter $Parameter}
Function Remove-WootsStudy($id) {return Remove-WootsResource -resource "studies" -id $id}
# -------- Submissions --------
Function Get-WootsSubmission($id) { return Get-WootsResource -resource "submissions" -id $id }
Function Set-WootsSubmission($id,$Parameter) {return Set-WootsResource -resource "submissions" -id $id -parameter $Parameter}
# -------- Subscriptions --------
Function Get-WootsPlanSubscription($id) { return Get-WootsResourceItem -resource "plans" -id $id -itemtype "subscriptions"}
Function Get-WootsSubscription($id) { return Get-WootsResource -resource "subscriptions" -id $id }
Function Add-WootsPlanSubscription($id,$Parameter) {return Add-WootsResourceItem -resource "plans" -id $id -itemtype "subscriptions" -parameter $Parameter}
Function Set-WootsSubscription($id,$Parameter) {return Set-WootsResource -resource "subscriptions" -id $id -parameter $Parameter}
Function Remove-WootsSubscription($id) {return Remove-WootsResource -resource "subscriptions" -id $id}
# -------- Tasks --------
Function Get-WootsQuestionBankTask($id) { return Get-WootsResourceItem -resource "question_banks" -id $id -itemtype "tasks"}
Function Get-WootsAssignmentTask($id) { return Get-WootsResourceItem -resource "assignments" -id $id -itemtype "tasks"}
Function Get-WootsTask($id) { return Get-WootsResource -resource "tasks" -id $id }
Function Add-WootsAssignmentTask($id,$Parameter) {return Add-WootsResourceItem -resource "assignments" -id $id -itemtype "tasks" -parameter $Parameter}
Function Add-WootsQuestionBankTask($id,$Parameter) {return Add-WootsResourceItem -resource "question_banks" -id $id -itemtype "tasks" -parameter $Parameter}
Function Set-WootsTask($id,$Parameter) {return Set-WootsResource -resource "tasks" -id $id -parameter $Parameter}
Function Remove-WootsTask($id) {return Remove-WootsResource -resource "tasks" -id $id}
# -------- Timeslots --------
Function Get-WootsTimeslot($id) { return Get-WootsResource -resource "timeslots" -id $id }
Function Get-WootsAssignmentTimeslot($id) { return Get-WootsResourceItem -resource "assignments" -id $id -itemtype "timeslots"}
Function Add-WootsAssignmentTimeslot($id,$Parameter) {return Add-WootsResourceItem -resource "assignments" -id $id -itemtype "timeslots" -parameter $Parameter}
Function Set-WootsTimeslot($id,$Parameter) {return Set-WootsResource -resource "timeslots" -id $id -parameter $Parameter}
Function Remove-WootsTimeslot($id) {return Remove-WootsResource -resource "timeslots" -id $id}
# -------- Users --------
Function Get-WootsUser($id) { return Get-WootsResource -resource "users" -id $id }
Function Get-WootsAllUser($MaxItems=-1) { return Get-WootsAllResources -resource "users" -MaxItems $MaxItems}
Function Add-WootsUser($Parameter) {return Add-WootsResource -resource "users" -parameter $Parameter}
Function Set-WootsUser($id,$Parameter) {return Set-WootsResource -resource "users" -id $id -parameter $Parameter}
Function Remove-WootsUser($id) {return Remove-WootsResource -resource "users" -id $id}
# -------- Webhooks --------
Function Get-WootsWebhook($id) { return Get-WootsResource -resource "webhooks" -id $id }
Function Get-WootsAllWebhook($MaxItems=-1) {return Get-WootsNoIdResource -resource "webhooks" -MaxItems $MaxItems}
Function Add-WootsNoIdWebhook() {return Add-WootsNoIdResource -resource "webhooks" -parameter $Parameter}
Function Set-WootsWebhook($id,$Parameter) {return Set-WootsResource -resource "webhooks" -id $id -parameter $Parameter}
Function Remove-WootsWebhook($id) {return Remove-WootsResource -resource "webhooks" -id $id}
# 209 functions implemented