c629a70ca0cb2cef31c790c32f88fc8486045c33
[arvados.git] / sdk / R / R / Arvados.R
1 #' users.get is a method defined in Arvados class.
2 #' 
3 #' @usage arv$users.get(uuid)
4 #' @param uuid The UUID of the User in question.
5 #' @return User object.
6 #' @name users.get
7 NULL
8
9 #' users.index is a method defined in Arvados class.
10 #' 
11 #' @usage arv$users.index(filters = NULL,
12 #'      where = NULL, order = NULL, select = NULL,
13 #'      distinct = NULL, limit = "100", offset = "0",
14 #'      count = "exact")
15 #' @param filters 
16 #' @param where 
17 #' @param order 
18 #' @param select 
19 #' @param distinct 
20 #' @param limit 
21 #' @param offset 
22 #' @param count 
23 #' @return UserList object.
24 #' @name users.index
25 NULL
26
27 #' users.create is a method defined in Arvados class.
28 #' 
29 #' @usage arv$users.create(user, ensure_unique_name = "false")
30 #' @param user User object.
31 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
32 #' @return User object.
33 #' @name users.create
34 NULL
35
36 #' users.update is a method defined in Arvados class.
37 #' 
38 #' @usage arv$users.update(user, uuid)
39 #' @param user User object.
40 #' @param uuid The UUID of the User in question.
41 #' @return User object.
42 #' @name users.update
43 NULL
44
45 #' users.delete is a method defined in Arvados class.
46 #' 
47 #' @usage arv$users.delete(uuid)
48 #' @param uuid The UUID of the User in question.
49 #' @return User object.
50 #' @name users.delete
51 NULL
52
53 #' users.current is a method defined in Arvados class.
54 #' 
55 #' @usage arv$users.current(NULL)
56 #' @return User object.
57 #' @name users.current
58 NULL
59
60 #' users.system is a method defined in Arvados class.
61 #' 
62 #' @usage arv$users.system(NULL)
63 #' @return User object.
64 #' @name users.system
65 NULL
66
67 #' users.activate is a method defined in Arvados class.
68 #' 
69 #' @usage arv$users.activate(uuid)
70 #' @param uuid 
71 #' @return User object.
72 #' @name users.activate
73 NULL
74
75 #' users.setup is a method defined in Arvados class.
76 #' 
77 #' @usage arv$users.setup(user = NULL, openid_prefix = NULL,
78 #'      repo_name = NULL, vm_uuid = NULL, send_notification_email = "false")
79 #' @param user 
80 #' @param openid_prefix 
81 #' @param repo_name 
82 #' @param vm_uuid 
83 #' @param send_notification_email 
84 #' @return User object.
85 #' @name users.setup
86 NULL
87
88 #' users.unsetup is a method defined in Arvados class.
89 #' 
90 #' @usage arv$users.unsetup(uuid)
91 #' @param uuid 
92 #' @return User object.
93 #' @name users.unsetup
94 NULL
95
96 #' users.update_uuid is a method defined in Arvados class.
97 #' 
98 #' @usage arv$users.update_uuid(uuid, new_uuid)
99 #' @param uuid 
100 #' @param new_uuid 
101 #' @return User object.
102 #' @name users.update_uuid
103 NULL
104
105 #' users.list is a method defined in Arvados class.
106 #' 
107 #' @usage arv$users.list(filters = NULL,
108 #'      where = NULL, order = NULL, select = NULL,
109 #'      distinct = NULL, limit = "100", offset = "0",
110 #'      count = "exact")
111 #' @param filters 
112 #' @param where 
113 #' @param order 
114 #' @param select 
115 #' @param distinct 
116 #' @param limit 
117 #' @param offset 
118 #' @param count 
119 #' @return UserList object.
120 #' @name users.list
121 NULL
122
123 #' users.show is a method defined in Arvados class.
124 #' 
125 #' @usage arv$users.show(uuid)
126 #' @param uuid 
127 #' @return User object.
128 #' @name users.show
129 NULL
130
131 #' users.destroy is a method defined in Arvados class.
132 #' 
133 #' @usage arv$users.destroy(uuid)
134 #' @param uuid 
135 #' @return User object.
136 #' @name users.destroy
137 NULL
138
139 #' api_client_authorizations.get is a method defined in Arvados class.
140 #' 
141 #' @usage arv$api_client_authorizations.get(uuid)
142 #' @param uuid The UUID of the ApiClientAuthorization in question.
143 #' @return ApiClientAuthorization object.
144 #' @name api_client_authorizations.get
145 NULL
146
147 #' api_client_authorizations.index is a method defined in Arvados class.
148 #' 
149 #' @usage arv$api_client_authorizations.index(filters = NULL,
150 #'      where = NULL, order = NULL, select = NULL,
151 #'      distinct = NULL, limit = "100", offset = "0",
152 #'      count = "exact")
153 #' @param filters 
154 #' @param where 
155 #' @param order 
156 #' @param select 
157 #' @param distinct 
158 #' @param limit 
159 #' @param offset 
160 #' @param count 
161 #' @return ApiClientAuthorizationList object.
162 #' @name api_client_authorizations.index
163 NULL
164
165 #' api_client_authorizations.create is a method defined in Arvados class.
166 #' 
167 #' @usage arv$api_client_authorizations.create(apiclientauthorization,
168 #'      ensure_unique_name = "false")
169 #' @param apiClientAuthorization ApiClientAuthorization object.
170 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
171 #' @return ApiClientAuthorization object.
172 #' @name api_client_authorizations.create
173 NULL
174
175 #' api_client_authorizations.update is a method defined in Arvados class.
176 #' 
177 #' @usage arv$api_client_authorizations.update(apiclientauthorization,
178 #'      uuid)
179 #' @param apiClientAuthorization ApiClientAuthorization object.
180 #' @param uuid The UUID of the ApiClientAuthorization in question.
181 #' @return ApiClientAuthorization object.
182 #' @name api_client_authorizations.update
183 NULL
184
185 #' api_client_authorizations.delete is a method defined in Arvados class.
186 #' 
187 #' @usage arv$api_client_authorizations.delete(uuid)
188 #' @param uuid The UUID of the ApiClientAuthorization in question.
189 #' @return ApiClientAuthorization object.
190 #' @name api_client_authorizations.delete
191 NULL
192
193 #' api_client_authorizations.create_system_auth is a method defined in Arvados class.
194 #' 
195 #' @usage arv$api_client_authorizations.create_system_auth(api_client_id = NULL,
196 #'      scopes = NULL)
197 #' @param api_client_id 
198 #' @param scopes 
199 #' @return ApiClientAuthorization object.
200 #' @name api_client_authorizations.create_system_auth
201 NULL
202
203 #' api_client_authorizations.current is a method defined in Arvados class.
204 #' 
205 #' @usage arv$api_client_authorizations.current(NULL)
206 #' @return ApiClientAuthorization object.
207 #' @name api_client_authorizations.current
208 NULL
209
210 #' api_client_authorizations.list is a method defined in Arvados class.
211 #' 
212 #' @usage arv$api_client_authorizations.list(filters = NULL,
213 #'      where = NULL, order = NULL, select = NULL,
214 #'      distinct = NULL, limit = "100", offset = "0",
215 #'      count = "exact")
216 #' @param filters 
217 #' @param where 
218 #' @param order 
219 #' @param select 
220 #' @param distinct 
221 #' @param limit 
222 #' @param offset 
223 #' @param count 
224 #' @return ApiClientAuthorizationList object.
225 #' @name api_client_authorizations.list
226 NULL
227
228 #' api_client_authorizations.show is a method defined in Arvados class.
229 #' 
230 #' @usage arv$api_client_authorizations.show(uuid)
231 #' @param uuid 
232 #' @return ApiClientAuthorization object.
233 #' @name api_client_authorizations.show
234 NULL
235
236 #' api_client_authorizations.destroy is a method defined in Arvados class.
237 #' 
238 #' @usage arv$api_client_authorizations.destroy(uuid)
239 #' @param uuid 
240 #' @return ApiClientAuthorization object.
241 #' @name api_client_authorizations.destroy
242 NULL
243
244 #' api_clients.get is a method defined in Arvados class.
245 #' 
246 #' @usage arv$api_clients.get(uuid)
247 #' @param uuid The UUID of the ApiClient in question.
248 #' @return ApiClient object.
249 #' @name api_clients.get
250 NULL
251
252 #' api_clients.index is a method defined in Arvados class.
253 #' 
254 #' @usage arv$api_clients.index(filters = NULL,
255 #'      where = NULL, order = NULL, select = NULL,
256 #'      distinct = NULL, limit = "100", offset = "0",
257 #'      count = "exact")
258 #' @param filters 
259 #' @param where 
260 #' @param order 
261 #' @param select 
262 #' @param distinct 
263 #' @param limit 
264 #' @param offset 
265 #' @param count 
266 #' @return ApiClientList object.
267 #' @name api_clients.index
268 NULL
269
270 #' api_clients.create is a method defined in Arvados class.
271 #' 
272 #' @usage arv$api_clients.create(apiclient,
273 #'      ensure_unique_name = "false")
274 #' @param apiClient ApiClient object.
275 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
276 #' @return ApiClient object.
277 #' @name api_clients.create
278 NULL
279
280 #' api_clients.update is a method defined in Arvados class.
281 #' 
282 #' @usage arv$api_clients.update(apiclient,
283 #'      uuid)
284 #' @param apiClient ApiClient object.
285 #' @param uuid The UUID of the ApiClient in question.
286 #' @return ApiClient object.
287 #' @name api_clients.update
288 NULL
289
290 #' api_clients.delete is a method defined in Arvados class.
291 #' 
292 #' @usage arv$api_clients.delete(uuid)
293 #' @param uuid The UUID of the ApiClient in question.
294 #' @return ApiClient object.
295 #' @name api_clients.delete
296 NULL
297
298 #' api_clients.list is a method defined in Arvados class.
299 #' 
300 #' @usage arv$api_clients.list(filters = NULL,
301 #'      where = NULL, order = NULL, select = NULL,
302 #'      distinct = NULL, limit = "100", offset = "0",
303 #'      count = "exact")
304 #' @param filters 
305 #' @param where 
306 #' @param order 
307 #' @param select 
308 #' @param distinct 
309 #' @param limit 
310 #' @param offset 
311 #' @param count 
312 #' @return ApiClientList object.
313 #' @name api_clients.list
314 NULL
315
316 #' api_clients.show is a method defined in Arvados class.
317 #' 
318 #' @usage arv$api_clients.show(uuid)
319 #' @param uuid 
320 #' @return ApiClient object.
321 #' @name api_clients.show
322 NULL
323
324 #' api_clients.destroy is a method defined in Arvados class.
325 #' 
326 #' @usage arv$api_clients.destroy(uuid)
327 #' @param uuid 
328 #' @return ApiClient object.
329 #' @name api_clients.destroy
330 NULL
331
332 #' container_requests.get is a method defined in Arvados class.
333 #' 
334 #' @usage arv$container_requests.get(uuid)
335 #' @param uuid The UUID of the ContainerRequest in question.
336 #' @return ContainerRequest object.
337 #' @name container_requests.get
338 NULL
339
340 #' container_requests.index is a method defined in Arvados class.
341 #' 
342 #' @usage arv$container_requests.index(filters = NULL,
343 #'      where = NULL, order = NULL, select = NULL,
344 #'      distinct = NULL, limit = "100", offset = "0",
345 #'      count = "exact")
346 #' @param filters 
347 #' @param where 
348 #' @param order 
349 #' @param select 
350 #' @param distinct 
351 #' @param limit 
352 #' @param offset 
353 #' @param count 
354 #' @return ContainerRequestList object.
355 #' @name container_requests.index
356 NULL
357
358 #' container_requests.create is a method defined in Arvados class.
359 #' 
360 #' @usage arv$container_requests.create(containerrequest,
361 #'      ensure_unique_name = "false")
362 #' @param containerRequest ContainerRequest object.
363 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
364 #' @return ContainerRequest object.
365 #' @name container_requests.create
366 NULL
367
368 #' container_requests.update is a method defined in Arvados class.
369 #' 
370 #' @usage arv$container_requests.update(containerrequest,
371 #'      uuid)
372 #' @param containerRequest ContainerRequest object.
373 #' @param uuid The UUID of the ContainerRequest in question.
374 #' @return ContainerRequest object.
375 #' @name container_requests.update
376 NULL
377
378 #' container_requests.delete is a method defined in Arvados class.
379 #' 
380 #' @usage arv$container_requests.delete(uuid)
381 #' @param uuid The UUID of the ContainerRequest in question.
382 #' @return ContainerRequest object.
383 #' @name container_requests.delete
384 NULL
385
386 #' container_requests.list is a method defined in Arvados class.
387 #' 
388 #' @usage arv$container_requests.list(filters = NULL,
389 #'      where = NULL, order = NULL, select = NULL,
390 #'      distinct = NULL, limit = "100", offset = "0",
391 #'      count = "exact")
392 #' @param filters 
393 #' @param where 
394 #' @param order 
395 #' @param select 
396 #' @param distinct 
397 #' @param limit 
398 #' @param offset 
399 #' @param count 
400 #' @return ContainerRequestList object.
401 #' @name container_requests.list
402 NULL
403
404 #' container_requests.show is a method defined in Arvados class.
405 #' 
406 #' @usage arv$container_requests.show(uuid)
407 #' @param uuid 
408 #' @return ContainerRequest object.
409 #' @name container_requests.show
410 NULL
411
412 #' container_requests.destroy is a method defined in Arvados class.
413 #' 
414 #' @usage arv$container_requests.destroy(uuid)
415 #' @param uuid 
416 #' @return ContainerRequest object.
417 #' @name container_requests.destroy
418 NULL
419
420 #' authorized_keys.get is a method defined in Arvados class.
421 #' 
422 #' @usage arv$authorized_keys.get(uuid)
423 #' @param uuid The UUID of the AuthorizedKey in question.
424 #' @return AuthorizedKey object.
425 #' @name authorized_keys.get
426 NULL
427
428 #' authorized_keys.index is a method defined in Arvados class.
429 #' 
430 #' @usage arv$authorized_keys.index(filters = NULL,
431 #'      where = NULL, order = NULL, select = NULL,
432 #'      distinct = NULL, limit = "100", offset = "0",
433 #'      count = "exact")
434 #' @param filters 
435 #' @param where 
436 #' @param order 
437 #' @param select 
438 #' @param distinct 
439 #' @param limit 
440 #' @param offset 
441 #' @param count 
442 #' @return AuthorizedKeyList object.
443 #' @name authorized_keys.index
444 NULL
445
446 #' authorized_keys.create is a method defined in Arvados class.
447 #' 
448 #' @usage arv$authorized_keys.create(authorizedkey,
449 #'      ensure_unique_name = "false")
450 #' @param authorizedKey AuthorizedKey object.
451 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
452 #' @return AuthorizedKey object.
453 #' @name authorized_keys.create
454 NULL
455
456 #' authorized_keys.update is a method defined in Arvados class.
457 #' 
458 #' @usage arv$authorized_keys.update(authorizedkey,
459 #'      uuid)
460 #' @param authorizedKey AuthorizedKey object.
461 #' @param uuid The UUID of the AuthorizedKey in question.
462 #' @return AuthorizedKey object.
463 #' @name authorized_keys.update
464 NULL
465
466 #' authorized_keys.delete is a method defined in Arvados class.
467 #' 
468 #' @usage arv$authorized_keys.delete(uuid)
469 #' @param uuid The UUID of the AuthorizedKey in question.
470 #' @return AuthorizedKey object.
471 #' @name authorized_keys.delete
472 NULL
473
474 #' authorized_keys.list is a method defined in Arvados class.
475 #' 
476 #' @usage arv$authorized_keys.list(filters = NULL,
477 #'      where = NULL, order = NULL, select = NULL,
478 #'      distinct = NULL, limit = "100", offset = "0",
479 #'      count = "exact")
480 #' @param filters 
481 #' @param where 
482 #' @param order 
483 #' @param select 
484 #' @param distinct 
485 #' @param limit 
486 #' @param offset 
487 #' @param count 
488 #' @return AuthorizedKeyList object.
489 #' @name authorized_keys.list
490 NULL
491
492 #' authorized_keys.show is a method defined in Arvados class.
493 #' 
494 #' @usage arv$authorized_keys.show(uuid)
495 #' @param uuid 
496 #' @return AuthorizedKey object.
497 #' @name authorized_keys.show
498 NULL
499
500 #' authorized_keys.destroy is a method defined in Arvados class.
501 #' 
502 #' @usage arv$authorized_keys.destroy(uuid)
503 #' @param uuid 
504 #' @return AuthorizedKey object.
505 #' @name authorized_keys.destroy
506 NULL
507
508 #' collections.get is a method defined in Arvados class.
509 #' 
510 #' @usage arv$collections.get(uuid)
511 #' @param uuid The UUID of the Collection in question.
512 #' @return Collection object.
513 #' @name collections.get
514 NULL
515
516 #' collections.index is a method defined in Arvados class.
517 #' 
518 #' @usage arv$collections.index(filters = NULL,
519 #'      where = NULL, order = NULL, select = NULL,
520 #'      distinct = NULL, limit = "100", offset = "0",
521 #'      count = "exact", include_trash = NULL)
522 #' @param filters 
523 #' @param where 
524 #' @param order 
525 #' @param select 
526 #' @param distinct 
527 #' @param limit 
528 #' @param offset 
529 #' @param count 
530 #' @param include_trash Include collections whose is_trashed attribute is true.
531 #' @return CollectionList object.
532 #' @name collections.index
533 NULL
534
535 #' collections.create is a method defined in Arvados class.
536 #' 
537 #' @usage arv$collections.create(collection,
538 #'      ensure_unique_name = "false")
539 #' @param collection Collection object.
540 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
541 #' @return Collection object.
542 #' @name collections.create
543 NULL
544
545 #' collections.update is a method defined in Arvados class.
546 #' 
547 #' @usage arv$collections.update(collection,
548 #'      uuid)
549 #' @param collection Collection object.
550 #' @param uuid The UUID of the Collection in question.
551 #' @return Collection object.
552 #' @name collections.update
553 NULL
554
555 #' collections.delete is a method defined in Arvados class.
556 #' 
557 #' @usage arv$collections.delete(uuid)
558 #' @param uuid The UUID of the Collection in question.
559 #' @return Collection object.
560 #' @name collections.delete
561 NULL
562
563 #' collections.provenance is a method defined in Arvados class.
564 #' 
565 #' @usage arv$collections.provenance(uuid)
566 #' @param uuid 
567 #' @return Collection object.
568 #' @name collections.provenance
569 NULL
570
571 #' collections.used_by is a method defined in Arvados class.
572 #' 
573 #' @usage arv$collections.used_by(uuid)
574 #' @param uuid 
575 #' @return Collection object.
576 #' @name collections.used_by
577 NULL
578
579 #' collections.trash is a method defined in Arvados class.
580 #' 
581 #' @usage arv$collections.trash(uuid)
582 #' @param uuid 
583 #' @return Collection object.
584 #' @name collections.trash
585 NULL
586
587 #' collections.untrash is a method defined in Arvados class.
588 #' 
589 #' @usage arv$collections.untrash(uuid)
590 #' @param uuid 
591 #' @return Collection object.
592 #' @name collections.untrash
593 NULL
594
595 #' collections.list is a method defined in Arvados class.
596 #' 
597 #' @usage arv$collections.list(filters = NULL,
598 #'      where = NULL, order = NULL, select = NULL,
599 #'      distinct = NULL, limit = "100", offset = "0",
600 #'      count = "exact", include_trash = NULL)
601 #' @param filters 
602 #' @param where 
603 #' @param order 
604 #' @param select 
605 #' @param distinct 
606 #' @param limit 
607 #' @param offset 
608 #' @param count 
609 #' @param include_trash Include collections whose is_trashed attribute is true.
610 #' @return CollectionList object.
611 #' @name collections.list
612 NULL
613
614 #' collections.show is a method defined in Arvados class.
615 #' 
616 #' @usage arv$collections.show(uuid)
617 #' @param uuid 
618 #' @return Collection object.
619 #' @name collections.show
620 NULL
621
622 #' collections.destroy is a method defined in Arvados class.
623 #' 
624 #' @usage arv$collections.destroy(uuid)
625 #' @param uuid 
626 #' @return Collection object.
627 #' @name collections.destroy
628 NULL
629
630 #' containers.get is a method defined in Arvados class.
631 #' 
632 #' @usage arv$containers.get(uuid)
633 #' @param uuid The UUID of the Container in question.
634 #' @return Container object.
635 #' @name containers.get
636 NULL
637
638 #' containers.index is a method defined in Arvados class.
639 #' 
640 #' @usage arv$containers.index(filters = NULL,
641 #'      where = NULL, order = NULL, select = NULL,
642 #'      distinct = NULL, limit = "100", offset = "0",
643 #'      count = "exact")
644 #' @param filters 
645 #' @param where 
646 #' @param order 
647 #' @param select 
648 #' @param distinct 
649 #' @param limit 
650 #' @param offset 
651 #' @param count 
652 #' @return ContainerList object.
653 #' @name containers.index
654 NULL
655
656 #' containers.create is a method defined in Arvados class.
657 #' 
658 #' @usage arv$containers.create(container,
659 #'      ensure_unique_name = "false")
660 #' @param container Container object.
661 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
662 #' @return Container object.
663 #' @name containers.create
664 NULL
665
666 #' containers.update is a method defined in Arvados class.
667 #' 
668 #' @usage arv$containers.update(container,
669 #'      uuid)
670 #' @param container Container object.
671 #' @param uuid The UUID of the Container in question.
672 #' @return Container object.
673 #' @name containers.update
674 NULL
675
676 #' containers.delete is a method defined in Arvados class.
677 #' 
678 #' @usage arv$containers.delete(uuid)
679 #' @param uuid The UUID of the Container in question.
680 #' @return Container object.
681 #' @name containers.delete
682 NULL
683
684 #' containers.auth is a method defined in Arvados class.
685 #' 
686 #' @usage arv$containers.auth(uuid)
687 #' @param uuid 
688 #' @return Container object.
689 #' @name containers.auth
690 NULL
691
692 #' containers.lock is a method defined in Arvados class.
693 #' 
694 #' @usage arv$containers.lock(uuid)
695 #' @param uuid 
696 #' @return Container object.
697 #' @name containers.lock
698 NULL
699
700 #' containers.unlock is a method defined in Arvados class.
701 #' 
702 #' @usage arv$containers.unlock(uuid)
703 #' @param uuid 
704 #' @return Container object.
705 #' @name containers.unlock
706 NULL
707
708 #' containers.current is a method defined in Arvados class.
709 #' 
710 #' @usage arv$containers.current(NULL)
711 #' @return Container object.
712 #' @name containers.current
713 NULL
714
715 #' containers.list is a method defined in Arvados class.
716 #' 
717 #' @usage arv$containers.list(filters = NULL,
718 #'      where = NULL, order = NULL, select = NULL,
719 #'      distinct = NULL, limit = "100", offset = "0",
720 #'      count = "exact")
721 #' @param filters 
722 #' @param where 
723 #' @param order 
724 #' @param select 
725 #' @param distinct 
726 #' @param limit 
727 #' @param offset 
728 #' @param count 
729 #' @return ContainerList object.
730 #' @name containers.list
731 NULL
732
733 #' containers.show is a method defined in Arvados class.
734 #' 
735 #' @usage arv$containers.show(uuid)
736 #' @param uuid 
737 #' @return Container object.
738 #' @name containers.show
739 NULL
740
741 #' containers.destroy is a method defined in Arvados class.
742 #' 
743 #' @usage arv$containers.destroy(uuid)
744 #' @param uuid 
745 #' @return Container object.
746 #' @name containers.destroy
747 NULL
748
749 #' humans.get is a method defined in Arvados class.
750 #' 
751 #' @usage arv$humans.get(uuid)
752 #' @param uuid The UUID of the Human in question.
753 #' @return Human object.
754 #' @name humans.get
755 NULL
756
757 #' humans.index is a method defined in Arvados class.
758 #' 
759 #' @usage arv$humans.index(filters = NULL,
760 #'      where = NULL, order = NULL, select = NULL,
761 #'      distinct = NULL, limit = "100", offset = "0",
762 #'      count = "exact")
763 #' @param filters 
764 #' @param where 
765 #' @param order 
766 #' @param select 
767 #' @param distinct 
768 #' @param limit 
769 #' @param offset 
770 #' @param count 
771 #' @return HumanList object.
772 #' @name humans.index
773 NULL
774
775 #' humans.create is a method defined in Arvados class.
776 #' 
777 #' @usage arv$humans.create(human, ensure_unique_name = "false")
778 #' @param human Human object.
779 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
780 #' @return Human object.
781 #' @name humans.create
782 NULL
783
784 #' humans.update is a method defined in Arvados class.
785 #' 
786 #' @usage arv$humans.update(human, uuid)
787 #' @param human Human object.
788 #' @param uuid The UUID of the Human in question.
789 #' @return Human object.
790 #' @name humans.update
791 NULL
792
793 #' humans.delete is a method defined in Arvados class.
794 #' 
795 #' @usage arv$humans.delete(uuid)
796 #' @param uuid The UUID of the Human in question.
797 #' @return Human object.
798 #' @name humans.delete
799 NULL
800
801 #' humans.list is a method defined in Arvados class.
802 #' 
803 #' @usage arv$humans.list(filters = NULL,
804 #'      where = NULL, order = NULL, select = NULL,
805 #'      distinct = NULL, limit = "100", offset = "0",
806 #'      count = "exact")
807 #' @param filters 
808 #' @param where 
809 #' @param order 
810 #' @param select 
811 #' @param distinct 
812 #' @param limit 
813 #' @param offset 
814 #' @param count 
815 #' @return HumanList object.
816 #' @name humans.list
817 NULL
818
819 #' humans.show is a method defined in Arvados class.
820 #' 
821 #' @usage arv$humans.show(uuid)
822 #' @param uuid 
823 #' @return Human object.
824 #' @name humans.show
825 NULL
826
827 #' humans.destroy is a method defined in Arvados class.
828 #' 
829 #' @usage arv$humans.destroy(uuid)
830 #' @param uuid 
831 #' @return Human object.
832 #' @name humans.destroy
833 NULL
834
835 #' job_tasks.get is a method defined in Arvados class.
836 #' 
837 #' @usage arv$job_tasks.get(uuid)
838 #' @param uuid The UUID of the JobTask in question.
839 #' @return JobTask object.
840 #' @name job_tasks.get
841 NULL
842
843 #' job_tasks.index is a method defined in Arvados class.
844 #' 
845 #' @usage arv$job_tasks.index(filters = NULL,
846 #'      where = NULL, order = NULL, select = NULL,
847 #'      distinct = NULL, limit = "100", offset = "0",
848 #'      count = "exact")
849 #' @param filters 
850 #' @param where 
851 #' @param order 
852 #' @param select 
853 #' @param distinct 
854 #' @param limit 
855 #' @param offset 
856 #' @param count 
857 #' @return JobTaskList object.
858 #' @name job_tasks.index
859 NULL
860
861 #' job_tasks.create is a method defined in Arvados class.
862 #' 
863 #' @usage arv$job_tasks.create(jobtask, ensure_unique_name = "false")
864 #' @param jobTask JobTask object.
865 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
866 #' @return JobTask object.
867 #' @name job_tasks.create
868 NULL
869
870 #' job_tasks.update is a method defined in Arvados class.
871 #' 
872 #' @usage arv$job_tasks.update(jobtask, uuid)
873 #' @param jobTask JobTask object.
874 #' @param uuid The UUID of the JobTask in question.
875 #' @return JobTask object.
876 #' @name job_tasks.update
877 NULL
878
879 #' job_tasks.delete is a method defined in Arvados class.
880 #' 
881 #' @usage arv$job_tasks.delete(uuid)
882 #' @param uuid The UUID of the JobTask in question.
883 #' @return JobTask object.
884 #' @name job_tasks.delete
885 NULL
886
887 #' job_tasks.list is a method defined in Arvados class.
888 #' 
889 #' @usage arv$job_tasks.list(filters = NULL,
890 #'      where = NULL, order = NULL, select = NULL,
891 #'      distinct = NULL, limit = "100", offset = "0",
892 #'      count = "exact")
893 #' @param filters 
894 #' @param where 
895 #' @param order 
896 #' @param select 
897 #' @param distinct 
898 #' @param limit 
899 #' @param offset 
900 #' @param count 
901 #' @return JobTaskList object.
902 #' @name job_tasks.list
903 NULL
904
905 #' job_tasks.show is a method defined in Arvados class.
906 #' 
907 #' @usage arv$job_tasks.show(uuid)
908 #' @param uuid 
909 #' @return JobTask object.
910 #' @name job_tasks.show
911 NULL
912
913 #' job_tasks.destroy is a method defined in Arvados class.
914 #' 
915 #' @usage arv$job_tasks.destroy(uuid)
916 #' @param uuid 
917 #' @return JobTask object.
918 #' @name job_tasks.destroy
919 NULL
920
921 #' links.get is a method defined in Arvados class.
922 #' 
923 #' @usage arv$links.get(uuid)
924 #' @param uuid The UUID of the Link in question.
925 #' @return Link object.
926 #' @name links.get
927 NULL
928
929 #' links.index is a method defined in Arvados class.
930 #' 
931 #' @usage arv$links.index(filters = NULL,
932 #'      where = NULL, order = NULL, select = NULL,
933 #'      distinct = NULL, limit = "100", offset = "0",
934 #'      count = "exact")
935 #' @param filters 
936 #' @param where 
937 #' @param order 
938 #' @param select 
939 #' @param distinct 
940 #' @param limit 
941 #' @param offset 
942 #' @param count 
943 #' @return LinkList object.
944 #' @name links.index
945 NULL
946
947 #' links.create is a method defined in Arvados class.
948 #' 
949 #' @usage arv$links.create(link, ensure_unique_name = "false")
950 #' @param link Link object.
951 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
952 #' @return Link object.
953 #' @name links.create
954 NULL
955
956 #' links.update is a method defined in Arvados class.
957 #' 
958 #' @usage arv$links.update(link, uuid)
959 #' @param link Link object.
960 #' @param uuid The UUID of the Link in question.
961 #' @return Link object.
962 #' @name links.update
963 NULL
964
965 #' links.delete is a method defined in Arvados class.
966 #' 
967 #' @usage arv$links.delete(uuid)
968 #' @param uuid The UUID of the Link in question.
969 #' @return Link object.
970 #' @name links.delete
971 NULL
972
973 #' links.list is a method defined in Arvados class.
974 #' 
975 #' @usage arv$links.list(filters = NULL,
976 #'      where = NULL, order = NULL, select = NULL,
977 #'      distinct = NULL, limit = "100", offset = "0",
978 #'      count = "exact")
979 #' @param filters 
980 #' @param where 
981 #' @param order 
982 #' @param select 
983 #' @param distinct 
984 #' @param limit 
985 #' @param offset 
986 #' @param count 
987 #' @return LinkList object.
988 #' @name links.list
989 NULL
990
991 #' links.show is a method defined in Arvados class.
992 #' 
993 #' @usage arv$links.show(uuid)
994 #' @param uuid 
995 #' @return Link object.
996 #' @name links.show
997 NULL
998
999 #' links.destroy is a method defined in Arvados class.
1000 #' 
1001 #' @usage arv$links.destroy(uuid)
1002 #' @param uuid 
1003 #' @return Link object.
1004 #' @name links.destroy
1005 NULL
1006
1007 #' links.get_permissions is a method defined in Arvados class.
1008 #' 
1009 #' @usage arv$links.get_permissions(uuid)
1010 #' @param uuid 
1011 #' @return Link object.
1012 #' @name links.get_permissions
1013 NULL
1014
1015 #' jobs.get is a method defined in Arvados class.
1016 #' 
1017 #' @usage arv$jobs.get(uuid)
1018 #' @param uuid The UUID of the Job in question.
1019 #' @return Job object.
1020 #' @name jobs.get
1021 NULL
1022
1023 #' jobs.index is a method defined in Arvados class.
1024 #' 
1025 #' @usage arv$jobs.index(filters = NULL,
1026 #'      where = NULL, order = NULL, select = NULL,
1027 #'      distinct = NULL, limit = "100", offset = "0",
1028 #'      count = "exact")
1029 #' @param filters 
1030 #' @param where 
1031 #' @param order 
1032 #' @param select 
1033 #' @param distinct 
1034 #' @param limit 
1035 #' @param offset 
1036 #' @param count 
1037 #' @return JobList object.
1038 #' @name jobs.index
1039 NULL
1040
1041 #' jobs.create is a method defined in Arvados class.
1042 #' 
1043 #' @usage arv$jobs.create(job, ensure_unique_name = "false",
1044 #'      find_or_create = "false", filters = NULL,
1045 #'      minimum_script_version = NULL, exclude_script_versions = NULL)
1046 #' @param job Job object.
1047 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1048 #' @param find_or_create 
1049 #' @param filters 
1050 #' @param minimum_script_version 
1051 #' @param exclude_script_versions 
1052 #' @return Job object.
1053 #' @name jobs.create
1054 NULL
1055
1056 #' jobs.update is a method defined in Arvados class.
1057 #' 
1058 #' @usage arv$jobs.update(job, uuid)
1059 #' @param job Job object.
1060 #' @param uuid The UUID of the Job in question.
1061 #' @return Job object.
1062 #' @name jobs.update
1063 NULL
1064
1065 #' jobs.delete is a method defined in Arvados class.
1066 #' 
1067 #' @usage arv$jobs.delete(uuid)
1068 #' @param uuid The UUID of the Job in question.
1069 #' @return Job object.
1070 #' @name jobs.delete
1071 NULL
1072
1073 #' jobs.queue is a method defined in Arvados class.
1074 #' 
1075 #' @usage arv$jobs.queue(filters = NULL,
1076 #'      where = NULL, order = NULL, select = NULL,
1077 #'      distinct = NULL, limit = "100", offset = "0",
1078 #'      count = "exact")
1079 #' @param filters 
1080 #' @param where 
1081 #' @param order 
1082 #' @param select 
1083 #' @param distinct 
1084 #' @param limit 
1085 #' @param offset 
1086 #' @param count 
1087 #' @return Job object.
1088 #' @name jobs.queue
1089 NULL
1090
1091 #' jobs.queue_size is a method defined in Arvados class.
1092 #' 
1093 #' @usage arv$jobs.queue_size(NULL)
1094 #' @return Job object.
1095 #' @name jobs.queue_size
1096 NULL
1097
1098 #' jobs.cancel is a method defined in Arvados class.
1099 #' 
1100 #' @usage arv$jobs.cancel(uuid)
1101 #' @param uuid 
1102 #' @return Job object.
1103 #' @name jobs.cancel
1104 NULL
1105
1106 #' jobs.lock is a method defined in Arvados class.
1107 #' 
1108 #' @usage arv$jobs.lock(uuid)
1109 #' @param uuid 
1110 #' @return Job object.
1111 #' @name jobs.lock
1112 NULL
1113
1114 #' jobs.list is a method defined in Arvados class.
1115 #' 
1116 #' @usage arv$jobs.list(filters = NULL, where = NULL,
1117 #'      order = NULL, select = NULL, distinct = NULL,
1118 #'      limit = "100", offset = "0", count = "exact")
1119 #' @param filters 
1120 #' @param where 
1121 #' @param order 
1122 #' @param select 
1123 #' @param distinct 
1124 #' @param limit 
1125 #' @param offset 
1126 #' @param count 
1127 #' @return JobList object.
1128 #' @name jobs.list
1129 NULL
1130
1131 #' jobs.show is a method defined in Arvados class.
1132 #' 
1133 #' @usage arv$jobs.show(uuid)
1134 #' @param uuid 
1135 #' @return Job object.
1136 #' @name jobs.show
1137 NULL
1138
1139 #' jobs.destroy is a method defined in Arvados class.
1140 #' 
1141 #' @usage arv$jobs.destroy(uuid)
1142 #' @param uuid 
1143 #' @return Job object.
1144 #' @name jobs.destroy
1145 NULL
1146
1147 #' keep_disks.get is a method defined in Arvados class.
1148 #' 
1149 #' @usage arv$keep_disks.get(uuid)
1150 #' @param uuid The UUID of the KeepDisk in question.
1151 #' @return KeepDisk object.
1152 #' @name keep_disks.get
1153 NULL
1154
1155 #' keep_disks.index is a method defined in Arvados class.
1156 #' 
1157 #' @usage arv$keep_disks.index(filters = NULL,
1158 #'      where = NULL, order = NULL, select = NULL,
1159 #'      distinct = NULL, limit = "100", offset = "0",
1160 #'      count = "exact")
1161 #' @param filters 
1162 #' @param where 
1163 #' @param order 
1164 #' @param select 
1165 #' @param distinct 
1166 #' @param limit 
1167 #' @param offset 
1168 #' @param count 
1169 #' @return KeepDiskList object.
1170 #' @name keep_disks.index
1171 NULL
1172
1173 #' keep_disks.create is a method defined in Arvados class.
1174 #' 
1175 #' @usage arv$keep_disks.create(keepdisk,
1176 #'      ensure_unique_name = "false")
1177 #' @param keepDisk KeepDisk object.
1178 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1179 #' @return KeepDisk object.
1180 #' @name keep_disks.create
1181 NULL
1182
1183 #' keep_disks.update is a method defined in Arvados class.
1184 #' 
1185 #' @usage arv$keep_disks.update(keepdisk,
1186 #'      uuid)
1187 #' @param keepDisk KeepDisk object.
1188 #' @param uuid The UUID of the KeepDisk in question.
1189 #' @return KeepDisk object.
1190 #' @name keep_disks.update
1191 NULL
1192
1193 #' keep_disks.delete is a method defined in Arvados class.
1194 #' 
1195 #' @usage arv$keep_disks.delete(uuid)
1196 #' @param uuid The UUID of the KeepDisk in question.
1197 #' @return KeepDisk object.
1198 #' @name keep_disks.delete
1199 NULL
1200
1201 #' keep_disks.ping is a method defined in Arvados class.
1202 #' 
1203 #' @usage arv$keep_disks.ping(uuid = NULL,
1204 #'      ping_secret, node_uuid = NULL, filesystem_uuid = NULL,
1205 #'      service_host = NULL, service_port, service_ssl_flag)
1206 #' @param uuid 
1207 #' @param ping_secret 
1208 #' @param node_uuid 
1209 #' @param filesystem_uuid 
1210 #' @param service_host 
1211 #' @param service_port 
1212 #' @param service_ssl_flag 
1213 #' @return KeepDisk object.
1214 #' @name keep_disks.ping
1215 NULL
1216
1217 #' keep_disks.list is a method defined in Arvados class.
1218 #' 
1219 #' @usage arv$keep_disks.list(filters = NULL,
1220 #'      where = NULL, order = NULL, select = NULL,
1221 #'      distinct = NULL, limit = "100", offset = "0",
1222 #'      count = "exact")
1223 #' @param filters 
1224 #' @param where 
1225 #' @param order 
1226 #' @param select 
1227 #' @param distinct 
1228 #' @param limit 
1229 #' @param offset 
1230 #' @param count 
1231 #' @return KeepDiskList object.
1232 #' @name keep_disks.list
1233 NULL
1234
1235 #' keep_disks.show is a method defined in Arvados class.
1236 #' 
1237 #' @usage arv$keep_disks.show(uuid)
1238 #' @param uuid 
1239 #' @return KeepDisk object.
1240 #' @name keep_disks.show
1241 NULL
1242
1243 #' keep_disks.destroy is a method defined in Arvados class.
1244 #' 
1245 #' @usage arv$keep_disks.destroy(uuid)
1246 #' @param uuid 
1247 #' @return KeepDisk object.
1248 #' @name keep_disks.destroy
1249 NULL
1250
1251 #' keep_services.get is a method defined in Arvados class.
1252 #' 
1253 #' @usage arv$keep_services.get(uuid)
1254 #' @param uuid The UUID of the KeepService in question.
1255 #' @return KeepService object.
1256 #' @name keep_services.get
1257 NULL
1258
1259 #' keep_services.index is a method defined in Arvados class.
1260 #' 
1261 #' @usage arv$keep_services.index(filters = NULL,
1262 #'      where = NULL, order = NULL, select = NULL,
1263 #'      distinct = NULL, limit = "100", offset = "0",
1264 #'      count = "exact")
1265 #' @param filters 
1266 #' @param where 
1267 #' @param order 
1268 #' @param select 
1269 #' @param distinct 
1270 #' @param limit 
1271 #' @param offset 
1272 #' @param count 
1273 #' @return KeepServiceList object.
1274 #' @name keep_services.index
1275 NULL
1276
1277 #' keep_services.create is a method defined in Arvados class.
1278 #' 
1279 #' @usage arv$keep_services.create(keepservice,
1280 #'      ensure_unique_name = "false")
1281 #' @param keepService KeepService object.
1282 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1283 #' @return KeepService object.
1284 #' @name keep_services.create
1285 NULL
1286
1287 #' keep_services.update is a method defined in Arvados class.
1288 #' 
1289 #' @usage arv$keep_services.update(keepservice,
1290 #'      uuid)
1291 #' @param keepService KeepService object.
1292 #' @param uuid The UUID of the KeepService in question.
1293 #' @return KeepService object.
1294 #' @name keep_services.update
1295 NULL
1296
1297 #' keep_services.delete is a method defined in Arvados class.
1298 #' 
1299 #' @usage arv$keep_services.delete(uuid)
1300 #' @param uuid The UUID of the KeepService in question.
1301 #' @return KeepService object.
1302 #' @name keep_services.delete
1303 NULL
1304
1305 #' keep_services.accessible is a method defined in Arvados class.
1306 #' 
1307 #' @usage arv$keep_services.accessible(NULL)
1308 #' @return KeepService object.
1309 #' @name keep_services.accessible
1310 NULL
1311
1312 #' keep_services.list is a method defined in Arvados class.
1313 #' 
1314 #' @usage arv$keep_services.list(filters = NULL,
1315 #'      where = NULL, order = NULL, select = NULL,
1316 #'      distinct = NULL, limit = "100", offset = "0",
1317 #'      count = "exact")
1318 #' @param filters 
1319 #' @param where 
1320 #' @param order 
1321 #' @param select 
1322 #' @param distinct 
1323 #' @param limit 
1324 #' @param offset 
1325 #' @param count 
1326 #' @return KeepServiceList object.
1327 #' @name keep_services.list
1328 NULL
1329
1330 #' keep_services.show is a method defined in Arvados class.
1331 #' 
1332 #' @usage arv$keep_services.show(uuid)
1333 #' @param uuid 
1334 #' @return KeepService object.
1335 #' @name keep_services.show
1336 NULL
1337
1338 #' keep_services.destroy is a method defined in Arvados class.
1339 #' 
1340 #' @usage arv$keep_services.destroy(uuid)
1341 #' @param uuid 
1342 #' @return KeepService object.
1343 #' @name keep_services.destroy
1344 NULL
1345
1346 #' pipeline_templates.get is a method defined in Arvados class.
1347 #' 
1348 #' @usage arv$pipeline_templates.get(uuid)
1349 #' @param uuid The UUID of the PipelineTemplate in question.
1350 #' @return PipelineTemplate object.
1351 #' @name pipeline_templates.get
1352 NULL
1353
1354 #' pipeline_templates.index is a method defined in Arvados class.
1355 #' 
1356 #' @usage arv$pipeline_templates.index(filters = NULL,
1357 #'      where = NULL, order = NULL, select = NULL,
1358 #'      distinct = NULL, limit = "100", offset = "0",
1359 #'      count = "exact")
1360 #' @param filters 
1361 #' @param where 
1362 #' @param order 
1363 #' @param select 
1364 #' @param distinct 
1365 #' @param limit 
1366 #' @param offset 
1367 #' @param count 
1368 #' @return PipelineTemplateList object.
1369 #' @name pipeline_templates.index
1370 NULL
1371
1372 #' pipeline_templates.create is a method defined in Arvados class.
1373 #' 
1374 #' @usage arv$pipeline_templates.create(pipelinetemplate,
1375 #'      ensure_unique_name = "false")
1376 #' @param pipelineTemplate PipelineTemplate object.
1377 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1378 #' @return PipelineTemplate object.
1379 #' @name pipeline_templates.create
1380 NULL
1381
1382 #' pipeline_templates.update is a method defined in Arvados class.
1383 #' 
1384 #' @usage arv$pipeline_templates.update(pipelinetemplate,
1385 #'      uuid)
1386 #' @param pipelineTemplate PipelineTemplate object.
1387 #' @param uuid The UUID of the PipelineTemplate in question.
1388 #' @return PipelineTemplate object.
1389 #' @name pipeline_templates.update
1390 NULL
1391
1392 #' pipeline_templates.delete is a method defined in Arvados class.
1393 #' 
1394 #' @usage arv$pipeline_templates.delete(uuid)
1395 #' @param uuid The UUID of the PipelineTemplate in question.
1396 #' @return PipelineTemplate object.
1397 #' @name pipeline_templates.delete
1398 NULL
1399
1400 #' pipeline_templates.list is a method defined in Arvados class.
1401 #' 
1402 #' @usage arv$pipeline_templates.list(filters = NULL,
1403 #'      where = NULL, order = NULL, select = NULL,
1404 #'      distinct = NULL, limit = "100", offset = "0",
1405 #'      count = "exact")
1406 #' @param filters 
1407 #' @param where 
1408 #' @param order 
1409 #' @param select 
1410 #' @param distinct 
1411 #' @param limit 
1412 #' @param offset 
1413 #' @param count 
1414 #' @return PipelineTemplateList object.
1415 #' @name pipeline_templates.list
1416 NULL
1417
1418 #' pipeline_templates.show is a method defined in Arvados class.
1419 #' 
1420 #' @usage arv$pipeline_templates.show(uuid)
1421 #' @param uuid 
1422 #' @return PipelineTemplate object.
1423 #' @name pipeline_templates.show
1424 NULL
1425
1426 #' pipeline_templates.destroy is a method defined in Arvados class.
1427 #' 
1428 #' @usage arv$pipeline_templates.destroy(uuid)
1429 #' @param uuid 
1430 #' @return PipelineTemplate object.
1431 #' @name pipeline_templates.destroy
1432 NULL
1433
1434 #' pipeline_instances.get is a method defined in Arvados class.
1435 #' 
1436 #' @usage arv$pipeline_instances.get(uuid)
1437 #' @param uuid The UUID of the PipelineInstance in question.
1438 #' @return PipelineInstance object.
1439 #' @name pipeline_instances.get
1440 NULL
1441
1442 #' pipeline_instances.index is a method defined in Arvados class.
1443 #' 
1444 #' @usage arv$pipeline_instances.index(filters = NULL,
1445 #'      where = NULL, order = NULL, select = NULL,
1446 #'      distinct = NULL, limit = "100", offset = "0",
1447 #'      count = "exact")
1448 #' @param filters 
1449 #' @param where 
1450 #' @param order 
1451 #' @param select 
1452 #' @param distinct 
1453 #' @param limit 
1454 #' @param offset 
1455 #' @param count 
1456 #' @return PipelineInstanceList object.
1457 #' @name pipeline_instances.index
1458 NULL
1459
1460 #' pipeline_instances.create is a method defined in Arvados class.
1461 #' 
1462 #' @usage arv$pipeline_instances.create(pipelineinstance,
1463 #'      ensure_unique_name = "false")
1464 #' @param pipelineInstance PipelineInstance object.
1465 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1466 #' @return PipelineInstance object.
1467 #' @name pipeline_instances.create
1468 NULL
1469
1470 #' pipeline_instances.update is a method defined in Arvados class.
1471 #' 
1472 #' @usage arv$pipeline_instances.update(pipelineinstance,
1473 #'      uuid)
1474 #' @param pipelineInstance PipelineInstance object.
1475 #' @param uuid The UUID of the PipelineInstance in question.
1476 #' @return PipelineInstance object.
1477 #' @name pipeline_instances.update
1478 NULL
1479
1480 #' pipeline_instances.delete is a method defined in Arvados class.
1481 #' 
1482 #' @usage arv$pipeline_instances.delete(uuid)
1483 #' @param uuid The UUID of the PipelineInstance in question.
1484 #' @return PipelineInstance object.
1485 #' @name pipeline_instances.delete
1486 NULL
1487
1488 #' pipeline_instances.cancel is a method defined in Arvados class.
1489 #' 
1490 #' @usage arv$pipeline_instances.cancel(uuid)
1491 #' @param uuid 
1492 #' @return PipelineInstance object.
1493 #' @name pipeline_instances.cancel
1494 NULL
1495
1496 #' pipeline_instances.list is a method defined in Arvados class.
1497 #' 
1498 #' @usage arv$pipeline_instances.list(filters = NULL,
1499 #'      where = NULL, order = NULL, select = NULL,
1500 #'      distinct = NULL, limit = "100", offset = "0",
1501 #'      count = "exact")
1502 #' @param filters 
1503 #' @param where 
1504 #' @param order 
1505 #' @param select 
1506 #' @param distinct 
1507 #' @param limit 
1508 #' @param offset 
1509 #' @param count 
1510 #' @return PipelineInstanceList object.
1511 #' @name pipeline_instances.list
1512 NULL
1513
1514 #' pipeline_instances.show is a method defined in Arvados class.
1515 #' 
1516 #' @usage arv$pipeline_instances.show(uuid)
1517 #' @param uuid 
1518 #' @return PipelineInstance object.
1519 #' @name pipeline_instances.show
1520 NULL
1521
1522 #' pipeline_instances.destroy is a method defined in Arvados class.
1523 #' 
1524 #' @usage arv$pipeline_instances.destroy(uuid)
1525 #' @param uuid 
1526 #' @return PipelineInstance object.
1527 #' @name pipeline_instances.destroy
1528 NULL
1529
1530 #' nodes.get is a method defined in Arvados class.
1531 #' 
1532 #' @usage arv$nodes.get(uuid)
1533 #' @param uuid The UUID of the Node in question.
1534 #' @return Node object.
1535 #' @name nodes.get
1536 NULL
1537
1538 #' nodes.index is a method defined in Arvados class.
1539 #' 
1540 #' @usage arv$nodes.index(filters = NULL,
1541 #'      where = NULL, order = NULL, select = NULL,
1542 #'      distinct = NULL, limit = "100", offset = "0",
1543 #'      count = "exact")
1544 #' @param filters 
1545 #' @param where 
1546 #' @param order 
1547 #' @param select 
1548 #' @param distinct 
1549 #' @param limit 
1550 #' @param offset 
1551 #' @param count 
1552 #' @return NodeList object.
1553 #' @name nodes.index
1554 NULL
1555
1556 #' nodes.create is a method defined in Arvados class.
1557 #' 
1558 #' @usage arv$nodes.create(node, ensure_unique_name = "false",
1559 #'      assign_slot = NULL)
1560 #' @param node Node object.
1561 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1562 #' @param assign_slot assign slot and hostname
1563 #' @return Node object.
1564 #' @name nodes.create
1565 NULL
1566
1567 #' nodes.update is a method defined in Arvados class.
1568 #' 
1569 #' @usage arv$nodes.update(node, uuid, assign_slot = NULL)
1570 #' @param node Node object.
1571 #' @param uuid The UUID of the Node in question.
1572 #' @param assign_slot assign slot and hostname
1573 #' @return Node object.
1574 #' @name nodes.update
1575 NULL
1576
1577 #' nodes.delete is a method defined in Arvados class.
1578 #' 
1579 #' @usage arv$nodes.delete(uuid)
1580 #' @param uuid The UUID of the Node in question.
1581 #' @return Node object.
1582 #' @name nodes.delete
1583 NULL
1584
1585 #' nodes.ping is a method defined in Arvados class.
1586 #' 
1587 #' @usage arv$nodes.ping(uuid, ping_secret)
1588 #' @param uuid 
1589 #' @param ping_secret 
1590 #' @return Node object.
1591 #' @name nodes.ping
1592 NULL
1593
1594 #' nodes.list is a method defined in Arvados class.
1595 #' 
1596 #' @usage arv$nodes.list(filters = NULL,
1597 #'      where = NULL, order = NULL, select = NULL,
1598 #'      distinct = NULL, limit = "100", offset = "0",
1599 #'      count = "exact")
1600 #' @param filters 
1601 #' @param where 
1602 #' @param order 
1603 #' @param select 
1604 #' @param distinct 
1605 #' @param limit 
1606 #' @param offset 
1607 #' @param count 
1608 #' @return NodeList object.
1609 #' @name nodes.list
1610 NULL
1611
1612 #' nodes.show is a method defined in Arvados class.
1613 #' 
1614 #' @usage arv$nodes.show(uuid)
1615 #' @param uuid 
1616 #' @return Node object.
1617 #' @name nodes.show
1618 NULL
1619
1620 #' nodes.destroy is a method defined in Arvados class.
1621 #' 
1622 #' @usage arv$nodes.destroy(uuid)
1623 #' @param uuid 
1624 #' @return Node object.
1625 #' @name nodes.destroy
1626 NULL
1627
1628 #' repositories.get is a method defined in Arvados class.
1629 #' 
1630 #' @usage arv$repositories.get(uuid)
1631 #' @param uuid The UUID of the Repository in question.
1632 #' @return Repository object.
1633 #' @name repositories.get
1634 NULL
1635
1636 #' repositories.index is a method defined in Arvados class.
1637 #' 
1638 #' @usage arv$repositories.index(filters = NULL,
1639 #'      where = NULL, order = NULL, select = NULL,
1640 #'      distinct = NULL, limit = "100", offset = "0",
1641 #'      count = "exact")
1642 #' @param filters 
1643 #' @param where 
1644 #' @param order 
1645 #' @param select 
1646 #' @param distinct 
1647 #' @param limit 
1648 #' @param offset 
1649 #' @param count 
1650 #' @return RepositoryList object.
1651 #' @name repositories.index
1652 NULL
1653
1654 #' repositories.create is a method defined in Arvados class.
1655 #' 
1656 #' @usage arv$repositories.create(repository,
1657 #'      ensure_unique_name = "false")
1658 #' @param repository Repository object.
1659 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1660 #' @return Repository object.
1661 #' @name repositories.create
1662 NULL
1663
1664 #' repositories.update is a method defined in Arvados class.
1665 #' 
1666 #' @usage arv$repositories.update(repository,
1667 #'      uuid)
1668 #' @param repository Repository object.
1669 #' @param uuid The UUID of the Repository in question.
1670 #' @return Repository object.
1671 #' @name repositories.update
1672 NULL
1673
1674 #' repositories.delete is a method defined in Arvados class.
1675 #' 
1676 #' @usage arv$repositories.delete(uuid)
1677 #' @param uuid The UUID of the Repository in question.
1678 #' @return Repository object.
1679 #' @name repositories.delete
1680 NULL
1681
1682 #' repositories.get_all_permissions is a method defined in Arvados class.
1683 #' 
1684 #' @usage arv$repositories.get_all_permissions(NULL)
1685 #' @return Repository object.
1686 #' @name repositories.get_all_permissions
1687 NULL
1688
1689 #' repositories.list is a method defined in Arvados class.
1690 #' 
1691 #' @usage arv$repositories.list(filters = NULL,
1692 #'      where = NULL, order = NULL, select = NULL,
1693 #'      distinct = NULL, limit = "100", offset = "0",
1694 #'      count = "exact")
1695 #' @param filters 
1696 #' @param where 
1697 #' @param order 
1698 #' @param select 
1699 #' @param distinct 
1700 #' @param limit 
1701 #' @param offset 
1702 #' @param count 
1703 #' @return RepositoryList object.
1704 #' @name repositories.list
1705 NULL
1706
1707 #' repositories.show is a method defined in Arvados class.
1708 #' 
1709 #' @usage arv$repositories.show(uuid)
1710 #' @param uuid 
1711 #' @return Repository object.
1712 #' @name repositories.show
1713 NULL
1714
1715 #' repositories.destroy is a method defined in Arvados class.
1716 #' 
1717 #' @usage arv$repositories.destroy(uuid)
1718 #' @param uuid 
1719 #' @return Repository object.
1720 #' @name repositories.destroy
1721 NULL
1722
1723 #' specimens.get is a method defined in Arvados class.
1724 #' 
1725 #' @usage arv$specimens.get(uuid)
1726 #' @param uuid The UUID of the Specimen in question.
1727 #' @return Specimen object.
1728 #' @name specimens.get
1729 NULL
1730
1731 #' specimens.index is a method defined in Arvados class.
1732 #' 
1733 #' @usage arv$specimens.index(filters = NULL,
1734 #'      where = NULL, order = NULL, select = NULL,
1735 #'      distinct = NULL, limit = "100", offset = "0",
1736 #'      count = "exact")
1737 #' @param filters 
1738 #' @param where 
1739 #' @param order 
1740 #' @param select 
1741 #' @param distinct 
1742 #' @param limit 
1743 #' @param offset 
1744 #' @param count 
1745 #' @return SpecimenList object.
1746 #' @name specimens.index
1747 NULL
1748
1749 #' specimens.create is a method defined in Arvados class.
1750 #' 
1751 #' @usage arv$specimens.create(specimen,
1752 #'      ensure_unique_name = "false")
1753 #' @param specimen Specimen object.
1754 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1755 #' @return Specimen object.
1756 #' @name specimens.create
1757 NULL
1758
1759 #' specimens.update is a method defined in Arvados class.
1760 #' 
1761 #' @usage arv$specimens.update(specimen,
1762 #'      uuid)
1763 #' @param specimen Specimen object.
1764 #' @param uuid The UUID of the Specimen in question.
1765 #' @return Specimen object.
1766 #' @name specimens.update
1767 NULL
1768
1769 #' specimens.delete is a method defined in Arvados class.
1770 #' 
1771 #' @usage arv$specimens.delete(uuid)
1772 #' @param uuid The UUID of the Specimen in question.
1773 #' @return Specimen object.
1774 #' @name specimens.delete
1775 NULL
1776
1777 #' specimens.list is a method defined in Arvados class.
1778 #' 
1779 #' @usage arv$specimens.list(filters = NULL,
1780 #'      where = NULL, order = NULL, select = NULL,
1781 #'      distinct = NULL, limit = "100", offset = "0",
1782 #'      count = "exact")
1783 #' @param filters 
1784 #' @param where 
1785 #' @param order 
1786 #' @param select 
1787 #' @param distinct 
1788 #' @param limit 
1789 #' @param offset 
1790 #' @param count 
1791 #' @return SpecimenList object.
1792 #' @name specimens.list
1793 NULL
1794
1795 #' specimens.show is a method defined in Arvados class.
1796 #' 
1797 #' @usage arv$specimens.show(uuid)
1798 #' @param uuid 
1799 #' @return Specimen object.
1800 #' @name specimens.show
1801 NULL
1802
1803 #' specimens.destroy is a method defined in Arvados class.
1804 #' 
1805 #' @usage arv$specimens.destroy(uuid)
1806 #' @param uuid 
1807 #' @return Specimen object.
1808 #' @name specimens.destroy
1809 NULL
1810
1811 #' logs.get is a method defined in Arvados class.
1812 #' 
1813 #' @usage arv$logs.get(uuid)
1814 #' @param uuid The UUID of the Log in question.
1815 #' @return Log object.
1816 #' @name logs.get
1817 NULL
1818
1819 #' logs.index is a method defined in Arvados class.
1820 #' 
1821 #' @usage arv$logs.index(filters = NULL,
1822 #'      where = NULL, order = NULL, select = NULL,
1823 #'      distinct = NULL, limit = "100", offset = "0",
1824 #'      count = "exact")
1825 #' @param filters 
1826 #' @param where 
1827 #' @param order 
1828 #' @param select 
1829 #' @param distinct 
1830 #' @param limit 
1831 #' @param offset 
1832 #' @param count 
1833 #' @return LogList object.
1834 #' @name logs.index
1835 NULL
1836
1837 #' logs.create is a method defined in Arvados class.
1838 #' 
1839 #' @usage arv$logs.create(log, ensure_unique_name = "false")
1840 #' @param log Log object.
1841 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1842 #' @return Log object.
1843 #' @name logs.create
1844 NULL
1845
1846 #' logs.update is a method defined in Arvados class.
1847 #' 
1848 #' @usage arv$logs.update(log, uuid)
1849 #' @param log Log object.
1850 #' @param uuid The UUID of the Log in question.
1851 #' @return Log object.
1852 #' @name logs.update
1853 NULL
1854
1855 #' logs.delete is a method defined in Arvados class.
1856 #' 
1857 #' @usage arv$logs.delete(uuid)
1858 #' @param uuid The UUID of the Log in question.
1859 #' @return Log object.
1860 #' @name logs.delete
1861 NULL
1862
1863 #' logs.list is a method defined in Arvados class.
1864 #' 
1865 #' @usage arv$logs.list(filters = NULL, where = NULL,
1866 #'      order = NULL, select = NULL, distinct = NULL,
1867 #'      limit = "100", offset = "0", count = "exact")
1868 #' @param filters 
1869 #' @param where 
1870 #' @param order 
1871 #' @param select 
1872 #' @param distinct 
1873 #' @param limit 
1874 #' @param offset 
1875 #' @param count 
1876 #' @return LogList object.
1877 #' @name logs.list
1878 NULL
1879
1880 #' logs.show is a method defined in Arvados class.
1881 #' 
1882 #' @usage arv$logs.show(uuid)
1883 #' @param uuid 
1884 #' @return Log object.
1885 #' @name logs.show
1886 NULL
1887
1888 #' logs.destroy is a method defined in Arvados class.
1889 #' 
1890 #' @usage arv$logs.destroy(uuid)
1891 #' @param uuid 
1892 #' @return Log object.
1893 #' @name logs.destroy
1894 NULL
1895
1896 #' traits.get is a method defined in Arvados class.
1897 #' 
1898 #' @usage arv$traits.get(uuid)
1899 #' @param uuid The UUID of the Trait in question.
1900 #' @return Trait object.
1901 #' @name traits.get
1902 NULL
1903
1904 #' traits.index is a method defined in Arvados class.
1905 #' 
1906 #' @usage arv$traits.index(filters = NULL,
1907 #'      where = NULL, order = NULL, select = NULL,
1908 #'      distinct = NULL, limit = "100", offset = "0",
1909 #'      count = "exact")
1910 #' @param filters 
1911 #' @param where 
1912 #' @param order 
1913 #' @param select 
1914 #' @param distinct 
1915 #' @param limit 
1916 #' @param offset 
1917 #' @param count 
1918 #' @return TraitList object.
1919 #' @name traits.index
1920 NULL
1921
1922 #' traits.create is a method defined in Arvados class.
1923 #' 
1924 #' @usage arv$traits.create(trait, ensure_unique_name = "false")
1925 #' @param trait Trait object.
1926 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
1927 #' @return Trait object.
1928 #' @name traits.create
1929 NULL
1930
1931 #' traits.update is a method defined in Arvados class.
1932 #' 
1933 #' @usage arv$traits.update(trait, uuid)
1934 #' @param trait Trait object.
1935 #' @param uuid The UUID of the Trait in question.
1936 #' @return Trait object.
1937 #' @name traits.update
1938 NULL
1939
1940 #' traits.delete is a method defined in Arvados class.
1941 #' 
1942 #' @usage arv$traits.delete(uuid)
1943 #' @param uuid The UUID of the Trait in question.
1944 #' @return Trait object.
1945 #' @name traits.delete
1946 NULL
1947
1948 #' traits.list is a method defined in Arvados class.
1949 #' 
1950 #' @usage arv$traits.list(filters = NULL,
1951 #'      where = NULL, order = NULL, select = NULL,
1952 #'      distinct = NULL, limit = "100", offset = "0",
1953 #'      count = "exact")
1954 #' @param filters 
1955 #' @param where 
1956 #' @param order 
1957 #' @param select 
1958 #' @param distinct 
1959 #' @param limit 
1960 #' @param offset 
1961 #' @param count 
1962 #' @return TraitList object.
1963 #' @name traits.list
1964 NULL
1965
1966 #' traits.show is a method defined in Arvados class.
1967 #' 
1968 #' @usage arv$traits.show(uuid)
1969 #' @param uuid 
1970 #' @return Trait object.
1971 #' @name traits.show
1972 NULL
1973
1974 #' traits.destroy is a method defined in Arvados class.
1975 #' 
1976 #' @usage arv$traits.destroy(uuid)
1977 #' @param uuid 
1978 #' @return Trait object.
1979 #' @name traits.destroy
1980 NULL
1981
1982 #' virtual_machines.get is a method defined in Arvados class.
1983 #' 
1984 #' @usage arv$virtual_machines.get(uuid)
1985 #' @param uuid The UUID of the VirtualMachine in question.
1986 #' @return VirtualMachine object.
1987 #' @name virtual_machines.get
1988 NULL
1989
1990 #' virtual_machines.index is a method defined in Arvados class.
1991 #' 
1992 #' @usage arv$virtual_machines.index(filters = NULL,
1993 #'      where = NULL, order = NULL, select = NULL,
1994 #'      distinct = NULL, limit = "100", offset = "0",
1995 #'      count = "exact")
1996 #' @param filters 
1997 #' @param where 
1998 #' @param order 
1999 #' @param select 
2000 #' @param distinct 
2001 #' @param limit 
2002 #' @param offset 
2003 #' @param count 
2004 #' @return VirtualMachineList object.
2005 #' @name virtual_machines.index
2006 NULL
2007
2008 #' virtual_machines.create is a method defined in Arvados class.
2009 #' 
2010 #' @usage arv$virtual_machines.create(virtualmachine,
2011 #'      ensure_unique_name = "false")
2012 #' @param virtualMachine VirtualMachine object.
2013 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
2014 #' @return VirtualMachine object.
2015 #' @name virtual_machines.create
2016 NULL
2017
2018 #' virtual_machines.update is a method defined in Arvados class.
2019 #' 
2020 #' @usage arv$virtual_machines.update(virtualmachine,
2021 #'      uuid)
2022 #' @param virtualMachine VirtualMachine object.
2023 #' @param uuid The UUID of the VirtualMachine in question.
2024 #' @return VirtualMachine object.
2025 #' @name virtual_machines.update
2026 NULL
2027
2028 #' virtual_machines.delete is a method defined in Arvados class.
2029 #' 
2030 #' @usage arv$virtual_machines.delete(uuid)
2031 #' @param uuid The UUID of the VirtualMachine in question.
2032 #' @return VirtualMachine object.
2033 #' @name virtual_machines.delete
2034 NULL
2035
2036 #' virtual_machines.logins is a method defined in Arvados class.
2037 #' 
2038 #' @usage arv$virtual_machines.logins(uuid)
2039 #' @param uuid 
2040 #' @return VirtualMachine object.
2041 #' @name virtual_machines.logins
2042 NULL
2043
2044 #' virtual_machines.get_all_logins is a method defined in Arvados class.
2045 #' 
2046 #' @usage arv$virtual_machines.get_all_logins(NULL)
2047 #' @return VirtualMachine object.
2048 #' @name virtual_machines.get_all_logins
2049 NULL
2050
2051 #' virtual_machines.list is a method defined in Arvados class.
2052 #' 
2053 #' @usage arv$virtual_machines.list(filters = NULL,
2054 #'      where = NULL, order = NULL, select = NULL,
2055 #'      distinct = NULL, limit = "100", offset = "0",
2056 #'      count = "exact")
2057 #' @param filters 
2058 #' @param where 
2059 #' @param order 
2060 #' @param select 
2061 #' @param distinct 
2062 #' @param limit 
2063 #' @param offset 
2064 #' @param count 
2065 #' @return VirtualMachineList object.
2066 #' @name virtual_machines.list
2067 NULL
2068
2069 #' virtual_machines.show is a method defined in Arvados class.
2070 #' 
2071 #' @usage arv$virtual_machines.show(uuid)
2072 #' @param uuid 
2073 #' @return VirtualMachine object.
2074 #' @name virtual_machines.show
2075 NULL
2076
2077 #' virtual_machines.destroy is a method defined in Arvados class.
2078 #' 
2079 #' @usage arv$virtual_machines.destroy(uuid)
2080 #' @param uuid 
2081 #' @return VirtualMachine object.
2082 #' @name virtual_machines.destroy
2083 NULL
2084
2085 #' workflows.get is a method defined in Arvados class.
2086 #' 
2087 #' @usage arv$workflows.get(uuid)
2088 #' @param uuid The UUID of the Workflow in question.
2089 #' @return Workflow object.
2090 #' @name workflows.get
2091 NULL
2092
2093 #' workflows.index is a method defined in Arvados class.
2094 #' 
2095 #' @usage arv$workflows.index(filters = NULL,
2096 #'      where = NULL, order = NULL, select = NULL,
2097 #'      distinct = NULL, limit = "100", offset = "0",
2098 #'      count = "exact")
2099 #' @param filters 
2100 #' @param where 
2101 #' @param order 
2102 #' @param select 
2103 #' @param distinct 
2104 #' @param limit 
2105 #' @param offset 
2106 #' @param count 
2107 #' @return WorkflowList object.
2108 #' @name workflows.index
2109 NULL
2110
2111 #' workflows.create is a method defined in Arvados class.
2112 #' 
2113 #' @usage arv$workflows.create(workflow,
2114 #'      ensure_unique_name = "false")
2115 #' @param workflow Workflow object.
2116 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
2117 #' @return Workflow object.
2118 #' @name workflows.create
2119 NULL
2120
2121 #' workflows.update is a method defined in Arvados class.
2122 #' 
2123 #' @usage arv$workflows.update(workflow,
2124 #'      uuid)
2125 #' @param workflow Workflow object.
2126 #' @param uuid The UUID of the Workflow in question.
2127 #' @return Workflow object.
2128 #' @name workflows.update
2129 NULL
2130
2131 #' workflows.delete is a method defined in Arvados class.
2132 #' 
2133 #' @usage arv$workflows.delete(uuid)
2134 #' @param uuid The UUID of the Workflow in question.
2135 #' @return Workflow object.
2136 #' @name workflows.delete
2137 NULL
2138
2139 #' workflows.list is a method defined in Arvados class.
2140 #' 
2141 #' @usage arv$workflows.list(filters = NULL,
2142 #'      where = NULL, order = NULL, select = NULL,
2143 #'      distinct = NULL, limit = "100", offset = "0",
2144 #'      count = "exact")
2145 #' @param filters 
2146 #' @param where 
2147 #' @param order 
2148 #' @param select 
2149 #' @param distinct 
2150 #' @param limit 
2151 #' @param offset 
2152 #' @param count 
2153 #' @return WorkflowList object.
2154 #' @name workflows.list
2155 NULL
2156
2157 #' workflows.show is a method defined in Arvados class.
2158 #' 
2159 #' @usage arv$workflows.show(uuid)
2160 #' @param uuid 
2161 #' @return Workflow object.
2162 #' @name workflows.show
2163 NULL
2164
2165 #' workflows.destroy is a method defined in Arvados class.
2166 #' 
2167 #' @usage arv$workflows.destroy(uuid)
2168 #' @param uuid 
2169 #' @return Workflow object.
2170 #' @name workflows.destroy
2171 NULL
2172
2173 #' groups.get is a method defined in Arvados class.
2174 #' 
2175 #' @usage arv$groups.get(uuid)
2176 #' @param uuid The UUID of the Group in question.
2177 #' @return Group object.
2178 #' @name groups.get
2179 NULL
2180
2181 #' groups.index is a method defined in Arvados class.
2182 #' 
2183 #' @usage arv$groups.index(filters = NULL,
2184 #'      where = NULL, order = NULL, select = NULL,
2185 #'      distinct = NULL, limit = "100", offset = "0",
2186 #'      count = "exact", include_trash = NULL)
2187 #' @param filters 
2188 #' @param where 
2189 #' @param order 
2190 #' @param select 
2191 #' @param distinct 
2192 #' @param limit 
2193 #' @param offset 
2194 #' @param count 
2195 #' @param include_trash Include items whose is_trashed attribute is true.
2196 #' @return GroupList object.
2197 #' @name groups.index
2198 NULL
2199
2200 #' groups.create is a method defined in Arvados class.
2201 #' 
2202 #' @usage arv$groups.create(group, ensure_unique_name = "false")
2203 #' @param group Group object.
2204 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
2205 #' @return Group object.
2206 #' @name groups.create
2207 NULL
2208
2209 #' groups.update is a method defined in Arvados class.
2210 #' 
2211 #' @usage arv$groups.update(group, uuid)
2212 #' @param group Group object.
2213 #' @param uuid The UUID of the Group in question.
2214 #' @return Group object.
2215 #' @name groups.update
2216 NULL
2217
2218 #' groups.delete is a method defined in Arvados class.
2219 #' 
2220 #' @usage arv$groups.delete(uuid)
2221 #' @param uuid The UUID of the Group in question.
2222 #' @return Group object.
2223 #' @name groups.delete
2224 NULL
2225
2226 #' groups.contents is a method defined in Arvados class.
2227 #' 
2228 #' @usage arv$groups.contents(filters = NULL,
2229 #'      where = NULL, order = NULL, distinct = NULL,
2230 #'      limit = "100", offset = "0", count = "exact",
2231 #'      include_trash = NULL, uuid = NULL, recursive = NULL)
2232 #' @param filters 
2233 #' @param where 
2234 #' @param order 
2235 #' @param distinct 
2236 #' @param limit 
2237 #' @param offset 
2238 #' @param count 
2239 #' @param include_trash Include items whose is_trashed attribute is true.
2240 #' @param uuid 
2241 #' @param recursive Include contents from child groups recursively.
2242 #' @return Group object.
2243 #' @name groups.contents
2244 NULL
2245
2246 #' groups.trash is a method defined in Arvados class.
2247 #' 
2248 #' @usage arv$groups.trash(uuid)
2249 #' @param uuid 
2250 #' @return Group object.
2251 #' @name groups.trash
2252 NULL
2253
2254 #' groups.untrash is a method defined in Arvados class.
2255 #' 
2256 #' @usage arv$groups.untrash(uuid)
2257 #' @param uuid 
2258 #' @return Group object.
2259 #' @name groups.untrash
2260 NULL
2261
2262 #' groups.list is a method defined in Arvados class.
2263 #' 
2264 #' @usage arv$groups.list(filters = NULL,
2265 #'      where = NULL, order = NULL, select = NULL,
2266 #'      distinct = NULL, limit = "100", offset = "0",
2267 #'      count = "exact", include_trash = NULL)
2268 #' @param filters 
2269 #' @param where 
2270 #' @param order 
2271 #' @param select 
2272 #' @param distinct 
2273 #' @param limit 
2274 #' @param offset 
2275 #' @param count 
2276 #' @param include_trash Include items whose is_trashed attribute is true.
2277 #' @return GroupList object.
2278 #' @name groups.list
2279 NULL
2280
2281 #' groups.show is a method defined in Arvados class.
2282 #' 
2283 #' @usage arv$groups.show(uuid)
2284 #' @param uuid 
2285 #' @return Group object.
2286 #' @name groups.show
2287 NULL
2288
2289 #' groups.destroy is a method defined in Arvados class.
2290 #' 
2291 #' @usage arv$groups.destroy(uuid)
2292 #' @param uuid 
2293 #' @return Group object.
2294 #' @name groups.destroy
2295 NULL
2296
2297 #' user_agreements.get is a method defined in Arvados class.
2298 #' 
2299 #' @usage arv$user_agreements.get(uuid)
2300 #' @param uuid The UUID of the UserAgreement in question.
2301 #' @return UserAgreement object.
2302 #' @name user_agreements.get
2303 NULL
2304
2305 #' user_agreements.index is a method defined in Arvados class.
2306 #' 
2307 #' @usage arv$user_agreements.index(filters = NULL,
2308 #'      where = NULL, order = NULL, select = NULL,
2309 #'      distinct = NULL, limit = "100", offset = "0",
2310 #'      count = "exact")
2311 #' @param filters 
2312 #' @param where 
2313 #' @param order 
2314 #' @param select 
2315 #' @param distinct 
2316 #' @param limit 
2317 #' @param offset 
2318 #' @param count 
2319 #' @return UserAgreementList object.
2320 #' @name user_agreements.index
2321 NULL
2322
2323 #' user_agreements.create is a method defined in Arvados class.
2324 #' 
2325 #' @usage arv$user_agreements.create(useragreement,
2326 #'      ensure_unique_name = "false")
2327 #' @param userAgreement UserAgreement object.
2328 #' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
2329 #' @return UserAgreement object.
2330 #' @name user_agreements.create
2331 NULL
2332
2333 #' user_agreements.update is a method defined in Arvados class.
2334 #' 
2335 #' @usage arv$user_agreements.update(useragreement,
2336 #'      uuid)
2337 #' @param userAgreement UserAgreement object.
2338 #' @param uuid The UUID of the UserAgreement in question.
2339 #' @return UserAgreement object.
2340 #' @name user_agreements.update
2341 NULL
2342
2343 #' user_agreements.delete is a method defined in Arvados class.
2344 #' 
2345 #' @usage arv$user_agreements.delete(uuid)
2346 #' @param uuid The UUID of the UserAgreement in question.
2347 #' @return UserAgreement object.
2348 #' @name user_agreements.delete
2349 NULL
2350
2351 #' user_agreements.signatures is a method defined in Arvados class.
2352 #' 
2353 #' @usage arv$user_agreements.signatures(NULL)
2354 #' @return UserAgreement object.
2355 #' @name user_agreements.signatures
2356 NULL
2357
2358 #' user_agreements.sign is a method defined in Arvados class.
2359 #' 
2360 #' @usage arv$user_agreements.sign(NULL)
2361 #' @return UserAgreement object.
2362 #' @name user_agreements.sign
2363 NULL
2364
2365 #' user_agreements.list is a method defined in Arvados class.
2366 #' 
2367 #' @usage arv$user_agreements.list(filters = NULL,
2368 #'      where = NULL, order = NULL, select = NULL,
2369 #'      distinct = NULL, limit = "100", offset = "0",
2370 #'      count = "exact")
2371 #' @param filters 
2372 #' @param where 
2373 #' @param order 
2374 #' @param select 
2375 #' @param distinct 
2376 #' @param limit 
2377 #' @param offset 
2378 #' @param count 
2379 #' @return UserAgreementList object.
2380 #' @name user_agreements.list
2381 NULL
2382
2383 #' user_agreements.new is a method defined in Arvados class.
2384 #' 
2385 #' @usage arv$user_agreements.new(NULL)
2386 #' @return UserAgreement object.
2387 #' @name user_agreements.new
2388 NULL
2389
2390 #' user_agreements.show is a method defined in Arvados class.
2391 #' 
2392 #' @usage arv$user_agreements.show(uuid)
2393 #' @param uuid 
2394 #' @return UserAgreement object.
2395 #' @name user_agreements.show
2396 NULL
2397
2398 #' user_agreements.destroy is a method defined in Arvados class.
2399 #' 
2400 #' @usage arv$user_agreements.destroy(uuid)
2401 #' @param uuid 
2402 #' @return UserAgreement object.
2403 #' @name user_agreements.destroy
2404 NULL
2405
2406 #' @export
2407 Arvados <- R6::R6Class(
2408
2409         "Arvados",
2410
2411         public = list(
2412
2413                 initialize = function(authToken = NULL, hostName = NULL, numRetries = 0)
2414                 {
2415                         if(!is.null(hostName))
2416                                 Sys.setenv(ARVADOS_API_HOST = hostName)
2417
2418                         if(!is.null(authToken))
2419                                 Sys.setenv(ARVADOS_API_TOKEN = authToken)
2420
2421                         hostName <- Sys.getenv("ARVADOS_API_HOST")
2422                         token    <- Sys.getenv("ARVADOS_API_TOKEN")
2423
2424                         if(hostName == "" | token == "")
2425                                 stop(paste("Please provide host name and authentification token",
2426                                                    "or set ARVADOS_API_HOST and ARVADOS_API_TOKEN",
2427                                                    "environment variables."))
2428
2429                         private$token <- token
2430                         private$host  <- paste0("https://", hostName, "/arvados/v1/")
2431                         private$numRetries <- numRetries
2432                         private$REST <- RESTService$new(token, hostName,
2433                                                         HttpRequest$new(), HttpParser$new(),
2434                                                         numRetries)
2435
2436                 },
2437
2438                 users.get = function(uuid)
2439                 {
2440                         endPoint <- stringr::str_interp("users/${uuid}")
2441                         url <- paste0(private$host, endPoint)
2442                         headers <- list(Authorization = paste("OAuth2", private$token), 
2443                                         "Content-Type" = "application/json")
2444                         queryArgs <- NULL
2445                         
2446                         body <- NULL
2447                         
2448                         response <- private$REST$http$exec("GET", url, headers, body,
2449                                                            queryArgs, private$numRetries)
2450                         resource <- private$REST$httpParser$parseJSONResponse(response)
2451                         
2452                         if(!is.null(resource$errors))
2453                                 stop(resource$errors)
2454                         
2455                         resource
2456                 },
2457
2458                 users.index = function(filters = NULL, where = NULL,
2459                         order = NULL, select = NULL, distinct = NULL,
2460                         limit = "100", offset = "0", count = "exact")
2461                 {
2462                         endPoint <- stringr::str_interp("users")
2463                         url <- paste0(private$host, endPoint)
2464                         headers <- list(Authorization = paste("OAuth2", private$token), 
2465                                         "Content-Type" = "application/json")
2466                         queryArgs <- list(filters = filters, where = where,
2467                                                           order = order, select = select, distinct = distinct,
2468                                                           limit = limit, offset = offset, count = count)
2469                         
2470                         body <- NULL
2471                         
2472                         response <- private$REST$http$exec("GET", url, headers, body,
2473                                                            queryArgs, private$numRetries)
2474                         resource <- private$REST$httpParser$parseJSONResponse(response)
2475                         
2476                         if(!is.null(resource$errors))
2477                                 stop(resource$errors)
2478                         
2479                         resource
2480                 },
2481
2482                 users.create = function(user, ensure_unique_name = "false")
2483                 {
2484                         endPoint <- stringr::str_interp("users")
2485                         url <- paste0(private$host, endPoint)
2486                         headers <- list(Authorization = paste("OAuth2", private$token), 
2487                                         "Content-Type" = "application/json")
2488                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
2489                         
2490                         if(length(user) > 0)
2491                                 body <- jsonlite::toJSON(list(user = user), 
2492                                                          auto_unbox = TRUE)
2493                         else
2494                                 body <- NULL
2495                         
2496                         response <- private$REST$http$exec("POST", url, headers, body,
2497                                                            queryArgs, private$numRetries)
2498                         resource <- private$REST$httpParser$parseJSONResponse(response)
2499                         
2500                         if(!is.null(resource$errors))
2501                                 stop(resource$errors)
2502                         
2503                         resource
2504                 },
2505
2506                 users.update = function(user, uuid)
2507                 {
2508                         endPoint <- stringr::str_interp("users/${uuid}")
2509                         url <- paste0(private$host, endPoint)
2510                         headers <- list(Authorization = paste("OAuth2", private$token), 
2511                                         "Content-Type" = "application/json")
2512                         queryArgs <- NULL
2513                         
2514                         if(length(user) > 0)
2515                                 body <- jsonlite::toJSON(list(user = user), 
2516                                                          auto_unbox = TRUE)
2517                         else
2518                                 body <- NULL
2519                         
2520                         response <- private$REST$http$exec("PUT", url, headers, body,
2521                                                            queryArgs, private$numRetries)
2522                         resource <- private$REST$httpParser$parseJSONResponse(response)
2523                         
2524                         if(!is.null(resource$errors))
2525                                 stop(resource$errors)
2526                         
2527                         resource
2528                 },
2529
2530                 users.delete = function(uuid)
2531                 {
2532                         endPoint <- stringr::str_interp("users/${uuid}")
2533                         url <- paste0(private$host, endPoint)
2534                         headers <- list(Authorization = paste("OAuth2", private$token), 
2535                                         "Content-Type" = "application/json")
2536                         queryArgs <- NULL
2537                         
2538                         body <- NULL
2539                         
2540                         response <- private$REST$http$exec("DELETE", url, headers, body,
2541                                                            queryArgs, private$numRetries)
2542                         resource <- private$REST$httpParser$parseJSONResponse(response)
2543                         
2544                         if(!is.null(resource$errors))
2545                                 stop(resource$errors)
2546                         
2547                         resource
2548                 },
2549
2550                 users.current = function()
2551                 {
2552                         endPoint <- stringr::str_interp("users/current")
2553                         url <- paste0(private$host, endPoint)
2554                         headers <- list(Authorization = paste("OAuth2", private$token), 
2555                                         "Content-Type" = "application/json")
2556                         queryArgs <- NULL
2557                         
2558                         body <- NULL
2559                         
2560                         response <- private$REST$http$exec("GET", url, headers, body,
2561                                                            queryArgs, private$numRetries)
2562                         resource <- private$REST$httpParser$parseJSONResponse(response)
2563                         
2564                         if(!is.null(resource$errors))
2565                                 stop(resource$errors)
2566                         
2567                         resource
2568                 },
2569
2570                 users.system = function()
2571                 {
2572                         endPoint <- stringr::str_interp("users/system")
2573                         url <- paste0(private$host, endPoint)
2574                         headers <- list(Authorization = paste("OAuth2", private$token), 
2575                                         "Content-Type" = "application/json")
2576                         queryArgs <- NULL
2577                         
2578                         body <- NULL
2579                         
2580                         response <- private$REST$http$exec("GET", url, headers, body,
2581                                                            queryArgs, private$numRetries)
2582                         resource <- private$REST$httpParser$parseJSONResponse(response)
2583                         
2584                         if(!is.null(resource$errors))
2585                                 stop(resource$errors)
2586                         
2587                         resource
2588                 },
2589
2590                 users.activate = function(uuid)
2591                 {
2592                         endPoint <- stringr::str_interp("users/${uuid}/activate")
2593                         url <- paste0(private$host, endPoint)
2594                         headers <- list(Authorization = paste("OAuth2", private$token), 
2595                                         "Content-Type" = "application/json")
2596                         queryArgs <- NULL
2597                         
2598                         body <- NULL
2599                         
2600                         response <- private$REST$http$exec("POST", url, headers, body,
2601                                                            queryArgs, private$numRetries)
2602                         resource <- private$REST$httpParser$parseJSONResponse(response)
2603                         
2604                         if(!is.null(resource$errors))
2605                                 stop(resource$errors)
2606                         
2607                         resource
2608                 },
2609
2610                 users.setup = function(user = NULL, openid_prefix = NULL,
2611                         repo_name = NULL, vm_uuid = NULL, send_notification_email = "false")
2612                 {
2613                         endPoint <- stringr::str_interp("users/setup")
2614                         url <- paste0(private$host, endPoint)
2615                         headers <- list(Authorization = paste("OAuth2", private$token), 
2616                                         "Content-Type" = "application/json")
2617                         queryArgs <- list(user = user, openid_prefix = openid_prefix,
2618                                                           repo_name = repo_name, vm_uuid = vm_uuid,
2619                                                           send_notification_email = send_notification_email)
2620                         
2621                         body <- NULL
2622                         
2623                         response <- private$REST$http$exec("POST", url, headers, body,
2624                                                            queryArgs, private$numRetries)
2625                         resource <- private$REST$httpParser$parseJSONResponse(response)
2626                         
2627                         if(!is.null(resource$errors))
2628                                 stop(resource$errors)
2629                         
2630                         resource
2631                 },
2632
2633                 users.unsetup = function(uuid)
2634                 {
2635                         endPoint <- stringr::str_interp("users/${uuid}/unsetup")
2636                         url <- paste0(private$host, endPoint)
2637                         headers <- list(Authorization = paste("OAuth2", private$token), 
2638                                         "Content-Type" = "application/json")
2639                         queryArgs <- NULL
2640                         
2641                         body <- NULL
2642                         
2643                         response <- private$REST$http$exec("POST", url, headers, body,
2644                                                            queryArgs, private$numRetries)
2645                         resource <- private$REST$httpParser$parseJSONResponse(response)
2646                         
2647                         if(!is.null(resource$errors))
2648                                 stop(resource$errors)
2649                         
2650                         resource
2651                 },
2652
2653                 users.update_uuid = function(uuid, new_uuid)
2654                 {
2655                         endPoint <- stringr::str_interp("users/${uuid}/update_uuid")
2656                         url <- paste0(private$host, endPoint)
2657                         headers <- list(Authorization = paste("OAuth2", private$token), 
2658                                         "Content-Type" = "application/json")
2659                         queryArgs <- list(new_uuid = new_uuid)
2660                         
2661                         body <- NULL
2662                         
2663                         response <- private$REST$http$exec("POST", url, headers, body,
2664                                                            queryArgs, private$numRetries)
2665                         resource <- private$REST$httpParser$parseJSONResponse(response)
2666                         
2667                         if(!is.null(resource$errors))
2668                                 stop(resource$errors)
2669                         
2670                         resource
2671                 },
2672
2673                 users.list = function(filters = NULL, where = NULL,
2674                         order = NULL, select = NULL, distinct = NULL,
2675                         limit = "100", offset = "0", count = "exact")
2676                 {
2677                         endPoint <- stringr::str_interp("users")
2678                         url <- paste0(private$host, endPoint)
2679                         headers <- list(Authorization = paste("OAuth2", private$token), 
2680                                         "Content-Type" = "application/json")
2681                         queryArgs <- list(filters = filters, where = where,
2682                                                           order = order, select = select, distinct = distinct,
2683                                                           limit = limit, offset = offset, count = count)
2684                         
2685                         body <- NULL
2686                         
2687                         response <- private$REST$http$exec("GET", url, headers, body,
2688                                                            queryArgs, private$numRetries)
2689                         resource <- private$REST$httpParser$parseJSONResponse(response)
2690                         
2691                         if(!is.null(resource$errors))
2692                                 stop(resource$errors)
2693                         
2694                         resource
2695                 },
2696
2697                 users.show = function(uuid)
2698                 {
2699                         endPoint <- stringr::str_interp("users/${uuid}")
2700                         url <- paste0(private$host, endPoint)
2701                         headers <- list(Authorization = paste("OAuth2", private$token), 
2702                                         "Content-Type" = "application/json")
2703                         queryArgs <- NULL
2704                         
2705                         body <- NULL
2706                         
2707                         response <- private$REST$http$exec("GET", url, headers, body,
2708                                                            queryArgs, private$numRetries)
2709                         resource <- private$REST$httpParser$parseJSONResponse(response)
2710                         
2711                         if(!is.null(resource$errors))
2712                                 stop(resource$errors)
2713                         
2714                         resource
2715                 },
2716
2717                 users.destroy = function(uuid)
2718                 {
2719                         endPoint <- stringr::str_interp("users/${uuid}")
2720                         url <- paste0(private$host, endPoint)
2721                         headers <- list(Authorization = paste("OAuth2", private$token), 
2722                                         "Content-Type" = "application/json")
2723                         queryArgs <- NULL
2724                         
2725                         body <- NULL
2726                         
2727                         response <- private$REST$http$exec("DELETE", url, headers, body,
2728                                                            queryArgs, private$numRetries)
2729                         resource <- private$REST$httpParser$parseJSONResponse(response)
2730                         
2731                         if(!is.null(resource$errors))
2732                                 stop(resource$errors)
2733                         
2734                         resource
2735                 },
2736
2737                 api_client_authorizations.get = function(uuid)
2738                 {
2739                         endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2740                         url <- paste0(private$host, endPoint)
2741                         headers <- list(Authorization = paste("OAuth2", private$token), 
2742                                         "Content-Type" = "application/json")
2743                         queryArgs <- NULL
2744                         
2745                         body <- NULL
2746                         
2747                         response <- private$REST$http$exec("GET", url, headers, body,
2748                                                            queryArgs, private$numRetries)
2749                         resource <- private$REST$httpParser$parseJSONResponse(response)
2750                         
2751                         if(!is.null(resource$errors))
2752                                 stop(resource$errors)
2753                         
2754                         resource
2755                 },
2756
2757                 api_client_authorizations.index = function(filters = NULL,
2758                         where = NULL, order = NULL, select = NULL,
2759                         distinct = NULL, limit = "100", offset = "0",
2760                         count = "exact")
2761                 {
2762                         endPoint <- stringr::str_interp("api_client_authorizations")
2763                         url <- paste0(private$host, endPoint)
2764                         headers <- list(Authorization = paste("OAuth2", private$token), 
2765                                         "Content-Type" = "application/json")
2766                         queryArgs <- list(filters = filters, where = where,
2767                                                           order = order, select = select, distinct = distinct,
2768                                                           limit = limit, offset = offset, count = count)
2769                         
2770                         body <- NULL
2771                         
2772                         response <- private$REST$http$exec("GET", url, headers, body,
2773                                                            queryArgs, private$numRetries)
2774                         resource <- private$REST$httpParser$parseJSONResponse(response)
2775                         
2776                         if(!is.null(resource$errors))
2777                                 stop(resource$errors)
2778                         
2779                         resource
2780                 },
2781
2782                 api_client_authorizations.create = function(apiclientauthorization,
2783                         ensure_unique_name = "false")
2784                 {
2785                         endPoint <- stringr::str_interp("api_client_authorizations")
2786                         url <- paste0(private$host, endPoint)
2787                         headers <- list(Authorization = paste("OAuth2", private$token), 
2788                                         "Content-Type" = "application/json")
2789                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
2790                         
2791                         if(length(apiclientauthorization) > 0)
2792                                 body <- jsonlite::toJSON(list(apiclientauthorization = apiclientauthorization), 
2793                                                          auto_unbox = TRUE)
2794                         else
2795                                 body <- NULL
2796                         
2797                         response <- private$REST$http$exec("POST", url, headers, body,
2798                                                            queryArgs, private$numRetries)
2799                         resource <- private$REST$httpParser$parseJSONResponse(response)
2800                         
2801                         if(!is.null(resource$errors))
2802                                 stop(resource$errors)
2803                         
2804                         resource
2805                 },
2806
2807                 api_client_authorizations.update = function(apiclientauthorization, uuid)
2808                 {
2809                         endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2810                         url <- paste0(private$host, endPoint)
2811                         headers <- list(Authorization = paste("OAuth2", private$token), 
2812                                         "Content-Type" = "application/json")
2813                         queryArgs <- NULL
2814                         
2815                         if(length(apiclientauthorization) > 0)
2816                                 body <- jsonlite::toJSON(list(apiclientauthorization = apiclientauthorization), 
2817                                                          auto_unbox = TRUE)
2818                         else
2819                                 body <- NULL
2820                         
2821                         response <- private$REST$http$exec("PUT", url, headers, body,
2822                                                            queryArgs, private$numRetries)
2823                         resource <- private$REST$httpParser$parseJSONResponse(response)
2824                         
2825                         if(!is.null(resource$errors))
2826                                 stop(resource$errors)
2827                         
2828                         resource
2829                 },
2830
2831                 api_client_authorizations.delete = function(uuid)
2832                 {
2833                         endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2834                         url <- paste0(private$host, endPoint)
2835                         headers <- list(Authorization = paste("OAuth2", private$token), 
2836                                         "Content-Type" = "application/json")
2837                         queryArgs <- NULL
2838                         
2839                         body <- NULL
2840                         
2841                         response <- private$REST$http$exec("DELETE", url, headers, body,
2842                                                            queryArgs, private$numRetries)
2843                         resource <- private$REST$httpParser$parseJSONResponse(response)
2844                         
2845                         if(!is.null(resource$errors))
2846                                 stop(resource$errors)
2847                         
2848                         resource
2849                 },
2850
2851                 api_client_authorizations.create_system_auth = function(api_client_id = NULL, scopes = NULL)
2852                 {
2853                         endPoint <- stringr::str_interp("api_client_authorizations/create_system_auth")
2854                         url <- paste0(private$host, endPoint)
2855                         headers <- list(Authorization = paste("OAuth2", private$token), 
2856                                         "Content-Type" = "application/json")
2857                         queryArgs <- list(api_client_id = api_client_id,
2858                                                           scopes = scopes)
2859                         
2860                         body <- NULL
2861                         
2862                         response <- private$REST$http$exec("POST", url, headers, body,
2863                                                            queryArgs, private$numRetries)
2864                         resource <- private$REST$httpParser$parseJSONResponse(response)
2865                         
2866                         if(!is.null(resource$errors))
2867                                 stop(resource$errors)
2868                         
2869                         resource
2870                 },
2871
2872                 api_client_authorizations.current = function()
2873                 {
2874                         endPoint <- stringr::str_interp("api_client_authorizations/current")
2875                         url <- paste0(private$host, endPoint)
2876                         headers <- list(Authorization = paste("OAuth2", private$token), 
2877                                         "Content-Type" = "application/json")
2878                         queryArgs <- NULL
2879                         
2880                         body <- NULL
2881                         
2882                         response <- private$REST$http$exec("GET", url, headers, body,
2883                                                            queryArgs, private$numRetries)
2884                         resource <- private$REST$httpParser$parseJSONResponse(response)
2885                         
2886                         if(!is.null(resource$errors))
2887                                 stop(resource$errors)
2888                         
2889                         resource
2890                 },
2891
2892                 api_client_authorizations.list = function(filters = NULL,
2893                         where = NULL, order = NULL, select = NULL,
2894                         distinct = NULL, limit = "100", offset = "0",
2895                         count = "exact")
2896                 {
2897                         endPoint <- stringr::str_interp("api_client_authorizations")
2898                         url <- paste0(private$host, endPoint)
2899                         headers <- list(Authorization = paste("OAuth2", private$token), 
2900                                         "Content-Type" = "application/json")
2901                         queryArgs <- list(filters = filters, where = where,
2902                                                           order = order, select = select, distinct = distinct,
2903                                                           limit = limit, offset = offset, count = count)
2904                         
2905                         body <- NULL
2906                         
2907                         response <- private$REST$http$exec("GET", url, headers, body,
2908                                                            queryArgs, private$numRetries)
2909                         resource <- private$REST$httpParser$parseJSONResponse(response)
2910                         
2911                         if(!is.null(resource$errors))
2912                                 stop(resource$errors)
2913                         
2914                         resource
2915                 },
2916
2917                 api_client_authorizations.show = function(uuid)
2918                 {
2919                         endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2920                         url <- paste0(private$host, endPoint)
2921                         headers <- list(Authorization = paste("OAuth2", private$token), 
2922                                         "Content-Type" = "application/json")
2923                         queryArgs <- NULL
2924                         
2925                         body <- NULL
2926                         
2927                         response <- private$REST$http$exec("GET", url, headers, body,
2928                                                            queryArgs, private$numRetries)
2929                         resource <- private$REST$httpParser$parseJSONResponse(response)
2930                         
2931                         if(!is.null(resource$errors))
2932                                 stop(resource$errors)
2933                         
2934                         resource
2935                 },
2936
2937                 api_client_authorizations.destroy = function(uuid)
2938                 {
2939                         endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
2940                         url <- paste0(private$host, endPoint)
2941                         headers <- list(Authorization = paste("OAuth2", private$token), 
2942                                         "Content-Type" = "application/json")
2943                         queryArgs <- NULL
2944                         
2945                         body <- NULL
2946                         
2947                         response <- private$REST$http$exec("DELETE", url, headers, body,
2948                                                            queryArgs, private$numRetries)
2949                         resource <- private$REST$httpParser$parseJSONResponse(response)
2950                         
2951                         if(!is.null(resource$errors))
2952                                 stop(resource$errors)
2953                         
2954                         resource
2955                 },
2956
2957                 api_clients.get = function(uuid)
2958                 {
2959                         endPoint <- stringr::str_interp("api_clients/${uuid}")
2960                         url <- paste0(private$host, endPoint)
2961                         headers <- list(Authorization = paste("OAuth2", private$token), 
2962                                         "Content-Type" = "application/json")
2963                         queryArgs <- NULL
2964                         
2965                         body <- NULL
2966                         
2967                         response <- private$REST$http$exec("GET", url, headers, body,
2968                                                            queryArgs, private$numRetries)
2969                         resource <- private$REST$httpParser$parseJSONResponse(response)
2970                         
2971                         if(!is.null(resource$errors))
2972                                 stop(resource$errors)
2973                         
2974                         resource
2975                 },
2976
2977                 api_clients.index = function(filters = NULL,
2978                         where = NULL, order = NULL, select = NULL,
2979                         distinct = NULL, limit = "100", offset = "0",
2980                         count = "exact")
2981                 {
2982                         endPoint <- stringr::str_interp("api_clients")
2983                         url <- paste0(private$host, endPoint)
2984                         headers <- list(Authorization = paste("OAuth2", private$token), 
2985                                         "Content-Type" = "application/json")
2986                         queryArgs <- list(filters = filters, where = where,
2987                                                           order = order, select = select, distinct = distinct,
2988                                                           limit = limit, offset = offset, count = count)
2989                         
2990                         body <- NULL
2991                         
2992                         response <- private$REST$http$exec("GET", url, headers, body,
2993                                                            queryArgs, private$numRetries)
2994                         resource <- private$REST$httpParser$parseJSONResponse(response)
2995                         
2996                         if(!is.null(resource$errors))
2997                                 stop(resource$errors)
2998                         
2999                         resource
3000                 },
3001
3002                 api_clients.create = function(apiclient, ensure_unique_name = "false")
3003                 {
3004                         endPoint <- stringr::str_interp("api_clients")
3005                         url <- paste0(private$host, endPoint)
3006                         headers <- list(Authorization = paste("OAuth2", private$token), 
3007                                         "Content-Type" = "application/json")
3008                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
3009                         
3010                         if(length(apiclient) > 0)
3011                                 body <- jsonlite::toJSON(list(apiclient = apiclient), 
3012                                                          auto_unbox = TRUE)
3013                         else
3014                                 body <- NULL
3015                         
3016                         response <- private$REST$http$exec("POST", url, headers, body,
3017                                                            queryArgs, private$numRetries)
3018                         resource <- private$REST$httpParser$parseJSONResponse(response)
3019                         
3020                         if(!is.null(resource$errors))
3021                                 stop(resource$errors)
3022                         
3023                         resource
3024                 },
3025
3026                 api_clients.update = function(apiclient, uuid)
3027                 {
3028                         endPoint <- stringr::str_interp("api_clients/${uuid}")
3029                         url <- paste0(private$host, endPoint)
3030                         headers <- list(Authorization = paste("OAuth2", private$token), 
3031                                         "Content-Type" = "application/json")
3032                         queryArgs <- NULL
3033                         
3034                         if(length(apiclient) > 0)
3035                                 body <- jsonlite::toJSON(list(apiclient = apiclient), 
3036                                                          auto_unbox = TRUE)
3037                         else
3038                                 body <- NULL
3039                         
3040                         response <- private$REST$http$exec("PUT", url, headers, body,
3041                                                            queryArgs, private$numRetries)
3042                         resource <- private$REST$httpParser$parseJSONResponse(response)
3043                         
3044                         if(!is.null(resource$errors))
3045                                 stop(resource$errors)
3046                         
3047                         resource
3048                 },
3049
3050                 api_clients.delete = function(uuid)
3051                 {
3052                         endPoint <- stringr::str_interp("api_clients/${uuid}")
3053                         url <- paste0(private$host, endPoint)
3054                         headers <- list(Authorization = paste("OAuth2", private$token), 
3055                                         "Content-Type" = "application/json")
3056                         queryArgs <- NULL
3057                         
3058                         body <- NULL
3059                         
3060                         response <- private$REST$http$exec("DELETE", url, headers, body,
3061                                                            queryArgs, private$numRetries)
3062                         resource <- private$REST$httpParser$parseJSONResponse(response)
3063                         
3064                         if(!is.null(resource$errors))
3065                                 stop(resource$errors)
3066                         
3067                         resource
3068                 },
3069
3070                 api_clients.list = function(filters = NULL,
3071                         where = NULL, order = NULL, select = NULL,
3072                         distinct = NULL, limit = "100", offset = "0",
3073                         count = "exact")
3074                 {
3075                         endPoint <- stringr::str_interp("api_clients")
3076                         url <- paste0(private$host, endPoint)
3077                         headers <- list(Authorization = paste("OAuth2", private$token), 
3078                                         "Content-Type" = "application/json")
3079                         queryArgs <- list(filters = filters, where = where,
3080                                                           order = order, select = select, distinct = distinct,
3081                                                           limit = limit, offset = offset, count = count)
3082                         
3083                         body <- NULL
3084                         
3085                         response <- private$REST$http$exec("GET", url, headers, body,
3086                                                            queryArgs, private$numRetries)
3087                         resource <- private$REST$httpParser$parseJSONResponse(response)
3088                         
3089                         if(!is.null(resource$errors))
3090                                 stop(resource$errors)
3091                         
3092                         resource
3093                 },
3094
3095                 api_clients.show = function(uuid)
3096                 {
3097                         endPoint <- stringr::str_interp("api_clients/${uuid}")
3098                         url <- paste0(private$host, endPoint)
3099                         headers <- list(Authorization = paste("OAuth2", private$token), 
3100                                         "Content-Type" = "application/json")
3101                         queryArgs <- NULL
3102                         
3103                         body <- NULL
3104                         
3105                         response <- private$REST$http$exec("GET", url, headers, body,
3106                                                            queryArgs, private$numRetries)
3107                         resource <- private$REST$httpParser$parseJSONResponse(response)
3108                         
3109                         if(!is.null(resource$errors))
3110                                 stop(resource$errors)
3111                         
3112                         resource
3113                 },
3114
3115                 api_clients.destroy = function(uuid)
3116                 {
3117                         endPoint <- stringr::str_interp("api_clients/${uuid}")
3118                         url <- paste0(private$host, endPoint)
3119                         headers <- list(Authorization = paste("OAuth2", private$token), 
3120                                         "Content-Type" = "application/json")
3121                         queryArgs <- NULL
3122                         
3123                         body <- NULL
3124                         
3125                         response <- private$REST$http$exec("DELETE", url, headers, body,
3126                                                            queryArgs, private$numRetries)
3127                         resource <- private$REST$httpParser$parseJSONResponse(response)
3128                         
3129                         if(!is.null(resource$errors))
3130                                 stop(resource$errors)
3131                         
3132                         resource
3133                 },
3134
3135                 container_requests.get = function(uuid)
3136                 {
3137                         endPoint <- stringr::str_interp("container_requests/${uuid}")
3138                         url <- paste0(private$host, endPoint)
3139                         headers <- list(Authorization = paste("OAuth2", private$token), 
3140                                         "Content-Type" = "application/json")
3141                         queryArgs <- NULL
3142                         
3143                         body <- NULL
3144                         
3145                         response <- private$REST$http$exec("GET", url, headers, body,
3146                                                            queryArgs, private$numRetries)
3147                         resource <- private$REST$httpParser$parseJSONResponse(response)
3148                         
3149                         if(!is.null(resource$errors))
3150                                 stop(resource$errors)
3151                         
3152                         resource
3153                 },
3154
3155                 container_requests.index = function(filters = NULL,
3156                         where = NULL, order = NULL, select = NULL,
3157                         distinct = NULL, limit = "100", offset = "0",
3158                         count = "exact")
3159                 {
3160                         endPoint <- stringr::str_interp("container_requests")
3161                         url <- paste0(private$host, endPoint)
3162                         headers <- list(Authorization = paste("OAuth2", private$token), 
3163                                         "Content-Type" = "application/json")
3164                         queryArgs <- list(filters = filters, where = where,
3165                                                           order = order, select = select, distinct = distinct,
3166                                                           limit = limit, offset = offset, count = count)
3167                         
3168                         body <- NULL
3169                         
3170                         response <- private$REST$http$exec("GET", url, headers, body,
3171                                                            queryArgs, private$numRetries)
3172                         resource <- private$REST$httpParser$parseJSONResponse(response)
3173                         
3174                         if(!is.null(resource$errors))
3175                                 stop(resource$errors)
3176                         
3177                         resource
3178                 },
3179
3180                 container_requests.create = function(containerrequest,
3181                         ensure_unique_name = "false")
3182                 {
3183                         endPoint <- stringr::str_interp("container_requests")
3184                         url <- paste0(private$host, endPoint)
3185                         headers <- list(Authorization = paste("OAuth2", private$token), 
3186                                         "Content-Type" = "application/json")
3187                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
3188                         
3189                         if(length(containerrequest) > 0)
3190                                 body <- jsonlite::toJSON(list(containerrequest = containerrequest), 
3191                                                          auto_unbox = TRUE)
3192                         else
3193                                 body <- NULL
3194                         
3195                         response <- private$REST$http$exec("POST", url, headers, body,
3196                                                            queryArgs, private$numRetries)
3197                         resource <- private$REST$httpParser$parseJSONResponse(response)
3198                         
3199                         if(!is.null(resource$errors))
3200                                 stop(resource$errors)
3201                         
3202                         resource
3203                 },
3204
3205                 container_requests.update = function(containerrequest, uuid)
3206                 {
3207                         endPoint <- stringr::str_interp("container_requests/${uuid}")
3208                         url <- paste0(private$host, endPoint)
3209                         headers <- list(Authorization = paste("OAuth2", private$token), 
3210                                         "Content-Type" = "application/json")
3211                         queryArgs <- NULL
3212                         
3213                         if(length(containerrequest) > 0)
3214                                 body <- jsonlite::toJSON(list(containerrequest = containerrequest), 
3215                                                          auto_unbox = TRUE)
3216                         else
3217                                 body <- NULL
3218                         
3219                         response <- private$REST$http$exec("PUT", url, headers, body,
3220                                                            queryArgs, private$numRetries)
3221                         resource <- private$REST$httpParser$parseJSONResponse(response)
3222                         
3223                         if(!is.null(resource$errors))
3224                                 stop(resource$errors)
3225                         
3226                         resource
3227                 },
3228
3229                 container_requests.delete = function(uuid)
3230                 {
3231                         endPoint <- stringr::str_interp("container_requests/${uuid}")
3232                         url <- paste0(private$host, endPoint)
3233                         headers <- list(Authorization = paste("OAuth2", private$token), 
3234                                         "Content-Type" = "application/json")
3235                         queryArgs <- NULL
3236                         
3237                         body <- NULL
3238                         
3239                         response <- private$REST$http$exec("DELETE", url, headers, body,
3240                                                            queryArgs, private$numRetries)
3241                         resource <- private$REST$httpParser$parseJSONResponse(response)
3242                         
3243                         if(!is.null(resource$errors))
3244                                 stop(resource$errors)
3245                         
3246                         resource
3247                 },
3248
3249                 container_requests.list = function(filters = NULL,
3250                         where = NULL, order = NULL, select = NULL,
3251                         distinct = NULL, limit = "100", offset = "0",
3252                         count = "exact")
3253                 {
3254                         endPoint <- stringr::str_interp("container_requests")
3255                         url <- paste0(private$host, endPoint)
3256                         headers <- list(Authorization = paste("OAuth2", private$token), 
3257                                         "Content-Type" = "application/json")
3258                         queryArgs <- list(filters = filters, where = where,
3259                                                           order = order, select = select, distinct = distinct,
3260                                                           limit = limit, offset = offset, count = count)
3261                         
3262                         body <- NULL
3263                         
3264                         response <- private$REST$http$exec("GET", url, headers, body,
3265                                                            queryArgs, private$numRetries)
3266                         resource <- private$REST$httpParser$parseJSONResponse(response)
3267                         
3268                         if(!is.null(resource$errors))
3269                                 stop(resource$errors)
3270                         
3271                         resource
3272                 },
3273
3274                 container_requests.show = function(uuid)
3275                 {
3276                         endPoint <- stringr::str_interp("container_requests/${uuid}")
3277                         url <- paste0(private$host, endPoint)
3278                         headers <- list(Authorization = paste("OAuth2", private$token), 
3279                                         "Content-Type" = "application/json")
3280                         queryArgs <- NULL
3281                         
3282                         body <- NULL
3283                         
3284                         response <- private$REST$http$exec("GET", url, headers, body,
3285                                                            queryArgs, private$numRetries)
3286                         resource <- private$REST$httpParser$parseJSONResponse(response)
3287                         
3288                         if(!is.null(resource$errors))
3289                                 stop(resource$errors)
3290                         
3291                         resource
3292                 },
3293
3294                 container_requests.destroy = function(uuid)
3295                 {
3296                         endPoint <- stringr::str_interp("container_requests/${uuid}")
3297                         url <- paste0(private$host, endPoint)
3298                         headers <- list(Authorization = paste("OAuth2", private$token), 
3299                                         "Content-Type" = "application/json")
3300                         queryArgs <- NULL
3301                         
3302                         body <- NULL
3303                         
3304                         response <- private$REST$http$exec("DELETE", url, headers, body,
3305                                                            queryArgs, private$numRetries)
3306                         resource <- private$REST$httpParser$parseJSONResponse(response)
3307                         
3308                         if(!is.null(resource$errors))
3309                                 stop(resource$errors)
3310                         
3311                         resource
3312                 },
3313
3314                 authorized_keys.get = function(uuid)
3315                 {
3316                         endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3317                         url <- paste0(private$host, endPoint)
3318                         headers <- list(Authorization = paste("OAuth2", private$token), 
3319                                         "Content-Type" = "application/json")
3320                         queryArgs <- NULL
3321                         
3322                         body <- NULL
3323                         
3324                         response <- private$REST$http$exec("GET", url, headers, body,
3325                                                            queryArgs, private$numRetries)
3326                         resource <- private$REST$httpParser$parseJSONResponse(response)
3327                         
3328                         if(!is.null(resource$errors))
3329                                 stop(resource$errors)
3330                         
3331                         resource
3332                 },
3333
3334                 authorized_keys.index = function(filters = NULL,
3335                         where = NULL, order = NULL, select = NULL,
3336                         distinct = NULL, limit = "100", offset = "0",
3337                         count = "exact")
3338                 {
3339                         endPoint <- stringr::str_interp("authorized_keys")
3340                         url <- paste0(private$host, endPoint)
3341                         headers <- list(Authorization = paste("OAuth2", private$token), 
3342                                         "Content-Type" = "application/json")
3343                         queryArgs <- list(filters = filters, where = where,
3344                                                           order = order, select = select, distinct = distinct,
3345                                                           limit = limit, offset = offset, count = count)
3346                         
3347                         body <- NULL
3348                         
3349                         response <- private$REST$http$exec("GET", url, headers, body,
3350                                                            queryArgs, private$numRetries)
3351                         resource <- private$REST$httpParser$parseJSONResponse(response)
3352                         
3353                         if(!is.null(resource$errors))
3354                                 stop(resource$errors)
3355                         
3356                         resource
3357                 },
3358
3359                 authorized_keys.create = function(authorizedkey,
3360                         ensure_unique_name = "false")
3361                 {
3362                         endPoint <- stringr::str_interp("authorized_keys")
3363                         url <- paste0(private$host, endPoint)
3364                         headers <- list(Authorization = paste("OAuth2", private$token), 
3365                                         "Content-Type" = "application/json")
3366                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
3367                         
3368                         if(length(authorizedkey) > 0)
3369                                 body <- jsonlite::toJSON(list(authorizedkey = authorizedkey), 
3370                                                          auto_unbox = TRUE)
3371                         else
3372                                 body <- NULL
3373                         
3374                         response <- private$REST$http$exec("POST", url, headers, body,
3375                                                            queryArgs, private$numRetries)
3376                         resource <- private$REST$httpParser$parseJSONResponse(response)
3377                         
3378                         if(!is.null(resource$errors))
3379                                 stop(resource$errors)
3380                         
3381                         resource
3382                 },
3383
3384                 authorized_keys.update = function(authorizedkey, uuid)
3385                 {
3386                         endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3387                         url <- paste0(private$host, endPoint)
3388                         headers <- list(Authorization = paste("OAuth2", private$token), 
3389                                         "Content-Type" = "application/json")
3390                         queryArgs <- NULL
3391                         
3392                         if(length(authorizedkey) > 0)
3393                                 body <- jsonlite::toJSON(list(authorizedkey = authorizedkey), 
3394                                                          auto_unbox = TRUE)
3395                         else
3396                                 body <- NULL
3397                         
3398                         response <- private$REST$http$exec("PUT", url, headers, body,
3399                                                            queryArgs, private$numRetries)
3400                         resource <- private$REST$httpParser$parseJSONResponse(response)
3401                         
3402                         if(!is.null(resource$errors))
3403                                 stop(resource$errors)
3404                         
3405                         resource
3406                 },
3407
3408                 authorized_keys.delete = function(uuid)
3409                 {
3410                         endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3411                         url <- paste0(private$host, endPoint)
3412                         headers <- list(Authorization = paste("OAuth2", private$token), 
3413                                         "Content-Type" = "application/json")
3414                         queryArgs <- NULL
3415                         
3416                         body <- NULL
3417                         
3418                         response <- private$REST$http$exec("DELETE", url, headers, body,
3419                                                            queryArgs, private$numRetries)
3420                         resource <- private$REST$httpParser$parseJSONResponse(response)
3421                         
3422                         if(!is.null(resource$errors))
3423                                 stop(resource$errors)
3424                         
3425                         resource
3426                 },
3427
3428                 authorized_keys.list = function(filters = NULL,
3429                         where = NULL, order = NULL, select = NULL,
3430                         distinct = NULL, limit = "100", offset = "0",
3431                         count = "exact")
3432                 {
3433                         endPoint <- stringr::str_interp("authorized_keys")
3434                         url <- paste0(private$host, endPoint)
3435                         headers <- list(Authorization = paste("OAuth2", private$token), 
3436                                         "Content-Type" = "application/json")
3437                         queryArgs <- list(filters = filters, where = where,
3438                                                           order = order, select = select, distinct = distinct,
3439                                                           limit = limit, offset = offset, count = count)
3440                         
3441                         body <- NULL
3442                         
3443                         response <- private$REST$http$exec("GET", url, headers, body,
3444                                                            queryArgs, private$numRetries)
3445                         resource <- private$REST$httpParser$parseJSONResponse(response)
3446                         
3447                         if(!is.null(resource$errors))
3448                                 stop(resource$errors)
3449                         
3450                         resource
3451                 },
3452
3453                 authorized_keys.show = function(uuid)
3454                 {
3455                         endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3456                         url <- paste0(private$host, endPoint)
3457                         headers <- list(Authorization = paste("OAuth2", private$token), 
3458                                         "Content-Type" = "application/json")
3459                         queryArgs <- NULL
3460                         
3461                         body <- NULL
3462                         
3463                         response <- private$REST$http$exec("GET", url, headers, body,
3464                                                            queryArgs, private$numRetries)
3465                         resource <- private$REST$httpParser$parseJSONResponse(response)
3466                         
3467                         if(!is.null(resource$errors))
3468                                 stop(resource$errors)
3469                         
3470                         resource
3471                 },
3472
3473                 authorized_keys.destroy = function(uuid)
3474                 {
3475                         endPoint <- stringr::str_interp("authorized_keys/${uuid}")
3476                         url <- paste0(private$host, endPoint)
3477                         headers <- list(Authorization = paste("OAuth2", private$token), 
3478                                         "Content-Type" = "application/json")
3479                         queryArgs <- NULL
3480                         
3481                         body <- NULL
3482                         
3483                         response <- private$REST$http$exec("DELETE", url, headers, body,
3484                                                            queryArgs, private$numRetries)
3485                         resource <- private$REST$httpParser$parseJSONResponse(response)
3486                         
3487                         if(!is.null(resource$errors))
3488                                 stop(resource$errors)
3489                         
3490                         resource
3491                 },
3492
3493                 collections.get = function(uuid)
3494                 {
3495                         endPoint <- stringr::str_interp("collections/${uuid}")
3496                         url <- paste0(private$host, endPoint)
3497                         headers <- list(Authorization = paste("OAuth2", private$token), 
3498                                         "Content-Type" = "application/json")
3499                         queryArgs <- NULL
3500                         
3501                         body <- NULL
3502                         
3503                         response <- private$REST$http$exec("GET", url, headers, body,
3504                                                            queryArgs, private$numRetries)
3505                         resource <- private$REST$httpParser$parseJSONResponse(response)
3506                         
3507                         if(!is.null(resource$errors))
3508                                 stop(resource$errors)
3509                         
3510                         resource
3511                 },
3512
3513                 collections.index = function(filters = NULL,
3514                         where = NULL, order = NULL, select = NULL,
3515                         distinct = NULL, limit = "100", offset = "0",
3516                         count = "exact", include_trash = NULL)
3517                 {
3518                         endPoint <- stringr::str_interp("collections")
3519                         url <- paste0(private$host, endPoint)
3520                         headers <- list(Authorization = paste("OAuth2", private$token), 
3521                                         "Content-Type" = "application/json")
3522                         queryArgs <- list(filters = filters, where = where,
3523                                                           order = order, select = select, distinct = distinct,
3524                                                           limit = limit, offset = offset, count = count,
3525                                                           include_trash = include_trash)
3526                         
3527                         body <- NULL
3528                         
3529                         response <- private$REST$http$exec("GET", url, headers, body,
3530                                                            queryArgs, private$numRetries)
3531                         resource <- private$REST$httpParser$parseJSONResponse(response)
3532                         
3533                         if(!is.null(resource$errors))
3534                                 stop(resource$errors)
3535                         
3536                         resource
3537                 },
3538
3539                 collections.create = function(collection, ensure_unique_name = "false")
3540                 {
3541                         endPoint <- stringr::str_interp("collections")
3542                         url <- paste0(private$host, endPoint)
3543                         headers <- list(Authorization = paste("OAuth2", private$token), 
3544                                         "Content-Type" = "application/json")
3545                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
3546                         
3547                         if(length(collection) > 0)
3548                                 body <- jsonlite::toJSON(list(collection = collection), 
3549                                                          auto_unbox = TRUE)
3550                         else
3551                                 body <- NULL
3552                         
3553                         response <- private$REST$http$exec("POST", url, headers, body,
3554                                                            queryArgs, private$numRetries)
3555                         resource <- private$REST$httpParser$parseJSONResponse(response)
3556                         
3557                         if(!is.null(resource$errors))
3558                                 stop(resource$errors)
3559                         
3560                         resource
3561                 },
3562
3563                 collections.update = function(collection, uuid)
3564                 {
3565                         endPoint <- stringr::str_interp("collections/${uuid}")
3566                         url <- paste0(private$host, endPoint)
3567                         headers <- list(Authorization = paste("OAuth2", private$token), 
3568                                         "Content-Type" = "application/json")
3569                         queryArgs <- NULL
3570                         
3571                         if(length(collection) > 0)
3572                                 body <- jsonlite::toJSON(list(collection = collection), 
3573                                                          auto_unbox = TRUE)
3574                         else
3575                                 body <- NULL
3576                         
3577                         response <- private$REST$http$exec("PUT", url, headers, body,
3578                                                            queryArgs, private$numRetries)
3579                         resource <- private$REST$httpParser$parseJSONResponse(response)
3580                         
3581                         if(!is.null(resource$errors))
3582                                 stop(resource$errors)
3583                         
3584                         resource
3585                 },
3586
3587                 collections.delete = function(uuid)
3588                 {
3589                         endPoint <- stringr::str_interp("collections/${uuid}")
3590                         url <- paste0(private$host, endPoint)
3591                         headers <- list(Authorization = paste("OAuth2", private$token), 
3592                                         "Content-Type" = "application/json")
3593                         queryArgs <- NULL
3594                         
3595                         body <- NULL
3596                         
3597                         response <- private$REST$http$exec("DELETE", url, headers, body,
3598                                                            queryArgs, private$numRetries)
3599                         resource <- private$REST$httpParser$parseJSONResponse(response)
3600                         
3601                         if(!is.null(resource$errors))
3602                                 stop(resource$errors)
3603                         
3604                         resource
3605                 },
3606
3607                 collections.provenance = function(uuid)
3608                 {
3609                         endPoint <- stringr::str_interp("collections/${uuid}/provenance")
3610                         url <- paste0(private$host, endPoint)
3611                         headers <- list(Authorization = paste("OAuth2", private$token), 
3612                                         "Content-Type" = "application/json")
3613                         queryArgs <- NULL
3614                         
3615                         body <- NULL
3616                         
3617                         response <- private$REST$http$exec("GET", url, headers, body,
3618                                                            queryArgs, private$numRetries)
3619                         resource <- private$REST$httpParser$parseJSONResponse(response)
3620                         
3621                         if(!is.null(resource$errors))
3622                                 stop(resource$errors)
3623                         
3624                         resource
3625                 },
3626
3627                 collections.used_by = function(uuid)
3628                 {
3629                         endPoint <- stringr::str_interp("collections/${uuid}/used_by")
3630                         url <- paste0(private$host, endPoint)
3631                         headers <- list(Authorization = paste("OAuth2", private$token), 
3632                                         "Content-Type" = "application/json")
3633                         queryArgs <- NULL
3634                         
3635                         body <- NULL
3636                         
3637                         response <- private$REST$http$exec("GET", url, headers, body,
3638                                                            queryArgs, private$numRetries)
3639                         resource <- private$REST$httpParser$parseJSONResponse(response)
3640                         
3641                         if(!is.null(resource$errors))
3642                                 stop(resource$errors)
3643                         
3644                         resource
3645                 },
3646
3647                 collections.trash = function(uuid)
3648                 {
3649                         endPoint <- stringr::str_interp("collections/${uuid}/trash")
3650                         url <- paste0(private$host, endPoint)
3651                         headers <- list(Authorization = paste("OAuth2", private$token), 
3652                                         "Content-Type" = "application/json")
3653                         queryArgs <- NULL
3654                         
3655                         body <- NULL
3656                         
3657                         response <- private$REST$http$exec("POST", url, headers, body,
3658                                                            queryArgs, private$numRetries)
3659                         resource <- private$REST$httpParser$parseJSONResponse(response)
3660                         
3661                         if(!is.null(resource$errors))
3662                                 stop(resource$errors)
3663                         
3664                         resource
3665                 },
3666
3667                 collections.untrash = function(uuid)
3668                 {
3669                         endPoint <- stringr::str_interp("collections/${uuid}/untrash")
3670                         url <- paste0(private$host, endPoint)
3671                         headers <- list(Authorization = paste("OAuth2", private$token), 
3672                                         "Content-Type" = "application/json")
3673                         queryArgs <- NULL
3674                         
3675                         body <- NULL
3676                         
3677                         response <- private$REST$http$exec("POST", url, headers, body,
3678                                                            queryArgs, private$numRetries)
3679                         resource <- private$REST$httpParser$parseJSONResponse(response)
3680                         
3681                         if(!is.null(resource$errors))
3682                                 stop(resource$errors)
3683                         
3684                         resource
3685                 },
3686
3687                 collections.list = function(filters = NULL,
3688                         where = NULL, order = NULL, select = NULL,
3689                         distinct = NULL, limit = "100", offset = "0",
3690                         count = "exact", include_trash = NULL)
3691                 {
3692                         endPoint <- stringr::str_interp("collections")
3693                         url <- paste0(private$host, endPoint)
3694                         headers <- list(Authorization = paste("OAuth2", private$token), 
3695                                         "Content-Type" = "application/json")
3696                         queryArgs <- list(filters = filters, where = where,
3697                                                           order = order, select = select, distinct = distinct,
3698                                                           limit = limit, offset = offset, count = count,
3699                                                           include_trash = include_trash)
3700                         
3701                         body <- NULL
3702                         
3703                         response <- private$REST$http$exec("GET", url, headers, body,
3704                                                            queryArgs, private$numRetries)
3705                         resource <- private$REST$httpParser$parseJSONResponse(response)
3706                         
3707                         if(!is.null(resource$errors))
3708                                 stop(resource$errors)
3709                         
3710                         resource
3711                 },
3712
3713                 collections.show = function(uuid)
3714                 {
3715                         endPoint <- stringr::str_interp("collections/${uuid}")
3716                         url <- paste0(private$host, endPoint)
3717                         headers <- list(Authorization = paste("OAuth2", private$token), 
3718                                         "Content-Type" = "application/json")
3719                         queryArgs <- NULL
3720                         
3721                         body <- NULL
3722                         
3723                         response <- private$REST$http$exec("GET", url, headers, body,
3724                                                            queryArgs, private$numRetries)
3725                         resource <- private$REST$httpParser$parseJSONResponse(response)
3726                         
3727                         if(!is.null(resource$errors))
3728                                 stop(resource$errors)
3729                         
3730                         resource
3731                 },
3732
3733                 collections.destroy = function(uuid)
3734                 {
3735                         endPoint <- stringr::str_interp("collections/${uuid}")
3736                         url <- paste0(private$host, endPoint)
3737                         headers <- list(Authorization = paste("OAuth2", private$token), 
3738                                         "Content-Type" = "application/json")
3739                         queryArgs <- NULL
3740                         
3741                         body <- NULL
3742                         
3743                         response <- private$REST$http$exec("DELETE", url, headers, body,
3744                                                            queryArgs, private$numRetries)
3745                         resource <- private$REST$httpParser$parseJSONResponse(response)
3746                         
3747                         if(!is.null(resource$errors))
3748                                 stop(resource$errors)
3749                         
3750                         resource
3751                 },
3752
3753                 containers.get = function(uuid)
3754                 {
3755                         endPoint <- stringr::str_interp("containers/${uuid}")
3756                         url <- paste0(private$host, endPoint)
3757                         headers <- list(Authorization = paste("OAuth2", private$token), 
3758                                         "Content-Type" = "application/json")
3759                         queryArgs <- NULL
3760                         
3761                         body <- NULL
3762                         
3763                         response <- private$REST$http$exec("GET", url, headers, body,
3764                                                            queryArgs, private$numRetries)
3765                         resource <- private$REST$httpParser$parseJSONResponse(response)
3766                         
3767                         if(!is.null(resource$errors))
3768                                 stop(resource$errors)
3769                         
3770                         resource
3771                 },
3772
3773                 containers.index = function(filters = NULL,
3774                         where = NULL, order = NULL, select = NULL,
3775                         distinct = NULL, limit = "100", offset = "0",
3776                         count = "exact")
3777                 {
3778                         endPoint <- stringr::str_interp("containers")
3779                         url <- paste0(private$host, endPoint)
3780                         headers <- list(Authorization = paste("OAuth2", private$token), 
3781                                         "Content-Type" = "application/json")
3782                         queryArgs <- list(filters = filters, where = where,
3783                                                           order = order, select = select, distinct = distinct,
3784                                                           limit = limit, offset = offset, count = count)
3785                         
3786                         body <- NULL
3787                         
3788                         response <- private$REST$http$exec("GET", url, headers, body,
3789                                                            queryArgs, private$numRetries)
3790                         resource <- private$REST$httpParser$parseJSONResponse(response)
3791                         
3792                         if(!is.null(resource$errors))
3793                                 stop(resource$errors)
3794                         
3795                         resource
3796                 },
3797
3798                 containers.create = function(container, ensure_unique_name = "false")
3799                 {
3800                         endPoint <- stringr::str_interp("containers")
3801                         url <- paste0(private$host, endPoint)
3802                         headers <- list(Authorization = paste("OAuth2", private$token), 
3803                                         "Content-Type" = "application/json")
3804                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
3805                         
3806                         if(length(container) > 0)
3807                                 body <- jsonlite::toJSON(list(container = container), 
3808                                                          auto_unbox = TRUE)
3809                         else
3810                                 body <- NULL
3811                         
3812                         response <- private$REST$http$exec("POST", url, headers, body,
3813                                                            queryArgs, private$numRetries)
3814                         resource <- private$REST$httpParser$parseJSONResponse(response)
3815                         
3816                         if(!is.null(resource$errors))
3817                                 stop(resource$errors)
3818                         
3819                         resource
3820                 },
3821
3822                 containers.update = function(container, uuid)
3823                 {
3824                         endPoint <- stringr::str_interp("containers/${uuid}")
3825                         url <- paste0(private$host, endPoint)
3826                         headers <- list(Authorization = paste("OAuth2", private$token), 
3827                                         "Content-Type" = "application/json")
3828                         queryArgs <- NULL
3829                         
3830                         if(length(container) > 0)
3831                                 body <- jsonlite::toJSON(list(container = container), 
3832                                                          auto_unbox = TRUE)
3833                         else
3834                                 body <- NULL
3835                         
3836                         response <- private$REST$http$exec("PUT", url, headers, body,
3837                                                            queryArgs, private$numRetries)
3838                         resource <- private$REST$httpParser$parseJSONResponse(response)
3839                         
3840                         if(!is.null(resource$errors))
3841                                 stop(resource$errors)
3842                         
3843                         resource
3844                 },
3845
3846                 containers.delete = function(uuid)
3847                 {
3848                         endPoint <- stringr::str_interp("containers/${uuid}")
3849                         url <- paste0(private$host, endPoint)
3850                         headers <- list(Authorization = paste("OAuth2", private$token), 
3851                                         "Content-Type" = "application/json")
3852                         queryArgs <- NULL
3853                         
3854                         body <- NULL
3855                         
3856                         response <- private$REST$http$exec("DELETE", url, headers, body,
3857                                                            queryArgs, private$numRetries)
3858                         resource <- private$REST$httpParser$parseJSONResponse(response)
3859                         
3860                         if(!is.null(resource$errors))
3861                                 stop(resource$errors)
3862                         
3863                         resource
3864                 },
3865
3866                 containers.auth = function(uuid)
3867                 {
3868                         endPoint <- stringr::str_interp("containers/${uuid}/auth")
3869                         url <- paste0(private$host, endPoint)
3870                         headers <- list(Authorization = paste("OAuth2", private$token), 
3871                                         "Content-Type" = "application/json")
3872                         queryArgs <- NULL
3873                         
3874                         body <- NULL
3875                         
3876                         response <- private$REST$http$exec("GET", url, headers, body,
3877                                                            queryArgs, private$numRetries)
3878                         resource <- private$REST$httpParser$parseJSONResponse(response)
3879                         
3880                         if(!is.null(resource$errors))
3881                                 stop(resource$errors)
3882                         
3883                         resource
3884                 },
3885
3886                 containers.lock = function(uuid)
3887                 {
3888                         endPoint <- stringr::str_interp("containers/${uuid}/lock")
3889                         url <- paste0(private$host, endPoint)
3890                         headers <- list(Authorization = paste("OAuth2", private$token), 
3891                                         "Content-Type" = "application/json")
3892                         queryArgs <- NULL
3893                         
3894                         body <- NULL
3895                         
3896                         response <- private$REST$http$exec("POST", url, headers, body,
3897                                                            queryArgs, private$numRetries)
3898                         resource <- private$REST$httpParser$parseJSONResponse(response)
3899                         
3900                         if(!is.null(resource$errors))
3901                                 stop(resource$errors)
3902                         
3903                         resource
3904                 },
3905
3906                 containers.unlock = function(uuid)
3907                 {
3908                         endPoint <- stringr::str_interp("containers/${uuid}/unlock")
3909                         url <- paste0(private$host, endPoint)
3910                         headers <- list(Authorization = paste("OAuth2", private$token), 
3911                                         "Content-Type" = "application/json")
3912                         queryArgs <- NULL
3913                         
3914                         body <- NULL
3915                         
3916                         response <- private$REST$http$exec("POST", url, headers, body,
3917                                                            queryArgs, private$numRetries)
3918                         resource <- private$REST$httpParser$parseJSONResponse(response)
3919                         
3920                         if(!is.null(resource$errors))
3921                                 stop(resource$errors)
3922                         
3923                         resource
3924                 },
3925
3926                 containers.current = function()
3927                 {
3928                         endPoint <- stringr::str_interp("containers/current")
3929                         url <- paste0(private$host, endPoint)
3930                         headers <- list(Authorization = paste("OAuth2", private$token), 
3931                                         "Content-Type" = "application/json")
3932                         queryArgs <- NULL
3933                         
3934                         body <- NULL
3935                         
3936                         response <- private$REST$http$exec("GET", url, headers, body,
3937                                                            queryArgs, private$numRetries)
3938                         resource <- private$REST$httpParser$parseJSONResponse(response)
3939                         
3940                         if(!is.null(resource$errors))
3941                                 stop(resource$errors)
3942                         
3943                         resource
3944                 },
3945
3946                 containers.list = function(filters = NULL,
3947                         where = NULL, order = NULL, select = NULL,
3948                         distinct = NULL, limit = "100", offset = "0",
3949                         count = "exact")
3950                 {
3951                         endPoint <- stringr::str_interp("containers")
3952                         url <- paste0(private$host, endPoint)
3953                         headers <- list(Authorization = paste("OAuth2", private$token), 
3954                                         "Content-Type" = "application/json")
3955                         queryArgs <- list(filters = filters, where = where,
3956                                                           order = order, select = select, distinct = distinct,
3957                                                           limit = limit, offset = offset, count = count)
3958                         
3959                         body <- NULL
3960                         
3961                         response <- private$REST$http$exec("GET", url, headers, body,
3962                                                            queryArgs, private$numRetries)
3963                         resource <- private$REST$httpParser$parseJSONResponse(response)
3964                         
3965                         if(!is.null(resource$errors))
3966                                 stop(resource$errors)
3967                         
3968                         resource
3969                 },
3970
3971                 containers.show = function(uuid)
3972                 {
3973                         endPoint <- stringr::str_interp("containers/${uuid}")
3974                         url <- paste0(private$host, endPoint)
3975                         headers <- list(Authorization = paste("OAuth2", private$token), 
3976                                         "Content-Type" = "application/json")
3977                         queryArgs <- NULL
3978                         
3979                         body <- NULL
3980                         
3981                         response <- private$REST$http$exec("GET", url, headers, body,
3982                                                            queryArgs, private$numRetries)
3983                         resource <- private$REST$httpParser$parseJSONResponse(response)
3984                         
3985                         if(!is.null(resource$errors))
3986                                 stop(resource$errors)
3987                         
3988                         resource
3989                 },
3990
3991                 containers.destroy = function(uuid)
3992                 {
3993                         endPoint <- stringr::str_interp("containers/${uuid}")
3994                         url <- paste0(private$host, endPoint)
3995                         headers <- list(Authorization = paste("OAuth2", private$token), 
3996                                         "Content-Type" = "application/json")
3997                         queryArgs <- NULL
3998                         
3999                         body <- NULL
4000                         
4001                         response <- private$REST$http$exec("DELETE", url, headers, body,
4002                                                            queryArgs, private$numRetries)
4003                         resource <- private$REST$httpParser$parseJSONResponse(response)
4004                         
4005                         if(!is.null(resource$errors))
4006                                 stop(resource$errors)
4007                         
4008                         resource
4009                 },
4010
4011                 humans.get = function(uuid)
4012                 {
4013                         endPoint <- stringr::str_interp("humans/${uuid}")
4014                         url <- paste0(private$host, endPoint)
4015                         headers <- list(Authorization = paste("OAuth2", private$token), 
4016                                         "Content-Type" = "application/json")
4017                         queryArgs <- NULL
4018                         
4019                         body <- NULL
4020                         
4021                         response <- private$REST$http$exec("GET", url, headers, body,
4022                                                            queryArgs, private$numRetries)
4023                         resource <- private$REST$httpParser$parseJSONResponse(response)
4024                         
4025                         if(!is.null(resource$errors))
4026                                 stop(resource$errors)
4027                         
4028                         resource
4029                 },
4030
4031                 humans.index = function(filters = NULL, where = NULL,
4032                         order = NULL, select = NULL, distinct = NULL,
4033                         limit = "100", offset = "0", count = "exact")
4034                 {
4035                         endPoint <- stringr::str_interp("humans")
4036                         url <- paste0(private$host, endPoint)
4037                         headers <- list(Authorization = paste("OAuth2", private$token), 
4038                                         "Content-Type" = "application/json")
4039                         queryArgs <- list(filters = filters, where = where,
4040                                                           order = order, select = select, distinct = distinct,
4041                                                           limit = limit, offset = offset, count = count)
4042                         
4043                         body <- NULL
4044                         
4045                         response <- private$REST$http$exec("GET", url, headers, body,
4046                                                            queryArgs, private$numRetries)
4047                         resource <- private$REST$httpParser$parseJSONResponse(response)
4048                         
4049                         if(!is.null(resource$errors))
4050                                 stop(resource$errors)
4051                         
4052                         resource
4053                 },
4054
4055                 humans.create = function(human, ensure_unique_name = "false")
4056                 {
4057                         endPoint <- stringr::str_interp("humans")
4058                         url <- paste0(private$host, endPoint)
4059                         headers <- list(Authorization = paste("OAuth2", private$token), 
4060                                         "Content-Type" = "application/json")
4061                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
4062                         
4063                         if(length(human) > 0)
4064                                 body <- jsonlite::toJSON(list(human = human), 
4065                                                          auto_unbox = TRUE)
4066                         else
4067                                 body <- NULL
4068                         
4069                         response <- private$REST$http$exec("POST", url, headers, body,
4070                                                            queryArgs, private$numRetries)
4071                         resource <- private$REST$httpParser$parseJSONResponse(response)
4072                         
4073                         if(!is.null(resource$errors))
4074                                 stop(resource$errors)
4075                         
4076                         resource
4077                 },
4078
4079                 humans.update = function(human, uuid)
4080                 {
4081                         endPoint <- stringr::str_interp("humans/${uuid}")
4082                         url <- paste0(private$host, endPoint)
4083                         headers <- list(Authorization = paste("OAuth2", private$token), 
4084                                         "Content-Type" = "application/json")
4085                         queryArgs <- NULL
4086                         
4087                         if(length(human) > 0)
4088                                 body <- jsonlite::toJSON(list(human = human), 
4089                                                          auto_unbox = TRUE)
4090                         else
4091                                 body <- NULL
4092                         
4093                         response <- private$REST$http$exec("PUT", url, headers, body,
4094                                                            queryArgs, private$numRetries)
4095                         resource <- private$REST$httpParser$parseJSONResponse(response)
4096                         
4097                         if(!is.null(resource$errors))
4098                                 stop(resource$errors)
4099                         
4100                         resource
4101                 },
4102
4103                 humans.delete = function(uuid)
4104                 {
4105                         endPoint <- stringr::str_interp("humans/${uuid}")
4106                         url <- paste0(private$host, endPoint)
4107                         headers <- list(Authorization = paste("OAuth2", private$token), 
4108                                         "Content-Type" = "application/json")
4109                         queryArgs <- NULL
4110                         
4111                         body <- NULL
4112                         
4113                         response <- private$REST$http$exec("DELETE", url, headers, body,
4114                                                            queryArgs, private$numRetries)
4115                         resource <- private$REST$httpParser$parseJSONResponse(response)
4116                         
4117                         if(!is.null(resource$errors))
4118                                 stop(resource$errors)
4119                         
4120                         resource
4121                 },
4122
4123                 humans.list = function(filters = NULL, where = NULL,
4124                         order = NULL, select = NULL, distinct = NULL,
4125                         limit = "100", offset = "0", count = "exact")
4126                 {
4127                         endPoint <- stringr::str_interp("humans")
4128                         url <- paste0(private$host, endPoint)
4129                         headers <- list(Authorization = paste("OAuth2", private$token), 
4130                                         "Content-Type" = "application/json")
4131                         queryArgs <- list(filters = filters, where = where,
4132                                                           order = order, select = select, distinct = distinct,
4133                                                           limit = limit, offset = offset, count = count)
4134                         
4135                         body <- NULL
4136                         
4137                         response <- private$REST$http$exec("GET", url, headers, body,
4138                                                            queryArgs, private$numRetries)
4139                         resource <- private$REST$httpParser$parseJSONResponse(response)
4140                         
4141                         if(!is.null(resource$errors))
4142                                 stop(resource$errors)
4143                         
4144                         resource
4145                 },
4146
4147                 humans.show = function(uuid)
4148                 {
4149                         endPoint <- stringr::str_interp("humans/${uuid}")
4150                         url <- paste0(private$host, endPoint)
4151                         headers <- list(Authorization = paste("OAuth2", private$token), 
4152                                         "Content-Type" = "application/json")
4153                         queryArgs <- NULL
4154                         
4155                         body <- NULL
4156                         
4157                         response <- private$REST$http$exec("GET", url, headers, body,
4158                                                            queryArgs, private$numRetries)
4159                         resource <- private$REST$httpParser$parseJSONResponse(response)
4160                         
4161                         if(!is.null(resource$errors))
4162                                 stop(resource$errors)
4163                         
4164                         resource
4165                 },
4166
4167                 humans.destroy = function(uuid)
4168                 {
4169                         endPoint <- stringr::str_interp("humans/${uuid}")
4170                         url <- paste0(private$host, endPoint)
4171                         headers <- list(Authorization = paste("OAuth2", private$token), 
4172                                         "Content-Type" = "application/json")
4173                         queryArgs <- NULL
4174                         
4175                         body <- NULL
4176                         
4177                         response <- private$REST$http$exec("DELETE", url, headers, body,
4178                                                            queryArgs, private$numRetries)
4179                         resource <- private$REST$httpParser$parseJSONResponse(response)
4180                         
4181                         if(!is.null(resource$errors))
4182                                 stop(resource$errors)
4183                         
4184                         resource
4185                 },
4186
4187                 job_tasks.get = function(uuid)
4188                 {
4189                         endPoint <- stringr::str_interp("job_tasks/${uuid}")
4190                         url <- paste0(private$host, endPoint)
4191                         headers <- list(Authorization = paste("OAuth2", private$token), 
4192                                         "Content-Type" = "application/json")
4193                         queryArgs <- NULL
4194                         
4195                         body <- NULL
4196                         
4197                         response <- private$REST$http$exec("GET", url, headers, body,
4198                                                            queryArgs, private$numRetries)
4199                         resource <- private$REST$httpParser$parseJSONResponse(response)
4200                         
4201                         if(!is.null(resource$errors))
4202                                 stop(resource$errors)
4203                         
4204                         resource
4205                 },
4206
4207                 job_tasks.index = function(filters = NULL,
4208                         where = NULL, order = NULL, select = NULL,
4209                         distinct = NULL, limit = "100", offset = "0",
4210                         count = "exact")
4211                 {
4212                         endPoint <- stringr::str_interp("job_tasks")
4213                         url <- paste0(private$host, endPoint)
4214                         headers <- list(Authorization = paste("OAuth2", private$token), 
4215                                         "Content-Type" = "application/json")
4216                         queryArgs <- list(filters = filters, where = where,
4217                                                           order = order, select = select, distinct = distinct,
4218                                                           limit = limit, offset = offset, count = count)
4219                         
4220                         body <- NULL
4221                         
4222                         response <- private$REST$http$exec("GET", url, headers, body,
4223                                                            queryArgs, private$numRetries)
4224                         resource <- private$REST$httpParser$parseJSONResponse(response)
4225                         
4226                         if(!is.null(resource$errors))
4227                                 stop(resource$errors)
4228                         
4229                         resource
4230                 },
4231
4232                 job_tasks.create = function(jobtask, ensure_unique_name = "false")
4233                 {
4234                         endPoint <- stringr::str_interp("job_tasks")
4235                         url <- paste0(private$host, endPoint)
4236                         headers <- list(Authorization = paste("OAuth2", private$token), 
4237                                         "Content-Type" = "application/json")
4238                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
4239                         
4240                         if(length(jobtask) > 0)
4241                                 body <- jsonlite::toJSON(list(jobtask = jobtask), 
4242                                                          auto_unbox = TRUE)
4243                         else
4244                                 body <- NULL
4245                         
4246                         response <- private$REST$http$exec("POST", url, headers, body,
4247                                                            queryArgs, private$numRetries)
4248                         resource <- private$REST$httpParser$parseJSONResponse(response)
4249                         
4250                         if(!is.null(resource$errors))
4251                                 stop(resource$errors)
4252                         
4253                         resource
4254                 },
4255
4256                 job_tasks.update = function(jobtask, uuid)
4257                 {
4258                         endPoint <- stringr::str_interp("job_tasks/${uuid}")
4259                         url <- paste0(private$host, endPoint)
4260                         headers <- list(Authorization = paste("OAuth2", private$token), 
4261                                         "Content-Type" = "application/json")
4262                         queryArgs <- NULL
4263                         
4264                         if(length(jobtask) > 0)
4265                                 body <- jsonlite::toJSON(list(jobtask = jobtask), 
4266                                                          auto_unbox = TRUE)
4267                         else
4268                                 body <- NULL
4269                         
4270                         response <- private$REST$http$exec("PUT", url, headers, body,
4271                                                            queryArgs, private$numRetries)
4272                         resource <- private$REST$httpParser$parseJSONResponse(response)
4273                         
4274                         if(!is.null(resource$errors))
4275                                 stop(resource$errors)
4276                         
4277                         resource
4278                 },
4279
4280                 job_tasks.delete = function(uuid)
4281                 {
4282                         endPoint <- stringr::str_interp("job_tasks/${uuid}")
4283                         url <- paste0(private$host, endPoint)
4284                         headers <- list(Authorization = paste("OAuth2", private$token), 
4285                                         "Content-Type" = "application/json")
4286                         queryArgs <- NULL
4287                         
4288                         body <- NULL
4289                         
4290                         response <- private$REST$http$exec("DELETE", url, headers, body,
4291                                                            queryArgs, private$numRetries)
4292                         resource <- private$REST$httpParser$parseJSONResponse(response)
4293                         
4294                         if(!is.null(resource$errors))
4295                                 stop(resource$errors)
4296                         
4297                         resource
4298                 },
4299
4300                 job_tasks.list = function(filters = NULL,
4301                         where = NULL, order = NULL, select = NULL,
4302                         distinct = NULL, limit = "100", offset = "0",
4303                         count = "exact")
4304                 {
4305                         endPoint <- stringr::str_interp("job_tasks")
4306                         url <- paste0(private$host, endPoint)
4307                         headers <- list(Authorization = paste("OAuth2", private$token), 
4308                                         "Content-Type" = "application/json")
4309                         queryArgs <- list(filters = filters, where = where,
4310                                                           order = order, select = select, distinct = distinct,
4311                                                           limit = limit, offset = offset, count = count)
4312                         
4313                         body <- NULL
4314                         
4315                         response <- private$REST$http$exec("GET", url, headers, body,
4316                                                            queryArgs, private$numRetries)
4317                         resource <- private$REST$httpParser$parseJSONResponse(response)
4318                         
4319                         if(!is.null(resource$errors))
4320                                 stop(resource$errors)
4321                         
4322                         resource
4323                 },
4324
4325                 job_tasks.show = function(uuid)
4326                 {
4327                         endPoint <- stringr::str_interp("job_tasks/${uuid}")
4328                         url <- paste0(private$host, endPoint)
4329                         headers <- list(Authorization = paste("OAuth2", private$token), 
4330                                         "Content-Type" = "application/json")
4331                         queryArgs <- NULL
4332                         
4333                         body <- NULL
4334                         
4335                         response <- private$REST$http$exec("GET", url, headers, body,
4336                                                            queryArgs, private$numRetries)
4337                         resource <- private$REST$httpParser$parseJSONResponse(response)
4338                         
4339                         if(!is.null(resource$errors))
4340                                 stop(resource$errors)
4341                         
4342                         resource
4343                 },
4344
4345                 job_tasks.destroy = function(uuid)
4346                 {
4347                         endPoint <- stringr::str_interp("job_tasks/${uuid}")
4348                         url <- paste0(private$host, endPoint)
4349                         headers <- list(Authorization = paste("OAuth2", private$token), 
4350                                         "Content-Type" = "application/json")
4351                         queryArgs <- NULL
4352                         
4353                         body <- NULL
4354                         
4355                         response <- private$REST$http$exec("DELETE", url, headers, body,
4356                                                            queryArgs, private$numRetries)
4357                         resource <- private$REST$httpParser$parseJSONResponse(response)
4358                         
4359                         if(!is.null(resource$errors))
4360                                 stop(resource$errors)
4361                         
4362                         resource
4363                 },
4364
4365                 links.get = function(uuid)
4366                 {
4367                         endPoint <- stringr::str_interp("links/${uuid}")
4368                         url <- paste0(private$host, endPoint)
4369                         headers <- list(Authorization = paste("OAuth2", private$token), 
4370                                         "Content-Type" = "application/json")
4371                         queryArgs <- NULL
4372                         
4373                         body <- NULL
4374                         
4375                         response <- private$REST$http$exec("GET", url, headers, body,
4376                                                            queryArgs, private$numRetries)
4377                         resource <- private$REST$httpParser$parseJSONResponse(response)
4378                         
4379                         if(!is.null(resource$errors))
4380                                 stop(resource$errors)
4381                         
4382                         resource
4383                 },
4384
4385                 links.index = function(filters = NULL, where = NULL,
4386                         order = NULL, select = NULL, distinct = NULL,
4387                         limit = "100", offset = "0", count = "exact")
4388                 {
4389                         endPoint <- stringr::str_interp("links")
4390                         url <- paste0(private$host, endPoint)
4391                         headers <- list(Authorization = paste("OAuth2", private$token), 
4392                                         "Content-Type" = "application/json")
4393                         queryArgs <- list(filters = filters, where = where,
4394                                                           order = order, select = select, distinct = distinct,
4395                                                           limit = limit, offset = offset, count = count)
4396                         
4397                         body <- NULL
4398                         
4399                         response <- private$REST$http$exec("GET", url, headers, body,
4400                                                            queryArgs, private$numRetries)
4401                         resource <- private$REST$httpParser$parseJSONResponse(response)
4402                         
4403                         if(!is.null(resource$errors))
4404                                 stop(resource$errors)
4405                         
4406                         resource
4407                 },
4408
4409                 links.create = function(link, ensure_unique_name = "false")
4410                 {
4411                         endPoint <- stringr::str_interp("links")
4412                         url <- paste0(private$host, endPoint)
4413                         headers <- list(Authorization = paste("OAuth2", private$token), 
4414                                         "Content-Type" = "application/json")
4415                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
4416                         
4417                         if(length(link) > 0)
4418                                 body <- jsonlite::toJSON(list(link = link), 
4419                                                          auto_unbox = TRUE)
4420                         else
4421                                 body <- NULL
4422                         
4423                         response <- private$REST$http$exec("POST", url, headers, body,
4424                                                            queryArgs, private$numRetries)
4425                         resource <- private$REST$httpParser$parseJSONResponse(response)
4426                         
4427                         if(!is.null(resource$errors))
4428                                 stop(resource$errors)
4429                         
4430                         resource
4431                 },
4432
4433                 links.update = function(link, uuid)
4434                 {
4435                         endPoint <- stringr::str_interp("links/${uuid}")
4436                         url <- paste0(private$host, endPoint)
4437                         headers <- list(Authorization = paste("OAuth2", private$token), 
4438                                         "Content-Type" = "application/json")
4439                         queryArgs <- NULL
4440                         
4441                         if(length(link) > 0)
4442                                 body <- jsonlite::toJSON(list(link = link), 
4443                                                          auto_unbox = TRUE)
4444                         else
4445                                 body <- NULL
4446                         
4447                         response <- private$REST$http$exec("PUT", url, headers, body,
4448                                                            queryArgs, private$numRetries)
4449                         resource <- private$REST$httpParser$parseJSONResponse(response)
4450                         
4451                         if(!is.null(resource$errors))
4452                                 stop(resource$errors)
4453                         
4454                         resource
4455                 },
4456
4457                 links.delete = function(uuid)
4458                 {
4459                         endPoint <- stringr::str_interp("links/${uuid}")
4460                         url <- paste0(private$host, endPoint)
4461                         headers <- list(Authorization = paste("OAuth2", private$token), 
4462                                         "Content-Type" = "application/json")
4463                         queryArgs <- NULL
4464                         
4465                         body <- NULL
4466                         
4467                         response <- private$REST$http$exec("DELETE", url, headers, body,
4468                                                            queryArgs, private$numRetries)
4469                         resource <- private$REST$httpParser$parseJSONResponse(response)
4470                         
4471                         if(!is.null(resource$errors))
4472                                 stop(resource$errors)
4473                         
4474                         resource
4475                 },
4476
4477                 links.list = function(filters = NULL, where = NULL,
4478                         order = NULL, select = NULL, distinct = NULL,
4479                         limit = "100", offset = "0", count = "exact")
4480                 {
4481                         endPoint <- stringr::str_interp("links")
4482                         url <- paste0(private$host, endPoint)
4483                         headers <- list(Authorization = paste("OAuth2", private$token), 
4484                                         "Content-Type" = "application/json")
4485                         queryArgs <- list(filters = filters, where = where,
4486                                                           order = order, select = select, distinct = distinct,
4487                                                           limit = limit, offset = offset, count = count)
4488                         
4489                         body <- NULL
4490                         
4491                         response <- private$REST$http$exec("GET", url, headers, body,
4492                                                            queryArgs, private$numRetries)
4493                         resource <- private$REST$httpParser$parseJSONResponse(response)
4494                         
4495                         if(!is.null(resource$errors))
4496                                 stop(resource$errors)
4497                         
4498                         resource
4499                 },
4500
4501                 links.show = function(uuid)
4502                 {
4503                         endPoint <- stringr::str_interp("links/${uuid}")
4504                         url <- paste0(private$host, endPoint)
4505                         headers <- list(Authorization = paste("OAuth2", private$token), 
4506                                         "Content-Type" = "application/json")
4507                         queryArgs <- NULL
4508                         
4509                         body <- NULL
4510                         
4511                         response <- private$REST$http$exec("GET", url, headers, body,
4512                                                            queryArgs, private$numRetries)
4513                         resource <- private$REST$httpParser$parseJSONResponse(response)
4514                         
4515                         if(!is.null(resource$errors))
4516                                 stop(resource$errors)
4517                         
4518                         resource
4519                 },
4520
4521                 links.destroy = function(uuid)
4522                 {
4523                         endPoint <- stringr::str_interp("links/${uuid}")
4524                         url <- paste0(private$host, endPoint)
4525                         headers <- list(Authorization = paste("OAuth2", private$token), 
4526                                         "Content-Type" = "application/json")
4527                         queryArgs <- NULL
4528                         
4529                         body <- NULL
4530                         
4531                         response <- private$REST$http$exec("DELETE", url, headers, body,
4532                                                            queryArgs, private$numRetries)
4533                         resource <- private$REST$httpParser$parseJSONResponse(response)
4534                         
4535                         if(!is.null(resource$errors))
4536                                 stop(resource$errors)
4537                         
4538                         resource
4539                 },
4540
4541                 links.get_permissions = function(uuid)
4542                 {
4543                         endPoint <- stringr::str_interp("permissions/${uuid}")
4544                         url <- paste0(private$host, endPoint)
4545                         headers <- list(Authorization = paste("OAuth2", private$token), 
4546                                         "Content-Type" = "application/json")
4547                         queryArgs <- NULL
4548                         
4549                         body <- NULL
4550                         
4551                         response <- private$REST$http$exec("GET", url, headers, body,
4552                                                            queryArgs, private$numRetries)
4553                         resource <- private$REST$httpParser$parseJSONResponse(response)
4554                         
4555                         if(!is.null(resource$errors))
4556                                 stop(resource$errors)
4557                         
4558                         resource
4559                 },
4560
4561                 jobs.get = function(uuid)
4562                 {
4563                         endPoint <- stringr::str_interp("jobs/${uuid}")
4564                         url <- paste0(private$host, endPoint)
4565                         headers <- list(Authorization = paste("OAuth2", private$token), 
4566                                         "Content-Type" = "application/json")
4567                         queryArgs <- NULL
4568                         
4569                         body <- NULL
4570                         
4571                         response <- private$REST$http$exec("GET", url, headers, body,
4572                                                            queryArgs, private$numRetries)
4573                         resource <- private$REST$httpParser$parseJSONResponse(response)
4574                         
4575                         if(!is.null(resource$errors))
4576                                 stop(resource$errors)
4577                         
4578                         resource
4579                 },
4580
4581                 jobs.index = function(filters = NULL, where = NULL,
4582                         order = NULL, select = NULL, distinct = NULL,
4583                         limit = "100", offset = "0", count = "exact")
4584                 {
4585                         endPoint <- stringr::str_interp("jobs")
4586                         url <- paste0(private$host, endPoint)
4587                         headers <- list(Authorization = paste("OAuth2", private$token), 
4588                                         "Content-Type" = "application/json")
4589                         queryArgs <- list(filters = filters, where = where,
4590                                                           order = order, select = select, distinct = distinct,
4591                                                           limit = limit, offset = offset, count = count)
4592                         
4593                         body <- NULL
4594                         
4595                         response <- private$REST$http$exec("GET", url, headers, body,
4596                                                            queryArgs, private$numRetries)
4597                         resource <- private$REST$httpParser$parseJSONResponse(response)
4598                         
4599                         if(!is.null(resource$errors))
4600                                 stop(resource$errors)
4601                         
4602                         resource
4603                 },
4604
4605                 jobs.create = function(job, ensure_unique_name = "false",
4606                         find_or_create = "false", filters = NULL,
4607                         minimum_script_version = NULL, exclude_script_versions = NULL)
4608                 {
4609                         endPoint <- stringr::str_interp("jobs")
4610                         url <- paste0(private$host, endPoint)
4611                         headers <- list(Authorization = paste("OAuth2", private$token), 
4612                                         "Content-Type" = "application/json")
4613                         queryArgs <- list(ensure_unique_name = ensure_unique_name,
4614                                                           find_or_create = find_or_create, filters = filters,
4615                                                           minimum_script_version = minimum_script_version,
4616                                                           exclude_script_versions = exclude_script_versions)
4617                         
4618                         if(length(job) > 0)
4619                                 body <- jsonlite::toJSON(list(job = job), 
4620                                                          auto_unbox = TRUE)
4621                         else
4622                                 body <- NULL
4623                         
4624                         response <- private$REST$http$exec("POST", url, headers, body,
4625                                                            queryArgs, private$numRetries)
4626                         resource <- private$REST$httpParser$parseJSONResponse(response)
4627                         
4628                         if(!is.null(resource$errors))
4629                                 stop(resource$errors)
4630                         
4631                         resource
4632                 },
4633
4634                 jobs.update = function(job, uuid)
4635                 {
4636                         endPoint <- stringr::str_interp("jobs/${uuid}")
4637                         url <- paste0(private$host, endPoint)
4638                         headers <- list(Authorization = paste("OAuth2", private$token), 
4639                                         "Content-Type" = "application/json")
4640                         queryArgs <- NULL
4641                         
4642                         if(length(job) > 0)
4643                                 body <- jsonlite::toJSON(list(job = job), 
4644                                                          auto_unbox = TRUE)
4645                         else
4646                                 body <- NULL
4647                         
4648                         response <- private$REST$http$exec("PUT", url, headers, body,
4649                                                            queryArgs, private$numRetries)
4650                         resource <- private$REST$httpParser$parseJSONResponse(response)
4651                         
4652                         if(!is.null(resource$errors))
4653                                 stop(resource$errors)
4654                         
4655                         resource
4656                 },
4657
4658                 jobs.delete = function(uuid)
4659                 {
4660                         endPoint <- stringr::str_interp("jobs/${uuid}")
4661                         url <- paste0(private$host, endPoint)
4662                         headers <- list(Authorization = paste("OAuth2", private$token), 
4663                                         "Content-Type" = "application/json")
4664                         queryArgs <- NULL
4665                         
4666                         body <- NULL
4667                         
4668                         response <- private$REST$http$exec("DELETE", url, headers, body,
4669                                                            queryArgs, private$numRetries)
4670                         resource <- private$REST$httpParser$parseJSONResponse(response)
4671                         
4672                         if(!is.null(resource$errors))
4673                                 stop(resource$errors)
4674                         
4675                         resource
4676                 },
4677
4678                 jobs.queue = function(filters = NULL, where = NULL,
4679                         order = NULL, select = NULL, distinct = NULL,
4680                         limit = "100", offset = "0", count = "exact")
4681                 {
4682                         endPoint <- stringr::str_interp("jobs/queue")
4683                         url <- paste0(private$host, endPoint)
4684                         headers <- list(Authorization = paste("OAuth2", private$token), 
4685                                         "Content-Type" = "application/json")
4686                         queryArgs <- list(filters = filters, where = where,
4687                                                           order = order, select = select, distinct = distinct,
4688                                                           limit = limit, offset = offset, count = count)
4689                         
4690                         body <- NULL
4691                         
4692                         response <- private$REST$http$exec("GET", url, headers, body,
4693                                                            queryArgs, private$numRetries)
4694                         resource <- private$REST$httpParser$parseJSONResponse(response)
4695                         
4696                         if(!is.null(resource$errors))
4697                                 stop(resource$errors)
4698                         
4699                         resource
4700                 },
4701
4702                 jobs.queue_size = function()
4703                 {
4704                         endPoint <- stringr::str_interp("jobs/queue_size")
4705                         url <- paste0(private$host, endPoint)
4706                         headers <- list(Authorization = paste("OAuth2", private$token), 
4707                                         "Content-Type" = "application/json")
4708                         queryArgs <- NULL
4709                         
4710                         body <- NULL
4711                         
4712                         response <- private$REST$http$exec("GET", url, headers, body,
4713                                                            queryArgs, private$numRetries)
4714                         resource <- private$REST$httpParser$parseJSONResponse(response)
4715                         
4716                         if(!is.null(resource$errors))
4717                                 stop(resource$errors)
4718                         
4719                         resource
4720                 },
4721
4722                 jobs.cancel = function(uuid)
4723                 {
4724                         endPoint <- stringr::str_interp("jobs/${uuid}/cancel")
4725                         url <- paste0(private$host, endPoint)
4726                         headers <- list(Authorization = paste("OAuth2", private$token), 
4727                                         "Content-Type" = "application/json")
4728                         queryArgs <- NULL
4729                         
4730                         body <- NULL
4731                         
4732                         response <- private$REST$http$exec("POST", url, headers, body,
4733                                                            queryArgs, private$numRetries)
4734                         resource <- private$REST$httpParser$parseJSONResponse(response)
4735                         
4736                         if(!is.null(resource$errors))
4737                                 stop(resource$errors)
4738                         
4739                         resource
4740                 },
4741
4742                 jobs.lock = function(uuid)
4743                 {
4744                         endPoint <- stringr::str_interp("jobs/${uuid}/lock")
4745                         url <- paste0(private$host, endPoint)
4746                         headers <- list(Authorization = paste("OAuth2", private$token), 
4747                                         "Content-Type" = "application/json")
4748                         queryArgs <- NULL
4749                         
4750                         body <- NULL
4751                         
4752                         response <- private$REST$http$exec("POST", url, headers, body,
4753                                                            queryArgs, private$numRetries)
4754                         resource <- private$REST$httpParser$parseJSONResponse(response)
4755                         
4756                         if(!is.null(resource$errors))
4757                                 stop(resource$errors)
4758                         
4759                         resource
4760                 },
4761
4762                 jobs.list = function(filters = NULL, where = NULL,
4763                         order = NULL, select = NULL, distinct = NULL,
4764                         limit = "100", offset = "0", count = "exact")
4765                 {
4766                         endPoint <- stringr::str_interp("jobs")
4767                         url <- paste0(private$host, endPoint)
4768                         headers <- list(Authorization = paste("OAuth2", private$token), 
4769                                         "Content-Type" = "application/json")
4770                         queryArgs <- list(filters = filters, where = where,
4771                                                           order = order, select = select, distinct = distinct,
4772                                                           limit = limit, offset = offset, count = count)
4773                         
4774                         body <- NULL
4775                         
4776                         response <- private$REST$http$exec("GET", url, headers, body,
4777                                                            queryArgs, private$numRetries)
4778                         resource <- private$REST$httpParser$parseJSONResponse(response)
4779                         
4780                         if(!is.null(resource$errors))
4781                                 stop(resource$errors)
4782                         
4783                         resource
4784                 },
4785
4786                 jobs.show = function(uuid)
4787                 {
4788                         endPoint <- stringr::str_interp("jobs/${uuid}")
4789                         url <- paste0(private$host, endPoint)
4790                         headers <- list(Authorization = paste("OAuth2", private$token), 
4791                                         "Content-Type" = "application/json")
4792                         queryArgs <- NULL
4793                         
4794                         body <- NULL
4795                         
4796                         response <- private$REST$http$exec("GET", url, headers, body,
4797                                                            queryArgs, private$numRetries)
4798                         resource <- private$REST$httpParser$parseJSONResponse(response)
4799                         
4800                         if(!is.null(resource$errors))
4801                                 stop(resource$errors)
4802                         
4803                         resource
4804                 },
4805
4806                 jobs.destroy = function(uuid)
4807                 {
4808                         endPoint <- stringr::str_interp("jobs/${uuid}")
4809                         url <- paste0(private$host, endPoint)
4810                         headers <- list(Authorization = paste("OAuth2", private$token), 
4811                                         "Content-Type" = "application/json")
4812                         queryArgs <- NULL
4813                         
4814                         body <- NULL
4815                         
4816                         response <- private$REST$http$exec("DELETE", url, headers, body,
4817                                                            queryArgs, private$numRetries)
4818                         resource <- private$REST$httpParser$parseJSONResponse(response)
4819                         
4820                         if(!is.null(resource$errors))
4821                                 stop(resource$errors)
4822                         
4823                         resource
4824                 },
4825
4826                 keep_disks.get = function(uuid)
4827                 {
4828                         endPoint <- stringr::str_interp("keep_disks/${uuid}")
4829                         url <- paste0(private$host, endPoint)
4830                         headers <- list(Authorization = paste("OAuth2", private$token), 
4831                                         "Content-Type" = "application/json")
4832                         queryArgs <- NULL
4833                         
4834                         body <- NULL
4835                         
4836                         response <- private$REST$http$exec("GET", url, headers, body,
4837                                                            queryArgs, private$numRetries)
4838                         resource <- private$REST$httpParser$parseJSONResponse(response)
4839                         
4840                         if(!is.null(resource$errors))
4841                                 stop(resource$errors)
4842                         
4843                         resource
4844                 },
4845
4846                 keep_disks.index = function(filters = NULL,
4847                         where = NULL, order = NULL, select = NULL,
4848                         distinct = NULL, limit = "100", offset = "0",
4849                         count = "exact")
4850                 {
4851                         endPoint <- stringr::str_interp("keep_disks")
4852                         url <- paste0(private$host, endPoint)
4853                         headers <- list(Authorization = paste("OAuth2", private$token), 
4854                                         "Content-Type" = "application/json")
4855                         queryArgs <- list(filters = filters, where = where,
4856                                                           order = order, select = select, distinct = distinct,
4857                                                           limit = limit, offset = offset, count = count)
4858                         
4859                         body <- NULL
4860                         
4861                         response <- private$REST$http$exec("GET", url, headers, body,
4862                                                            queryArgs, private$numRetries)
4863                         resource <- private$REST$httpParser$parseJSONResponse(response)
4864                         
4865                         if(!is.null(resource$errors))
4866                                 stop(resource$errors)
4867                         
4868                         resource
4869                 },
4870
4871                 keep_disks.create = function(keepdisk, ensure_unique_name = "false")
4872                 {
4873                         endPoint <- stringr::str_interp("keep_disks")
4874                         url <- paste0(private$host, endPoint)
4875                         headers <- list(Authorization = paste("OAuth2", private$token), 
4876                                         "Content-Type" = "application/json")
4877                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
4878                         
4879                         if(length(keepdisk) > 0)
4880                                 body <- jsonlite::toJSON(list(keepdisk = keepdisk), 
4881                                                          auto_unbox = TRUE)
4882                         else
4883                                 body <- NULL
4884                         
4885                         response <- private$REST$http$exec("POST", url, headers, body,
4886                                                            queryArgs, private$numRetries)
4887                         resource <- private$REST$httpParser$parseJSONResponse(response)
4888                         
4889                         if(!is.null(resource$errors))
4890                                 stop(resource$errors)
4891                         
4892                         resource
4893                 },
4894
4895                 keep_disks.update = function(keepdisk, uuid)
4896                 {
4897                         endPoint <- stringr::str_interp("keep_disks/${uuid}")
4898                         url <- paste0(private$host, endPoint)
4899                         headers <- list(Authorization = paste("OAuth2", private$token), 
4900                                         "Content-Type" = "application/json")
4901                         queryArgs <- NULL
4902                         
4903                         if(length(keepdisk) > 0)
4904                                 body <- jsonlite::toJSON(list(keepdisk = keepdisk), 
4905                                                          auto_unbox = TRUE)
4906                         else
4907                                 body <- NULL
4908                         
4909                         response <- private$REST$http$exec("PUT", url, headers, body,
4910                                                            queryArgs, private$numRetries)
4911                         resource <- private$REST$httpParser$parseJSONResponse(response)
4912                         
4913                         if(!is.null(resource$errors))
4914                                 stop(resource$errors)
4915                         
4916                         resource
4917                 },
4918
4919                 keep_disks.delete = function(uuid)
4920                 {
4921                         endPoint <- stringr::str_interp("keep_disks/${uuid}")
4922                         url <- paste0(private$host, endPoint)
4923                         headers <- list(Authorization = paste("OAuth2", private$token), 
4924                                         "Content-Type" = "application/json")
4925                         queryArgs <- NULL
4926                         
4927                         body <- NULL
4928                         
4929                         response <- private$REST$http$exec("DELETE", url, headers, body,
4930                                                            queryArgs, private$numRetries)
4931                         resource <- private$REST$httpParser$parseJSONResponse(response)
4932                         
4933                         if(!is.null(resource$errors))
4934                                 stop(resource$errors)
4935                         
4936                         resource
4937                 },
4938
4939                 keep_disks.ping = function(uuid = NULL, ping_secret,
4940                         node_uuid = NULL, filesystem_uuid = NULL,
4941                         service_host = NULL, service_port, service_ssl_flag)
4942                 {
4943                         endPoint <- stringr::str_interp("keep_disks/ping")
4944                         url <- paste0(private$host, endPoint)
4945                         headers <- list(Authorization = paste("OAuth2", private$token), 
4946                                         "Content-Type" = "application/json")
4947                         queryArgs <- list(uuid = uuid, ping_secret = ping_secret,
4948                                                           node_uuid = node_uuid, filesystem_uuid = filesystem_uuid,
4949                                                           service_host = service_host, service_port = service_port,
4950                                                           service_ssl_flag = service_ssl_flag)
4951                         
4952                         body <- NULL
4953                         
4954                         response <- private$REST$http$exec("POST", url, headers, body,
4955                                                            queryArgs, private$numRetries)
4956                         resource <- private$REST$httpParser$parseJSONResponse(response)
4957                         
4958                         if(!is.null(resource$errors))
4959                                 stop(resource$errors)
4960                         
4961                         resource
4962                 },
4963
4964                 keep_disks.list = function(filters = NULL,
4965                         where = NULL, order = NULL, select = NULL,
4966                         distinct = NULL, limit = "100", offset = "0",
4967                         count = "exact")
4968                 {
4969                         endPoint <- stringr::str_interp("keep_disks")
4970                         url <- paste0(private$host, endPoint)
4971                         headers <- list(Authorization = paste("OAuth2", private$token), 
4972                                         "Content-Type" = "application/json")
4973                         queryArgs <- list(filters = filters, where = where,
4974                                                           order = order, select = select, distinct = distinct,
4975                                                           limit = limit, offset = offset, count = count)
4976                         
4977                         body <- NULL
4978                         
4979                         response <- private$REST$http$exec("GET", url, headers, body,
4980                                                            queryArgs, private$numRetries)
4981                         resource <- private$REST$httpParser$parseJSONResponse(response)
4982                         
4983                         if(!is.null(resource$errors))
4984                                 stop(resource$errors)
4985                         
4986                         resource
4987                 },
4988
4989                 keep_disks.show = function(uuid)
4990                 {
4991                         endPoint <- stringr::str_interp("keep_disks/${uuid}")
4992                         url <- paste0(private$host, endPoint)
4993                         headers <- list(Authorization = paste("OAuth2", private$token), 
4994                                         "Content-Type" = "application/json")
4995                         queryArgs <- NULL
4996                         
4997                         body <- NULL
4998                         
4999                         response <- private$REST$http$exec("GET", url, headers, body,
5000                                                            queryArgs, private$numRetries)
5001                         resource <- private$REST$httpParser$parseJSONResponse(response)
5002                         
5003                         if(!is.null(resource$errors))
5004                                 stop(resource$errors)
5005                         
5006                         resource
5007                 },
5008
5009                 keep_disks.destroy = function(uuid)
5010                 {
5011                         endPoint <- stringr::str_interp("keep_disks/${uuid}")
5012                         url <- paste0(private$host, endPoint)
5013                         headers <- list(Authorization = paste("OAuth2", private$token), 
5014                                         "Content-Type" = "application/json")
5015                         queryArgs <- NULL
5016                         
5017                         body <- NULL
5018                         
5019                         response <- private$REST$http$exec("DELETE", url, headers, body,
5020                                                            queryArgs, private$numRetries)
5021                         resource <- private$REST$httpParser$parseJSONResponse(response)
5022                         
5023                         if(!is.null(resource$errors))
5024                                 stop(resource$errors)
5025                         
5026                         resource
5027                 },
5028
5029                 keep_services.get = function(uuid)
5030                 {
5031                         endPoint <- stringr::str_interp("keep_services/${uuid}")
5032                         url <- paste0(private$host, endPoint)
5033                         headers <- list(Authorization = paste("OAuth2", private$token), 
5034                                         "Content-Type" = "application/json")
5035                         queryArgs <- NULL
5036                         
5037                         body <- NULL
5038                         
5039                         response <- private$REST$http$exec("GET", url, headers, body,
5040                                                            queryArgs, private$numRetries)
5041                         resource <- private$REST$httpParser$parseJSONResponse(response)
5042                         
5043                         if(!is.null(resource$errors))
5044                                 stop(resource$errors)
5045                         
5046                         resource
5047                 },
5048
5049                 keep_services.index = function(filters = NULL,
5050                         where = NULL, order = NULL, select = NULL,
5051                         distinct = NULL, limit = "100", offset = "0",
5052                         count = "exact")
5053                 {
5054                         endPoint <- stringr::str_interp("keep_services")
5055                         url <- paste0(private$host, endPoint)
5056                         headers <- list(Authorization = paste("OAuth2", private$token), 
5057                                         "Content-Type" = "application/json")
5058                         queryArgs <- list(filters = filters, where = where,
5059                                                           order = order, select = select, distinct = distinct,
5060                                                           limit = limit, offset = offset, count = count)
5061                         
5062                         body <- NULL
5063                         
5064                         response <- private$REST$http$exec("GET", url, headers, body,
5065                                                            queryArgs, private$numRetries)
5066                         resource <- private$REST$httpParser$parseJSONResponse(response)
5067                         
5068                         if(!is.null(resource$errors))
5069                                 stop(resource$errors)
5070                         
5071                         resource
5072                 },
5073
5074                 keep_services.create = function(keepservice,
5075                         ensure_unique_name = "false")
5076                 {
5077                         endPoint <- stringr::str_interp("keep_services")
5078                         url <- paste0(private$host, endPoint)
5079                         headers <- list(Authorization = paste("OAuth2", private$token), 
5080                                         "Content-Type" = "application/json")
5081                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
5082                         
5083                         if(length(keepservice) > 0)
5084                                 body <- jsonlite::toJSON(list(keepservice = keepservice), 
5085                                                          auto_unbox = TRUE)
5086                         else
5087                                 body <- NULL
5088                         
5089                         response <- private$REST$http$exec("POST", url, headers, body,
5090                                                            queryArgs, private$numRetries)
5091                         resource <- private$REST$httpParser$parseJSONResponse(response)
5092                         
5093                         if(!is.null(resource$errors))
5094                                 stop(resource$errors)
5095                         
5096                         resource
5097                 },
5098
5099                 keep_services.update = function(keepservice, uuid)
5100                 {
5101                         endPoint <- stringr::str_interp("keep_services/${uuid}")
5102                         url <- paste0(private$host, endPoint)
5103                         headers <- list(Authorization = paste("OAuth2", private$token), 
5104                                         "Content-Type" = "application/json")
5105                         queryArgs <- NULL
5106                         
5107                         if(length(keepservice) > 0)
5108                                 body <- jsonlite::toJSON(list(keepservice = keepservice), 
5109                                                          auto_unbox = TRUE)
5110                         else
5111                                 body <- NULL
5112                         
5113                         response <- private$REST$http$exec("PUT", url, headers, body,
5114                                                            queryArgs, private$numRetries)
5115                         resource <- private$REST$httpParser$parseJSONResponse(response)
5116                         
5117                         if(!is.null(resource$errors))
5118                                 stop(resource$errors)
5119                         
5120                         resource
5121                 },
5122
5123                 keep_services.delete = function(uuid)
5124                 {
5125                         endPoint <- stringr::str_interp("keep_services/${uuid}")
5126                         url <- paste0(private$host, endPoint)
5127                         headers <- list(Authorization = paste("OAuth2", private$token), 
5128                                         "Content-Type" = "application/json")
5129                         queryArgs <- NULL
5130                         
5131                         body <- NULL
5132                         
5133                         response <- private$REST$http$exec("DELETE", url, headers, body,
5134                                                            queryArgs, private$numRetries)
5135                         resource <- private$REST$httpParser$parseJSONResponse(response)
5136                         
5137                         if(!is.null(resource$errors))
5138                                 stop(resource$errors)
5139                         
5140                         resource
5141                 },
5142
5143                 keep_services.accessible = function()
5144                 {
5145                         endPoint <- stringr::str_interp("keep_services/accessible")
5146                         url <- paste0(private$host, endPoint)
5147                         headers <- list(Authorization = paste("OAuth2", private$token), 
5148                                         "Content-Type" = "application/json")
5149                         queryArgs <- NULL
5150                         
5151                         body <- NULL
5152                         
5153                         response <- private$REST$http$exec("GET", url, headers, body,
5154                                                            queryArgs, private$numRetries)
5155                         resource <- private$REST$httpParser$parseJSONResponse(response)
5156                         
5157                         if(!is.null(resource$errors))
5158                                 stop(resource$errors)
5159                         
5160                         resource
5161                 },
5162
5163                 keep_services.list = function(filters = NULL,
5164                         where = NULL, order = NULL, select = NULL,
5165                         distinct = NULL, limit = "100", offset = "0",
5166                         count = "exact")
5167                 {
5168                         endPoint <- stringr::str_interp("keep_services")
5169                         url <- paste0(private$host, endPoint)
5170                         headers <- list(Authorization = paste("OAuth2", private$token), 
5171                                         "Content-Type" = "application/json")
5172                         queryArgs <- list(filters = filters, where = where,
5173                                                           order = order, select = select, distinct = distinct,
5174                                                           limit = limit, offset = offset, count = count)
5175                         
5176                         body <- NULL
5177                         
5178                         response <- private$REST$http$exec("GET", url, headers, body,
5179                                                            queryArgs, private$numRetries)
5180                         resource <- private$REST$httpParser$parseJSONResponse(response)
5181                         
5182                         if(!is.null(resource$errors))
5183                                 stop(resource$errors)
5184                         
5185                         resource
5186                 },
5187
5188                 keep_services.show = function(uuid)
5189                 {
5190                         endPoint <- stringr::str_interp("keep_services/${uuid}")
5191                         url <- paste0(private$host, endPoint)
5192                         headers <- list(Authorization = paste("OAuth2", private$token), 
5193                                         "Content-Type" = "application/json")
5194                         queryArgs <- NULL
5195                         
5196                         body <- NULL
5197                         
5198                         response <- private$REST$http$exec("GET", url, headers, body,
5199                                                            queryArgs, private$numRetries)
5200                         resource <- private$REST$httpParser$parseJSONResponse(response)
5201                         
5202                         if(!is.null(resource$errors))
5203                                 stop(resource$errors)
5204                         
5205                         resource
5206                 },
5207
5208                 keep_services.destroy = function(uuid)
5209                 {
5210                         endPoint <- stringr::str_interp("keep_services/${uuid}")
5211                         url <- paste0(private$host, endPoint)
5212                         headers <- list(Authorization = paste("OAuth2", private$token), 
5213                                         "Content-Type" = "application/json")
5214                         queryArgs <- NULL
5215                         
5216                         body <- NULL
5217                         
5218                         response <- private$REST$http$exec("DELETE", url, headers, body,
5219                                                            queryArgs, private$numRetries)
5220                         resource <- private$REST$httpParser$parseJSONResponse(response)
5221                         
5222                         if(!is.null(resource$errors))
5223                                 stop(resource$errors)
5224                         
5225                         resource
5226                 },
5227
5228                 pipeline_templates.get = function(uuid)
5229                 {
5230                         endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
5231                         url <- paste0(private$host, endPoint)
5232                         headers <- list(Authorization = paste("OAuth2", private$token), 
5233                                         "Content-Type" = "application/json")
5234                         queryArgs <- NULL
5235                         
5236                         body <- NULL
5237                         
5238                         response <- private$REST$http$exec("GET", url, headers, body,
5239                                                            queryArgs, private$numRetries)
5240                         resource <- private$REST$httpParser$parseJSONResponse(response)
5241                         
5242                         if(!is.null(resource$errors))
5243                                 stop(resource$errors)
5244                         
5245                         resource
5246                 },
5247
5248                 pipeline_templates.index = function(filters = NULL,
5249                         where = NULL, order = NULL, select = NULL,
5250                         distinct = NULL, limit = "100", offset = "0",
5251                         count = "exact")
5252                 {
5253                         endPoint <- stringr::str_interp("pipeline_templates")
5254                         url <- paste0(private$host, endPoint)
5255                         headers <- list(Authorization = paste("OAuth2", private$token), 
5256                                         "Content-Type" = "application/json")
5257                         queryArgs <- list(filters = filters, where = where,
5258                                                           order = order, select = select, distinct = distinct,
5259                                                           limit = limit, offset = offset, count = count)
5260                         
5261                         body <- NULL
5262                         
5263                         response <- private$REST$http$exec("GET", url, headers, body,
5264                                                            queryArgs, private$numRetries)
5265                         resource <- private$REST$httpParser$parseJSONResponse(response)
5266                         
5267                         if(!is.null(resource$errors))
5268                                 stop(resource$errors)
5269                         
5270                         resource
5271                 },
5272
5273                 pipeline_templates.create = function(pipelinetemplate,
5274                         ensure_unique_name = "false")
5275                 {
5276                         endPoint <- stringr::str_interp("pipeline_templates")
5277                         url <- paste0(private$host, endPoint)
5278                         headers <- list(Authorization = paste("OAuth2", private$token), 
5279                                         "Content-Type" = "application/json")
5280                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
5281                         
5282                         if(length(pipelinetemplate) > 0)
5283                                 body <- jsonlite::toJSON(list(pipelinetemplate = pipelinetemplate), 
5284                                                          auto_unbox = TRUE)
5285                         else
5286                                 body <- NULL
5287                         
5288                         response <- private$REST$http$exec("POST", url, headers, body,
5289                                                            queryArgs, private$numRetries)
5290                         resource <- private$REST$httpParser$parseJSONResponse(response)
5291                         
5292                         if(!is.null(resource$errors))
5293                                 stop(resource$errors)
5294                         
5295                         resource
5296                 },
5297
5298                 pipeline_templates.update = function(pipelinetemplate, uuid)
5299                 {
5300                         endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
5301                         url <- paste0(private$host, endPoint)
5302                         headers <- list(Authorization = paste("OAuth2", private$token), 
5303                                         "Content-Type" = "application/json")
5304                         queryArgs <- NULL
5305                         
5306                         if(length(pipelinetemplate) > 0)
5307                                 body <- jsonlite::toJSON(list(pipelinetemplate = pipelinetemplate), 
5308                                                          auto_unbox = TRUE)
5309                         else
5310                                 body <- NULL
5311                         
5312                         response <- private$REST$http$exec("PUT", url, headers, body,
5313                                                            queryArgs, private$numRetries)
5314                         resource <- private$REST$httpParser$parseJSONResponse(response)
5315                         
5316                         if(!is.null(resource$errors))
5317                                 stop(resource$errors)
5318                         
5319                         resource
5320                 },
5321
5322                 pipeline_templates.delete = function(uuid)
5323                 {
5324                         endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
5325                         url <- paste0(private$host, endPoint)
5326                         headers <- list(Authorization = paste("OAuth2", private$token), 
5327                                         "Content-Type" = "application/json")
5328                         queryArgs <- NULL
5329                         
5330                         body <- NULL
5331                         
5332                         response <- private$REST$http$exec("DELETE", url, headers, body,
5333                                                            queryArgs, private$numRetries)
5334                         resource <- private$REST$httpParser$parseJSONResponse(response)
5335                         
5336                         if(!is.null(resource$errors))
5337                                 stop(resource$errors)
5338                         
5339                         resource
5340                 },
5341
5342                 pipeline_templates.list = function(filters = NULL,
5343                         where = NULL, order = NULL, select = NULL,
5344                         distinct = NULL, limit = "100", offset = "0",
5345                         count = "exact")
5346                 {
5347                         endPoint <- stringr::str_interp("pipeline_templates")
5348                         url <- paste0(private$host, endPoint)
5349                         headers <- list(Authorization = paste("OAuth2", private$token), 
5350                                         "Content-Type" = "application/json")
5351                         queryArgs <- list(filters = filters, where = where,
5352                                                           order = order, select = select, distinct = distinct,
5353                                                           limit = limit, offset = offset, count = count)
5354                         
5355                         body <- NULL
5356                         
5357                         response <- private$REST$http$exec("GET", url, headers, body,
5358                                                            queryArgs, private$numRetries)
5359                         resource <- private$REST$httpParser$parseJSONResponse(response)
5360                         
5361                         if(!is.null(resource$errors))
5362                                 stop(resource$errors)
5363                         
5364                         resource
5365                 },
5366
5367                 pipeline_templates.show = function(uuid)
5368                 {
5369                         endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
5370                         url <- paste0(private$host, endPoint)
5371                         headers <- list(Authorization = paste("OAuth2", private$token), 
5372                                         "Content-Type" = "application/json")
5373                         queryArgs <- NULL
5374                         
5375                         body <- NULL
5376                         
5377                         response <- private$REST$http$exec("GET", url, headers, body,
5378                                                            queryArgs, private$numRetries)
5379                         resource <- private$REST$httpParser$parseJSONResponse(response)
5380                         
5381                         if(!is.null(resource$errors))
5382                                 stop(resource$errors)
5383                         
5384                         resource
5385                 },
5386
5387                 pipeline_templates.destroy = function(uuid)
5388                 {
5389                         endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
5390                         url <- paste0(private$host, endPoint)
5391                         headers <- list(Authorization = paste("OAuth2", private$token), 
5392                                         "Content-Type" = "application/json")
5393                         queryArgs <- NULL
5394                         
5395                         body <- NULL
5396                         
5397                         response <- private$REST$http$exec("DELETE", url, headers, body,
5398                                                            queryArgs, private$numRetries)
5399                         resource <- private$REST$httpParser$parseJSONResponse(response)
5400                         
5401                         if(!is.null(resource$errors))
5402                                 stop(resource$errors)
5403                         
5404                         resource
5405                 },
5406
5407                 pipeline_instances.get = function(uuid)
5408                 {
5409                         endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
5410                         url <- paste0(private$host, endPoint)
5411                         headers <- list(Authorization = paste("OAuth2", private$token), 
5412                                         "Content-Type" = "application/json")
5413                         queryArgs <- NULL
5414                         
5415                         body <- NULL
5416                         
5417                         response <- private$REST$http$exec("GET", url, headers, body,
5418                                                            queryArgs, private$numRetries)
5419                         resource <- private$REST$httpParser$parseJSONResponse(response)
5420                         
5421                         if(!is.null(resource$errors))
5422                                 stop(resource$errors)
5423                         
5424                         resource
5425                 },
5426
5427                 pipeline_instances.index = function(filters = NULL,
5428                         where = NULL, order = NULL, select = NULL,
5429                         distinct = NULL, limit = "100", offset = "0",
5430                         count = "exact")
5431                 {
5432                         endPoint <- stringr::str_interp("pipeline_instances")
5433                         url <- paste0(private$host, endPoint)
5434                         headers <- list(Authorization = paste("OAuth2", private$token), 
5435                                         "Content-Type" = "application/json")
5436                         queryArgs <- list(filters = filters, where = where,
5437                                                           order = order, select = select, distinct = distinct,
5438                                                           limit = limit, offset = offset, count = count)
5439                         
5440                         body <- NULL
5441                         
5442                         response <- private$REST$http$exec("GET", url, headers, body,
5443                                                            queryArgs, private$numRetries)
5444                         resource <- private$REST$httpParser$parseJSONResponse(response)
5445                         
5446                         if(!is.null(resource$errors))
5447                                 stop(resource$errors)
5448                         
5449                         resource
5450                 },
5451
5452                 pipeline_instances.create = function(pipelineinstance,
5453                         ensure_unique_name = "false")
5454                 {
5455                         endPoint <- stringr::str_interp("pipeline_instances")
5456                         url <- paste0(private$host, endPoint)
5457                         headers <- list(Authorization = paste("OAuth2", private$token), 
5458                                         "Content-Type" = "application/json")
5459                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
5460                         
5461                         if(length(pipelineinstance) > 0)
5462                                 body <- jsonlite::toJSON(list(pipelineinstance = pipelineinstance), 
5463                                                          auto_unbox = TRUE)
5464                         else
5465                                 body <- NULL
5466                         
5467                         response <- private$REST$http$exec("POST", url, headers, body,
5468                                                            queryArgs, private$numRetries)
5469                         resource <- private$REST$httpParser$parseJSONResponse(response)
5470                         
5471                         if(!is.null(resource$errors))
5472                                 stop(resource$errors)
5473                         
5474                         resource
5475                 },
5476
5477                 pipeline_instances.update = function(pipelineinstance, uuid)
5478                 {
5479                         endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
5480                         url <- paste0(private$host, endPoint)
5481                         headers <- list(Authorization = paste("OAuth2", private$token), 
5482                                         "Content-Type" = "application/json")
5483                         queryArgs <- NULL
5484                         
5485                         if(length(pipelineinstance) > 0)
5486                                 body <- jsonlite::toJSON(list(pipelineinstance = pipelineinstance), 
5487                                                          auto_unbox = TRUE)
5488                         else
5489                                 body <- NULL
5490                         
5491                         response <- private$REST$http$exec("PUT", url, headers, body,
5492                                                            queryArgs, private$numRetries)
5493                         resource <- private$REST$httpParser$parseJSONResponse(response)
5494                         
5495                         if(!is.null(resource$errors))
5496                                 stop(resource$errors)
5497                         
5498                         resource
5499                 },
5500
5501                 pipeline_instances.delete = function(uuid)
5502                 {
5503                         endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
5504                         url <- paste0(private$host, endPoint)
5505                         headers <- list(Authorization = paste("OAuth2", private$token), 
5506                                         "Content-Type" = "application/json")
5507                         queryArgs <- NULL
5508                         
5509                         body <- NULL
5510                         
5511                         response <- private$REST$http$exec("DELETE", url, headers, body,
5512                                                            queryArgs, private$numRetries)
5513                         resource <- private$REST$httpParser$parseJSONResponse(response)
5514                         
5515                         if(!is.null(resource$errors))
5516                                 stop(resource$errors)
5517                         
5518                         resource
5519                 },
5520
5521                 pipeline_instances.cancel = function(uuid)
5522                 {
5523                         endPoint <- stringr::str_interp("pipeline_instances/${uuid}/cancel")
5524                         url <- paste0(private$host, endPoint)
5525                         headers <- list(Authorization = paste("OAuth2", private$token), 
5526                                         "Content-Type" = "application/json")
5527                         queryArgs <- NULL
5528                         
5529                         body <- NULL
5530                         
5531                         response <- private$REST$http$exec("POST", url, headers, body,
5532                                                            queryArgs, private$numRetries)
5533                         resource <- private$REST$httpParser$parseJSONResponse(response)
5534                         
5535                         if(!is.null(resource$errors))
5536                                 stop(resource$errors)
5537                         
5538                         resource
5539                 },
5540
5541                 pipeline_instances.list = function(filters = NULL,
5542                         where = NULL, order = NULL, select = NULL,
5543                         distinct = NULL, limit = "100", offset = "0",
5544                         count = "exact")
5545                 {
5546                         endPoint <- stringr::str_interp("pipeline_instances")
5547                         url <- paste0(private$host, endPoint)
5548                         headers <- list(Authorization = paste("OAuth2", private$token), 
5549                                         "Content-Type" = "application/json")
5550                         queryArgs <- list(filters = filters, where = where,
5551                                                           order = order, select = select, distinct = distinct,
5552                                                           limit = limit, offset = offset, count = count)
5553                         
5554                         body <- NULL
5555                         
5556                         response <- private$REST$http$exec("GET", url, headers, body,
5557                                                            queryArgs, private$numRetries)
5558                         resource <- private$REST$httpParser$parseJSONResponse(response)
5559                         
5560                         if(!is.null(resource$errors))
5561                                 stop(resource$errors)
5562                         
5563                         resource
5564                 },
5565
5566                 pipeline_instances.show = function(uuid)
5567                 {
5568                         endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
5569                         url <- paste0(private$host, endPoint)
5570                         headers <- list(Authorization = paste("OAuth2", private$token), 
5571                                         "Content-Type" = "application/json")
5572                         queryArgs <- NULL
5573                         
5574                         body <- NULL
5575                         
5576                         response <- private$REST$http$exec("GET", url, headers, body,
5577                                                            queryArgs, private$numRetries)
5578                         resource <- private$REST$httpParser$parseJSONResponse(response)
5579                         
5580                         if(!is.null(resource$errors))
5581                                 stop(resource$errors)
5582                         
5583                         resource
5584                 },
5585
5586                 pipeline_instances.destroy = function(uuid)
5587                 {
5588                         endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
5589                         url <- paste0(private$host, endPoint)
5590                         headers <- list(Authorization = paste("OAuth2", private$token), 
5591                                         "Content-Type" = "application/json")
5592                         queryArgs <- NULL
5593                         
5594                         body <- NULL
5595                         
5596                         response <- private$REST$http$exec("DELETE", url, headers, body,
5597                                                            queryArgs, private$numRetries)
5598                         resource <- private$REST$httpParser$parseJSONResponse(response)
5599                         
5600                         if(!is.null(resource$errors))
5601                                 stop(resource$errors)
5602                         
5603                         resource
5604                 },
5605
5606                 nodes.get = function(uuid)
5607                 {
5608                         endPoint <- stringr::str_interp("nodes/${uuid}")
5609                         url <- paste0(private$host, endPoint)
5610                         headers <- list(Authorization = paste("OAuth2", private$token), 
5611                                         "Content-Type" = "application/json")
5612                         queryArgs <- NULL
5613                         
5614                         body <- NULL
5615                         
5616                         response <- private$REST$http$exec("GET", url, headers, body,
5617                                                            queryArgs, private$numRetries)
5618                         resource <- private$REST$httpParser$parseJSONResponse(response)
5619                         
5620                         if(!is.null(resource$errors))
5621                                 stop(resource$errors)
5622                         
5623                         resource
5624                 },
5625
5626                 nodes.index = function(filters = NULL, where = NULL,
5627                         order = NULL, select = NULL, distinct = NULL,
5628                         limit = "100", offset = "0", count = "exact")
5629                 {
5630                         endPoint <- stringr::str_interp("nodes")
5631                         url <- paste0(private$host, endPoint)
5632                         headers <- list(Authorization = paste("OAuth2", private$token), 
5633                                         "Content-Type" = "application/json")
5634                         queryArgs <- list(filters = filters, where = where,
5635                                                           order = order, select = select, distinct = distinct,
5636                                                           limit = limit, offset = offset, count = count)
5637                         
5638                         body <- NULL
5639                         
5640                         response <- private$REST$http$exec("GET", url, headers, body,
5641                                                            queryArgs, private$numRetries)
5642                         resource <- private$REST$httpParser$parseJSONResponse(response)
5643                         
5644                         if(!is.null(resource$errors))
5645                                 stop(resource$errors)
5646                         
5647                         resource
5648                 },
5649
5650                 nodes.create = function(node, ensure_unique_name = "false",
5651                         assign_slot = NULL)
5652                 {
5653                         endPoint <- stringr::str_interp("nodes")
5654                         url <- paste0(private$host, endPoint)
5655                         headers <- list(Authorization = paste("OAuth2", private$token), 
5656                                         "Content-Type" = "application/json")
5657                         queryArgs <- list(ensure_unique_name = ensure_unique_name,
5658                                                           assign_slot = assign_slot)
5659                         
5660                         if(length(node) > 0)
5661                                 body <- jsonlite::toJSON(list(node = node), 
5662                                                          auto_unbox = TRUE)
5663                         else
5664                                 body <- NULL
5665                         
5666                         response <- private$REST$http$exec("POST", url, headers, body,
5667                                                            queryArgs, private$numRetries)
5668                         resource <- private$REST$httpParser$parseJSONResponse(response)
5669                         
5670                         if(!is.null(resource$errors))
5671                                 stop(resource$errors)
5672                         
5673                         resource
5674                 },
5675
5676                 nodes.update = function(node, uuid, assign_slot = NULL)
5677                 {
5678                         endPoint <- stringr::str_interp("nodes/${uuid}")
5679                         url <- paste0(private$host, endPoint)
5680                         headers <- list(Authorization = paste("OAuth2", private$token), 
5681                                         "Content-Type" = "application/json")
5682                         queryArgs <- list(assign_slot = assign_slot)
5683                         
5684                         if(length(node) > 0)
5685                                 body <- jsonlite::toJSON(list(node = node), 
5686                                                          auto_unbox = TRUE)
5687                         else
5688                                 body <- NULL
5689                         
5690                         response <- private$REST$http$exec("PUT", url, headers, body,
5691                                                            queryArgs, private$numRetries)
5692                         resource <- private$REST$httpParser$parseJSONResponse(response)
5693                         
5694                         if(!is.null(resource$errors))
5695                                 stop(resource$errors)
5696                         
5697                         resource
5698                 },
5699
5700                 nodes.delete = function(uuid)
5701                 {
5702                         endPoint <- stringr::str_interp("nodes/${uuid}")
5703                         url <- paste0(private$host, endPoint)
5704                         headers <- list(Authorization = paste("OAuth2", private$token), 
5705                                         "Content-Type" = "application/json")
5706                         queryArgs <- NULL
5707                         
5708                         body <- NULL
5709                         
5710                         response <- private$REST$http$exec("DELETE", url, headers, body,
5711                                                            queryArgs, private$numRetries)
5712                         resource <- private$REST$httpParser$parseJSONResponse(response)
5713                         
5714                         if(!is.null(resource$errors))
5715                                 stop(resource$errors)
5716                         
5717                         resource
5718                 },
5719
5720                 nodes.ping = function(uuid, ping_secret)
5721                 {
5722                         endPoint <- stringr::str_interp("nodes/${uuid}/ping")
5723                         url <- paste0(private$host, endPoint)
5724                         headers <- list(Authorization = paste("OAuth2", private$token), 
5725                                         "Content-Type" = "application/json")
5726                         queryArgs <- list(ping_secret = ping_secret)
5727                         
5728                         body <- NULL
5729                         
5730                         response <- private$REST$http$exec("POST", url, headers, body,
5731                                                            queryArgs, private$numRetries)
5732                         resource <- private$REST$httpParser$parseJSONResponse(response)
5733                         
5734                         if(!is.null(resource$errors))
5735                                 stop(resource$errors)
5736                         
5737                         resource
5738                 },
5739
5740                 nodes.list = function(filters = NULL, where = NULL,
5741                         order = NULL, select = NULL, distinct = NULL,
5742                         limit = "100", offset = "0", count = "exact")
5743                 {
5744                         endPoint <- stringr::str_interp("nodes")
5745                         url <- paste0(private$host, endPoint)
5746                         headers <- list(Authorization = paste("OAuth2", private$token), 
5747                                         "Content-Type" = "application/json")
5748                         queryArgs <- list(filters = filters, where = where,
5749                                                           order = order, select = select, distinct = distinct,
5750                                                           limit = limit, offset = offset, count = count)
5751                         
5752                         body <- NULL
5753                         
5754                         response <- private$REST$http$exec("GET", url, headers, body,
5755                                                            queryArgs, private$numRetries)
5756                         resource <- private$REST$httpParser$parseJSONResponse(response)
5757                         
5758                         if(!is.null(resource$errors))
5759                                 stop(resource$errors)
5760                         
5761                         resource
5762                 },
5763
5764                 nodes.show = function(uuid)
5765                 {
5766                         endPoint <- stringr::str_interp("nodes/${uuid}")
5767                         url <- paste0(private$host, endPoint)
5768                         headers <- list(Authorization = paste("OAuth2", private$token), 
5769                                         "Content-Type" = "application/json")
5770                         queryArgs <- NULL
5771                         
5772                         body <- NULL
5773                         
5774                         response <- private$REST$http$exec("GET", url, headers, body,
5775                                                            queryArgs, private$numRetries)
5776                         resource <- private$REST$httpParser$parseJSONResponse(response)
5777                         
5778                         if(!is.null(resource$errors))
5779                                 stop(resource$errors)
5780                         
5781                         resource
5782                 },
5783
5784                 nodes.destroy = function(uuid)
5785                 {
5786                         endPoint <- stringr::str_interp("nodes/${uuid}")
5787                         url <- paste0(private$host, endPoint)
5788                         headers <- list(Authorization = paste("OAuth2", private$token), 
5789                                         "Content-Type" = "application/json")
5790                         queryArgs <- NULL
5791                         
5792                         body <- NULL
5793                         
5794                         response <- private$REST$http$exec("DELETE", url, headers, body,
5795                                                            queryArgs, private$numRetries)
5796                         resource <- private$REST$httpParser$parseJSONResponse(response)
5797                         
5798                         if(!is.null(resource$errors))
5799                                 stop(resource$errors)
5800                         
5801                         resource
5802                 },
5803
5804                 repositories.get = function(uuid)
5805                 {
5806                         endPoint <- stringr::str_interp("repositories/${uuid}")
5807                         url <- paste0(private$host, endPoint)
5808                         headers <- list(Authorization = paste("OAuth2", private$token), 
5809                                         "Content-Type" = "application/json")
5810                         queryArgs <- NULL
5811                         
5812                         body <- NULL
5813                         
5814                         response <- private$REST$http$exec("GET", url, headers, body,
5815                                                            queryArgs, private$numRetries)
5816                         resource <- private$REST$httpParser$parseJSONResponse(response)
5817                         
5818                         if(!is.null(resource$errors))
5819                                 stop(resource$errors)
5820                         
5821                         resource
5822                 },
5823
5824                 repositories.index = function(filters = NULL,
5825                         where = NULL, order = NULL, select = NULL,
5826                         distinct = NULL, limit = "100", offset = "0",
5827                         count = "exact")
5828                 {
5829                         endPoint <- stringr::str_interp("repositories")
5830                         url <- paste0(private$host, endPoint)
5831                         headers <- list(Authorization = paste("OAuth2", private$token), 
5832                                         "Content-Type" = "application/json")
5833                         queryArgs <- list(filters = filters, where = where,
5834                                                           order = order, select = select, distinct = distinct,
5835                                                           limit = limit, offset = offset, count = count)
5836                         
5837                         body <- NULL
5838                         
5839                         response <- private$REST$http$exec("GET", url, headers, body,
5840                                                            queryArgs, private$numRetries)
5841                         resource <- private$REST$httpParser$parseJSONResponse(response)
5842                         
5843                         if(!is.null(resource$errors))
5844                                 stop(resource$errors)
5845                         
5846                         resource
5847                 },
5848
5849                 repositories.create = function(repository, ensure_unique_name = "false")
5850                 {
5851                         endPoint <- stringr::str_interp("repositories")
5852                         url <- paste0(private$host, endPoint)
5853                         headers <- list(Authorization = paste("OAuth2", private$token), 
5854                                         "Content-Type" = "application/json")
5855                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
5856                         
5857                         if(length(repository) > 0)
5858                                 body <- jsonlite::toJSON(list(repository = repository), 
5859                                                          auto_unbox = TRUE)
5860                         else
5861                                 body <- NULL
5862                         
5863                         response <- private$REST$http$exec("POST", url, headers, body,
5864                                                            queryArgs, private$numRetries)
5865                         resource <- private$REST$httpParser$parseJSONResponse(response)
5866                         
5867                         if(!is.null(resource$errors))
5868                                 stop(resource$errors)
5869                         
5870                         resource
5871                 },
5872
5873                 repositories.update = function(repository, uuid)
5874                 {
5875                         endPoint <- stringr::str_interp("repositories/${uuid}")
5876                         url <- paste0(private$host, endPoint)
5877                         headers <- list(Authorization = paste("OAuth2", private$token), 
5878                                         "Content-Type" = "application/json")
5879                         queryArgs <- NULL
5880                         
5881                         if(length(repository) > 0)
5882                                 body <- jsonlite::toJSON(list(repository = repository), 
5883                                                          auto_unbox = TRUE)
5884                         else
5885                                 body <- NULL
5886                         
5887                         response <- private$REST$http$exec("PUT", url, headers, body,
5888                                                            queryArgs, private$numRetries)
5889                         resource <- private$REST$httpParser$parseJSONResponse(response)
5890                         
5891                         if(!is.null(resource$errors))
5892                                 stop(resource$errors)
5893                         
5894                         resource
5895                 },
5896
5897                 repositories.delete = function(uuid)
5898                 {
5899                         endPoint <- stringr::str_interp("repositories/${uuid}")
5900                         url <- paste0(private$host, endPoint)
5901                         headers <- list(Authorization = paste("OAuth2", private$token), 
5902                                         "Content-Type" = "application/json")
5903                         queryArgs <- NULL
5904                         
5905                         body <- NULL
5906                         
5907                         response <- private$REST$http$exec("DELETE", url, headers, body,
5908                                                            queryArgs, private$numRetries)
5909                         resource <- private$REST$httpParser$parseJSONResponse(response)
5910                         
5911                         if(!is.null(resource$errors))
5912                                 stop(resource$errors)
5913                         
5914                         resource
5915                 },
5916
5917                 repositories.get_all_permissions = function()
5918                 {
5919                         endPoint <- stringr::str_interp("repositories/get_all_permissions")
5920                         url <- paste0(private$host, endPoint)
5921                         headers <- list(Authorization = paste("OAuth2", private$token), 
5922                                         "Content-Type" = "application/json")
5923                         queryArgs <- NULL
5924                         
5925                         body <- NULL
5926                         
5927                         response <- private$REST$http$exec("GET", url, headers, body,
5928                                                            queryArgs, private$numRetries)
5929                         resource <- private$REST$httpParser$parseJSONResponse(response)
5930                         
5931                         if(!is.null(resource$errors))
5932                                 stop(resource$errors)
5933                         
5934                         resource
5935                 },
5936
5937                 repositories.list = function(filters = NULL,
5938                         where = NULL, order = NULL, select = NULL,
5939                         distinct = NULL, limit = "100", offset = "0",
5940                         count = "exact")
5941                 {
5942                         endPoint <- stringr::str_interp("repositories")
5943                         url <- paste0(private$host, endPoint)
5944                         headers <- list(Authorization = paste("OAuth2", private$token), 
5945                                         "Content-Type" = "application/json")
5946                         queryArgs <- list(filters = filters, where = where,
5947                                                           order = order, select = select, distinct = distinct,
5948                                                           limit = limit, offset = offset, count = count)
5949                         
5950                         body <- NULL
5951                         
5952                         response <- private$REST$http$exec("GET", url, headers, body,
5953                                                            queryArgs, private$numRetries)
5954                         resource <- private$REST$httpParser$parseJSONResponse(response)
5955                         
5956                         if(!is.null(resource$errors))
5957                                 stop(resource$errors)
5958                         
5959                         resource
5960                 },
5961
5962                 repositories.show = function(uuid)
5963                 {
5964                         endPoint <- stringr::str_interp("repositories/${uuid}")
5965                         url <- paste0(private$host, endPoint)
5966                         headers <- list(Authorization = paste("OAuth2", private$token), 
5967                                         "Content-Type" = "application/json")
5968                         queryArgs <- NULL
5969                         
5970                         body <- NULL
5971                         
5972                         response <- private$REST$http$exec("GET", url, headers, body,
5973                                                            queryArgs, private$numRetries)
5974                         resource <- private$REST$httpParser$parseJSONResponse(response)
5975                         
5976                         if(!is.null(resource$errors))
5977                                 stop(resource$errors)
5978                         
5979                         resource
5980                 },
5981
5982                 repositories.destroy = function(uuid)
5983                 {
5984                         endPoint <- stringr::str_interp("repositories/${uuid}")
5985                         url <- paste0(private$host, endPoint)
5986                         headers <- list(Authorization = paste("OAuth2", private$token), 
5987                                         "Content-Type" = "application/json")
5988                         queryArgs <- NULL
5989                         
5990                         body <- NULL
5991                         
5992                         response <- private$REST$http$exec("DELETE", url, headers, body,
5993                                                            queryArgs, private$numRetries)
5994                         resource <- private$REST$httpParser$parseJSONResponse(response)
5995                         
5996                         if(!is.null(resource$errors))
5997                                 stop(resource$errors)
5998                         
5999                         resource
6000                 },
6001
6002                 specimens.get = function(uuid)
6003                 {
6004                         endPoint <- stringr::str_interp("specimens/${uuid}")
6005                         url <- paste0(private$host, endPoint)
6006                         headers <- list(Authorization = paste("OAuth2", private$token), 
6007                                         "Content-Type" = "application/json")
6008                         queryArgs <- NULL
6009                         
6010                         body <- NULL
6011                         
6012                         response <- private$REST$http$exec("GET", url, headers, body,
6013                                                            queryArgs, private$numRetries)
6014                         resource <- private$REST$httpParser$parseJSONResponse(response)
6015                         
6016                         if(!is.null(resource$errors))
6017                                 stop(resource$errors)
6018                         
6019                         resource
6020                 },
6021
6022                 specimens.index = function(filters = NULL,
6023                         where = NULL, order = NULL, select = NULL,
6024                         distinct = NULL, limit = "100", offset = "0",
6025                         count = "exact")
6026                 {
6027                         endPoint <- stringr::str_interp("specimens")
6028                         url <- paste0(private$host, endPoint)
6029                         headers <- list(Authorization = paste("OAuth2", private$token), 
6030                                         "Content-Type" = "application/json")
6031                         queryArgs <- list(filters = filters, where = where,
6032                                                           order = order, select = select, distinct = distinct,
6033                                                           limit = limit, offset = offset, count = count)
6034                         
6035                         body <- NULL
6036                         
6037                         response <- private$REST$http$exec("GET", url, headers, body,
6038                                                            queryArgs, private$numRetries)
6039                         resource <- private$REST$httpParser$parseJSONResponse(response)
6040                         
6041                         if(!is.null(resource$errors))
6042                                 stop(resource$errors)
6043                         
6044                         resource
6045                 },
6046
6047                 specimens.create = function(specimen, ensure_unique_name = "false")
6048                 {
6049                         endPoint <- stringr::str_interp("specimens")
6050                         url <- paste0(private$host, endPoint)
6051                         headers <- list(Authorization = paste("OAuth2", private$token), 
6052                                         "Content-Type" = "application/json")
6053                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
6054                         
6055                         if(length(specimen) > 0)
6056                                 body <- jsonlite::toJSON(list(specimen = specimen), 
6057                                                          auto_unbox = TRUE)
6058                         else
6059                                 body <- NULL
6060                         
6061                         response <- private$REST$http$exec("POST", url, headers, body,
6062                                                            queryArgs, private$numRetries)
6063                         resource <- private$REST$httpParser$parseJSONResponse(response)
6064                         
6065                         if(!is.null(resource$errors))
6066                                 stop(resource$errors)
6067                         
6068                         resource
6069                 },
6070
6071                 specimens.update = function(specimen, uuid)
6072                 {
6073                         endPoint <- stringr::str_interp("specimens/${uuid}")
6074                         url <- paste0(private$host, endPoint)
6075                         headers <- list(Authorization = paste("OAuth2", private$token), 
6076                                         "Content-Type" = "application/json")
6077                         queryArgs <- NULL
6078                         
6079                         if(length(specimen) > 0)
6080                                 body <- jsonlite::toJSON(list(specimen = specimen), 
6081                                                          auto_unbox = TRUE)
6082                         else
6083                                 body <- NULL
6084                         
6085                         response <- private$REST$http$exec("PUT", url, headers, body,
6086                                                            queryArgs, private$numRetries)
6087                         resource <- private$REST$httpParser$parseJSONResponse(response)
6088                         
6089                         if(!is.null(resource$errors))
6090                                 stop(resource$errors)
6091                         
6092                         resource
6093                 },
6094
6095                 specimens.delete = function(uuid)
6096                 {
6097                         endPoint <- stringr::str_interp("specimens/${uuid}")
6098                         url <- paste0(private$host, endPoint)
6099                         headers <- list(Authorization = paste("OAuth2", private$token), 
6100                                         "Content-Type" = "application/json")
6101                         queryArgs <- NULL
6102                         
6103                         body <- NULL
6104                         
6105                         response <- private$REST$http$exec("DELETE", url, headers, body,
6106                                                            queryArgs, private$numRetries)
6107                         resource <- private$REST$httpParser$parseJSONResponse(response)
6108                         
6109                         if(!is.null(resource$errors))
6110                                 stop(resource$errors)
6111                         
6112                         resource
6113                 },
6114
6115                 specimens.list = function(filters = NULL,
6116                         where = NULL, order = NULL, select = NULL,
6117                         distinct = NULL, limit = "100", offset = "0",
6118                         count = "exact")
6119                 {
6120                         endPoint <- stringr::str_interp("specimens")
6121                         url <- paste0(private$host, endPoint)
6122                         headers <- list(Authorization = paste("OAuth2", private$token), 
6123                                         "Content-Type" = "application/json")
6124                         queryArgs <- list(filters = filters, where = where,
6125                                                           order = order, select = select, distinct = distinct,
6126                                                           limit = limit, offset = offset, count = count)
6127                         
6128                         body <- NULL
6129                         
6130                         response <- private$REST$http$exec("GET", url, headers, body,
6131                                                            queryArgs, private$numRetries)
6132                         resource <- private$REST$httpParser$parseJSONResponse(response)
6133                         
6134                         if(!is.null(resource$errors))
6135                                 stop(resource$errors)
6136                         
6137                         resource
6138                 },
6139
6140                 specimens.show = function(uuid)
6141                 {
6142                         endPoint <- stringr::str_interp("specimens/${uuid}")
6143                         url <- paste0(private$host, endPoint)
6144                         headers <- list(Authorization = paste("OAuth2", private$token), 
6145                                         "Content-Type" = "application/json")
6146                         queryArgs <- NULL
6147                         
6148                         body <- NULL
6149                         
6150                         response <- private$REST$http$exec("GET", url, headers, body,
6151                                                            queryArgs, private$numRetries)
6152                         resource <- private$REST$httpParser$parseJSONResponse(response)
6153                         
6154                         if(!is.null(resource$errors))
6155                                 stop(resource$errors)
6156                         
6157                         resource
6158                 },
6159
6160                 specimens.destroy = function(uuid)
6161                 {
6162                         endPoint <- stringr::str_interp("specimens/${uuid}")
6163                         url <- paste0(private$host, endPoint)
6164                         headers <- list(Authorization = paste("OAuth2", private$token), 
6165                                         "Content-Type" = "application/json")
6166                         queryArgs <- NULL
6167                         
6168                         body <- NULL
6169                         
6170                         response <- private$REST$http$exec("DELETE", url, headers, body,
6171                                                            queryArgs, private$numRetries)
6172                         resource <- private$REST$httpParser$parseJSONResponse(response)
6173                         
6174                         if(!is.null(resource$errors))
6175                                 stop(resource$errors)
6176                         
6177                         resource
6178                 },
6179
6180                 logs.get = function(uuid)
6181                 {
6182                         endPoint <- stringr::str_interp("logs/${uuid}")
6183                         url <- paste0(private$host, endPoint)
6184                         headers <- list(Authorization = paste("OAuth2", private$token), 
6185                                         "Content-Type" = "application/json")
6186                         queryArgs <- NULL
6187                         
6188                         body <- NULL
6189                         
6190                         response <- private$REST$http$exec("GET", url, headers, body,
6191                                                            queryArgs, private$numRetries)
6192                         resource <- private$REST$httpParser$parseJSONResponse(response)
6193                         
6194                         if(!is.null(resource$errors))
6195                                 stop(resource$errors)
6196                         
6197                         resource
6198                 },
6199
6200                 logs.index = function(filters = NULL, where = NULL,
6201                         order = NULL, select = NULL, distinct = NULL,
6202                         limit = "100", offset = "0", count = "exact")
6203                 {
6204                         endPoint <- stringr::str_interp("logs")
6205                         url <- paste0(private$host, endPoint)
6206                         headers <- list(Authorization = paste("OAuth2", private$token), 
6207                                         "Content-Type" = "application/json")
6208                         queryArgs <- list(filters = filters, where = where,
6209                                                           order = order, select = select, distinct = distinct,
6210                                                           limit = limit, offset = offset, count = count)
6211                         
6212                         body <- NULL
6213                         
6214                         response <- private$REST$http$exec("GET", url, headers, body,
6215                                                            queryArgs, private$numRetries)
6216                         resource <- private$REST$httpParser$parseJSONResponse(response)
6217                         
6218                         if(!is.null(resource$errors))
6219                                 stop(resource$errors)
6220                         
6221                         resource
6222                 },
6223
6224                 logs.create = function(log, ensure_unique_name = "false")
6225                 {
6226                         endPoint <- stringr::str_interp("logs")
6227                         url <- paste0(private$host, endPoint)
6228                         headers <- list(Authorization = paste("OAuth2", private$token), 
6229                                         "Content-Type" = "application/json")
6230                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
6231                         
6232                         if(length(log) > 0)
6233                                 body <- jsonlite::toJSON(list(log = log), 
6234                                                          auto_unbox = TRUE)
6235                         else
6236                                 body <- NULL
6237                         
6238                         response <- private$REST$http$exec("POST", url, headers, body,
6239                                                            queryArgs, private$numRetries)
6240                         resource <- private$REST$httpParser$parseJSONResponse(response)
6241                         
6242                         if(!is.null(resource$errors))
6243                                 stop(resource$errors)
6244                         
6245                         resource
6246                 },
6247
6248                 logs.update = function(log, uuid)
6249                 {
6250                         endPoint <- stringr::str_interp("logs/${uuid}")
6251                         url <- paste0(private$host, endPoint)
6252                         headers <- list(Authorization = paste("OAuth2", private$token), 
6253                                         "Content-Type" = "application/json")
6254                         queryArgs <- NULL
6255                         
6256                         if(length(log) > 0)
6257                                 body <- jsonlite::toJSON(list(log = log), 
6258                                                          auto_unbox = TRUE)
6259                         else
6260                                 body <- NULL
6261                         
6262                         response <- private$REST$http$exec("PUT", url, headers, body,
6263                                                            queryArgs, private$numRetries)
6264                         resource <- private$REST$httpParser$parseJSONResponse(response)
6265                         
6266                         if(!is.null(resource$errors))
6267                                 stop(resource$errors)
6268                         
6269                         resource
6270                 },
6271
6272                 logs.delete = function(uuid)
6273                 {
6274                         endPoint <- stringr::str_interp("logs/${uuid}")
6275                         url <- paste0(private$host, endPoint)
6276                         headers <- list(Authorization = paste("OAuth2", private$token), 
6277                                         "Content-Type" = "application/json")
6278                         queryArgs <- NULL
6279                         
6280                         body <- NULL
6281                         
6282                         response <- private$REST$http$exec("DELETE", url, headers, body,
6283                                                            queryArgs, private$numRetries)
6284                         resource <- private$REST$httpParser$parseJSONResponse(response)
6285                         
6286                         if(!is.null(resource$errors))
6287                                 stop(resource$errors)
6288                         
6289                         resource
6290                 },
6291
6292                 logs.list = function(filters = NULL, where = NULL,
6293                         order = NULL, select = NULL, distinct = NULL,
6294                         limit = "100", offset = "0", count = "exact")
6295                 {
6296                         endPoint <- stringr::str_interp("logs")
6297                         url <- paste0(private$host, endPoint)
6298                         headers <- list(Authorization = paste("OAuth2", private$token), 
6299                                         "Content-Type" = "application/json")
6300                         queryArgs <- list(filters = filters, where = where,
6301                                                           order = order, select = select, distinct = distinct,
6302                                                           limit = limit, offset = offset, count = count)
6303                         
6304                         body <- NULL
6305                         
6306                         response <- private$REST$http$exec("GET", url, headers, body,
6307                                                            queryArgs, private$numRetries)
6308                         resource <- private$REST$httpParser$parseJSONResponse(response)
6309                         
6310                         if(!is.null(resource$errors))
6311                                 stop(resource$errors)
6312                         
6313                         resource
6314                 },
6315
6316                 logs.show = function(uuid)
6317                 {
6318                         endPoint <- stringr::str_interp("logs/${uuid}")
6319                         url <- paste0(private$host, endPoint)
6320                         headers <- list(Authorization = paste("OAuth2", private$token), 
6321                                         "Content-Type" = "application/json")
6322                         queryArgs <- NULL
6323                         
6324                         body <- NULL
6325                         
6326                         response <- private$REST$http$exec("GET", url, headers, body,
6327                                                            queryArgs, private$numRetries)
6328                         resource <- private$REST$httpParser$parseJSONResponse(response)
6329                         
6330                         if(!is.null(resource$errors))
6331                                 stop(resource$errors)
6332                         
6333                         resource
6334                 },
6335
6336                 logs.destroy = function(uuid)
6337                 {
6338                         endPoint <- stringr::str_interp("logs/${uuid}")
6339                         url <- paste0(private$host, endPoint)
6340                         headers <- list(Authorization = paste("OAuth2", private$token), 
6341                                         "Content-Type" = "application/json")
6342                         queryArgs <- NULL
6343                         
6344                         body <- NULL
6345                         
6346                         response <- private$REST$http$exec("DELETE", url, headers, body,
6347                                                            queryArgs, private$numRetries)
6348                         resource <- private$REST$httpParser$parseJSONResponse(response)
6349                         
6350                         if(!is.null(resource$errors))
6351                                 stop(resource$errors)
6352                         
6353                         resource
6354                 },
6355
6356                 traits.get = function(uuid)
6357                 {
6358                         endPoint <- stringr::str_interp("traits/${uuid}")
6359                         url <- paste0(private$host, endPoint)
6360                         headers <- list(Authorization = paste("OAuth2", private$token), 
6361                                         "Content-Type" = "application/json")
6362                         queryArgs <- NULL
6363                         
6364                         body <- NULL
6365                         
6366                         response <- private$REST$http$exec("GET", url, headers, body,
6367                                                            queryArgs, private$numRetries)
6368                         resource <- private$REST$httpParser$parseJSONResponse(response)
6369                         
6370                         if(!is.null(resource$errors))
6371                                 stop(resource$errors)
6372                         
6373                         resource
6374                 },
6375
6376                 traits.index = function(filters = NULL, where = NULL,
6377                         order = NULL, select = NULL, distinct = NULL,
6378                         limit = "100", offset = "0", count = "exact")
6379                 {
6380                         endPoint <- stringr::str_interp("traits")
6381                         url <- paste0(private$host, endPoint)
6382                         headers <- list(Authorization = paste("OAuth2", private$token), 
6383                                         "Content-Type" = "application/json")
6384                         queryArgs <- list(filters = filters, where = where,
6385                                                           order = order, select = select, distinct = distinct,
6386                                                           limit = limit, offset = offset, count = count)
6387                         
6388                         body <- NULL
6389                         
6390                         response <- private$REST$http$exec("GET", url, headers, body,
6391                                                            queryArgs, private$numRetries)
6392                         resource <- private$REST$httpParser$parseJSONResponse(response)
6393                         
6394                         if(!is.null(resource$errors))
6395                                 stop(resource$errors)
6396                         
6397                         resource
6398                 },
6399
6400                 traits.create = function(trait, ensure_unique_name = "false")
6401                 {
6402                         endPoint <- stringr::str_interp("traits")
6403                         url <- paste0(private$host, endPoint)
6404                         headers <- list(Authorization = paste("OAuth2", private$token), 
6405                                         "Content-Type" = "application/json")
6406                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
6407                         
6408                         if(length(trait) > 0)
6409                                 body <- jsonlite::toJSON(list(trait = trait), 
6410                                                          auto_unbox = TRUE)
6411                         else
6412                                 body <- NULL
6413                         
6414                         response <- private$REST$http$exec("POST", url, headers, body,
6415                                                            queryArgs, private$numRetries)
6416                         resource <- private$REST$httpParser$parseJSONResponse(response)
6417                         
6418                         if(!is.null(resource$errors))
6419                                 stop(resource$errors)
6420                         
6421                         resource
6422                 },
6423
6424                 traits.update = function(trait, uuid)
6425                 {
6426                         endPoint <- stringr::str_interp("traits/${uuid}")
6427                         url <- paste0(private$host, endPoint)
6428                         headers <- list(Authorization = paste("OAuth2", private$token), 
6429                                         "Content-Type" = "application/json")
6430                         queryArgs <- NULL
6431                         
6432                         if(length(trait) > 0)
6433                                 body <- jsonlite::toJSON(list(trait = trait), 
6434                                                          auto_unbox = TRUE)
6435                         else
6436                                 body <- NULL
6437                         
6438                         response <- private$REST$http$exec("PUT", url, headers, body,
6439                                                            queryArgs, private$numRetries)
6440                         resource <- private$REST$httpParser$parseJSONResponse(response)
6441                         
6442                         if(!is.null(resource$errors))
6443                                 stop(resource$errors)
6444                         
6445                         resource
6446                 },
6447
6448                 traits.delete = function(uuid)
6449                 {
6450                         endPoint <- stringr::str_interp("traits/${uuid}")
6451                         url <- paste0(private$host, endPoint)
6452                         headers <- list(Authorization = paste("OAuth2", private$token), 
6453                                         "Content-Type" = "application/json")
6454                         queryArgs <- NULL
6455                         
6456                         body <- NULL
6457                         
6458                         response <- private$REST$http$exec("DELETE", url, headers, body,
6459                                                            queryArgs, private$numRetries)
6460                         resource <- private$REST$httpParser$parseJSONResponse(response)
6461                         
6462                         if(!is.null(resource$errors))
6463                                 stop(resource$errors)
6464                         
6465                         resource
6466                 },
6467
6468                 traits.list = function(filters = NULL, where = NULL,
6469                         order = NULL, select = NULL, distinct = NULL,
6470                         limit = "100", offset = "0", count = "exact")
6471                 {
6472                         endPoint <- stringr::str_interp("traits")
6473                         url <- paste0(private$host, endPoint)
6474                         headers <- list(Authorization = paste("OAuth2", private$token), 
6475                                         "Content-Type" = "application/json")
6476                         queryArgs <- list(filters = filters, where = where,
6477                                                           order = order, select = select, distinct = distinct,
6478                                                           limit = limit, offset = offset, count = count)
6479                         
6480                         body <- NULL
6481                         
6482                         response <- private$REST$http$exec("GET", url, headers, body,
6483                                                            queryArgs, private$numRetries)
6484                         resource <- private$REST$httpParser$parseJSONResponse(response)
6485                         
6486                         if(!is.null(resource$errors))
6487                                 stop(resource$errors)
6488                         
6489                         resource
6490                 },
6491
6492                 traits.show = function(uuid)
6493                 {
6494                         endPoint <- stringr::str_interp("traits/${uuid}")
6495                         url <- paste0(private$host, endPoint)
6496                         headers <- list(Authorization = paste("OAuth2", private$token), 
6497                                         "Content-Type" = "application/json")
6498                         queryArgs <- NULL
6499                         
6500                         body <- NULL
6501                         
6502                         response <- private$REST$http$exec("GET", url, headers, body,
6503                                                            queryArgs, private$numRetries)
6504                         resource <- private$REST$httpParser$parseJSONResponse(response)
6505                         
6506                         if(!is.null(resource$errors))
6507                                 stop(resource$errors)
6508                         
6509                         resource
6510                 },
6511
6512                 traits.destroy = function(uuid)
6513                 {
6514                         endPoint <- stringr::str_interp("traits/${uuid}")
6515                         url <- paste0(private$host, endPoint)
6516                         headers <- list(Authorization = paste("OAuth2", private$token), 
6517                                         "Content-Type" = "application/json")
6518                         queryArgs <- NULL
6519                         
6520                         body <- NULL
6521                         
6522                         response <- private$REST$http$exec("DELETE", url, headers, body,
6523                                                            queryArgs, private$numRetries)
6524                         resource <- private$REST$httpParser$parseJSONResponse(response)
6525                         
6526                         if(!is.null(resource$errors))
6527                                 stop(resource$errors)
6528                         
6529                         resource
6530                 },
6531
6532                 virtual_machines.get = function(uuid)
6533                 {
6534                         endPoint <- stringr::str_interp("virtual_machines/${uuid}")
6535                         url <- paste0(private$host, endPoint)
6536                         headers <- list(Authorization = paste("OAuth2", private$token), 
6537                                         "Content-Type" = "application/json")
6538                         queryArgs <- NULL
6539                         
6540                         body <- NULL
6541                         
6542                         response <- private$REST$http$exec("GET", url, headers, body,
6543                                                            queryArgs, private$numRetries)
6544                         resource <- private$REST$httpParser$parseJSONResponse(response)
6545                         
6546                         if(!is.null(resource$errors))
6547                                 stop(resource$errors)
6548                         
6549                         resource
6550                 },
6551
6552                 virtual_machines.index = function(filters = NULL,
6553                         where = NULL, order = NULL, select = NULL,
6554                         distinct = NULL, limit = "100", offset = "0",
6555                         count = "exact")
6556                 {
6557                         endPoint <- stringr::str_interp("virtual_machines")
6558                         url <- paste0(private$host, endPoint)
6559                         headers <- list(Authorization = paste("OAuth2", private$token), 
6560                                         "Content-Type" = "application/json")
6561                         queryArgs <- list(filters = filters, where = where,
6562                                                           order = order, select = select, distinct = distinct,
6563                                                           limit = limit, offset = offset, count = count)
6564                         
6565                         body <- NULL
6566                         
6567                         response <- private$REST$http$exec("GET", url, headers, body,
6568                                                            queryArgs, private$numRetries)
6569                         resource <- private$REST$httpParser$parseJSONResponse(response)
6570                         
6571                         if(!is.null(resource$errors))
6572                                 stop(resource$errors)
6573                         
6574                         resource
6575                 },
6576
6577                 virtual_machines.create = function(virtualmachine,
6578                         ensure_unique_name = "false")
6579                 {
6580                         endPoint <- stringr::str_interp("virtual_machines")
6581                         url <- paste0(private$host, endPoint)
6582                         headers <- list(Authorization = paste("OAuth2", private$token), 
6583                                         "Content-Type" = "application/json")
6584                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
6585                         
6586                         if(length(virtualmachine) > 0)
6587                                 body <- jsonlite::toJSON(list(virtualmachine = virtualmachine), 
6588                                                          auto_unbox = TRUE)
6589                         else
6590                                 body <- NULL
6591                         
6592                         response <- private$REST$http$exec("POST", url, headers, body,
6593                                                            queryArgs, private$numRetries)
6594                         resource <- private$REST$httpParser$parseJSONResponse(response)
6595                         
6596                         if(!is.null(resource$errors))
6597                                 stop(resource$errors)
6598                         
6599                         resource
6600                 },
6601
6602                 virtual_machines.update = function(virtualmachine, uuid)
6603                 {
6604                         endPoint <- stringr::str_interp("virtual_machines/${uuid}")
6605                         url <- paste0(private$host, endPoint)
6606                         headers <- list(Authorization = paste("OAuth2", private$token), 
6607                                         "Content-Type" = "application/json")
6608                         queryArgs <- NULL
6609                         
6610                         if(length(virtualmachine) > 0)
6611                                 body <- jsonlite::toJSON(list(virtualmachine = virtualmachine), 
6612                                                          auto_unbox = TRUE)
6613                         else
6614                                 body <- NULL
6615                         
6616                         response <- private$REST$http$exec("PUT", url, headers, body,
6617                                                            queryArgs, private$numRetries)
6618                         resource <- private$REST$httpParser$parseJSONResponse(response)
6619                         
6620                         if(!is.null(resource$errors))
6621                                 stop(resource$errors)
6622                         
6623                         resource
6624                 },
6625
6626                 virtual_machines.delete = function(uuid)
6627                 {
6628                         endPoint <- stringr::str_interp("virtual_machines/${uuid}")
6629                         url <- paste0(private$host, endPoint)
6630                         headers <- list(Authorization = paste("OAuth2", private$token), 
6631                                         "Content-Type" = "application/json")
6632                         queryArgs <- NULL
6633                         
6634                         body <- NULL
6635                         
6636                         response <- private$REST$http$exec("DELETE", url, headers, body,
6637                                                            queryArgs, private$numRetries)
6638                         resource <- private$REST$httpParser$parseJSONResponse(response)
6639                         
6640                         if(!is.null(resource$errors))
6641                                 stop(resource$errors)
6642                         
6643                         resource
6644                 },
6645
6646                 virtual_machines.logins = function(uuid)
6647                 {
6648                         endPoint <- stringr::str_interp("virtual_machines/${uuid}/logins")
6649                         url <- paste0(private$host, endPoint)
6650                         headers <- list(Authorization = paste("OAuth2", private$token), 
6651                                         "Content-Type" = "application/json")
6652                         queryArgs <- NULL
6653                         
6654                         body <- NULL
6655                         
6656                         response <- private$REST$http$exec("GET", url, headers, body,
6657                                                            queryArgs, private$numRetries)
6658                         resource <- private$REST$httpParser$parseJSONResponse(response)
6659                         
6660                         if(!is.null(resource$errors))
6661                                 stop(resource$errors)
6662                         
6663                         resource
6664                 },
6665
6666                 virtual_machines.get_all_logins = function()
6667                 {
6668                         endPoint <- stringr::str_interp("virtual_machines/get_all_logins")
6669                         url <- paste0(private$host, endPoint)
6670                         headers <- list(Authorization = paste("OAuth2", private$token), 
6671                                         "Content-Type" = "application/json")
6672                         queryArgs <- NULL
6673                         
6674                         body <- NULL
6675                         
6676                         response <- private$REST$http$exec("GET", url, headers, body,
6677                                                            queryArgs, private$numRetries)
6678                         resource <- private$REST$httpParser$parseJSONResponse(response)
6679                         
6680                         if(!is.null(resource$errors))
6681                                 stop(resource$errors)
6682                         
6683                         resource
6684                 },
6685
6686                 virtual_machines.list = function(filters = NULL,
6687                         where = NULL, order = NULL, select = NULL,
6688                         distinct = NULL, limit = "100", offset = "0",
6689                         count = "exact")
6690                 {
6691                         endPoint <- stringr::str_interp("virtual_machines")
6692                         url <- paste0(private$host, endPoint)
6693                         headers <- list(Authorization = paste("OAuth2", private$token), 
6694                                         "Content-Type" = "application/json")
6695                         queryArgs <- list(filters = filters, where = where,
6696                                                           order = order, select = select, distinct = distinct,
6697                                                           limit = limit, offset = offset, count = count)
6698                         
6699                         body <- NULL
6700                         
6701                         response <- private$REST$http$exec("GET", url, headers, body,
6702                                                            queryArgs, private$numRetries)
6703                         resource <- private$REST$httpParser$parseJSONResponse(response)
6704                         
6705                         if(!is.null(resource$errors))
6706                                 stop(resource$errors)
6707                         
6708                         resource
6709                 },
6710
6711                 virtual_machines.show = function(uuid)
6712                 {
6713                         endPoint <- stringr::str_interp("virtual_machines/${uuid}")
6714                         url <- paste0(private$host, endPoint)
6715                         headers <- list(Authorization = paste("OAuth2", private$token), 
6716                                         "Content-Type" = "application/json")
6717                         queryArgs <- NULL
6718                         
6719                         body <- NULL
6720                         
6721                         response <- private$REST$http$exec("GET", url, headers, body,
6722                                                            queryArgs, private$numRetries)
6723                         resource <- private$REST$httpParser$parseJSONResponse(response)
6724                         
6725                         if(!is.null(resource$errors))
6726                                 stop(resource$errors)
6727                         
6728                         resource
6729                 },
6730
6731                 virtual_machines.destroy = function(uuid)
6732                 {
6733                         endPoint <- stringr::str_interp("virtual_machines/${uuid}")
6734                         url <- paste0(private$host, endPoint)
6735                         headers <- list(Authorization = paste("OAuth2", private$token), 
6736                                         "Content-Type" = "application/json")
6737                         queryArgs <- NULL
6738                         
6739                         body <- NULL
6740                         
6741                         response <- private$REST$http$exec("DELETE", url, headers, body,
6742                                                            queryArgs, private$numRetries)
6743                         resource <- private$REST$httpParser$parseJSONResponse(response)
6744                         
6745                         if(!is.null(resource$errors))
6746                                 stop(resource$errors)
6747                         
6748                         resource
6749                 },
6750
6751                 workflows.get = function(uuid)
6752                 {
6753                         endPoint <- stringr::str_interp("workflows/${uuid}")
6754                         url <- paste0(private$host, endPoint)
6755                         headers <- list(Authorization = paste("OAuth2", private$token), 
6756                                         "Content-Type" = "application/json")
6757                         queryArgs <- NULL
6758                         
6759                         body <- NULL
6760                         
6761                         response <- private$REST$http$exec("GET", url, headers, body,
6762                                                            queryArgs, private$numRetries)
6763                         resource <- private$REST$httpParser$parseJSONResponse(response)
6764                         
6765                         if(!is.null(resource$errors))
6766                                 stop(resource$errors)
6767                         
6768                         resource
6769                 },
6770
6771                 workflows.index = function(filters = NULL,
6772                         where = NULL, order = NULL, select = NULL,
6773                         distinct = NULL, limit = "100", offset = "0",
6774                         count = "exact")
6775                 {
6776                         endPoint <- stringr::str_interp("workflows")
6777                         url <- paste0(private$host, endPoint)
6778                         headers <- list(Authorization = paste("OAuth2", private$token), 
6779                                         "Content-Type" = "application/json")
6780                         queryArgs <- list(filters = filters, where = where,
6781                                                           order = order, select = select, distinct = distinct,
6782                                                           limit = limit, offset = offset, count = count)
6783                         
6784                         body <- NULL
6785                         
6786                         response <- private$REST$http$exec("GET", url, headers, body,
6787                                                            queryArgs, private$numRetries)
6788                         resource <- private$REST$httpParser$parseJSONResponse(response)
6789                         
6790                         if(!is.null(resource$errors))
6791                                 stop(resource$errors)
6792                         
6793                         resource
6794                 },
6795
6796                 workflows.create = function(workflow, ensure_unique_name = "false")
6797                 {
6798                         endPoint <- stringr::str_interp("workflows")
6799                         url <- paste0(private$host, endPoint)
6800                         headers <- list(Authorization = paste("OAuth2", private$token), 
6801                                         "Content-Type" = "application/json")
6802                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
6803                         
6804                         if(length(workflow) > 0)
6805                                 body <- jsonlite::toJSON(list(workflow = workflow), 
6806                                                          auto_unbox = TRUE)
6807                         else
6808                                 body <- NULL
6809                         
6810                         response <- private$REST$http$exec("POST", url, headers, body,
6811                                                            queryArgs, private$numRetries)
6812                         resource <- private$REST$httpParser$parseJSONResponse(response)
6813                         
6814                         if(!is.null(resource$errors))
6815                                 stop(resource$errors)
6816                         
6817                         resource
6818                 },
6819
6820                 workflows.update = function(workflow, uuid)
6821                 {
6822                         endPoint <- stringr::str_interp("workflows/${uuid}")
6823                         url <- paste0(private$host, endPoint)
6824                         headers <- list(Authorization = paste("OAuth2", private$token), 
6825                                         "Content-Type" = "application/json")
6826                         queryArgs <- NULL
6827                         
6828                         if(length(workflow) > 0)
6829                                 body <- jsonlite::toJSON(list(workflow = workflow), 
6830                                                          auto_unbox = TRUE)
6831                         else
6832                                 body <- NULL
6833                         
6834                         response <- private$REST$http$exec("PUT", url, headers, body,
6835                                                            queryArgs, private$numRetries)
6836                         resource <- private$REST$httpParser$parseJSONResponse(response)
6837                         
6838                         if(!is.null(resource$errors))
6839                                 stop(resource$errors)
6840                         
6841                         resource
6842                 },
6843
6844                 workflows.delete = function(uuid)
6845                 {
6846                         endPoint <- stringr::str_interp("workflows/${uuid}")
6847                         url <- paste0(private$host, endPoint)
6848                         headers <- list(Authorization = paste("OAuth2", private$token), 
6849                                         "Content-Type" = "application/json")
6850                         queryArgs <- NULL
6851                         
6852                         body <- NULL
6853                         
6854                         response <- private$REST$http$exec("DELETE", url, headers, body,
6855                                                            queryArgs, private$numRetries)
6856                         resource <- private$REST$httpParser$parseJSONResponse(response)
6857                         
6858                         if(!is.null(resource$errors))
6859                                 stop(resource$errors)
6860                         
6861                         resource
6862                 },
6863
6864                 workflows.list = function(filters = NULL,
6865                         where = NULL, order = NULL, select = NULL,
6866                         distinct = NULL, limit = "100", offset = "0",
6867                         count = "exact")
6868                 {
6869                         endPoint <- stringr::str_interp("workflows")
6870                         url <- paste0(private$host, endPoint)
6871                         headers <- list(Authorization = paste("OAuth2", private$token), 
6872                                         "Content-Type" = "application/json")
6873                         queryArgs <- list(filters = filters, where = where,
6874                                                           order = order, select = select, distinct = distinct,
6875                                                           limit = limit, offset = offset, count = count)
6876                         
6877                         body <- NULL
6878                         
6879                         response <- private$REST$http$exec("GET", url, headers, body,
6880                                                            queryArgs, private$numRetries)
6881                         resource <- private$REST$httpParser$parseJSONResponse(response)
6882                         
6883                         if(!is.null(resource$errors))
6884                                 stop(resource$errors)
6885                         
6886                         resource
6887                 },
6888
6889                 workflows.show = function(uuid)
6890                 {
6891                         endPoint <- stringr::str_interp("workflows/${uuid}")
6892                         url <- paste0(private$host, endPoint)
6893                         headers <- list(Authorization = paste("OAuth2", private$token), 
6894                                         "Content-Type" = "application/json")
6895                         queryArgs <- NULL
6896                         
6897                         body <- NULL
6898                         
6899                         response <- private$REST$http$exec("GET", url, headers, body,
6900                                                            queryArgs, private$numRetries)
6901                         resource <- private$REST$httpParser$parseJSONResponse(response)
6902                         
6903                         if(!is.null(resource$errors))
6904                                 stop(resource$errors)
6905                         
6906                         resource
6907                 },
6908
6909                 workflows.destroy = function(uuid)
6910                 {
6911                         endPoint <- stringr::str_interp("workflows/${uuid}")
6912                         url <- paste0(private$host, endPoint)
6913                         headers <- list(Authorization = paste("OAuth2", private$token), 
6914                                         "Content-Type" = "application/json")
6915                         queryArgs <- NULL
6916                         
6917                         body <- NULL
6918                         
6919                         response <- private$REST$http$exec("DELETE", url, headers, body,
6920                                                            queryArgs, private$numRetries)
6921                         resource <- private$REST$httpParser$parseJSONResponse(response)
6922                         
6923                         if(!is.null(resource$errors))
6924                                 stop(resource$errors)
6925                         
6926                         resource
6927                 },
6928
6929                 groups.get = function(uuid)
6930                 {
6931                         endPoint <- stringr::str_interp("groups/${uuid}")
6932                         url <- paste0(private$host, endPoint)
6933                         headers <- list(Authorization = paste("OAuth2", private$token), 
6934                                         "Content-Type" = "application/json")
6935                         queryArgs <- NULL
6936                         
6937                         body <- NULL
6938                         
6939                         response <- private$REST$http$exec("GET", url, headers, body,
6940                                                            queryArgs, private$numRetries)
6941                         resource <- private$REST$httpParser$parseJSONResponse(response)
6942                         
6943                         if(!is.null(resource$errors))
6944                                 stop(resource$errors)
6945                         
6946                         resource
6947                 },
6948
6949                 groups.index = function(filters = NULL, where = NULL,
6950                         order = NULL, select = NULL, distinct = NULL,
6951                         limit = "100", offset = "0", count = "exact",
6952                         include_trash = NULL)
6953                 {
6954                         endPoint <- stringr::str_interp("groups")
6955                         url <- paste0(private$host, endPoint)
6956                         headers <- list(Authorization = paste("OAuth2", private$token), 
6957                                         "Content-Type" = "application/json")
6958                         queryArgs <- list(filters = filters, where = where,
6959                                                           order = order, select = select, distinct = distinct,
6960                                                           limit = limit, offset = offset, count = count,
6961                                                           include_trash = include_trash)
6962                         
6963                         body <- NULL
6964                         
6965                         response <- private$REST$http$exec("GET", url, headers, body,
6966                                                            queryArgs, private$numRetries)
6967                         resource <- private$REST$httpParser$parseJSONResponse(response)
6968                         
6969                         if(!is.null(resource$errors))
6970                                 stop(resource$errors)
6971                         
6972                         resource
6973                 },
6974
6975                 groups.create = function(group, ensure_unique_name = "false")
6976                 {
6977                         endPoint <- stringr::str_interp("groups")
6978                         url <- paste0(private$host, endPoint)
6979                         headers <- list(Authorization = paste("OAuth2", private$token), 
6980                                         "Content-Type" = "application/json")
6981                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
6982                         
6983                         if(length(group) > 0)
6984                                 body <- jsonlite::toJSON(list(group = group), 
6985                                                          auto_unbox = TRUE)
6986                         else
6987                                 body <- NULL
6988                         
6989                         response <- private$REST$http$exec("POST", url, headers, body,
6990                                                            queryArgs, private$numRetries)
6991                         resource <- private$REST$httpParser$parseJSONResponse(response)
6992                         
6993                         if(!is.null(resource$errors))
6994                                 stop(resource$errors)
6995                         
6996                         resource
6997                 },
6998
6999                 groups.update = function(group, uuid)
7000                 {
7001                         endPoint <- stringr::str_interp("groups/${uuid}")
7002                         url <- paste0(private$host, endPoint)
7003                         headers <- list(Authorization = paste("OAuth2", private$token), 
7004                                         "Content-Type" = "application/json")
7005                         queryArgs <- NULL
7006                         
7007                         if(length(group) > 0)
7008                                 body <- jsonlite::toJSON(list(group = group), 
7009                                                          auto_unbox = TRUE)
7010                         else
7011                                 body <- NULL
7012                         
7013                         response <- private$REST$http$exec("PUT", url, headers, body,
7014                                                            queryArgs, private$numRetries)
7015                         resource <- private$REST$httpParser$parseJSONResponse(response)
7016                         
7017                         if(!is.null(resource$errors))
7018                                 stop(resource$errors)
7019                         
7020                         resource
7021                 },
7022
7023                 groups.delete = function(uuid)
7024                 {
7025                         endPoint <- stringr::str_interp("groups/${uuid}")
7026                         url <- paste0(private$host, endPoint)
7027                         headers <- list(Authorization = paste("OAuth2", private$token), 
7028                                         "Content-Type" = "application/json")
7029                         queryArgs <- NULL
7030                         
7031                         body <- NULL
7032                         
7033                         response <- private$REST$http$exec("DELETE", url, headers, body,
7034                                                            queryArgs, private$numRetries)
7035                         resource <- private$REST$httpParser$parseJSONResponse(response)
7036                         
7037                         if(!is.null(resource$errors))
7038                                 stop(resource$errors)
7039                         
7040                         resource
7041                 },
7042
7043                 groups.contents = function(filters = NULL,
7044                         where = NULL, order = NULL, distinct = NULL,
7045                         limit = "100", offset = "0", count = "exact",
7046                         include_trash = NULL, uuid = NULL, recursive = NULL)
7047                 {
7048                         endPoint <- stringr::str_interp("groups/contents")
7049                         url <- paste0(private$host, endPoint)
7050                         headers <- list(Authorization = paste("OAuth2", private$token), 
7051                                         "Content-Type" = "application/json")
7052                         queryArgs <- list(filters = filters, where = where,
7053                                                           order = order, distinct = distinct, limit = limit,
7054                                                           offset = offset, count = count, include_trash = include_trash,
7055                                                           uuid = uuid, recursive = recursive)
7056                         
7057                         body <- NULL
7058                         
7059                         response <- private$REST$http$exec("GET", url, headers, body,
7060                                                            queryArgs, private$numRetries)
7061                         resource <- private$REST$httpParser$parseJSONResponse(response)
7062                         
7063                         if(!is.null(resource$errors))
7064                                 stop(resource$errors)
7065                         
7066                         resource
7067                 },
7068
7069                 groups.trash = function(uuid)
7070                 {
7071                         endPoint <- stringr::str_interp("groups/${uuid}/trash")
7072                         url <- paste0(private$host, endPoint)
7073                         headers <- list(Authorization = paste("OAuth2", private$token), 
7074                                         "Content-Type" = "application/json")
7075                         queryArgs <- NULL
7076                         
7077                         body <- NULL
7078                         
7079                         response <- private$REST$http$exec("POST", url, headers, body,
7080                                                            queryArgs, private$numRetries)
7081                         resource <- private$REST$httpParser$parseJSONResponse(response)
7082                         
7083                         if(!is.null(resource$errors))
7084                                 stop(resource$errors)
7085                         
7086                         resource
7087                 },
7088
7089                 groups.untrash = function(uuid)
7090                 {
7091                         endPoint <- stringr::str_interp("groups/${uuid}/untrash")
7092                         url <- paste0(private$host, endPoint)
7093                         headers <- list(Authorization = paste("OAuth2", private$token), 
7094                                         "Content-Type" = "application/json")
7095                         queryArgs <- NULL
7096                         
7097                         body <- NULL
7098                         
7099                         response <- private$REST$http$exec("POST", url, headers, body,
7100                                                            queryArgs, private$numRetries)
7101                         resource <- private$REST$httpParser$parseJSONResponse(response)
7102                         
7103                         if(!is.null(resource$errors))
7104                                 stop(resource$errors)
7105                         
7106                         resource
7107                 },
7108
7109                 groups.list = function(filters = NULL, where = NULL,
7110                         order = NULL, select = NULL, distinct = NULL,
7111                         limit = "100", offset = "0", count = "exact",
7112                         include_trash = NULL)
7113                 {
7114                         endPoint <- stringr::str_interp("groups")
7115                         url <- paste0(private$host, endPoint)
7116                         headers <- list(Authorization = paste("OAuth2", private$token), 
7117                                         "Content-Type" = "application/json")
7118                         queryArgs <- list(filters = filters, where = where,
7119                                                           order = order, select = select, distinct = distinct,
7120                                                           limit = limit, offset = offset, count = count,
7121                                                           include_trash = include_trash)
7122                         
7123                         body <- NULL
7124                         
7125                         response <- private$REST$http$exec("GET", url, headers, body,
7126                                                            queryArgs, private$numRetries)
7127                         resource <- private$REST$httpParser$parseJSONResponse(response)
7128                         
7129                         if(!is.null(resource$errors))
7130                                 stop(resource$errors)
7131                         
7132                         resource
7133                 },
7134
7135                 groups.show = function(uuid)
7136                 {
7137                         endPoint <- stringr::str_interp("groups/${uuid}")
7138                         url <- paste0(private$host, endPoint)
7139                         headers <- list(Authorization = paste("OAuth2", private$token), 
7140                                         "Content-Type" = "application/json")
7141                         queryArgs <- NULL
7142                         
7143                         body <- NULL
7144                         
7145                         response <- private$REST$http$exec("GET", url, headers, body,
7146                                                            queryArgs, private$numRetries)
7147                         resource <- private$REST$httpParser$parseJSONResponse(response)
7148                         
7149                         if(!is.null(resource$errors))
7150                                 stop(resource$errors)
7151                         
7152                         resource
7153                 },
7154
7155                 groups.destroy = function(uuid)
7156                 {
7157                         endPoint <- stringr::str_interp("groups/${uuid}")
7158                         url <- paste0(private$host, endPoint)
7159                         headers <- list(Authorization = paste("OAuth2", private$token), 
7160                                         "Content-Type" = "application/json")
7161                         queryArgs <- NULL
7162                         
7163                         body <- NULL
7164                         
7165                         response <- private$REST$http$exec("DELETE", url, headers, body,
7166                                                            queryArgs, private$numRetries)
7167                         resource <- private$REST$httpParser$parseJSONResponse(response)
7168                         
7169                         if(!is.null(resource$errors))
7170                                 stop(resource$errors)
7171                         
7172                         resource
7173                 },
7174
7175                 user_agreements.get = function(uuid)
7176                 {
7177                         endPoint <- stringr::str_interp("user_agreements/${uuid}")
7178                         url <- paste0(private$host, endPoint)
7179                         headers <- list(Authorization = paste("OAuth2", private$token), 
7180                                         "Content-Type" = "application/json")
7181                         queryArgs <- NULL
7182                         
7183                         body <- NULL
7184                         
7185                         response <- private$REST$http$exec("GET", url, headers, body,
7186                                                            queryArgs, private$numRetries)
7187                         resource <- private$REST$httpParser$parseJSONResponse(response)
7188                         
7189                         if(!is.null(resource$errors))
7190                                 stop(resource$errors)
7191                         
7192                         resource
7193                 },
7194
7195                 user_agreements.index = function(filters = NULL,
7196                         where = NULL, order = NULL, select = NULL,
7197                         distinct = NULL, limit = "100", offset = "0",
7198                         count = "exact")
7199                 {
7200                         endPoint <- stringr::str_interp("user_agreements")
7201                         url <- paste0(private$host, endPoint)
7202                         headers <- list(Authorization = paste("OAuth2", private$token), 
7203                                         "Content-Type" = "application/json")
7204                         queryArgs <- list(filters = filters, where = where,
7205                                                           order = order, select = select, distinct = distinct,
7206                                                           limit = limit, offset = offset, count = count)
7207                         
7208                         body <- NULL
7209                         
7210                         response <- private$REST$http$exec("GET", url, headers, body,
7211                                                            queryArgs, private$numRetries)
7212                         resource <- private$REST$httpParser$parseJSONResponse(response)
7213                         
7214                         if(!is.null(resource$errors))
7215                                 stop(resource$errors)
7216                         
7217                         resource
7218                 },
7219
7220                 user_agreements.create = function(useragreement,
7221                         ensure_unique_name = "false")
7222                 {
7223                         endPoint <- stringr::str_interp("user_agreements")
7224                         url <- paste0(private$host, endPoint)
7225                         headers <- list(Authorization = paste("OAuth2", private$token), 
7226                                         "Content-Type" = "application/json")
7227                         queryArgs <- list(ensure_unique_name = ensure_unique_name)
7228                         
7229                         if(length(useragreement) > 0)
7230                                 body <- jsonlite::toJSON(list(useragreement = useragreement), 
7231                                                          auto_unbox = TRUE)
7232                         else
7233                                 body <- NULL
7234                         
7235                         response <- private$REST$http$exec("POST", url, headers, body,
7236                                                            queryArgs, private$numRetries)
7237                         resource <- private$REST$httpParser$parseJSONResponse(response)
7238                         
7239                         if(!is.null(resource$errors))
7240                                 stop(resource$errors)
7241                         
7242                         resource
7243                 },
7244
7245                 user_agreements.update = function(useragreement, uuid)
7246                 {
7247                         endPoint <- stringr::str_interp("user_agreements/${uuid}")
7248                         url <- paste0(private$host, endPoint)
7249                         headers <- list(Authorization = paste("OAuth2", private$token), 
7250                                         "Content-Type" = "application/json")
7251                         queryArgs <- NULL
7252                         
7253                         if(length(useragreement) > 0)
7254                                 body <- jsonlite::toJSON(list(useragreement = useragreement), 
7255                                                          auto_unbox = TRUE)
7256                         else
7257                                 body <- NULL
7258                         
7259                         response <- private$REST$http$exec("PUT", url, headers, body,
7260                                                            queryArgs, private$numRetries)
7261                         resource <- private$REST$httpParser$parseJSONResponse(response)
7262                         
7263                         if(!is.null(resource$errors))
7264                                 stop(resource$errors)
7265                         
7266                         resource
7267                 },
7268
7269                 user_agreements.delete = function(uuid)
7270                 {
7271                         endPoint <- stringr::str_interp("user_agreements/${uuid}")
7272                         url <- paste0(private$host, endPoint)
7273                         headers <- list(Authorization = paste("OAuth2", private$token), 
7274                                         "Content-Type" = "application/json")
7275                         queryArgs <- NULL
7276                         
7277                         body <- NULL
7278                         
7279                         response <- private$REST$http$exec("DELETE", url, headers, body,
7280                                                            queryArgs, private$numRetries)
7281                         resource <- private$REST$httpParser$parseJSONResponse(response)
7282                         
7283                         if(!is.null(resource$errors))
7284                                 stop(resource$errors)
7285                         
7286                         resource
7287                 },
7288
7289                 user_agreements.signatures = function()
7290                 {
7291                         endPoint <- stringr::str_interp("user_agreements/signatures")
7292                         url <- paste0(private$host, endPoint)
7293                         headers <- list(Authorization = paste("OAuth2", private$token), 
7294                                         "Content-Type" = "application/json")
7295                         queryArgs <- NULL
7296                         
7297                         body <- NULL
7298                         
7299                         response <- private$REST$http$exec("GET", url, headers, body,
7300                                                            queryArgs, private$numRetries)
7301                         resource <- private$REST$httpParser$parseJSONResponse(response)
7302                         
7303                         if(!is.null(resource$errors))
7304                                 stop(resource$errors)
7305                         
7306                         resource
7307                 },
7308
7309                 user_agreements.sign = function()
7310                 {
7311                         endPoint <- stringr::str_interp("user_agreements/sign")
7312                         url <- paste0(private$host, endPoint)
7313                         headers <- list(Authorization = paste("OAuth2", private$token), 
7314                                         "Content-Type" = "application/json")
7315                         queryArgs <- NULL
7316                         
7317                         body <- NULL
7318                         
7319                         response <- private$REST$http$exec("POST", url, headers, body,
7320                                                            queryArgs, private$numRetries)
7321                         resource <- private$REST$httpParser$parseJSONResponse(response)
7322                         
7323                         if(!is.null(resource$errors))
7324                                 stop(resource$errors)
7325                         
7326                         resource
7327                 },
7328
7329                 user_agreements.list = function(filters = NULL,
7330                         where = NULL, order = NULL, select = NULL,
7331                         distinct = NULL, limit = "100", offset = "0",
7332                         count = "exact")
7333                 {
7334                         endPoint <- stringr::str_interp("user_agreements")
7335                         url <- paste0(private$host, endPoint)
7336                         headers <- list(Authorization = paste("OAuth2", private$token), 
7337                                         "Content-Type" = "application/json")
7338                         queryArgs <- list(filters = filters, where = where,
7339                                                           order = order, select = select, distinct = distinct,
7340                                                           limit = limit, offset = offset, count = count)
7341                         
7342                         body <- NULL
7343                         
7344                         response <- private$REST$http$exec("GET", url, headers, body,
7345                                                            queryArgs, private$numRetries)
7346                         resource <- private$REST$httpParser$parseJSONResponse(response)
7347                         
7348                         if(!is.null(resource$errors))
7349                                 stop(resource$errors)
7350                         
7351                         resource
7352                 },
7353
7354                 user_agreements.new = function()
7355                 {
7356                         endPoint <- stringr::str_interp("user_agreements/new")
7357                         url <- paste0(private$host, endPoint)
7358                         headers <- list(Authorization = paste("OAuth2", private$token), 
7359                                         "Content-Type" = "application/json")
7360                         queryArgs <- NULL
7361                         
7362                         body <- NULL
7363                         
7364                         response <- private$REST$http$exec("GET", url, headers, body,
7365                                                            queryArgs, private$numRetries)
7366                         resource <- private$REST$httpParser$parseJSONResponse(response)
7367                         
7368                         if(!is.null(resource$errors))
7369                                 stop(resource$errors)
7370                         
7371                         resource
7372                 },
7373
7374                 user_agreements.show = function(uuid)
7375                 {
7376                         endPoint <- stringr::str_interp("user_agreements/${uuid}")
7377                         url <- paste0(private$host, endPoint)
7378                         headers <- list(Authorization = paste("OAuth2", private$token), 
7379                                         "Content-Type" = "application/json")
7380                         queryArgs <- NULL
7381                         
7382                         body <- NULL
7383                         
7384                         response <- private$REST$http$exec("GET", url, headers, body,
7385                                                            queryArgs, private$numRetries)
7386                         resource <- private$REST$httpParser$parseJSONResponse(response)
7387                         
7388                         if(!is.null(resource$errors))
7389                                 stop(resource$errors)
7390                         
7391                         resource
7392                 },
7393
7394                 user_agreements.destroy = function(uuid)
7395                 {
7396                         endPoint <- stringr::str_interp("user_agreements/${uuid}")
7397                         url <- paste0(private$host, endPoint)
7398                         headers <- list(Authorization = paste("OAuth2", private$token), 
7399                                         "Content-Type" = "application/json")
7400                         queryArgs <- NULL
7401                         
7402                         body <- NULL
7403                         
7404                         response <- private$REST$http$exec("DELETE", url, headers, body,
7405                                                            queryArgs, private$numRetries)
7406                         resource <- private$REST$httpParser$parseJSONResponse(response)
7407                         
7408                         if(!is.null(resource$errors))
7409                                 stop(resource$errors)
7410                         
7411                         resource
7412                 },
7413
7414                 getHostName = function() private$host,
7415                 getToken = function() private$token,
7416                 setRESTService = function(newREST) private$REST <- newREST,
7417                 getRESTService = function() private$REST
7418         ),
7419
7420         private = list(
7421
7422                 token = NULL,
7423                 host = NULL,
7424                 REST = NULL,
7425                 numRetries = NULL
7426         ),
7427
7428         cloneable = FALSE
7429 )