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