Merge branch '13076-r-autogen-api'
authorFuad Muhic <muhic.fuad@gmail.com>
Fri, 20 Apr 2018 08:20:12 +0000 (10:20 +0200)
committerFuad Muhic <muhic.fuad@gmail.com>
Fri, 20 Apr 2018 08:20:12 +0000 (10:20 +0200)
refs #13076

Arvados-DCO-1.1-Signed-off-by: Fuad Muhic <fmuhic@capeannenterprises.com>

184 files changed:
build/run-tests.sh
doc/Rakefile
doc/_config.yml
doc/sdk/R/index.html.textile.liquid [deleted file]
sdk/R/NAMESPACE
sdk/R/R/Arvados.R
sdk/R/R/Collection.R
sdk/R/R/HttpRequest.R
sdk/R/R/RESTService.R
sdk/R/R/Subcollection.R
sdk/R/R/autoGenAPI.R [new file with mode: 0644]
sdk/R/R/util.R
sdk/R/README.Rmd
sdk/R/createDoc.R [new file with mode: 0644]
sdk/R/install_deps.R
sdk/R/man/Arvados.Rd
sdk/R/man/api_client_authorizations.create.Rd [new file with mode: 0644]
sdk/R/man/api_client_authorizations.create_system_auth.Rd [new file with mode: 0644]
sdk/R/man/api_client_authorizations.current.Rd [new file with mode: 0644]
sdk/R/man/api_client_authorizations.delete.Rd [new file with mode: 0644]
sdk/R/man/api_client_authorizations.get.Rd [new file with mode: 0644]
sdk/R/man/api_client_authorizations.list.Rd [new file with mode: 0644]
sdk/R/man/api_client_authorizations.update.Rd [new file with mode: 0644]
sdk/R/man/api_clients.create.Rd [new file with mode: 0644]
sdk/R/man/api_clients.delete.Rd [new file with mode: 0644]
sdk/R/man/api_clients.get.Rd [new file with mode: 0644]
sdk/R/man/api_clients.list.Rd [new file with mode: 0644]
sdk/R/man/api_clients.update.Rd [new file with mode: 0644]
sdk/R/man/authorized_keys.create.Rd [new file with mode: 0644]
sdk/R/man/authorized_keys.delete.Rd [new file with mode: 0644]
sdk/R/man/authorized_keys.get.Rd [new file with mode: 0644]
sdk/R/man/authorized_keys.list.Rd [new file with mode: 0644]
sdk/R/man/authorized_keys.update.Rd [new file with mode: 0644]
sdk/R/man/collections.create.Rd [new file with mode: 0644]
sdk/R/man/collections.delete.Rd [new file with mode: 0644]
sdk/R/man/collections.get.Rd [new file with mode: 0644]
sdk/R/man/collections.list.Rd [new file with mode: 0644]
sdk/R/man/collections.provenance.Rd [new file with mode: 0644]
sdk/R/man/collections.trash.Rd [new file with mode: 0644]
sdk/R/man/collections.untrash.Rd [new file with mode: 0644]
sdk/R/man/collections.update.Rd [new file with mode: 0644]
sdk/R/man/collections.used_by.Rd [new file with mode: 0644]
sdk/R/man/container_requests.create.Rd [new file with mode: 0644]
sdk/R/man/container_requests.delete.Rd [new file with mode: 0644]
sdk/R/man/container_requests.get.Rd [new file with mode: 0644]
sdk/R/man/container_requests.list.Rd [new file with mode: 0644]
sdk/R/man/container_requests.update.Rd [new file with mode: 0644]
sdk/R/man/containers.auth.Rd [new file with mode: 0644]
sdk/R/man/containers.create.Rd [new file with mode: 0644]
sdk/R/man/containers.current.Rd [new file with mode: 0644]
sdk/R/man/containers.delete.Rd [new file with mode: 0644]
sdk/R/man/containers.get.Rd [new file with mode: 0644]
sdk/R/man/containers.list.Rd [new file with mode: 0644]
sdk/R/man/containers.lock.Rd [new file with mode: 0644]
sdk/R/man/containers.secret_mounts.Rd [new file with mode: 0644]
sdk/R/man/containers.unlock.Rd [new file with mode: 0644]
sdk/R/man/containers.update.Rd [new file with mode: 0644]
sdk/R/man/groups.contents.Rd [new file with mode: 0644]
sdk/R/man/groups.create.Rd [new file with mode: 0644]
sdk/R/man/groups.delete.Rd [new file with mode: 0644]
sdk/R/man/groups.get.Rd [new file with mode: 0644]
sdk/R/man/groups.list.Rd [new file with mode: 0644]
sdk/R/man/groups.trash.Rd [new file with mode: 0644]
sdk/R/man/groups.untrash.Rd [new file with mode: 0644]
sdk/R/man/groups.update.Rd [new file with mode: 0644]
sdk/R/man/humans.create.Rd [new file with mode: 0644]
sdk/R/man/humans.delete.Rd [new file with mode: 0644]
sdk/R/man/humans.get.Rd [new file with mode: 0644]
sdk/R/man/humans.list.Rd [new file with mode: 0644]
sdk/R/man/humans.update.Rd [new file with mode: 0644]
sdk/R/man/job_tasks.create.Rd [new file with mode: 0644]
sdk/R/man/job_tasks.delete.Rd [new file with mode: 0644]
sdk/R/man/job_tasks.get.Rd [new file with mode: 0644]
sdk/R/man/job_tasks.list.Rd [new file with mode: 0644]
sdk/R/man/job_tasks.update.Rd [new file with mode: 0644]
sdk/R/man/jobs.cancel.Rd [new file with mode: 0644]
sdk/R/man/jobs.create.Rd [new file with mode: 0644]
sdk/R/man/jobs.delete.Rd [new file with mode: 0644]
sdk/R/man/jobs.get.Rd [new file with mode: 0644]
sdk/R/man/jobs.list.Rd [new file with mode: 0644]
sdk/R/man/jobs.lock.Rd [new file with mode: 0644]
sdk/R/man/jobs.queue.Rd [new file with mode: 0644]
sdk/R/man/jobs.queue_size.Rd [new file with mode: 0644]
sdk/R/man/jobs.update.Rd [new file with mode: 0644]
sdk/R/man/keep_disks.create.Rd [new file with mode: 0644]
sdk/R/man/keep_disks.delete.Rd [new file with mode: 0644]
sdk/R/man/keep_disks.get.Rd [new file with mode: 0644]
sdk/R/man/keep_disks.list.Rd [new file with mode: 0644]
sdk/R/man/keep_disks.ping.Rd [new file with mode: 0644]
sdk/R/man/keep_disks.update.Rd [new file with mode: 0644]
sdk/R/man/keep_services.accessible.Rd [new file with mode: 0644]
sdk/R/man/keep_services.create.Rd [new file with mode: 0644]
sdk/R/man/keep_services.delete.Rd [new file with mode: 0644]
sdk/R/man/keep_services.get.Rd [new file with mode: 0644]
sdk/R/man/keep_services.list.Rd [new file with mode: 0644]
sdk/R/man/keep_services.update.Rd [new file with mode: 0644]
sdk/R/man/links.create.Rd [new file with mode: 0644]
sdk/R/man/links.delete.Rd [new file with mode: 0644]
sdk/R/man/links.get.Rd [new file with mode: 0644]
sdk/R/man/links.get_permissions.Rd [new file with mode: 0644]
sdk/R/man/links.list.Rd [new file with mode: 0644]
sdk/R/man/links.update.Rd [new file with mode: 0644]
sdk/R/man/listAll.Rd [new file with mode: 0644]
sdk/R/man/logs.create.Rd [new file with mode: 0644]
sdk/R/man/logs.delete.Rd [new file with mode: 0644]
sdk/R/man/logs.get.Rd [new file with mode: 0644]
sdk/R/man/logs.list.Rd [new file with mode: 0644]
sdk/R/man/logs.update.Rd [new file with mode: 0644]
sdk/R/man/nodes.create.Rd [new file with mode: 0644]
sdk/R/man/nodes.delete.Rd [new file with mode: 0644]
sdk/R/man/nodes.get.Rd [new file with mode: 0644]
sdk/R/man/nodes.list.Rd [new file with mode: 0644]
sdk/R/man/nodes.ping.Rd [new file with mode: 0644]
sdk/R/man/nodes.update.Rd [new file with mode: 0644]
sdk/R/man/pipeline_instances.cancel.Rd [new file with mode: 0644]
sdk/R/man/pipeline_instances.create.Rd [new file with mode: 0644]
sdk/R/man/pipeline_instances.delete.Rd [new file with mode: 0644]
sdk/R/man/pipeline_instances.get.Rd [new file with mode: 0644]
sdk/R/man/pipeline_instances.list.Rd [new file with mode: 0644]
sdk/R/man/pipeline_instances.update.Rd [new file with mode: 0644]
sdk/R/man/pipeline_templates.create.Rd [new file with mode: 0644]
sdk/R/man/pipeline_templates.delete.Rd [new file with mode: 0644]
sdk/R/man/pipeline_templates.get.Rd [new file with mode: 0644]
sdk/R/man/pipeline_templates.list.Rd [new file with mode: 0644]
sdk/R/man/pipeline_templates.update.Rd [new file with mode: 0644]
sdk/R/man/print.Arvados.Rd [deleted file]
sdk/R/man/projects.create.Rd [new file with mode: 0644]
sdk/R/man/projects.delete.Rd [new file with mode: 0644]
sdk/R/man/projects.get.Rd [new file with mode: 0644]
sdk/R/man/projects.list.Rd [new file with mode: 0644]
sdk/R/man/projects.update.Rd [new file with mode: 0644]
sdk/R/man/repositories.create.Rd [new file with mode: 0644]
sdk/R/man/repositories.delete.Rd [new file with mode: 0644]
sdk/R/man/repositories.get.Rd [new file with mode: 0644]
sdk/R/man/repositories.get_all_permissions.Rd [new file with mode: 0644]
sdk/R/man/repositories.list.Rd [new file with mode: 0644]
sdk/R/man/repositories.update.Rd [new file with mode: 0644]
sdk/R/man/specimens.create.Rd [new file with mode: 0644]
sdk/R/man/specimens.delete.Rd [new file with mode: 0644]
sdk/R/man/specimens.get.Rd [new file with mode: 0644]
sdk/R/man/specimens.list.Rd [new file with mode: 0644]
sdk/R/man/specimens.update.Rd [new file with mode: 0644]
sdk/R/man/traits.create.Rd [new file with mode: 0644]
sdk/R/man/traits.delete.Rd [new file with mode: 0644]
sdk/R/man/traits.get.Rd [new file with mode: 0644]
sdk/R/man/traits.list.Rd [new file with mode: 0644]
sdk/R/man/traits.update.Rd [new file with mode: 0644]
sdk/R/man/user_agreements.create.Rd [new file with mode: 0644]
sdk/R/man/user_agreements.delete.Rd [new file with mode: 0644]
sdk/R/man/user_agreements.get.Rd [new file with mode: 0644]
sdk/R/man/user_agreements.list.Rd [new file with mode: 0644]
sdk/R/man/user_agreements.new.Rd [new file with mode: 0644]
sdk/R/man/user_agreements.sign.Rd [new file with mode: 0644]
sdk/R/man/user_agreements.signatures.Rd [new file with mode: 0644]
sdk/R/man/user_agreements.update.Rd [new file with mode: 0644]
sdk/R/man/users.activate.Rd [new file with mode: 0644]
sdk/R/man/users.create.Rd [new file with mode: 0644]
sdk/R/man/users.current.Rd [new file with mode: 0644]
sdk/R/man/users.delete.Rd [new file with mode: 0644]
sdk/R/man/users.get.Rd [new file with mode: 0644]
sdk/R/man/users.list.Rd [new file with mode: 0644]
sdk/R/man/users.setup.Rd [new file with mode: 0644]
sdk/R/man/users.system.Rd [new file with mode: 0644]
sdk/R/man/users.unsetup.Rd [new file with mode: 0644]
sdk/R/man/users.update.Rd [new file with mode: 0644]
sdk/R/man/users.update_uuid.Rd [new file with mode: 0644]
sdk/R/man/virtual_machines.create.Rd [new file with mode: 0644]
sdk/R/man/virtual_machines.delete.Rd [new file with mode: 0644]
sdk/R/man/virtual_machines.get.Rd [new file with mode: 0644]
sdk/R/man/virtual_machines.get_all_logins.Rd [new file with mode: 0644]
sdk/R/man/virtual_machines.list.Rd [new file with mode: 0644]
sdk/R/man/virtual_machines.logins.Rd [new file with mode: 0644]
sdk/R/man/virtual_machines.update.Rd [new file with mode: 0644]
sdk/R/man/workflows.create.Rd [new file with mode: 0644]
sdk/R/man/workflows.delete.Rd [new file with mode: 0644]
sdk/R/man/workflows.get.Rd [new file with mode: 0644]
sdk/R/man/workflows.list.Rd [new file with mode: 0644]
sdk/R/man/workflows.update.Rd [new file with mode: 0644]
sdk/R/tests/testthat/test-Arvados.R [deleted file]
sdk/R/tests/testthat/test-ArvadosFile.R
sdk/R/tests/testthat/test-HttpRequest.R
sdk/R/tests/testthat/test-RESTService.R
sdk/R/tests/testthat/test-Subcollection.R
sdk/R/tests/testthat/test-util.R

index b89c8d9e5bc51c6f0acd1b1938ad1cd540192f15..f567cf41d586bb24993b9543bb8ec814396ea169 100755 (executable)
@@ -246,9 +246,9 @@ sanity_checks() {
     if [[ "$NEED_SDK_R" = true ]]; then
       # R SDK stuff
       echo -n 'R: '
-      which R || fatal "No R. Try: apt-get install r-base"
+      which Rscript || fatal "No Rscript. Try: apt-get install r-base"
       echo -n 'testthat: '
-      R -q -e "library('testthat')" || fatal "No testthat. Try: apt-get install r-cran-testthat"
+      Rscript -e "library('testthat')" || fatal "No testthat. Try: apt-get install r-cran-testthat"
       # needed for roxygen2, needed for devtools, needed for R sdk
       pkg-config --exists libxml-2.0 || fatal "No libxml2. Try: apt-get install libxml2-dev"
       # needed for pkgdown, builds R SDK doc pages
@@ -802,7 +802,7 @@ do_install sdk/ruby ruby_sdk
 install_R_sdk() {
   if [[ "$NEED_SDK_R" = true ]]; then
     cd "$WORKSPACE/sdk/R" \
-       && R --quiet --vanilla --file=install_deps.R
+       && Rscript --vanilla install_deps.R
   fi
 }
 do_install sdk/R R_sdk
@@ -981,7 +981,7 @@ do_test sdk/ruby ruby_sdk
 test_R_sdk() {
   if [[ "$NEED_SDK_R" = true ]]; then
     cd "$WORKSPACE/sdk/R" \
-        && R --quiet --file=run_test.R
+        && Rscript --vanilla run_test.R
   fi
 }
 
index eaa5410100992dfc8bc4482e2b6974d54b0ff8a0..4ba2f1af8dacf22c9d3786694e7953fafcaf7fa2 100644 (file)
@@ -28,11 +28,59 @@ end
 file "sdk/R/arvados/index.html" do |t|
   `which R`
   if $? == 0
+    tgt = Dir.pwd
+    Dir.mkdir("sdk/R/arvados")
+    docfiles = []
     Dir.chdir("../sdk/R/") do
-      STDERR.puts `R --quiet --vanilla -e 'pkgdown::build_site()' 2>&1`
+      STDERR.puts `Rscript createDoc.R README.Rmd #{tgt}/sdk/R/README.md 2>&1`
+      Dir.entries("man").each do |rd|
+        if rd[-3..-1] == ".Rd"
+          htmlfile = "#{rd[0..-4]}.html"
+          `R CMD Rdconv -t html man/#{rd} > #{tgt}/sdk/R/arvados/#{htmlfile}`
+          docfiles << htmlfile
+        end
+      end
     end
     raise if $? != 0
-    cp_r("../sdk/R/docs", "sdk/R/arvados")
+
+    File.open("sdk/R/README.md", "r") do |rd|
+    File.open("sdk/R/index.html.md", "w") do |fn|
+      fn.write(<<-EOF
+---
+layout: default
+navsection: sdk
+navmenu: R
+title: "R SDK Overview"
+...
+
+#{rd.read.gsub("```", "\n~~~\n").gsub(/^[ ]+/, "")}
+EOF
+              )
+      end
+    end
+
+    File.open("sdk/R/arvados/index.html.textile.liquid", "w") do |fn|
+      fn.write(<<-EOF
+---
+layout: default
+navsection: sdk
+navmenu: R
+title: "R Reference"
+...
+{% comment %}
+Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: CC-BY-SA-3.0
+{% endcomment %}
+
+EOF
+              )
+
+      docfiles.sort.each do |d|
+        fn.write("* \"#{d[0..-6]}\":#{d}\n")
+      end
+
+    end
   else
     puts "Warning: R not found, R documentation will not be generated".colorize(:light_red)
   end
index 011be51062e0bf2352d150531555dbde1292242d..a1885987ffd4520571b6357d4dadddbae2adea68 100644 (file)
@@ -105,7 +105,8 @@ navbar:
       - sdk/go/index.html.textile.liquid
       - sdk/go/example.html.textile.liquid
     - R:
-      - sdk/R/index.html.textile.liquid
+      - sdk/R/index.html.md
+      - sdk/R/arvados/index.html.textile.liquid
     - Perl:
       - sdk/perl/index.html.textile.liquid
       - sdk/perl/example.html.textile.liquid
diff --git a/doc/sdk/R/index.html.textile.liquid b/doc/sdk/R/index.html.textile.liquid
deleted file mode 100644 (file)
index 7b788a1..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
----
-layout: default
-navsection: sdk
-navmenu: R
-title: "R Reference"
-
-no_nav_left: true
-...
-{% comment %}
-Copyright (C) The Arvados Authors. All rights reserved.
-
-SPDX-License-Identifier: CC-BY-SA-3.0
-{% endcomment %}
-
-notextile. <iframe src="arvados/" style="width:100%; height:100%; border:none" />
index f2cae86f546a41b632a7e11c534b6affcc5cddd4..1cc676875a49f4b6c0783ea8223927d06a4e232a 100644 (file)
@@ -1,6 +1,5 @@
 # Generated by roxygen2: do not edit by hand
 
-S3method(print,Arvados)
 S3method(print,ArvadosFile)
 S3method(print,Collection)
 S3method(print,Subcollection)
@@ -8,3 +7,5 @@ export(Arvados)
 export(ArvadosFile)
 export(Collection)
 export(Subcollection)
+export(generateAPI)
+export(listAll)
index 8b0e92b2374762133cae5953d32b3531853c3088..644725c2e2b42f05fca8d13c20e809f53d59ed5c 100644 (file)
-source("./R/RESTService.R")
-source("./R/HttpRequest.R")
-source("./R/HttpParser.R")
+#' users.get
+#' 
+#' users.get is a method defined in Arvados class.
+#' 
+#' @usage arv$users.get(uuid)
+#' @param uuid The UUID of the User in question.
+#' @return User object.
+#' @name users.get
+NULL
+
+#' users.create
+#' 
+#' users.create is a method defined in Arvados class.
+#' 
+#' @usage arv$users.create(user, ensure_unique_name = "false")
+#' @param user User object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return User object.
+#' @name users.create
+NULL
+
+#' users.update
+#' 
+#' users.update is a method defined in Arvados class.
+#' 
+#' @usage arv$users.update(user, uuid)
+#' @param user User object.
+#' @param uuid The UUID of the User in question.
+#' @return User object.
+#' @name users.update
+NULL
+
+#' users.delete
+#' 
+#' users.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$users.delete(uuid)
+#' @param uuid The UUID of the User in question.
+#' @return User object.
+#' @name users.delete
+NULL
+
+#' users.current
+#' 
+#' users.current is a method defined in Arvados class.
+#' 
+#' @usage arv$users.current(NULL)
+#' @return User object.
+#' @name users.current
+NULL
+
+#' users.system
+#' 
+#' users.system is a method defined in Arvados class.
+#' 
+#' @usage arv$users.system(NULL)
+#' @return User object.
+#' @name users.system
+NULL
+
+#' users.activate
+#' 
+#' users.activate is a method defined in Arvados class.
+#' 
+#' @usage arv$users.activate(uuid)
+#' @param uuid 
+#' @return User object.
+#' @name users.activate
+NULL
+
+#' users.setup
+#' 
+#' users.setup is a method defined in Arvados class.
+#' 
+#' @usage arv$users.setup(user = NULL, openid_prefix = NULL,
+#'     repo_name = NULL, vm_uuid = NULL, send_notification_email = "false")
+#' @param user 
+#' @param openid_prefix 
+#' @param repo_name 
+#' @param vm_uuid 
+#' @param send_notification_email 
+#' @return User object.
+#' @name users.setup
+NULL
+
+#' users.unsetup
+#' 
+#' users.unsetup is a method defined in Arvados class.
+#' 
+#' @usage arv$users.unsetup(uuid)
+#' @param uuid 
+#' @return User object.
+#' @name users.unsetup
+NULL
+
+#' users.update_uuid
+#' 
+#' users.update_uuid is a method defined in Arvados class.
+#' 
+#' @usage arv$users.update_uuid(uuid, new_uuid)
+#' @param uuid 
+#' @param new_uuid 
+#' @return User object.
+#' @name users.update_uuid
+NULL
+
+#' users.list
+#' 
+#' users.list is a method defined in Arvados class.
+#' 
+#' @usage arv$users.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return UserList object.
+#' @name users.list
+NULL
+
+#' api_client_authorizations.get
+#' 
+#' api_client_authorizations.get is a method defined in Arvados class.
+#' 
+#' @usage arv$api_client_authorizations.get(uuid)
+#' @param uuid The UUID of the ApiClientAuthorization in question.
+#' @return ApiClientAuthorization object.
+#' @name api_client_authorizations.get
+NULL
+
+#' api_client_authorizations.create
+#' 
+#' api_client_authorizations.create is a method defined in Arvados class.
+#' 
+#' @usage arv$api_client_authorizations.create(apiclientauthorization,
+#'     ensure_unique_name = "false")
+#' @param apiClientAuthorization ApiClientAuthorization object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return ApiClientAuthorization object.
+#' @name api_client_authorizations.create
+NULL
+
+#' api_client_authorizations.update
+#' 
+#' api_client_authorizations.update is a method defined in Arvados class.
+#' 
+#' @usage arv$api_client_authorizations.update(apiclientauthorization,
+#'     uuid)
+#' @param apiClientAuthorization ApiClientAuthorization object.
+#' @param uuid The UUID of the ApiClientAuthorization in question.
+#' @return ApiClientAuthorization object.
+#' @name api_client_authorizations.update
+NULL
+
+#' api_client_authorizations.delete
+#' 
+#' api_client_authorizations.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$api_client_authorizations.delete(uuid)
+#' @param uuid The UUID of the ApiClientAuthorization in question.
+#' @return ApiClientAuthorization object.
+#' @name api_client_authorizations.delete
+NULL
+
+#' api_client_authorizations.create_system_auth
+#' 
+#' api_client_authorizations.create_system_auth is a method defined in Arvados class.
+#' 
+#' @usage arv$api_client_authorizations.create_system_auth(api_client_id = NULL,
+#'     scopes = NULL)
+#' @param api_client_id 
+#' @param scopes 
+#' @return ApiClientAuthorization object.
+#' @name api_client_authorizations.create_system_auth
+NULL
+
+#' api_client_authorizations.current
+#' 
+#' api_client_authorizations.current is a method defined in Arvados class.
+#' 
+#' @usage arv$api_client_authorizations.current(NULL)
+#' @return ApiClientAuthorization object.
+#' @name api_client_authorizations.current
+NULL
+
+#' api_client_authorizations.list
+#' 
+#' api_client_authorizations.list is a method defined in Arvados class.
+#' 
+#' @usage arv$api_client_authorizations.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return ApiClientAuthorizationList object.
+#' @name api_client_authorizations.list
+NULL
+
+#' containers.get
+#' 
+#' containers.get is a method defined in Arvados class.
+#' 
+#' @usage arv$containers.get(uuid)
+#' @param uuid The UUID of the Container in question.
+#' @return Container object.
+#' @name containers.get
+NULL
+
+#' containers.create
+#' 
+#' containers.create is a method defined in Arvados class.
+#' 
+#' @usage arv$containers.create(container,
+#'     ensure_unique_name = "false")
+#' @param container Container object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return Container object.
+#' @name containers.create
+NULL
+
+#' containers.update
+#' 
+#' containers.update is a method defined in Arvados class.
+#' 
+#' @usage arv$containers.update(container,
+#'     uuid)
+#' @param container Container object.
+#' @param uuid The UUID of the Container in question.
+#' @return Container object.
+#' @name containers.update
+NULL
+
+#' containers.delete
+#' 
+#' containers.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$containers.delete(uuid)
+#' @param uuid The UUID of the Container in question.
+#' @return Container object.
+#' @name containers.delete
+NULL
+
+#' containers.auth
+#' 
+#' containers.auth is a method defined in Arvados class.
+#' 
+#' @usage arv$containers.auth(uuid)
+#' @param uuid 
+#' @return Container object.
+#' @name containers.auth
+NULL
+
+#' containers.lock
+#' 
+#' containers.lock is a method defined in Arvados class.
+#' 
+#' @usage arv$containers.lock(uuid)
+#' @param uuid 
+#' @return Container object.
+#' @name containers.lock
+NULL
+
+#' containers.unlock
+#' 
+#' containers.unlock is a method defined in Arvados class.
+#' 
+#' @usage arv$containers.unlock(uuid)
+#' @param uuid 
+#' @return Container object.
+#' @name containers.unlock
+NULL
+
+#' containers.secret_mounts
+#' 
+#' containers.secret_mounts is a method defined in Arvados class.
+#' 
+#' @usage arv$containers.secret_mounts(uuid)
+#' @param uuid 
+#' @return Container object.
+#' @name containers.secret_mounts
+NULL
+
+#' containers.current
+#' 
+#' containers.current is a method defined in Arvados class.
+#' 
+#' @usage arv$containers.current(NULL)
+#' @return Container object.
+#' @name containers.current
+NULL
+
+#' containers.list
+#' 
+#' containers.list is a method defined in Arvados class.
+#' 
+#' @usage arv$containers.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return ContainerList object.
+#' @name containers.list
+NULL
+
+#' api_clients.get
+#' 
+#' api_clients.get is a method defined in Arvados class.
+#' 
+#' @usage arv$api_clients.get(uuid)
+#' @param uuid The UUID of the ApiClient in question.
+#' @return ApiClient object.
+#' @name api_clients.get
+NULL
+
+#' api_clients.create
+#' 
+#' api_clients.create is a method defined in Arvados class.
+#' 
+#' @usage arv$api_clients.create(apiclient,
+#'     ensure_unique_name = "false")
+#' @param apiClient ApiClient object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return ApiClient object.
+#' @name api_clients.create
+NULL
+
+#' api_clients.update
+#' 
+#' api_clients.update is a method defined in Arvados class.
+#' 
+#' @usage arv$api_clients.update(apiclient,
+#'     uuid)
+#' @param apiClient ApiClient object.
+#' @param uuid The UUID of the ApiClient in question.
+#' @return ApiClient object.
+#' @name api_clients.update
+NULL
+
+#' api_clients.delete
+#' 
+#' api_clients.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$api_clients.delete(uuid)
+#' @param uuid The UUID of the ApiClient in question.
+#' @return ApiClient object.
+#' @name api_clients.delete
+NULL
+
+#' api_clients.list
+#' 
+#' api_clients.list is a method defined in Arvados class.
+#' 
+#' @usage arv$api_clients.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return ApiClientList object.
+#' @name api_clients.list
+NULL
+
+#' authorized_keys.get
+#' 
+#' authorized_keys.get is a method defined in Arvados class.
+#' 
+#' @usage arv$authorized_keys.get(uuid)
+#' @param uuid The UUID of the AuthorizedKey in question.
+#' @return AuthorizedKey object.
+#' @name authorized_keys.get
+NULL
+
+#' authorized_keys.create
+#' 
+#' authorized_keys.create is a method defined in Arvados class.
+#' 
+#' @usage arv$authorized_keys.create(authorizedkey,
+#'     ensure_unique_name = "false")
+#' @param authorizedKey AuthorizedKey object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return AuthorizedKey object.
+#' @name authorized_keys.create
+NULL
+
+#' authorized_keys.update
+#' 
+#' authorized_keys.update is a method defined in Arvados class.
+#' 
+#' @usage arv$authorized_keys.update(authorizedkey,
+#'     uuid)
+#' @param authorizedKey AuthorizedKey object.
+#' @param uuid The UUID of the AuthorizedKey in question.
+#' @return AuthorizedKey object.
+#' @name authorized_keys.update
+NULL
+
+#' authorized_keys.delete
+#' 
+#' authorized_keys.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$authorized_keys.delete(uuid)
+#' @param uuid The UUID of the AuthorizedKey in question.
+#' @return AuthorizedKey object.
+#' @name authorized_keys.delete
+NULL
+
+#' authorized_keys.list
+#' 
+#' authorized_keys.list is a method defined in Arvados class.
+#' 
+#' @usage arv$authorized_keys.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return AuthorizedKeyList object.
+#' @name authorized_keys.list
+NULL
+
+#' container_requests.get
+#' 
+#' container_requests.get is a method defined in Arvados class.
+#' 
+#' @usage arv$container_requests.get(uuid)
+#' @param uuid The UUID of the ContainerRequest in question.
+#' @return ContainerRequest object.
+#' @name container_requests.get
+NULL
+
+#' container_requests.create
+#' 
+#' container_requests.create is a method defined in Arvados class.
+#' 
+#' @usage arv$container_requests.create(containerrequest,
+#'     ensure_unique_name = "false")
+#' @param containerRequest ContainerRequest object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return ContainerRequest object.
+#' @name container_requests.create
+NULL
+
+#' container_requests.update
+#' 
+#' container_requests.update is a method defined in Arvados class.
+#' 
+#' @usage arv$container_requests.update(containerrequest,
+#'     uuid)
+#' @param containerRequest ContainerRequest object.
+#' @param uuid The UUID of the ContainerRequest in question.
+#' @return ContainerRequest object.
+#' @name container_requests.update
+NULL
+
+#' container_requests.delete
+#' 
+#' container_requests.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$container_requests.delete(uuid)
+#' @param uuid The UUID of the ContainerRequest in question.
+#' @return ContainerRequest object.
+#' @name container_requests.delete
+NULL
+
+#' container_requests.list
+#' 
+#' container_requests.list is a method defined in Arvados class.
+#' 
+#' @usage arv$container_requests.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return ContainerRequestList object.
+#' @name container_requests.list
+NULL
+
+#' collections.get
+#' 
+#' collections.get is a method defined in Arvados class.
+#' 
+#' @usage arv$collections.get(uuid)
+#' @param uuid The UUID of the Collection in question.
+#' @return Collection object.
+#' @name collections.get
+NULL
+
+#' collections.create
+#' 
+#' collections.create is a method defined in Arvados class.
+#' 
+#' @usage arv$collections.create(collection,
+#'     ensure_unique_name = "false")
+#' @param collection Collection object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return Collection object.
+#' @name collections.create
+NULL
+
+#' collections.update
+#' 
+#' collections.update is a method defined in Arvados class.
+#' 
+#' @usage arv$collections.update(collection,
+#'     uuid)
+#' @param collection Collection object.
+#' @param uuid The UUID of the Collection in question.
+#' @return Collection object.
+#' @name collections.update
+NULL
+
+#' collections.delete
+#' 
+#' collections.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$collections.delete(uuid)
+#' @param uuid The UUID of the Collection in question.
+#' @return Collection object.
+#' @name collections.delete
+NULL
+
+#' collections.provenance
+#' 
+#' collections.provenance is a method defined in Arvados class.
+#' 
+#' @usage arv$collections.provenance(uuid)
+#' @param uuid 
+#' @return Collection object.
+#' @name collections.provenance
+NULL
+
+#' collections.used_by
+#' 
+#' collections.used_by is a method defined in Arvados class.
+#' 
+#' @usage arv$collections.used_by(uuid)
+#' @param uuid 
+#' @return Collection object.
+#' @name collections.used_by
+NULL
+
+#' collections.trash
+#' 
+#' collections.trash is a method defined in Arvados class.
+#' 
+#' @usage arv$collections.trash(uuid)
+#' @param uuid 
+#' @return Collection object.
+#' @name collections.trash
+NULL
+
+#' collections.untrash
+#' 
+#' collections.untrash is a method defined in Arvados class.
+#' 
+#' @usage arv$collections.untrash(uuid)
+#' @param uuid 
+#' @return Collection object.
+#' @name collections.untrash
+NULL
+
+#' collections.list
+#' 
+#' collections.list is a method defined in Arvados class.
+#' 
+#' @usage arv$collections.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact", include_trash = NULL)
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @param include_trash Include collections whose is_trashed attribute is true.
+#' @return CollectionList object.
+#' @name collections.list
+NULL
+
+#' humans.get
+#' 
+#' humans.get is a method defined in Arvados class.
+#' 
+#' @usage arv$humans.get(uuid)
+#' @param uuid The UUID of the Human in question.
+#' @return Human object.
+#' @name humans.get
+NULL
+
+#' humans.create
+#' 
+#' humans.create is a method defined in Arvados class.
+#' 
+#' @usage arv$humans.create(human, ensure_unique_name = "false")
+#' @param human Human object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return Human object.
+#' @name humans.create
+NULL
+
+#' humans.update
+#' 
+#' humans.update is a method defined in Arvados class.
+#' 
+#' @usage arv$humans.update(human, uuid)
+#' @param human Human object.
+#' @param uuid The UUID of the Human in question.
+#' @return Human object.
+#' @name humans.update
+NULL
+
+#' humans.delete
+#' 
+#' humans.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$humans.delete(uuid)
+#' @param uuid The UUID of the Human in question.
+#' @return Human object.
+#' @name humans.delete
+NULL
+
+#' humans.list
+#' 
+#' humans.list is a method defined in Arvados class.
+#' 
+#' @usage arv$humans.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return HumanList object.
+#' @name humans.list
+NULL
+
+#' job_tasks.get
+#' 
+#' job_tasks.get is a method defined in Arvados class.
+#' 
+#' @usage arv$job_tasks.get(uuid)
+#' @param uuid The UUID of the JobTask in question.
+#' @return JobTask object.
+#' @name job_tasks.get
+NULL
+
+#' job_tasks.create
+#' 
+#' job_tasks.create is a method defined in Arvados class.
+#' 
+#' @usage arv$job_tasks.create(jobtask, ensure_unique_name = "false")
+#' @param jobTask JobTask object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return JobTask object.
+#' @name job_tasks.create
+NULL
+
+#' job_tasks.update
+#' 
+#' job_tasks.update is a method defined in Arvados class.
+#' 
+#' @usage arv$job_tasks.update(jobtask, uuid)
+#' @param jobTask JobTask object.
+#' @param uuid The UUID of the JobTask in question.
+#' @return JobTask object.
+#' @name job_tasks.update
+NULL
+
+#' job_tasks.delete
+#' 
+#' job_tasks.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$job_tasks.delete(uuid)
+#' @param uuid The UUID of the JobTask in question.
+#' @return JobTask object.
+#' @name job_tasks.delete
+NULL
+
+#' job_tasks.list
+#' 
+#' job_tasks.list is a method defined in Arvados class.
+#' 
+#' @usage arv$job_tasks.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return JobTaskList object.
+#' @name job_tasks.list
+NULL
+
+#' links.get
+#' 
+#' links.get is a method defined in Arvados class.
+#' 
+#' @usage arv$links.get(uuid)
+#' @param uuid The UUID of the Link in question.
+#' @return Link object.
+#' @name links.get
+NULL
+
+#' links.create
+#' 
+#' links.create is a method defined in Arvados class.
+#' 
+#' @usage arv$links.create(link, ensure_unique_name = "false")
+#' @param link Link object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return Link object.
+#' @name links.create
+NULL
+
+#' links.update
+#' 
+#' links.update is a method defined in Arvados class.
+#' 
+#' @usage arv$links.update(link, uuid)
+#' @param link Link object.
+#' @param uuid The UUID of the Link in question.
+#' @return Link object.
+#' @name links.update
+NULL
+
+#' links.delete
+#' 
+#' links.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$links.delete(uuid)
+#' @param uuid The UUID of the Link in question.
+#' @return Link object.
+#' @name links.delete
+NULL
+
+#' links.list
+#' 
+#' links.list is a method defined in Arvados class.
+#' 
+#' @usage arv$links.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return LinkList object.
+#' @name links.list
+NULL
+
+#' links.get_permissions
+#' 
+#' links.get_permissions is a method defined in Arvados class.
+#' 
+#' @usage arv$links.get_permissions(uuid)
+#' @param uuid 
+#' @return Link object.
+#' @name links.get_permissions
+NULL
+
+#' jobs.get
+#' 
+#' jobs.get is a method defined in Arvados class.
+#' 
+#' @usage arv$jobs.get(uuid)
+#' @param uuid The UUID of the Job in question.
+#' @return Job object.
+#' @name jobs.get
+NULL
+
+#' jobs.create
+#' 
+#' jobs.create is a method defined in Arvados class.
+#' 
+#' @usage arv$jobs.create(job, ensure_unique_name = "false",
+#'     find_or_create = "false", filters = NULL,
+#'     minimum_script_version = NULL, exclude_script_versions = NULL)
+#' @param job Job object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @param find_or_create 
+#' @param filters 
+#' @param minimum_script_version 
+#' @param exclude_script_versions 
+#' @return Job object.
+#' @name jobs.create
+NULL
+
+#' jobs.update
+#' 
+#' jobs.update is a method defined in Arvados class.
+#' 
+#' @usage arv$jobs.update(job, uuid)
+#' @param job Job object.
+#' @param uuid The UUID of the Job in question.
+#' @return Job object.
+#' @name jobs.update
+NULL
+
+#' jobs.delete
+#' 
+#' jobs.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$jobs.delete(uuid)
+#' @param uuid The UUID of the Job in question.
+#' @return Job object.
+#' @name jobs.delete
+NULL
+
+#' jobs.queue
+#' 
+#' jobs.queue is a method defined in Arvados class.
+#' 
+#' @usage arv$jobs.queue(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return Job object.
+#' @name jobs.queue
+NULL
+
+#' jobs.queue_size
+#' 
+#' jobs.queue_size is a method defined in Arvados class.
+#' 
+#' @usage arv$jobs.queue_size(NULL)
+#' @return Job object.
+#' @name jobs.queue_size
+NULL
+
+#' jobs.cancel
+#' 
+#' jobs.cancel is a method defined in Arvados class.
+#' 
+#' @usage arv$jobs.cancel(uuid)
+#' @param uuid 
+#' @return Job object.
+#' @name jobs.cancel
+NULL
+
+#' jobs.lock
+#' 
+#' jobs.lock is a method defined in Arvados class.
+#' 
+#' @usage arv$jobs.lock(uuid)
+#' @param uuid 
+#' @return Job object.
+#' @name jobs.lock
+NULL
+
+#' jobs.list
+#' 
+#' jobs.list is a method defined in Arvados class.
+#' 
+#' @usage arv$jobs.list(filters = NULL, where = NULL,
+#'     order = NULL, select = NULL, distinct = NULL,
+#'     limit = "100", offset = "0", count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return JobList object.
+#' @name jobs.list
+NULL
+
+#' keep_disks.get
+#' 
+#' keep_disks.get is a method defined in Arvados class.
+#' 
+#' @usage arv$keep_disks.get(uuid)
+#' @param uuid The UUID of the KeepDisk in question.
+#' @return KeepDisk object.
+#' @name keep_disks.get
+NULL
+
+#' keep_disks.create
+#' 
+#' keep_disks.create is a method defined in Arvados class.
+#' 
+#' @usage arv$keep_disks.create(keepdisk,
+#'     ensure_unique_name = "false")
+#' @param keepDisk KeepDisk object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return KeepDisk object.
+#' @name keep_disks.create
+NULL
+
+#' keep_disks.update
+#' 
+#' keep_disks.update is a method defined in Arvados class.
+#' 
+#' @usage arv$keep_disks.update(keepdisk,
+#'     uuid)
+#' @param keepDisk KeepDisk object.
+#' @param uuid The UUID of the KeepDisk in question.
+#' @return KeepDisk object.
+#' @name keep_disks.update
+NULL
+
+#' keep_disks.delete
+#' 
+#' keep_disks.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$keep_disks.delete(uuid)
+#' @param uuid The UUID of the KeepDisk in question.
+#' @return KeepDisk object.
+#' @name keep_disks.delete
+NULL
+
+#' keep_disks.ping
+#' 
+#' keep_disks.ping is a method defined in Arvados class.
+#' 
+#' @usage arv$keep_disks.ping(uuid = NULL,
+#'     ping_secret, node_uuid = NULL, filesystem_uuid = NULL,
+#'     service_host = NULL, service_port, service_ssl_flag)
+#' @param uuid 
+#' @param ping_secret 
+#' @param node_uuid 
+#' @param filesystem_uuid 
+#' @param service_host 
+#' @param service_port 
+#' @param service_ssl_flag 
+#' @return KeepDisk object.
+#' @name keep_disks.ping
+NULL
+
+#' keep_disks.list
+#' 
+#' keep_disks.list is a method defined in Arvados class.
+#' 
+#' @usage arv$keep_disks.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return KeepDiskList object.
+#' @name keep_disks.list
+NULL
+
+#' keep_services.get
+#' 
+#' keep_services.get is a method defined in Arvados class.
+#' 
+#' @usage arv$keep_services.get(uuid)
+#' @param uuid The UUID of the KeepService in question.
+#' @return KeepService object.
+#' @name keep_services.get
+NULL
+
+#' keep_services.create
+#' 
+#' keep_services.create is a method defined in Arvados class.
+#' 
+#' @usage arv$keep_services.create(keepservice,
+#'     ensure_unique_name = "false")
+#' @param keepService KeepService object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return KeepService object.
+#' @name keep_services.create
+NULL
+
+#' keep_services.update
+#' 
+#' keep_services.update is a method defined in Arvados class.
+#' 
+#' @usage arv$keep_services.update(keepservice,
+#'     uuid)
+#' @param keepService KeepService object.
+#' @param uuid The UUID of the KeepService in question.
+#' @return KeepService object.
+#' @name keep_services.update
+NULL
+
+#' keep_services.delete
+#' 
+#' keep_services.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$keep_services.delete(uuid)
+#' @param uuid The UUID of the KeepService in question.
+#' @return KeepService object.
+#' @name keep_services.delete
+NULL
+
+#' keep_services.accessible
+#' 
+#' keep_services.accessible is a method defined in Arvados class.
+#' 
+#' @usage arv$keep_services.accessible(NULL)
+#' @return KeepService object.
+#' @name keep_services.accessible
+NULL
+
+#' keep_services.list
+#' 
+#' keep_services.list is a method defined in Arvados class.
+#' 
+#' @usage arv$keep_services.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return KeepServiceList object.
+#' @name keep_services.list
+NULL
+
+#' pipeline_templates.get
+#' 
+#' pipeline_templates.get is a method defined in Arvados class.
+#' 
+#' @usage arv$pipeline_templates.get(uuid)
+#' @param uuid The UUID of the PipelineTemplate in question.
+#' @return PipelineTemplate object.
+#' @name pipeline_templates.get
+NULL
+
+#' pipeline_templates.create
+#' 
+#' pipeline_templates.create is a method defined in Arvados class.
+#' 
+#' @usage arv$pipeline_templates.create(pipelinetemplate,
+#'     ensure_unique_name = "false")
+#' @param pipelineTemplate PipelineTemplate object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return PipelineTemplate object.
+#' @name pipeline_templates.create
+NULL
+
+#' pipeline_templates.update
+#' 
+#' pipeline_templates.update is a method defined in Arvados class.
+#' 
+#' @usage arv$pipeline_templates.update(pipelinetemplate,
+#'     uuid)
+#' @param pipelineTemplate PipelineTemplate object.
+#' @param uuid The UUID of the PipelineTemplate in question.
+#' @return PipelineTemplate object.
+#' @name pipeline_templates.update
+NULL
+
+#' pipeline_templates.delete
+#' 
+#' pipeline_templates.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$pipeline_templates.delete(uuid)
+#' @param uuid The UUID of the PipelineTemplate in question.
+#' @return PipelineTemplate object.
+#' @name pipeline_templates.delete
+NULL
+
+#' pipeline_templates.list
+#' 
+#' pipeline_templates.list is a method defined in Arvados class.
+#' 
+#' @usage arv$pipeline_templates.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return PipelineTemplateList object.
+#' @name pipeline_templates.list
+NULL
+
+#' pipeline_instances.get
+#' 
+#' pipeline_instances.get is a method defined in Arvados class.
+#' 
+#' @usage arv$pipeline_instances.get(uuid)
+#' @param uuid The UUID of the PipelineInstance in question.
+#' @return PipelineInstance object.
+#' @name pipeline_instances.get
+NULL
+
+#' pipeline_instances.create
+#' 
+#' pipeline_instances.create is a method defined in Arvados class.
+#' 
+#' @usage arv$pipeline_instances.create(pipelineinstance,
+#'     ensure_unique_name = "false")
+#' @param pipelineInstance PipelineInstance object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return PipelineInstance object.
+#' @name pipeline_instances.create
+NULL
+
+#' pipeline_instances.update
+#' 
+#' pipeline_instances.update is a method defined in Arvados class.
+#' 
+#' @usage arv$pipeline_instances.update(pipelineinstance,
+#'     uuid)
+#' @param pipelineInstance PipelineInstance object.
+#' @param uuid The UUID of the PipelineInstance in question.
+#' @return PipelineInstance object.
+#' @name pipeline_instances.update
+NULL
+
+#' pipeline_instances.delete
+#' 
+#' pipeline_instances.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$pipeline_instances.delete(uuid)
+#' @param uuid The UUID of the PipelineInstance in question.
+#' @return PipelineInstance object.
+#' @name pipeline_instances.delete
+NULL
+
+#' pipeline_instances.cancel
+#' 
+#' pipeline_instances.cancel is a method defined in Arvados class.
+#' 
+#' @usage arv$pipeline_instances.cancel(uuid)
+#' @param uuid 
+#' @return PipelineInstance object.
+#' @name pipeline_instances.cancel
+NULL
+
+#' pipeline_instances.list
+#' 
+#' pipeline_instances.list is a method defined in Arvados class.
+#' 
+#' @usage arv$pipeline_instances.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return PipelineInstanceList object.
+#' @name pipeline_instances.list
+NULL
+
+#' nodes.get
+#' 
+#' nodes.get is a method defined in Arvados class.
+#' 
+#' @usage arv$nodes.get(uuid)
+#' @param uuid The UUID of the Node in question.
+#' @return Node object.
+#' @name nodes.get
+NULL
+
+#' nodes.create
+#' 
+#' nodes.create is a method defined in Arvados class.
+#' 
+#' @usage arv$nodes.create(node, ensure_unique_name = "false",
+#'     assign_slot = NULL)
+#' @param node Node object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @param assign_slot assign slot and hostname
+#' @return Node object.
+#' @name nodes.create
+NULL
+
+#' nodes.update
+#' 
+#' nodes.update is a method defined in Arvados class.
+#' 
+#' @usage arv$nodes.update(node, uuid, assign_slot = NULL)
+#' @param node Node object.
+#' @param uuid The UUID of the Node in question.
+#' @param assign_slot assign slot and hostname
+#' @return Node object.
+#' @name nodes.update
+NULL
+
+#' nodes.delete
+#' 
+#' nodes.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$nodes.delete(uuid)
+#' @param uuid The UUID of the Node in question.
+#' @return Node object.
+#' @name nodes.delete
+NULL
+
+#' nodes.ping
+#' 
+#' nodes.ping is a method defined in Arvados class.
+#' 
+#' @usage arv$nodes.ping(uuid, ping_secret)
+#' @param uuid 
+#' @param ping_secret 
+#' @return Node object.
+#' @name nodes.ping
+NULL
+
+#' nodes.list
+#' 
+#' nodes.list is a method defined in Arvados class.
+#' 
+#' @usage arv$nodes.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return NodeList object.
+#' @name nodes.list
+NULL
+
+#' repositories.get
+#' 
+#' repositories.get is a method defined in Arvados class.
+#' 
+#' @usage arv$repositories.get(uuid)
+#' @param uuid The UUID of the Repository in question.
+#' @return Repository object.
+#' @name repositories.get
+NULL
+
+#' repositories.create
+#' 
+#' repositories.create is a method defined in Arvados class.
+#' 
+#' @usage arv$repositories.create(repository,
+#'     ensure_unique_name = "false")
+#' @param repository Repository object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return Repository object.
+#' @name repositories.create
+NULL
+
+#' repositories.update
+#' 
+#' repositories.update is a method defined in Arvados class.
+#' 
+#' @usage arv$repositories.update(repository,
+#'     uuid)
+#' @param repository Repository object.
+#' @param uuid The UUID of the Repository in question.
+#' @return Repository object.
+#' @name repositories.update
+NULL
+
+#' repositories.delete
+#' 
+#' repositories.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$repositories.delete(uuid)
+#' @param uuid The UUID of the Repository in question.
+#' @return Repository object.
+#' @name repositories.delete
+NULL
+
+#' repositories.get_all_permissions
+#' 
+#' repositories.get_all_permissions is a method defined in Arvados class.
+#' 
+#' @usage arv$repositories.get_all_permissions(NULL)
+#' @return Repository object.
+#' @name repositories.get_all_permissions
+NULL
+
+#' repositories.list
+#' 
+#' repositories.list is a method defined in Arvados class.
+#' 
+#' @usage arv$repositories.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return RepositoryList object.
+#' @name repositories.list
+NULL
+
+#' specimens.get
+#' 
+#' specimens.get is a method defined in Arvados class.
+#' 
+#' @usage arv$specimens.get(uuid)
+#' @param uuid The UUID of the Specimen in question.
+#' @return Specimen object.
+#' @name specimens.get
+NULL
+
+#' specimens.create
+#' 
+#' specimens.create is a method defined in Arvados class.
+#' 
+#' @usage arv$specimens.create(specimen,
+#'     ensure_unique_name = "false")
+#' @param specimen Specimen object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return Specimen object.
+#' @name specimens.create
+NULL
+
+#' specimens.update
+#' 
+#' specimens.update is a method defined in Arvados class.
+#' 
+#' @usage arv$specimens.update(specimen,
+#'     uuid)
+#' @param specimen Specimen object.
+#' @param uuid The UUID of the Specimen in question.
+#' @return Specimen object.
+#' @name specimens.update
+NULL
+
+#' specimens.delete
+#' 
+#' specimens.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$specimens.delete(uuid)
+#' @param uuid The UUID of the Specimen in question.
+#' @return Specimen object.
+#' @name specimens.delete
+NULL
+
+#' specimens.list
+#' 
+#' specimens.list is a method defined in Arvados class.
+#' 
+#' @usage arv$specimens.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return SpecimenList object.
+#' @name specimens.list
+NULL
+
+#' logs.get
+#' 
+#' logs.get is a method defined in Arvados class.
+#' 
+#' @usage arv$logs.get(uuid)
+#' @param uuid The UUID of the Log in question.
+#' @return Log object.
+#' @name logs.get
+NULL
+
+#' logs.create
+#' 
+#' logs.create is a method defined in Arvados class.
+#' 
+#' @usage arv$logs.create(log, ensure_unique_name = "false")
+#' @param log Log object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return Log object.
+#' @name logs.create
+NULL
+
+#' logs.update
+#' 
+#' logs.update is a method defined in Arvados class.
+#' 
+#' @usage arv$logs.update(log, uuid)
+#' @param log Log object.
+#' @param uuid The UUID of the Log in question.
+#' @return Log object.
+#' @name logs.update
+NULL
+
+#' logs.delete
+#' 
+#' logs.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$logs.delete(uuid)
+#' @param uuid The UUID of the Log in question.
+#' @return Log object.
+#' @name logs.delete
+NULL
+
+#' logs.list
+#' 
+#' logs.list is a method defined in Arvados class.
+#' 
+#' @usage arv$logs.list(filters = NULL, where = NULL,
+#'     order = NULL, select = NULL, distinct = NULL,
+#'     limit = "100", offset = "0", count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return LogList object.
+#' @name logs.list
+NULL
+
+#' traits.get
+#' 
+#' traits.get is a method defined in Arvados class.
+#' 
+#' @usage arv$traits.get(uuid)
+#' @param uuid The UUID of the Trait in question.
+#' @return Trait object.
+#' @name traits.get
+NULL
+
+#' traits.create
+#' 
+#' traits.create is a method defined in Arvados class.
+#' 
+#' @usage arv$traits.create(trait, ensure_unique_name = "false")
+#' @param trait Trait object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return Trait object.
+#' @name traits.create
+NULL
+
+#' traits.update
+#' 
+#' traits.update is a method defined in Arvados class.
+#' 
+#' @usage arv$traits.update(trait, uuid)
+#' @param trait Trait object.
+#' @param uuid The UUID of the Trait in question.
+#' @return Trait object.
+#' @name traits.update
+NULL
+
+#' traits.delete
+#' 
+#' traits.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$traits.delete(uuid)
+#' @param uuid The UUID of the Trait in question.
+#' @return Trait object.
+#' @name traits.delete
+NULL
+
+#' traits.list
+#' 
+#' traits.list is a method defined in Arvados class.
+#' 
+#' @usage arv$traits.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return TraitList object.
+#' @name traits.list
+NULL
+
+#' virtual_machines.get
+#' 
+#' virtual_machines.get is a method defined in Arvados class.
+#' 
+#' @usage arv$virtual_machines.get(uuid)
+#' @param uuid The UUID of the VirtualMachine in question.
+#' @return VirtualMachine object.
+#' @name virtual_machines.get
+NULL
+
+#' virtual_machines.create
+#' 
+#' virtual_machines.create is a method defined in Arvados class.
+#' 
+#' @usage arv$virtual_machines.create(virtualmachine,
+#'     ensure_unique_name = "false")
+#' @param virtualMachine VirtualMachine object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return VirtualMachine object.
+#' @name virtual_machines.create
+NULL
+
+#' virtual_machines.update
+#' 
+#' virtual_machines.update is a method defined in Arvados class.
+#' 
+#' @usage arv$virtual_machines.update(virtualmachine,
+#'     uuid)
+#' @param virtualMachine VirtualMachine object.
+#' @param uuid The UUID of the VirtualMachine in question.
+#' @return VirtualMachine object.
+#' @name virtual_machines.update
+NULL
+
+#' virtual_machines.delete
+#' 
+#' virtual_machines.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$virtual_machines.delete(uuid)
+#' @param uuid The UUID of the VirtualMachine in question.
+#' @return VirtualMachine object.
+#' @name virtual_machines.delete
+NULL
+
+#' virtual_machines.logins
+#' 
+#' virtual_machines.logins is a method defined in Arvados class.
+#' 
+#' @usage arv$virtual_machines.logins(uuid)
+#' @param uuid 
+#' @return VirtualMachine object.
+#' @name virtual_machines.logins
+NULL
+
+#' virtual_machines.get_all_logins
+#' 
+#' virtual_machines.get_all_logins is a method defined in Arvados class.
+#' 
+#' @usage arv$virtual_machines.get_all_logins(NULL)
+#' @return VirtualMachine object.
+#' @name virtual_machines.get_all_logins
+NULL
+
+#' virtual_machines.list
+#' 
+#' virtual_machines.list is a method defined in Arvados class.
+#' 
+#' @usage arv$virtual_machines.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return VirtualMachineList object.
+#' @name virtual_machines.list
+NULL
+
+#' workflows.get
+#' 
+#' workflows.get is a method defined in Arvados class.
+#' 
+#' @usage arv$workflows.get(uuid)
+#' @param uuid The UUID of the Workflow in question.
+#' @return Workflow object.
+#' @name workflows.get
+NULL
+
+#' workflows.create
+#' 
+#' workflows.create is a method defined in Arvados class.
+#' 
+#' @usage arv$workflows.create(workflow,
+#'     ensure_unique_name = "false")
+#' @param workflow Workflow object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return Workflow object.
+#' @name workflows.create
+NULL
+
+#' workflows.update
+#' 
+#' workflows.update is a method defined in Arvados class.
+#' 
+#' @usage arv$workflows.update(workflow,
+#'     uuid)
+#' @param workflow Workflow object.
+#' @param uuid The UUID of the Workflow in question.
+#' @return Workflow object.
+#' @name workflows.update
+NULL
+
+#' workflows.delete
+#' 
+#' workflows.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$workflows.delete(uuid)
+#' @param uuid The UUID of the Workflow in question.
+#' @return Workflow object.
+#' @name workflows.delete
+NULL
+
+#' workflows.list
+#' 
+#' workflows.list is a method defined in Arvados class.
+#' 
+#' @usage arv$workflows.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return WorkflowList object.
+#' @name workflows.list
+NULL
+
+#' groups.get
+#' 
+#' groups.get is a method defined in Arvados class.
+#' 
+#' @usage arv$groups.get(uuid)
+#' @param uuid The UUID of the Group in question.
+#' @return Group object.
+#' @name groups.get
+NULL
+
+#' groups.create
+#' 
+#' groups.create is a method defined in Arvados class.
+#' 
+#' @usage arv$groups.create(group, ensure_unique_name = "false")
+#' @param group Group object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return Group object.
+#' @name groups.create
+NULL
 
-#' Arvados
+#' groups.update
+#' 
+#' groups.update is a method defined in Arvados class.
+#' 
+#' @usage arv$groups.update(group, uuid)
+#' @param group Group object.
+#' @param uuid The UUID of the Group in question.
+#' @return Group object.
+#' @name groups.update
+NULL
+
+#' groups.delete
+#' 
+#' groups.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$groups.delete(uuid)
+#' @param uuid The UUID of the Group in question.
+#' @return Group object.
+#' @name groups.delete
+NULL
+
+#' groups.contents
+#' 
+#' groups.contents is a method defined in Arvados class.
+#' 
+#' @usage arv$groups.contents(filters = NULL,
+#'     where = NULL, order = NULL, distinct = NULL,
+#'     limit = "100", offset = "0", count = "exact",
+#'     include_trash = NULL, uuid = NULL, recursive = NULL)
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @param include_trash Include items whose is_trashed attribute is true.
+#' @param uuid 
+#' @param recursive Include contents from child groups recursively.
+#' @return Group object.
+#' @name groups.contents
+NULL
+
+#' groups.trash
+#' 
+#' groups.trash is a method defined in Arvados class.
+#' 
+#' @usage arv$groups.trash(uuid)
+#' @param uuid 
+#' @return Group object.
+#' @name groups.trash
+NULL
+
+#' groups.untrash
+#' 
+#' groups.untrash is a method defined in Arvados class.
+#' 
+#' @usage arv$groups.untrash(uuid)
+#' @param uuid 
+#' @return Group object.
+#' @name groups.untrash
+NULL
+
+#' groups.list
+#' 
+#' groups.list is a method defined in Arvados class.
+#' 
+#' @usage arv$groups.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact", include_trash = NULL)
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @param include_trash Include items whose is_trashed attribute is true.
+#' @return GroupList object.
+#' @name groups.list
+NULL
+
+#' user_agreements.get
+#' 
+#' user_agreements.get is a method defined in Arvados class.
+#' 
+#' @usage arv$user_agreements.get(uuid)
+#' @param uuid The UUID of the UserAgreement in question.
+#' @return UserAgreement object.
+#' @name user_agreements.get
+NULL
+
+#' user_agreements.create
+#' 
+#' user_agreements.create is a method defined in Arvados class.
+#' 
+#' @usage arv$user_agreements.create(useragreement,
+#'     ensure_unique_name = "false")
+#' @param userAgreement UserAgreement object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return UserAgreement object.
+#' @name user_agreements.create
+NULL
+
+#' user_agreements.update
+#' 
+#' user_agreements.update is a method defined in Arvados class.
+#' 
+#' @usage arv$user_agreements.update(useragreement,
+#'     uuid)
+#' @param userAgreement UserAgreement object.
+#' @param uuid The UUID of the UserAgreement in question.
+#' @return UserAgreement object.
+#' @name user_agreements.update
+NULL
+
+#' user_agreements.delete
+#' 
+#' user_agreements.delete is a method defined in Arvados class.
+#' 
+#' @usage arv$user_agreements.delete(uuid)
+#' @param uuid The UUID of the UserAgreement in question.
+#' @return UserAgreement object.
+#' @name user_agreements.delete
+NULL
+
+#' user_agreements.signatures
+#' 
+#' user_agreements.signatures is a method defined in Arvados class.
+#' 
+#' @usage arv$user_agreements.signatures(NULL)
+#' @return UserAgreement object.
+#' @name user_agreements.signatures
+NULL
+
+#' user_agreements.sign
+#' 
+#' user_agreements.sign is a method defined in Arvados class.
+#' 
+#' @usage arv$user_agreements.sign(NULL)
+#' @return UserAgreement object.
+#' @name user_agreements.sign
+NULL
+
+#' user_agreements.list
+#' 
+#' user_agreements.list is a method defined in Arvados class.
+#' 
+#' @usage arv$user_agreements.list(filters = NULL,
+#'     where = NULL, order = NULL, select = NULL,
+#'     distinct = NULL, limit = "100", offset = "0",
+#'     count = "exact")
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param select 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @return UserAgreementList object.
+#' @name user_agreements.list
+NULL
+
+#' user_agreements.new
+#' 
+#' user_agreements.new is a method defined in Arvados class.
+#' 
+#' @usage arv$user_agreements.new(NULL)
+#' @return UserAgreement object.
+#' @name user_agreements.new
+NULL
+
+#' project.get
+#' 
+#' projects.get is equivalent to groups.get method.
+#' 
+#' @usage arv$projects.get(uuid)
+#' @param uuid The UUID of the Group in question.
+#' @return Group object.
+#' @name projects.get
+NULL
+
+#' project.create
+#' 
+#' projects.create wrapps groups.create method by setting group_class attribute to "project".
 #' 
-#' Arvados class gives users ability to manipulate collections and projects.
+#' @usage arv$projects.create(group, ensure_unique_name = "false")
+#' @param group Group object.
+#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.
+#' @return Group object.
+#' @name projects.create
+NULL
+
+#' project.update
+#' 
+#' projects.update wrapps groups.update method by setting group_class attribute to "project".
+#' 
+#' @usage arv$projects.update(group, uuid)
+#' @param group Group object.
+#' @param uuid The UUID of the Group in question.
+#' @return Group object.
+#' @name projects.update
+NULL
+
+#' project.delete
+#' 
+#' projects.delete is equivalent to groups.delete method.
+#' 
+#' @usage arv$project.delete(uuid)
+#' @param uuid The UUID of the Group in question.
+#' @return Group object.
+#' @name projects.delete
+NULL
+
+#' project.list
 #' 
+#' projects.list wrapps groups.list method by setting group_class attribute to "project".
+#' 
+#' @usage arv$projects.list(filters = NULL,
+#'     where = NULL, order = NULL, distinct = NULL,
+#'     limit = "100", offset = "0", count = "exact",
+#'     include_trash = NULL, uuid = NULL, recursive = NULL)
+#' @param filters 
+#' @param where 
+#' @param order 
+#' @param distinct 
+#' @param limit 
+#' @param offset 
+#' @param count 
+#' @param include_trash Include items whose is_trashed attribute is true.
+#' @param uuid 
+#' @param recursive Include contents from child groups recursively.
+#' @return Group object.
+#' @name projects.list
+NULL
+
+#' Arvados
+#'
+#' Arvados class gives users ability to access Arvados REST API.
+#'
 #' @section Usage:
 #' \preformatted{arv = Arvados$new(authToken = NULL, hostName = NULL, numRetries = 0)}
 #'
 #' @section Arguments:
 #' \describe{
-#'   \item{authToken}{Authentification token. If not specified ARVADOS_API_TOKEN environment variable will be used.}
-#'   \item{hostName}{Host name. If not specified ARVADOS_API_HOST environment variable will be used.}
-#'   \item{numRetries}{Number which specifies how many times to retry failed service requests.}
+#'     \item{authToken}{Authentification token. If not specified ARVADOS_API_TOKEN environment variable will be used.}
+#'     \item{hostName}{Host name. If not specified ARVADOS_API_HOST environment variable will be used.}
+#'     \item{numRetries}{Number which specifies how many times to retry failed service requests.}
 #' }
-#' 
+#'
 #' @section Methods:
 #' \describe{
-#'   \item{getToken()}{Returns authentification token currently in use.}
-#'   \item{getHostName()}{Returns host name currently in use.}
-#'   \item{getNumRetries()}{Returns number which specifies how many times to retry failed service requests.}
-#'   \item{setNumRetries(newNumOfRetries)}{Sets number which specifies how many times to retry failed service requests.}
-#'   \item{getCollection(uuid)}{Get collection with specified UUID.}
-#'   \item{listCollections(filters = NULL, limit = 100, offset = 0)}{Returns list of collections based on filters parameter.}
-#'   \item{listAllCollections(filters = NULL)}{Lists all collections, based on filters parameter, even if the number of items is greater than maximum API limit.}
-#'   \item{deleteCollection(uuid)}{Deletes collection with specified UUID.}
-#'   \item{updateCollection(uuid, newContent)}{Updates collection with specified UUID.}
-#'   \item{createCollection(content)}{Creates new collection.}
-#'   \item{getProject(uuid)}{Get project with specified UUID.}
-#'   \item{listProjects(filters = NULL, limit = 100, offset = 0)}{Returns list of projects based on filters parameter.}
-#'   \item{listAllProjects(filters = NULL)}{Lists all projects, based on filters parameter, even if the number of items is greater than maximum API limit.}
-#'   \item{deleteProject(uuid)}{Deletes project with specified UUID.}
-#'   \item{updateProject(uuid, newContent)}{Updates project with specified UUID.}
-#'   \item{createProject(content)}{Creates new project.}
+#'     \item{}{\code{\link{api_client_authorizations.create}}}
+#'     \item{}{\code{\link{api_client_authorizations.create_system_auth}}}
+#'     \item{}{\code{\link{api_client_authorizations.current}}}
+#'     \item{}{\code{\link{api_client_authorizations.delete}}}
+#'     \item{}{\code{\link{api_client_authorizations.get}}}
+#'     \item{}{\code{\link{api_client_authorizations.list}}}
+#'     \item{}{\code{\link{api_client_authorizations.update}}}
+#'     \item{}{\code{\link{api_clients.create}}}
+#'     \item{}{\code{\link{api_clients.delete}}}
+#'     \item{}{\code{\link{api_clients.get}}}
+#'     \item{}{\code{\link{api_clients.list}}}
+#'     \item{}{\code{\link{api_clients.update}}}
+#'     \item{}{\code{\link{authorized_keys.create}}}
+#'     \item{}{\code{\link{authorized_keys.delete}}}
+#'     \item{}{\code{\link{authorized_keys.get}}}
+#'     \item{}{\code{\link{authorized_keys.list}}}
+#'     \item{}{\code{\link{authorized_keys.update}}}
+#'     \item{}{\code{\link{collections.create}}}
+#'     \item{}{\code{\link{collections.delete}}}
+#'     \item{}{\code{\link{collections.get}}}
+#'     \item{}{\code{\link{collections.list}}}
+#'     \item{}{\code{\link{collections.provenance}}}
+#'     \item{}{\code{\link{collections.trash}}}
+#'     \item{}{\code{\link{collections.untrash}}}
+#'     \item{}{\code{\link{collections.update}}}
+#'     \item{}{\code{\link{collections.used_by}}}
+#'     \item{}{\code{\link{container_requests.create}}}
+#'     \item{}{\code{\link{container_requests.delete}}}
+#'     \item{}{\code{\link{container_requests.get}}}
+#'     \item{}{\code{\link{container_requests.list}}}
+#'     \item{}{\code{\link{container_requests.update}}}
+#'     \item{}{\code{\link{containers.auth}}}
+#'     \item{}{\code{\link{containers.create}}}
+#'     \item{}{\code{\link{containers.current}}}
+#'     \item{}{\code{\link{containers.delete}}}
+#'     \item{}{\code{\link{containers.get}}}
+#'     \item{}{\code{\link{containers.list}}}
+#'     \item{}{\code{\link{containers.lock}}}
+#'     \item{}{\code{\link{containers.secret_mounts}}}
+#'     \item{}{\code{\link{containers.unlock}}}
+#'     \item{}{\code{\link{containers.update}}}
+#'     \item{}{\code{\link{groups.contents}}}
+#'     \item{}{\code{\link{groups.create}}}
+#'     \item{}{\code{\link{groups.delete}}}
+#'     \item{}{\code{\link{groups.get}}}
+#'     \item{}{\code{\link{groups.list}}}
+#'     \item{}{\code{\link{groups.trash}}}
+#'     \item{}{\code{\link{groups.untrash}}}
+#'     \item{}{\code{\link{groups.update}}}
+#'     \item{}{\code{\link{humans.create}}}
+#'     \item{}{\code{\link{humans.delete}}}
+#'     \item{}{\code{\link{humans.get}}}
+#'     \item{}{\code{\link{humans.list}}}
+#'     \item{}{\code{\link{humans.update}}}
+#'     \item{}{\code{\link{jobs.cancel}}}
+#'     \item{}{\code{\link{jobs.create}}}
+#'     \item{}{\code{\link{jobs.delete}}}
+#'     \item{}{\code{\link{jobs.get}}}
+#'     \item{}{\code{\link{jobs.list}}}
+#'     \item{}{\code{\link{jobs.lock}}}
+#'     \item{}{\code{\link{jobs.queue}}}
+#'     \item{}{\code{\link{jobs.queue_size}}}
+#'     \item{}{\code{\link{jobs.update}}}
+#'     \item{}{\code{\link{job_tasks.create}}}
+#'     \item{}{\code{\link{job_tasks.delete}}}
+#'     \item{}{\code{\link{job_tasks.get}}}
+#'     \item{}{\code{\link{job_tasks.list}}}
+#'     \item{}{\code{\link{job_tasks.update}}}
+#'     \item{}{\code{\link{keep_disks.create}}}
+#'     \item{}{\code{\link{keep_disks.delete}}}
+#'     \item{}{\code{\link{keep_disks.get}}}
+#'     \item{}{\code{\link{keep_disks.list}}}
+#'     \item{}{\code{\link{keep_disks.ping}}}
+#'     \item{}{\code{\link{keep_disks.update}}}
+#'     \item{}{\code{\link{keep_services.accessible}}}
+#'     \item{}{\code{\link{keep_services.create}}}
+#'     \item{}{\code{\link{keep_services.delete}}}
+#'     \item{}{\code{\link{keep_services.get}}}
+#'     \item{}{\code{\link{keep_services.list}}}
+#'     \item{}{\code{\link{keep_services.update}}}
+#'     \item{}{\code{\link{links.create}}}
+#'     \item{}{\code{\link{links.delete}}}
+#'     \item{}{\code{\link{links.get}}}
+#'     \item{}{\code{\link{links.get_permissions}}}
+#'     \item{}{\code{\link{links.list}}}
+#'     \item{}{\code{\link{links.update}}}
+#'     \item{}{\code{\link{logs.create}}}
+#'     \item{}{\code{\link{logs.delete}}}
+#'     \item{}{\code{\link{logs.get}}}
+#'     \item{}{\code{\link{logs.list}}}
+#'     \item{}{\code{\link{logs.update}}}
+#'     \item{}{\code{\link{nodes.create}}}
+#'     \item{}{\code{\link{nodes.delete}}}
+#'     \item{}{\code{\link{nodes.get}}}
+#'     \item{}{\code{\link{nodes.list}}}
+#'     \item{}{\code{\link{nodes.ping}}}
+#'     \item{}{\code{\link{nodes.update}}}
+#'     \item{}{\code{\link{pipeline_instances.cancel}}}
+#'     \item{}{\code{\link{pipeline_instances.create}}}
+#'     \item{}{\code{\link{pipeline_instances.delete}}}
+#'     \item{}{\code{\link{pipeline_instances.get}}}
+#'     \item{}{\code{\link{pipeline_instances.list}}}
+#'     \item{}{\code{\link{pipeline_instances.update}}}
+#'     \item{}{\code{\link{pipeline_templates.create}}}
+#'     \item{}{\code{\link{pipeline_templates.delete}}}
+#'     \item{}{\code{\link{pipeline_templates.get}}}
+#'     \item{}{\code{\link{pipeline_templates.list}}}
+#'     \item{}{\code{\link{pipeline_templates.update}}}
+#'     \item{}{\code{\link{projects.create}}}
+#'     \item{}{\code{\link{projects.delete}}}
+#'     \item{}{\code{\link{projects.get}}}
+#'     \item{}{\code{\link{projects.list}}}
+#'     \item{}{\code{\link{projects.update}}}
+#'     \item{}{\code{\link{repositories.create}}}
+#'     \item{}{\code{\link{repositories.delete}}}
+#'     \item{}{\code{\link{repositories.get}}}
+#'     \item{}{\code{\link{repositories.get_all_permissions}}}
+#'     \item{}{\code{\link{repositories.list}}}
+#'     \item{}{\code{\link{repositories.update}}}
+#'     \item{}{\code{\link{specimens.create}}}
+#'     \item{}{\code{\link{specimens.delete}}}
+#'     \item{}{\code{\link{specimens.get}}}
+#'     \item{}{\code{\link{specimens.list}}}
+#'     \item{}{\code{\link{specimens.update}}}
+#'     \item{}{\code{\link{traits.create}}}
+#'     \item{}{\code{\link{traits.delete}}}
+#'     \item{}{\code{\link{traits.get}}}
+#'     \item{}{\code{\link{traits.list}}}
+#'     \item{}{\code{\link{traits.update}}}
+#'     \item{}{\code{\link{user_agreements.create}}}
+#'     \item{}{\code{\link{user_agreements.delete}}}
+#'     \item{}{\code{\link{user_agreements.get}}}
+#'     \item{}{\code{\link{user_agreements.list}}}
+#'     \item{}{\code{\link{user_agreements.new}}}
+#'     \item{}{\code{\link{user_agreements.sign}}}
+#'     \item{}{\code{\link{user_agreements.signatures}}}
+#'     \item{}{\code{\link{user_agreements.update}}}
+#'     \item{}{\code{\link{users.activate}}}
+#'     \item{}{\code{\link{users.create}}}
+#'     \item{}{\code{\link{users.current}}}
+#'     \item{}{\code{\link{users.delete}}}
+#'     \item{}{\code{\link{users.get}}}
+#'     \item{}{\code{\link{users.list}}}
+#'     \item{}{\code{\link{users.setup}}}
+#'     \item{}{\code{\link{users.system}}}
+#'     \item{}{\code{\link{users.unsetup}}}
+#'     \item{}{\code{\link{users.update}}}
+#'     \item{}{\code{\link{users.update_uuid}}}
+#'     \item{}{\code{\link{virtual_machines.create}}}
+#'     \item{}{\code{\link{virtual_machines.delete}}}
+#'     \item{}{\code{\link{virtual_machines.get}}}
+#'     \item{}{\code{\link{virtual_machines.get_all_logins}}}
+#'     \item{}{\code{\link{virtual_machines.list}}}
+#'     \item{}{\code{\link{virtual_machines.logins}}}
+#'     \item{}{\code{\link{virtual_machines.update}}}
+#'     \item{}{\code{\link{workflows.create}}}
+#'     \item{}{\code{\link{workflows.delete}}}
+#'     \item{}{\code{\link{workflows.get}}}
+#'     \item{}{\code{\link{workflows.list}}}
+#'     \item{}{\code{\link{workflows.update}}}
 #' }
 #'
 #' @name Arvados
@@ -41,196 +2150,3539 @@ source("./R/HttpParser.R")
 #' \dontrun{
 #' arv <- Arvados$new("your Arvados token", "example.arvadosapi.com")
 #'
-#' collection <- arv$getCollection("uuid")
+#' collection <- arv$collections.get("uuid")
 #'
-#' collectionList <- arv$listCollections(list(list("name", "like", "Test%")))
-#' collectionList <- arv$listAllCollections(list(list("name", "like", "Test%")))
+#' collectionList <- arv$collections.list(list(list("name", "like", "Test%")))
+#' collectionList <- listAll(arv$collections.list, list(list("name", "like", "Test%")))
 #'
-#' deletedCollection <- arv$deleteCollection("uuid")
+#' deletedCollection <- arv$collections.delete("uuid")
 #'
-#' updatedCollection <- arv$updateCollection("uuid", list(name = "New name",
-#'                                                        description = "New description"))
+#' updatedCollection <- arv$collections.update(list(name = "New name", description = "New description"),
+#'                                             "uuid")
 #'
-#' createdCollection <- arv$createCollection(list(name = "Example",
-#'                                                description = "This is a test collection"))
+#' createdCollection <- arv$collections.create(list(name = "Example",
+#'                                                  description = "This is a test collection"))
 #' }
 NULL
 
 #' @export
 Arvados <- R6::R6Class(
 
-    "Arvados",
-
-    public = list(
-
-        initialize = function(authToken = NULL, hostName = NULL, numRetries = 0)
-        {
-            if(!is.null(hostName))
-               Sys.setenv(ARVADOS_API_HOST = hostName)
-
-            if(!is.null(authToken))
-                Sys.setenv(ARVADOS_API_TOKEN = authToken)
-
-            hostName  <- Sys.getenv("ARVADOS_API_HOST");
-            token     <- Sys.getenv("ARVADOS_API_TOKEN");
-
-            if(hostName == "" | token == "")
-                stop(paste("Please provide host name and authentification token",
-                           "or set ARVADOS_API_HOST and ARVADOS_API_TOKEN",
-                           "environment variables."))
-
-            private$numRetries  <- numRetries
-            private$REST  <- RESTService$new(token, hostName,
-                                             HttpRequest$new(), HttpParser$new(),
-                                             numRetries)
-
-            private$token <- private$REST$token
-            private$host  <- private$REST$hostName
-        },
-
-        getToken          = function() private$REST$token,
-        getHostName       = function() private$REST$hostName,
-        getWebDavHostName = function() private$REST$getWebDavHostName(),
-        getRESTService    = function() private$REST,
-        setRESTService    = function(newRESTService) private$REST <- newRESTService,
-
-        getNumRetries = function() private$REST$numRetries,
-        setNumRetries = function(newNumOfRetries)
-        {
-            private$REST$setNumRetries(newNumOfRetries)
-        },
-
-        getCollection = function(uuid)
-        {
-            collection <- private$REST$getResource("collections", uuid)
-            collection
-        },
-
-        listCollections = function(filters = NULL, limit = 100, offset = 0)
-        {
-            if(!is.null(filters))
-                names(filters) <- c("collection")
-
-            collections <- private$REST$listResources("collections", filters,
-                                                      limit, offset)
-            collections
-        },
-
-        listAllCollections = function(filters = NULL)
-        {
-            if(!is.null(filters))
-                names(filters) <- c("collection")
-
-            collectionURL <- paste0(private$host, "collections")
-            allCollection <- private$REST$fetchAllItems(collectionURL, filters)
-            allCollection
-        },
-
-        deleteCollection = function(uuid)
-        {
-            removedCollection <- private$REST$deleteResource("collections", uuid)
-            removedCollection
-        },
-
-        updateCollection = function(uuid, newContent)
-        {
-            body <- list(list())
-            names(body) <- c("collection")
-            body$collection <- newContent
-
-            updatedCollection <- private$REST$updateResource("collections",
-                                                             uuid, body)
-            updatedCollection
-        },
-
-        createCollection = function(content)
-        {
-            body <- list(list())
-            names(body) <- c("collection")
-            body$collection <- content
-
-            newCollection <- private$REST$createResource("collections", body)
-            newCollection
-        },
-
-        getProject = function(uuid)
-        {
-            project <- private$REST$getResource("groups", uuid)
-            project
-        },
-
-        createProject = function(content)
-        {
-            body <- list(list())
-            names(body) <- c("group")
-            body$group <- c("group_class" = "project", content)
-
-            newProject <- private$REST$createResource("groups", body)
-            newProject
-        },
-
-        updateProject = function(uuid, newContent)
-        {
-            body <- list(list())
-            names(body) <- c("group")
-            body$group <- newContent
-
-            updatedProject <- private$REST$updateResource("groups", uuid, body)
-            updatedProject
-        },
-
-        listProjects = function(filters = NULL, limit = 100, offset = 0)
-        {
-            if(!is.null(filters))
-                names(filters) <- c("groups")
-
-            filters[[length(filters) + 1]] <- list("group_class", "=", "project")
-
-            projects <- private$REST$listResources("groups", filters, limit, offset)
-            projects
-        },
-
-        listAllProjects = function(filters = NULL)
-        {
-            if(!is.null(filters))
-                names(filters) <- c("groups")
-
-            filters[[length(filters) + 1]] <- list("group_class", "=", "project")
-
-            projectURL <- paste0(private$host, "groups")
-
-            result <- private$REST$fetchAllItems(projectURL, filters)
-            result
-        },
-
-        deleteProject = function(uuid)
-        {
-            removedProject <- private$REST$deleteResource("groups", uuid)
-            removedProject
-        }
-    ),
-
-    private = list(
-
-        token      = NULL,
-        host       = NULL,
-        REST       = NULL,
-        numRetries = NULL
-    ),
-
-    cloneable = FALSE
-)
+       "Arvados",
 
-#' print.Arvados
-#'
-#' Custom print function for Arvados class
-#'
-#' @param x Instance of Arvados class
-#' @param ... Optional arguments.
-#' @export 
-print.Arvados = function(x, ...)
-{
-    cat(paste0("Type:  ", "\"", "Arvados",       "\""), sep = "\n")
-    cat(paste0("Host:  ", "\"", x$getHostName(), "\""), sep = "\n")
-    cat(paste0("Token: ", "\"", x$getToken(),    "\""), sep = "\n")
-}
+       public = list(
+
+               initialize = function(authToken = NULL, hostName = NULL, numRetries = 0)
+               {
+                       if(!is.null(hostName))
+                               Sys.setenv(ARVADOS_API_HOST = hostName)
+
+                       if(!is.null(authToken))
+                               Sys.setenv(ARVADOS_API_TOKEN = authToken)
+
+                       hostName <- Sys.getenv("ARVADOS_API_HOST")
+                       token    <- Sys.getenv("ARVADOS_API_TOKEN")
+
+                       if(hostName == "" | token == "")
+                               stop(paste("Please provide host name and authentification token",
+                                                  "or set ARVADOS_API_HOST and ARVADOS_API_TOKEN",
+                                                  "environment variables."))
+
+                       private$token <- token
+                       private$host  <- paste0("https://", hostName, "/arvados/v1/")
+                       private$numRetries <- numRetries
+                       private$REST <- RESTService$new(token, hostName,
+                                                       HttpRequest$new(), HttpParser$new(),
+                                                       numRetries)
+
+               },
+
+               projects.get = function(uuid)
+               {
+                       self$groups.get(uuid)
+               },
+
+               projects.create = function(group, ensure_unique_name = "false")
+               {
+                       group <- c("group_class" = "project", group)
+                       self$groups.create(group, ensure_unique_name)
+               },
+
+               projects.update = function(group, uuid)
+               {
+                       group <- c("group_class" = "project", group)
+                       self$groups.update(group, uuid)
+               },
+
+               projects.list = function(filters = NULL, where = NULL,
+                       order = NULL, select = NULL, distinct = NULL,
+                       limit = "100", offset = "0", count = "exact",
+                       include_trash = NULL)
+               {
+                       filters[[length(filters) + 1]] <- list("group_class", "=", "project")
+                       self$groups.list(filters, where, order, select, distinct,
+                                        limit, offset, count, include_trash)
+               },
+
+               projects.delete = function(uuid)
+               {
+                       self$groups.delete(uuid)
+               },
+
+               users.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("users/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               users.create = function(user, ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("users")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(user) > 0)
+                               body <- jsonlite::toJSON(list(user = user), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               users.update = function(user, uuid)
+               {
+                       endPoint <- stringr::str_interp("users/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(user) > 0)
+                               body <- jsonlite::toJSON(list(user = user), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               users.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("users/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               users.current = function()
+               {
+                       endPoint <- stringr::str_interp("users/current")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               users.system = function()
+               {
+                       endPoint <- stringr::str_interp("users/system")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               users.activate = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("users/${uuid}/activate")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               users.setup = function(user = NULL, openid_prefix = NULL,
+                       repo_name = NULL, vm_uuid = NULL, send_notification_email = "false")
+               {
+                       endPoint <- stringr::str_interp("users/setup")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(user = user, openid_prefix = openid_prefix,
+                                                         repo_name = repo_name, vm_uuid = vm_uuid,
+                                                         send_notification_email = send_notification_email)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               users.unsetup = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("users/${uuid}/unsetup")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               users.update_uuid = function(uuid, new_uuid)
+               {
+                       endPoint <- stringr::str_interp("users/${uuid}/update_uuid")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(new_uuid = new_uuid)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               users.list = function(filters = NULL, where = NULL,
+                       order = NULL, select = NULL, distinct = NULL,
+                       limit = "100", offset = "0", count = "exact")
+               {
+                       endPoint <- stringr::str_interp("users")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               api_client_authorizations.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               api_client_authorizations.create = function(apiclientauthorization,
+                       ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("api_client_authorizations")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(apiclientauthorization) > 0)
+                               body <- jsonlite::toJSON(list(apiclientauthorization = apiclientauthorization), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               api_client_authorizations.update = function(apiclientauthorization, uuid)
+               {
+                       endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(apiclientauthorization) > 0)
+                               body <- jsonlite::toJSON(list(apiclientauthorization = apiclientauthorization), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               api_client_authorizations.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("api_client_authorizations/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               api_client_authorizations.create_system_auth = function(api_client_id = NULL, scopes = NULL)
+               {
+                       endPoint <- stringr::str_interp("api_client_authorizations/create_system_auth")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(api_client_id = api_client_id,
+                                                         scopes = scopes)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               api_client_authorizations.current = function()
+               {
+                       endPoint <- stringr::str_interp("api_client_authorizations/current")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               api_client_authorizations.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact")
+               {
+                       endPoint <- stringr::str_interp("api_client_authorizations")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               containers.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("containers/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               containers.create = function(container, ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("containers")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(container) > 0)
+                               body <- jsonlite::toJSON(list(container = container), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               containers.update = function(container, uuid)
+               {
+                       endPoint <- stringr::str_interp("containers/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(container) > 0)
+                               body <- jsonlite::toJSON(list(container = container), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               containers.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("containers/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               containers.auth = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("containers/${uuid}/auth")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               containers.lock = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("containers/${uuid}/lock")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               containers.unlock = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("containers/${uuid}/unlock")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               containers.secret_mounts = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("containers/${uuid}/secret_mounts")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               containers.current = function()
+               {
+                       endPoint <- stringr::str_interp("containers/current")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               containers.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact")
+               {
+                       endPoint <- stringr::str_interp("containers")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               api_clients.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("api_clients/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               api_clients.create = function(apiclient, ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("api_clients")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(apiclient) > 0)
+                               body <- jsonlite::toJSON(list(apiclient = apiclient), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               api_clients.update = function(apiclient, uuid)
+               {
+                       endPoint <- stringr::str_interp("api_clients/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(apiclient) > 0)
+                               body <- jsonlite::toJSON(list(apiclient = apiclient), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               api_clients.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("api_clients/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               api_clients.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact")
+               {
+                       endPoint <- stringr::str_interp("api_clients")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               authorized_keys.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("authorized_keys/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               authorized_keys.create = function(authorizedkey,
+                       ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("authorized_keys")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(authorizedkey) > 0)
+                               body <- jsonlite::toJSON(list(authorizedkey = authorizedkey), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               authorized_keys.update = function(authorizedkey, uuid)
+               {
+                       endPoint <- stringr::str_interp("authorized_keys/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(authorizedkey) > 0)
+                               body <- jsonlite::toJSON(list(authorizedkey = authorizedkey), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               authorized_keys.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("authorized_keys/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               authorized_keys.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact")
+               {
+                       endPoint <- stringr::str_interp("authorized_keys")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               container_requests.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("container_requests/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               container_requests.create = function(containerrequest,
+                       ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("container_requests")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(containerrequest) > 0)
+                               body <- jsonlite::toJSON(list(containerrequest = containerrequest), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               container_requests.update = function(containerrequest, uuid)
+               {
+                       endPoint <- stringr::str_interp("container_requests/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(containerrequest) > 0)
+                               body <- jsonlite::toJSON(list(containerrequest = containerrequest), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               container_requests.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("container_requests/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               container_requests.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact")
+               {
+                       endPoint <- stringr::str_interp("container_requests")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               collections.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("collections/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               collections.create = function(collection, ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("collections")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(collection) > 0)
+                               body <- jsonlite::toJSON(list(collection = collection), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               collections.update = function(collection, uuid)
+               {
+                       endPoint <- stringr::str_interp("collections/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(collection) > 0)
+                               body <- jsonlite::toJSON(list(collection = collection), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               collections.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("collections/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               collections.provenance = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("collections/${uuid}/provenance")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               collections.used_by = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("collections/${uuid}/used_by")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               collections.trash = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("collections/${uuid}/trash")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               collections.untrash = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("collections/${uuid}/untrash")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               collections.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact", include_trash = NULL)
+               {
+                       endPoint <- stringr::str_interp("collections")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count,
+                                                         include_trash = include_trash)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               humans.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("humans/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               humans.create = function(human, ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("humans")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(human) > 0)
+                               body <- jsonlite::toJSON(list(human = human), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               humans.update = function(human, uuid)
+               {
+                       endPoint <- stringr::str_interp("humans/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(human) > 0)
+                               body <- jsonlite::toJSON(list(human = human), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               humans.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("humans/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               humans.list = function(filters = NULL, where = NULL,
+                       order = NULL, select = NULL, distinct = NULL,
+                       limit = "100", offset = "0", count = "exact")
+               {
+                       endPoint <- stringr::str_interp("humans")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               job_tasks.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("job_tasks/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               job_tasks.create = function(jobtask, ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("job_tasks")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(jobtask) > 0)
+                               body <- jsonlite::toJSON(list(jobtask = jobtask), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               job_tasks.update = function(jobtask, uuid)
+               {
+                       endPoint <- stringr::str_interp("job_tasks/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(jobtask) > 0)
+                               body <- jsonlite::toJSON(list(jobtask = jobtask), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               job_tasks.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("job_tasks/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               job_tasks.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact")
+               {
+                       endPoint <- stringr::str_interp("job_tasks")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               links.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("links/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               links.create = function(link, ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("links")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(link) > 0)
+                               body <- jsonlite::toJSON(list(link = link), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               links.update = function(link, uuid)
+               {
+                       endPoint <- stringr::str_interp("links/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(link) > 0)
+                               body <- jsonlite::toJSON(list(link = link), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               links.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("links/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               links.list = function(filters = NULL, where = NULL,
+                       order = NULL, select = NULL, distinct = NULL,
+                       limit = "100", offset = "0", count = "exact")
+               {
+                       endPoint <- stringr::str_interp("links")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               links.get_permissions = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("permissions/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               jobs.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("jobs/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               jobs.create = function(job, ensure_unique_name = "false",
+                       find_or_create = "false", filters = NULL,
+                       minimum_script_version = NULL, exclude_script_versions = NULL)
+               {
+                       endPoint <- stringr::str_interp("jobs")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name,
+                                                         find_or_create = find_or_create, filters = filters,
+                                                         minimum_script_version = minimum_script_version,
+                                                         exclude_script_versions = exclude_script_versions)
+                       
+                       if(length(job) > 0)
+                               body <- jsonlite::toJSON(list(job = job), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               jobs.update = function(job, uuid)
+               {
+                       endPoint <- stringr::str_interp("jobs/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(job) > 0)
+                               body <- jsonlite::toJSON(list(job = job), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               jobs.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("jobs/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               jobs.queue = function(filters = NULL, where = NULL,
+                       order = NULL, select = NULL, distinct = NULL,
+                       limit = "100", offset = "0", count = "exact")
+               {
+                       endPoint <- stringr::str_interp("jobs/queue")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               jobs.queue_size = function()
+               {
+                       endPoint <- stringr::str_interp("jobs/queue_size")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               jobs.cancel = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("jobs/${uuid}/cancel")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               jobs.lock = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("jobs/${uuid}/lock")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               jobs.list = function(filters = NULL, where = NULL,
+                       order = NULL, select = NULL, distinct = NULL,
+                       limit = "100", offset = "0", count = "exact")
+               {
+                       endPoint <- stringr::str_interp("jobs")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               keep_disks.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("keep_disks/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               keep_disks.create = function(keepdisk, ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("keep_disks")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(keepdisk) > 0)
+                               body <- jsonlite::toJSON(list(keepdisk = keepdisk), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               keep_disks.update = function(keepdisk, uuid)
+               {
+                       endPoint <- stringr::str_interp("keep_disks/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(keepdisk) > 0)
+                               body <- jsonlite::toJSON(list(keepdisk = keepdisk), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               keep_disks.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("keep_disks/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               keep_disks.ping = function(uuid = NULL, ping_secret,
+                       node_uuid = NULL, filesystem_uuid = NULL,
+                       service_host = NULL, service_port, service_ssl_flag)
+               {
+                       endPoint <- stringr::str_interp("keep_disks/ping")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(uuid = uuid, ping_secret = ping_secret,
+                                                         node_uuid = node_uuid, filesystem_uuid = filesystem_uuid,
+                                                         service_host = service_host, service_port = service_port,
+                                                         service_ssl_flag = service_ssl_flag)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               keep_disks.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact")
+               {
+                       endPoint <- stringr::str_interp("keep_disks")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               keep_services.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("keep_services/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               keep_services.create = function(keepservice,
+                       ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("keep_services")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(keepservice) > 0)
+                               body <- jsonlite::toJSON(list(keepservice = keepservice), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               keep_services.update = function(keepservice, uuid)
+               {
+                       endPoint <- stringr::str_interp("keep_services/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(keepservice) > 0)
+                               body <- jsonlite::toJSON(list(keepservice = keepservice), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               keep_services.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("keep_services/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               keep_services.accessible = function()
+               {
+                       endPoint <- stringr::str_interp("keep_services/accessible")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               keep_services.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact")
+               {
+                       endPoint <- stringr::str_interp("keep_services")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               pipeline_templates.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               pipeline_templates.create = function(pipelinetemplate,
+                       ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("pipeline_templates")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(pipelinetemplate) > 0)
+                               body <- jsonlite::toJSON(list(pipelinetemplate = pipelinetemplate), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               pipeline_templates.update = function(pipelinetemplate, uuid)
+               {
+                       endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(pipelinetemplate) > 0)
+                               body <- jsonlite::toJSON(list(pipelinetemplate = pipelinetemplate), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               pipeline_templates.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("pipeline_templates/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               pipeline_templates.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact")
+               {
+                       endPoint <- stringr::str_interp("pipeline_templates")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               pipeline_instances.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               pipeline_instances.create = function(pipelineinstance,
+                       ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("pipeline_instances")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(pipelineinstance) > 0)
+                               body <- jsonlite::toJSON(list(pipelineinstance = pipelineinstance), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               pipeline_instances.update = function(pipelineinstance, uuid)
+               {
+                       endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(pipelineinstance) > 0)
+                               body <- jsonlite::toJSON(list(pipelineinstance = pipelineinstance), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               pipeline_instances.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("pipeline_instances/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               pipeline_instances.cancel = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("pipeline_instances/${uuid}/cancel")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               pipeline_instances.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact")
+               {
+                       endPoint <- stringr::str_interp("pipeline_instances")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               nodes.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("nodes/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               nodes.create = function(node, ensure_unique_name = "false",
+                       assign_slot = NULL)
+               {
+                       endPoint <- stringr::str_interp("nodes")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name,
+                                                         assign_slot = assign_slot)
+                       
+                       if(length(node) > 0)
+                               body <- jsonlite::toJSON(list(node = node), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               nodes.update = function(node, uuid, assign_slot = NULL)
+               {
+                       endPoint <- stringr::str_interp("nodes/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(assign_slot = assign_slot)
+                       
+                       if(length(node) > 0)
+                               body <- jsonlite::toJSON(list(node = node), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               nodes.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("nodes/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               nodes.ping = function(uuid, ping_secret)
+               {
+                       endPoint <- stringr::str_interp("nodes/${uuid}/ping")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ping_secret = ping_secret)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               nodes.list = function(filters = NULL, where = NULL,
+                       order = NULL, select = NULL, distinct = NULL,
+                       limit = "100", offset = "0", count = "exact")
+               {
+                       endPoint <- stringr::str_interp("nodes")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               repositories.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("repositories/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               repositories.create = function(repository, ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("repositories")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(repository) > 0)
+                               body <- jsonlite::toJSON(list(repository = repository), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               repositories.update = function(repository, uuid)
+               {
+                       endPoint <- stringr::str_interp("repositories/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(repository) > 0)
+                               body <- jsonlite::toJSON(list(repository = repository), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               repositories.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("repositories/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               repositories.get_all_permissions = function()
+               {
+                       endPoint <- stringr::str_interp("repositories/get_all_permissions")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               repositories.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact")
+               {
+                       endPoint <- stringr::str_interp("repositories")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               specimens.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("specimens/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               specimens.create = function(specimen, ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("specimens")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(specimen) > 0)
+                               body <- jsonlite::toJSON(list(specimen = specimen), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               specimens.update = function(specimen, uuid)
+               {
+                       endPoint <- stringr::str_interp("specimens/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(specimen) > 0)
+                               body <- jsonlite::toJSON(list(specimen = specimen), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               specimens.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("specimens/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               specimens.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact")
+               {
+                       endPoint <- stringr::str_interp("specimens")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               logs.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("logs/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               logs.create = function(log, ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("logs")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(log) > 0)
+                               body <- jsonlite::toJSON(list(log = log), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               logs.update = function(log, uuid)
+               {
+                       endPoint <- stringr::str_interp("logs/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(log) > 0)
+                               body <- jsonlite::toJSON(list(log = log), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               logs.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("logs/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               logs.list = function(filters = NULL, where = NULL,
+                       order = NULL, select = NULL, distinct = NULL,
+                       limit = "100", offset = "0", count = "exact")
+               {
+                       endPoint <- stringr::str_interp("logs")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               traits.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("traits/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               traits.create = function(trait, ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("traits")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(trait) > 0)
+                               body <- jsonlite::toJSON(list(trait = trait), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               traits.update = function(trait, uuid)
+               {
+                       endPoint <- stringr::str_interp("traits/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(trait) > 0)
+                               body <- jsonlite::toJSON(list(trait = trait), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               traits.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("traits/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               traits.list = function(filters = NULL, where = NULL,
+                       order = NULL, select = NULL, distinct = NULL,
+                       limit = "100", offset = "0", count = "exact")
+               {
+                       endPoint <- stringr::str_interp("traits")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               virtual_machines.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("virtual_machines/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               virtual_machines.create = function(virtualmachine,
+                       ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("virtual_machines")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(virtualmachine) > 0)
+                               body <- jsonlite::toJSON(list(virtualmachine = virtualmachine), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               virtual_machines.update = function(virtualmachine, uuid)
+               {
+                       endPoint <- stringr::str_interp("virtual_machines/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(virtualmachine) > 0)
+                               body <- jsonlite::toJSON(list(virtualmachine = virtualmachine), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               virtual_machines.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("virtual_machines/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               virtual_machines.logins = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("virtual_machines/${uuid}/logins")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               virtual_machines.get_all_logins = function()
+               {
+                       endPoint <- stringr::str_interp("virtual_machines/get_all_logins")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               virtual_machines.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact")
+               {
+                       endPoint <- stringr::str_interp("virtual_machines")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               workflows.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("workflows/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               workflows.create = function(workflow, ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("workflows")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(workflow) > 0)
+                               body <- jsonlite::toJSON(list(workflow = workflow), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               workflows.update = function(workflow, uuid)
+               {
+                       endPoint <- stringr::str_interp("workflows/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(workflow) > 0)
+                               body <- jsonlite::toJSON(list(workflow = workflow), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               workflows.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("workflows/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               workflows.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact")
+               {
+                       endPoint <- stringr::str_interp("workflows")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               groups.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("groups/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               groups.create = function(group, ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("groups")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(group) > 0)
+                               body <- jsonlite::toJSON(list(group = group), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               groups.update = function(group, uuid)
+               {
+                       endPoint <- stringr::str_interp("groups/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(group) > 0)
+                               body <- jsonlite::toJSON(list(group = group), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               groups.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("groups/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               groups.contents = function(filters = NULL,
+                       where = NULL, order = NULL, distinct = NULL,
+                       limit = "100", offset = "0", count = "exact",
+                       include_trash = NULL, uuid = NULL, recursive = NULL)
+               {
+                       endPoint <- stringr::str_interp("groups/contents")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, distinct = distinct, limit = limit,
+                                                         offset = offset, count = count, include_trash = include_trash,
+                                                         uuid = uuid, recursive = recursive)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               groups.trash = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("groups/${uuid}/trash")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               groups.untrash = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("groups/${uuid}/untrash")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               groups.list = function(filters = NULL, where = NULL,
+                       order = NULL, select = NULL, distinct = NULL,
+                       limit = "100", offset = "0", count = "exact",
+                       include_trash = NULL)
+               {
+                       endPoint <- stringr::str_interp("groups")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count,
+                                                         include_trash = include_trash)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               user_agreements.get = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("user_agreements/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               user_agreements.create = function(useragreement,
+                       ensure_unique_name = "false")
+               {
+                       endPoint <- stringr::str_interp("user_agreements")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(ensure_unique_name = ensure_unique_name)
+                       
+                       if(length(useragreement) > 0)
+                               body <- jsonlite::toJSON(list(useragreement = useragreement), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               user_agreements.update = function(useragreement, uuid)
+               {
+                       endPoint <- stringr::str_interp("user_agreements/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       if(length(useragreement) > 0)
+                               body <- jsonlite::toJSON(list(useragreement = useragreement), 
+                                                        auto_unbox = TRUE)
+                       else
+                               body <- NULL
+                       
+                       response <- private$REST$http$exec("PUT", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               user_agreements.delete = function(uuid)
+               {
+                       endPoint <- stringr::str_interp("user_agreements/${uuid}")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("DELETE", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               user_agreements.signatures = function()
+               {
+                       endPoint <- stringr::str_interp("user_agreements/signatures")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               user_agreements.sign = function()
+               {
+                       endPoint <- stringr::str_interp("user_agreements/sign")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("POST", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               user_agreements.list = function(filters = NULL,
+                       where = NULL, order = NULL, select = NULL,
+                       distinct = NULL, limit = "100", offset = "0",
+                       count = "exact")
+               {
+                       endPoint <- stringr::str_interp("user_agreements")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- list(filters = filters, where = where,
+                                                         order = order, select = select, distinct = distinct,
+                                                         limit = limit, offset = offset, count = count)
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               user_agreements.new = function()
+               {
+                       endPoint <- stringr::str_interp("user_agreements/new")
+                       url <- paste0(private$host, endPoint)
+                       headers <- list(Authorization = paste("OAuth2", private$token), 
+                                       "Content-Type" = "application/json")
+                       queryArgs <- NULL
+                       
+                       body <- NULL
+                       
+                       response <- private$REST$http$exec("GET", url, headers, body,
+                                                          queryArgs, private$numRetries)
+                       resource <- private$REST$httpParser$parseJSONResponse(response)
+                       
+                       if(!is.null(resource$errors))
+                               stop(resource$errors)
+                       
+                       resource
+               },
+
+               getHostName = function() private$host,
+               getToken = function() private$token,
+               setRESTService = function(newREST) private$REST <- newREST,
+               getRESTService = function() private$REST
+       ),
+
+       private = list(
+
+               token = NULL,
+               host = NULL,
+               REST = NULL,
+               numRetries = NULL
+       ),
+
+       cloneable = FALSE
+)
index ed5b4f4b968d0b9a9b1b570682af587942c29ea2..fad452ac7a05e97ab1ceabac0696028085426c9e 100644 (file)
@@ -53,12 +53,12 @@ Collection <- R6::R6Class(
 
     public = list(
 
-        api  = NULL,
-        uuid = NULL,
+               uuid = NULL,
+        # api  = NULL,
 
-        initialize = function(api, uuid)
+               initialize = function(api, uuid) 
         {
-            self$api <- api
+            self$api <- api
             private$REST <- api$getRESTService()
 
             self$uuid <- uuid
@@ -69,6 +69,9 @@ Collection <- R6::R6Class(
 
         add = function(content, relativePath = "")
         {
+            if(is.null(private$tree))
+                private$genereateCollectionTreeStructure()
+
             if(relativePath == ""  ||
                relativePath == "." ||
                relativePath == "./")
@@ -87,7 +90,6 @@ Collection <- R6::R6Class(
             if("ArvadosFile"   %in% class(content) ||
                "Subcollection" %in% class(content))
             {
-
                 if(content$getName() == "")
                     stop("Content has invalid name.")
 
@@ -104,6 +106,9 @@ Collection <- R6::R6Class(
 
         create = function(fileNames, relativePath = "")
         {
+            if(is.null(private$tree))
+                private$genereateCollectionTreeStructure()
+
             if(relativePath == ""  ||
                relativePath == "." ||
                relativePath == "./")
@@ -149,6 +154,9 @@ Collection <- R6::R6Class(
 
         remove = function(paths)
         {
+            if(is.null(private$tree))
+                private$genereateCollectionTreeStructure()
+
             if(is.character(paths))
             {
                 sapply(paths, function(filePath)
@@ -179,6 +187,9 @@ Collection <- R6::R6Class(
 
         move = function(content, newLocation)
         {
+            if(is.null(private$tree))
+                private$genereateCollectionTreeStructure()
+
             content <- trimFromEnd(content, "/")
 
             elementToMove <- self$get(content)
@@ -191,15 +202,42 @@ Collection <- R6::R6Class(
 
         getFileListing = function()
         {
+            if(is.null(private$tree))
+                private$genereateCollectionTreeStructure()
+
             content <- private$REST$getCollectionContent(self$uuid)
             content[order(tolower(content))]
         },
 
         get = function(relativePath)
         {
+            if(is.null(private$tree))
+                private$genereateCollectionTreeStructure()
+
             private$tree$getElement(relativePath)
         },
 
+               toJSON = function() 
+        {
+                       fields <- sapply(private$classFields, function(field)
+                       {
+                               self[[field]]
+                       }, USE.NAMES = TRUE)
+                       
+                       jsonlite::toJSON(list("collection" = 
+                     Filter(Negate(is.null), fields)), auto_unbox = TRUE)
+               },
+
+               isEmpty = function() {
+                       fields <- sapply(private$classFields,
+                                        function(field) self[[field]])
+
+                       if(any(sapply(fields, function(field) !is.null(field) && field != "")))
+                               FALSE
+                       else
+                               TRUE
+               },
+
         getRESTService = function() private$REST,
         setRESTService = function(newRESTService) private$REST <- newRESTService
     ),
@@ -208,7 +246,20 @@ Collection <- R6::R6Class(
 
         REST        = NULL,
         tree        = NULL,
-        fileContent = NULL
+        fileContent = NULL,
+        classFields = NULL,
+
+        genereateCollectionTreeStructure = function()
+        {
+            if(is.null(self$uuid))
+                stop("Collection uuid is not defined.")
+
+            if(is.null(private$REST))
+                stop("REST service is not defined.")
+
+            private$fileContent <- private$REST$getCollectionContent(self$uuid)
+            private$tree <- CollectionTree$new(private$fileContent, self)
+        }
     ),
 
     cloneable = FALSE
index f8ad0a60cdad56febb96f1b6b795d7f6cc8e1358..bc6b4d406d1f801acb7328a5d9263b44a473b2a7 100644 (file)
@@ -15,82 +15,45 @@ HttpRequest <- R6::R6Class(
             self$validVerbs <- c("GET", "POST", "PUT", "DELETE", "PROPFIND", "MOVE")
         },
 
-        execute = function(verb, url, headers = NULL, body = NULL, query = NULL,
-                           limit = NULL, offset = NULL, retryTimes = 0)
+        exec = function(verb, url, headers = NULL, body = NULL, queryParams = NULL,
+                        retryTimes = 0)
         {
             if(!(verb %in% self$validVerbs))
                 stop("Http verb is not valid.")
 
-            headers  <- httr::add_headers(unlist(headers))
-            urlQuery <- self$createQuery(query, limit, offset)
+            urlQuery <- self$createQuery(queryParams)
             url      <- paste0(url, urlQuery)
 
+            config <- httr::add_headers(unlist(headers))
+            if(toString(Sys.getenv("ARVADOS_API_HOST_INSECURE") == "TRUE"))
+               config$options = list(ssl_verifypeer = FALSE)
+
             # times = 1 regular call + numberOfRetries
             response <- httr::RETRY(verb, url = url, body = body,
-                                    config = headers, times = retryTimes + 1)
+                                    config = config, times = retryTimes + 1)
         },
 
-        createQuery = function(filters, limit, offset)
+        createQuery = function(queryParams)
         {
-            finalQuery <- NULL
-
-            finalQuery <- c(finalQuery, private$createFiltersQuery(filters))
-            finalQuery <- c(finalQuery, private$createLimitQuery(limit))
-            finalQuery <- c(finalQuery, private$createOffsetQuery(offset))
-
-            finalQuery <- finalQuery[!is.null(finalQuery)]
-            finalQuery <- paste0(finalQuery, collapse = "&")
-
-            if(finalQuery != "")
-                finalQuery <- paste0("/?", finalQuery)
-
-            finalQuery
-        }
-    ),
-
-    private = list(
+            queryParams <- Filter(Negate(is.null), queryParams)
 
-        createFiltersQuery = function(filters)
-        {
-            if(!is.null(filters))
+            query <- sapply(queryParams, function(param)
             {
-                filters <- RListToPythonList(filters, ",")
-                encodedQuery <- URLencode(filters, reserved = T, repeated = T)
+                if(is.list(param) || length(param) > 1)
+                    param <- RListToPythonList(param, ",")
 
-                return(paste0("filters=", encodedQuery))
-            }
+                URLencode(as.character(param), reserved = T, repeated = T)
 
-            return(NULL)
-        },
+            }, USE.NAMES = TRUE)
 
-        createLimitQuery = function(limit)
-        {
-            if(!is.null(limit))
-            {
-                limit <- suppressWarnings(as.numeric(limit))
-
-                if(is.na(limit))
-                    stop("Limit must be a numeric type.")
-                
-                return(paste0("limit=", limit))
-            }
-
-            return(NULL)
-        },
-
-        createOffsetQuery = function(offset)
-        {
-            if(!is.null(offset))
+            if(length(query) > 0)
             {
-                offset <- suppressWarnings(as.numeric(offset))
+                query <- paste0(names(query), "=", query, collapse = "&")
 
-                if(is.na(offset))
-                    stop("Offset must be a numeric type.")
-                
-                return(paste0("offset=", offset))
+                return(paste0("/?", query))
             }
 
-            return(NULL)
+            return("")
         }
     ),
 
index 12e6591ee8f4b3e3cafa6f187bf85886eb6e4914..dacf88a8c4bff2336e232fba4a86567a2cc5d7af 100644 (file)
@@ -4,27 +4,22 @@ RESTService <- R6::R6Class(
 
     public = list(
 
-        hostName   = NULL,
         token      = NULL,
         http       = NULL,
         httpParser = NULL,
         numRetries = NULL,
 
-        initialize = function(token, hostName,
+        initialize = function(token, rawHost,
                               http, httpParser,
                               numRetries     = 0,
                               webDavHostName = NULL)
         {
-            version <- "v1"
+            self$token      <- token
+            self$http       <- http
+            self$httpParser <- httpParser
+            self$numRetries <- numRetries
 
-            self$token       <- token
-            self$hostName    <- paste0("https://", hostName,
-                                       "/arvados/", version, "/")
-            self$http        <- http
-            self$httpParser  <- httpParser
-            self$numRetries  <- numRetries
-
-            private$rawHostName    <- hostName
+            private$rawHostName    <- rawHost
             private$webDavHostName <- webDavHostName
         },
 
@@ -55,126 +50,6 @@ RESTService <- R6::R6Class(
             private$webDavHostName
         },
 
-        getResource = function(resource, uuid)
-        {
-            resourceURL <- paste0(self$hostName, resource, "/", uuid)
-            headers <- list(Authorization = paste("OAuth2", self$token))
-
-            serverResponse <- self$http$execute("GET", resourceURL, headers,
-                                                retryTimes = self$numRetries)
-
-            resource <- self$httpParser$parseJSONResponse(serverResponse)
-
-            if(!is.null(resource$errors))
-                stop(resource$errors)
-
-            resource
-        },
-
-        listResources = function(resource, filters = NULL, limit = 100, offset = 0)
-        {
-            resourceURL <- paste0(self$hostName, resource)
-            headers <- list(Authorization = paste("OAuth2", self$token))
-            body <- NULL
-
-            serverResponse <- self$http$execute("GET", resourceURL, headers, body,
-                                                filters, limit, offset,
-                                                self$numRetries)
-
-            resources <- self$httpParser$parseJSONResponse(serverResponse)
-
-            if(!is.null(resources$errors))
-                stop(resources$errors)
-
-            resources
-        },
-
-        fetchAllItems = function(resourceURL, filters)
-        {
-            headers <- list(Authorization = paste("OAuth2", self$token))
-
-            offset <- 0
-            itemsAvailable <- .Machine$integer.max
-            items <- c()
-            while(length(items) < itemsAvailable)
-            {
-                serverResponse <- self$http$execute(verb       = "GET",
-                                                    url        = resourceURL,
-                                                    headers    = headers,
-                                                    body       = NULL,
-                                                    query      = filters,
-                                                    limit      = NULL,
-                                                    offset     = offset,
-                                                    retryTimes = self$numRetries)
-
-                parsedResponse <- self$httpParser$parseJSONResponse(serverResponse)
-
-                if(!is.null(parsedResponse$errors))
-                    stop(parsedResponse$errors)
-
-                items          <- c(items, parsedResponse$items)
-                offset         <- length(items)
-                itemsAvailable <- parsedResponse$items_available
-            }
-
-            items
-        },
-
-        deleteResource = function(resource, uuid)
-        {
-            collectionURL <- paste0(self$hostName, resource, "/", uuid)
-            headers <- list("Authorization" = paste("OAuth2", self$token),
-                            "Content-Type"  = "application/json")
-
-            serverResponse <- self$http$execute("DELETE", collectionURL, headers,
-                                                retryTimes = self$numRetries)
-
-            removedResource <- self$httpParser$parseJSONResponse(serverResponse)
-
-            if(!is.null(removedResource$errors))
-                stop(removedResource$errors)
-
-            removedResource
-        },
-
-        updateResource = function(resource, uuid, newContent)
-        {
-            resourceURL <- paste0(self$hostName, resource, "/", uuid)
-            headers <- list("Authorization" = paste("OAuth2", self$token),
-                            "Content-Type"  = "application/json")
-
-            newContent <- jsonlite::toJSON(newContent, auto_unbox = T)
-
-            serverResponse <- self$http$execute("PUT", resourceURL, headers, newContent,
-                                                retryTimes = self$numRetries)
-
-            updatedResource <- self$httpParser$parseJSONResponse(serverResponse)
-
-            if(!is.null(updatedResource$errors))
-                stop(updatedResource$errors)
-
-            updatedResource
-        },
-
-        createResource = function(resource, content)
-        {
-            resourceURL <- paste0(self$hostName, resource)
-            headers <- list("Authorization" = paste("OAuth2", self$token),
-                            "Content-Type"  = "application/json")
-
-            content <- jsonlite::toJSON(content, auto_unbox = T)
-
-            serverResponse <- self$http$execute("POST", resourceURL, headers, content,
-                                                retryTimes = self$numRetries)
-
-            newResource <- self$httpParser$parseJSONResponse(serverResponse)
-
-            if(!is.null(newResource$errors))
-                stop(newResource$errors)
-
-            newResource
-        },
-
         create = function(files, uuid)
         {
             sapply(files, function(filePath)
index 863e3f768f778880d7396a159a66f04e57d48fe6..b3b01f89c18eb07deabbefced545e34ad1f1b18f 100644 (file)
@@ -3,7 +3,7 @@ source("./R/util.R")
 #' Subcollection
 #' 
 #' Subcollection class represents a folder inside Arvados collection.
-#' It is essentially a composite of ArvadosFiles and other Subcollections.
+#' It is essentially a composite of arvadosFiles and other subcollections.
 #' 
 #' @section Usage:
 #' \preformatted{subcollection = Subcollection$new(name)}
diff --git a/sdk/R/R/autoGenAPI.R b/sdk/R/R/autoGenAPI.R
new file mode 100644 (file)
index 0000000..6db28f9
--- /dev/null
@@ -0,0 +1,571 @@
+getAPIDocument <- function(){
+    url <- "https://4xphq.arvadosapi.com/discovery/v1/apis/arvados/v1/rest"
+    serverResponse <- httr::RETRY("GET", url = url)
+
+    httr::content(serverResponse, as = "parsed", type = "application/json")
+}
+
+#' @export
+generateAPI <- function()
+{
+    #TODO: Consider passing discovery document URL as parameter.
+    #TODO: Consider passing location where to create new files.
+    discoveryDocument <- getAPIDocument()
+
+    methodResources <- discoveryDocument$resources
+    resourceNames   <- names(methodResources)
+
+    methodDoc <- genMethodsDoc(methodResources, resourceNames)
+    classDoc <- genAPIClassDoc(methodResources, resourceNames)
+    arvadosAPIHeader <- genAPIClassHeader()
+    arvadosProjectMethods <- genProjectMethods()
+    arvadosClassMethods <- genClassContent(methodResources, resourceNames)
+    arvadosAPIFooter <- genAPIClassFooter()
+
+    arvadosClass <- c(methodDoc,
+                      classDoc,
+                      arvadosAPIHeader,
+                      arvadosProjectMethods,
+                      arvadosClassMethods,
+                      arvadosAPIFooter)
+
+    fileConn <- file("./R/Arvados.R", "w")
+    writeLines(unlist(arvadosClass), fileConn)
+    close(fileConn)
+    NULL
+}
+
+genAPIClassHeader <- function()
+{
+    c("Arvados <- R6::R6Class(",
+      "",
+      "\t\"Arvados\",",
+      "",
+      "\tpublic = list(",
+      "",
+      "\t\tinitialize = function(authToken = NULL, hostName = NULL, numRetries = 0)",
+      "\t\t{",
+      "\t\t\tif(!is.null(hostName))",
+      "\t\t\t\tSys.setenv(ARVADOS_API_HOST = hostName)",
+      "",
+      "\t\t\tif(!is.null(authToken))",
+      "\t\t\t\tSys.setenv(ARVADOS_API_TOKEN = authToken)",
+      "",
+      "\t\t\thostName <- Sys.getenv(\"ARVADOS_API_HOST\")",
+      "\t\t\ttoken    <- Sys.getenv(\"ARVADOS_API_TOKEN\")",
+      "",
+      "\t\t\tif(hostName == \"\" | token == \"\")",
+      "\t\t\t\tstop(paste(\"Please provide host name and authentification token\",",
+      "\t\t\t\t\t\t   \"or set ARVADOS_API_HOST and ARVADOS_API_TOKEN\",",
+      "\t\t\t\t\t\t   \"environment variables.\"))",
+      "",
+      "\t\t\tprivate$token <- token",
+      "\t\t\tprivate$host  <- paste0(\"https://\", hostName, \"/arvados/v1/\")",
+      "\t\t\tprivate$numRetries <- numRetries",
+      "\t\t\tprivate$REST <- RESTService$new(token, hostName,",
+      "\t\t\t                                HttpRequest$new(), HttpParser$new(),",
+      "\t\t\t                                numRetries)",
+      "",
+      "\t\t},\n")
+}
+
+genProjectMethods <- function()
+{
+    c("\t\tprojects.get = function(uuid)",
+      "\t\t{",
+      "\t\t\tself$groups.get(uuid)",
+      "\t\t},",
+      "",
+      "\t\tprojects.create = function(group, ensure_unique_name = \"false\")",
+      "\t\t{",
+      "\t\t\tgroup <- c(\"group_class\" = \"project\", group)",
+      "\t\t\tself$groups.create(group, ensure_unique_name)",
+      "\t\t},",
+      "",
+      "\t\tprojects.update = function(group, uuid)",
+      "\t\t{",
+      "\t\t\tgroup <- c(\"group_class\" = \"project\", group)",
+      "\t\t\tself$groups.update(group, uuid)",
+      "\t\t},",
+      "",
+      "\t\tprojects.list = function(filters = NULL, where = NULL,",
+      "\t\t\torder = NULL, select = NULL, distinct = NULL,",
+      "\t\t\tlimit = \"100\", offset = \"0\", count = \"exact\",",
+      "\t\t\tinclude_trash = NULL)",
+      "\t\t{",
+      "\t\t\tfilters[[length(filters) + 1]] <- list(\"group_class\", \"=\", \"project\")",
+      "\t\t\tself$groups.list(filters, where, order, select, distinct,",
+      "\t\t\t                 limit, offset, count, include_trash)",
+      "\t\t},",
+      "",
+      "\t\tprojects.delete = function(uuid)",
+      "\t\t{",
+      "\t\t\tself$groups.delete(uuid)",
+      "\t\t},",
+      "")
+}
+
+genClassContent <- function(methodResources, resourceNames)
+{
+    arvadosMethods <- Map(function(resource, resourceName)
+    {
+        methodNames <- names(resource$methods)
+
+        functions <- Map(function(methodMetaData, methodName)
+        {
+            #NOTE: Index, show and destroy are aliases for the preferred names
+            # "list", "get" and "delete". Until they are removed from discovery
+            # document we will filter them here.
+            if(methodName %in% c("index", "show", "destroy"))
+               return(NULL)
+
+            methodName <- paste0(resourceName, ".", methodName)
+            createMethod(methodName, methodMetaData)
+
+        }, resource$methods, methodNames)
+
+        unlist(unname(functions))
+
+    }, methodResources, resourceNames)
+
+    arvadosMethods
+}
+
+genAPIClassFooter <- function()
+{
+    c("\t\tgetHostName = function() private$host,",
+      "\t\tgetToken = function() private$token,",
+      "\t\tsetRESTService = function(newREST) private$REST <- newREST,",
+      "\t\tgetRESTService = function() private$REST",
+      "\t),",
+      "",
+      "\tprivate = list(",
+      "",
+      "\t\ttoken = NULL,",
+      "\t\thost = NULL,",
+      "\t\tREST = NULL,",
+      "\t\tnumRetries = NULL",
+      "\t),",
+      "",
+      "\tcloneable = FALSE",
+      ")")
+}
+
+createMethod <- function(name, methodMetaData)
+{
+    args      <- getMethodArguments(methodMetaData)
+    signature <- getMethodSignature(name, args)
+    body      <- getMethodBody(methodMetaData)
+
+    c(signature,
+      "\t\t{",
+          body,
+      "\t\t},\n")
+}
+
+getMethodArguments <- function(methodMetaData)
+{
+    request <- methodMetaData$request
+    requestArgs <- NULL
+
+    if(!is.null(request))
+    {
+        resourceName <- tolower(request$properties[[1]][[1]])
+
+        if(request$required)
+            requestArgs <- resourceName
+        else
+            requestArgs <- paste(resourceName, "=", "NULL")
+    }
+
+    argNames <- names(methodMetaData$parameters)
+
+    args <- sapply(argNames, function(argName)
+    {
+        arg <- methodMetaData$parameters[[argName]]
+
+        if(!arg$required)
+        {
+            if(!is.null(arg$default))
+                return(paste0(argName, " = ", "\"", arg$default, "\""))
+            else
+                return(paste(argName, "=", "NULL"))
+        }
+
+        argName
+    })
+
+    c(requestArgs, args)
+}
+
+getMethodSignature <- function(methodName, args)
+{
+    collapsedArgs <- paste0(args, collapse = ", ")
+    lineLengthLimit <- 40
+
+    if(nchar(collapsedArgs) > lineLengthLimit)
+    {
+        return(paste0("\t\t",
+                      formatArgs(paste(methodName, "= function("),
+                                 "\t", args, ")", lineLengthLimit)))
+    }
+    else
+    {
+        return(paste0("\t\t", methodName, " = function(", collapsedArgs, ")"))
+    }
+}
+
+getMethodBody <- function(methodMetaData)
+{
+    url              <- getRequestURL(methodMetaData)
+    headers          <- getRequestHeaders()
+    requestQueryList <- getRequestQueryList(methodMetaData)
+    requestBody      <- getRequestBody(methodMetaData)
+    request          <- getRequest(methodMetaData)
+    response         <- getResponse(methodMetaData)
+    errorCheck       <- getErrorCheckingCode()
+    returnStatement  <- getReturnObject()
+
+    body <- c(url,
+              headers,
+              requestQueryList, "",
+              requestBody, "",
+              request, response, "",
+              errorCheck, "",
+              returnStatement)
+
+    paste0("\t\t\t", body)
+}
+
+getRequestURL <- function(methodMetaData)
+{
+    endPoint <- methodMetaData$path
+    endPoint <- stringr::str_replace_all(endPoint, "\\{", "${")
+    url <- c(paste0("endPoint <- stringr::str_interp(\"", endPoint, "\")"),
+             paste0("url <- paste0(private$host, endPoint)"))
+    url
+}
+
+getRequestHeaders <- function()
+{
+    c("headers <- list(Authorization = paste(\"OAuth2\", private$token), ",
+      "                \"Content-Type\" = \"application/json\")")
+}
+
+getRequestQueryList <- function(methodMetaData)
+{
+    queryArgs <- names(Filter(function(arg) arg$location == "query",
+                        methodMetaData$parameters))
+
+    if(length(queryArgs) == 0)
+        return("queryArgs <- NULL")
+
+    queryArgs <- sapply(queryArgs, function(arg) paste0(arg, " = ", arg))
+    collapsedArgs <- paste0(queryArgs, collapse = ", ")
+
+    lineLengthLimit <- 40
+
+    if(nchar(collapsedArgs) > lineLengthLimit)
+        return(formatArgs("queryArgs <- list(", "\t\t\t\t  ", queryArgs, ")",
+                          lineLengthLimit))
+    else
+        return(paste0("queryArgs <- list(", collapsedArgs, ")"))
+}
+
+getRequestBody <- function(methodMetaData)
+{
+    request <- methodMetaData$request
+
+    if(is.null(request) || !request$required)
+        return("body <- NULL")
+
+    resourceName <- tolower(request$properties[[1]][[1]])
+
+    requestParameterName <- names(request$properties)[1]
+
+    c(paste0("if(length(", resourceName, ") > 0)"),
+      paste0("\tbody <- jsonlite::toJSON(list(", resourceName, " = ", resourceName, "), "),
+             "\t                         auto_unbox = TRUE)",
+      "else",
+      "\tbody <- NULL")
+}
+
+getRequest <- function(methodMetaData)
+{
+    method <- methodMetaData$httpMethod
+    c(paste0("response <- private$REST$http$exec(\"", method, "\", url, headers, body,"),
+      "                                   queryArgs, private$numRetries)")
+}
+
+getResponse <- function(methodMetaData)
+{
+    "resource <- private$REST$httpParser$parseJSONResponse(response)"
+}
+
+getErrorCheckingCode <- function()
+{
+    c("if(!is.null(resource$errors))",
+      "\tstop(resource$errors)")
+}
+
+getReturnObject <- function()
+{
+    "resource"
+}
+
+#NOTE: Arvados class documentation:
+
+genMethodsDoc <- function(methodResources, resourceNames)
+{
+    methodsDoc <- unlist(unname(Map(function(resource, resourceName)
+    {
+        methodNames <- names(resource$methods)
+
+        methodDoc <- Map(function(methodMetaData, methodName)
+        {
+            #NOTE: Index, show and destroy are aliases for the preferred names
+            # "list", "get" and "delete". Until they are removed from discovery
+            # document we will filter them here.
+            if(methodName %in% c("index", "show", "destroy"))
+               return(NULL)
+
+            methodName <- paste0(resourceName, ".", methodName)
+            getMethodDoc(methodName, methodMetaData)
+
+        }, resource$methods, methodNames)
+
+        unlist(unname(methodDoc))
+
+    }, methodResources, resourceNames)))
+
+    projectDoc <- genProjectMethodsDoc()
+    
+    c(methodsDoc, projectDoc)
+}
+
+genAPIClassDoc <- function(methodResources, resourceNames)
+{
+    c("#' Arvados",
+      "#'",
+      "#' Arvados class gives users ability to access Arvados REST API.",
+      "#'" ,
+      "#' @section Usage:",
+      "#' \\preformatted{arv = Arvados$new(authToken = NULL, hostName = NULL, numRetries = 0)}",
+      "#'",
+      "#' @section Arguments:",
+      "#' \\describe{",
+      "#' \t\\item{authToken}{Authentification token. If not specified ARVADOS_API_TOKEN environment variable will be used.}",
+      "#' \t\\item{hostName}{Host name. If not specified ARVADOS_API_HOST environment variable will be used.}",
+      "#' \t\\item{numRetries}{Number which specifies how many times to retry failed service requests.}",
+      "#' }",
+      "#'",
+      "#' @section Methods:",
+      "#' \\describe{",
+      getAPIClassMethodList(methodResources, resourceNames),
+      "#' }",
+      "#'",
+      "#' @name Arvados",
+      "#' @examples",
+      "#' \\dontrun{",
+      "#' arv <- Arvados$new(\"your Arvados token\", \"example.arvadosapi.com\")",
+      "#'",
+      "#' collection <- arv$collections.get(\"uuid\")",
+      "#'",
+      "#' collectionList <- arv$collections.list(list(list(\"name\", \"like\", \"Test%\")))",
+      "#' collectionList <- listAll(arv$collections.list, list(list(\"name\", \"like\", \"Test%\")))",
+      "#'",
+      "#' deletedCollection <- arv$collections.delete(\"uuid\")",
+      "#'",
+      "#' updatedCollection <- arv$collections.update(list(name = \"New name\", description = \"New description\"),",
+      "#'                                             \"uuid\")",
+      "#'",
+      "#' createdCollection <- arv$collections.create(list(name = \"Example\",",
+      "#'                                                  description = \"This is a test collection\"))",
+      "#' }",
+      "NULL",
+      "",
+      "#' @export")
+}
+
+getAPIClassMethodList <- function(methodResources, resourceNames)
+{
+    methodList <- unlist(unname(Map(function(resource, resourceName)
+    {
+        methodNames <- names(resource$methods)
+        paste0(resourceName,
+               ".",
+               methodNames[!(methodNames %in% c("index", "show", "destroy"))])
+
+    }, methodResources, resourceNames)))
+    
+    hardcodedMethods <- c("projects.create", "projects.get",
+                          "projects.list", "projects.update", "projects.delete")
+    paste0("#' \t\\item{}{\\code{\\link{", sort(c(methodList, hardcodedMethods)), "}}}") 
+}
+
+getMethodDoc <- function(methodName, methodMetaData)
+{
+    name        <- paste("#' @name", methodName)
+    usage       <- getMethodUsage(methodName, methodMetaData)
+    description <- paste("#'", methodName, "is a method defined in Arvados class.")
+    params      <- getMethodDescription(methodMetaData)
+    returnValue <- paste("#' @return", methodMetaData$response[["$ref"]], "object.")
+
+    c(paste("#'", methodName),
+      "#' ",
+      description,
+      "#' ",
+      usage,
+      params,
+      returnValue,
+      name,
+      "NULL",
+      "")
+}
+
+getMethodUsage <- function(methodName, methodMetaData)
+{
+    lineLengthLimit <- 40
+    args <- getMethodArguments(methodMetaData)
+    c(formatArgs(paste0("#' @usage arv$", methodName,
+                        "("), "#' \t", args, ")", lineLengthLimit))
+}
+
+getMethodDescription <- function(methodMetaData)
+{
+    request <- methodMetaData$request
+    requestDoc <- NULL
+
+    if(!is.null(request))
+    {
+        requestDoc <- unname(unlist(sapply(request$properties, function(prop)
+                             {
+                                 className <- sapply(prop, function(ref) ref)
+                                 objectName <- paste0(tolower(substr(className, 1, 1)),
+                                                      substr(className, 2, nchar(className)))
+                                 paste("#' @param", objectName, className, "object.") 
+                             })))
+    }
+
+    argNames <- names(methodMetaData$parameters)
+
+    argsDoc <- unname(unlist(sapply(argNames, function(argName)
+    {
+        arg <- methodMetaData$parameters[[argName]]
+        argDescription <- arg$description
+        paste("#' @param", argName, argDescription) 
+    })))
+
+    c(requestDoc, argsDoc)
+}
+
+genProjectMethodsDoc <- function()
+{
+    #TODO: Manually update this documentation to reflect changes in discovery document.
+    c("#' project.get",
+    "#' ",
+    "#' projects.get is equivalent to groups.get method.",
+    "#' ",
+    "#' @usage arv$projects.get(uuid)",
+    "#' @param uuid The UUID of the Group in question.",
+    "#' @return Group object.",
+    "#' @name projects.get",
+    "NULL",
+    "",
+    "#' project.create",
+    "#' ",
+    "#' projects.create wrapps groups.create method by setting group_class attribute to \"project\".",
+    "#' ",
+    "#' @usage arv$projects.create(group, ensure_unique_name = \"false\")",
+    "#' @param group Group object.",
+    "#' @param ensure_unique_name Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.",
+    "#' @return Group object.",
+    "#' @name projects.create",
+    "NULL",
+    "",
+    "#' project.update",
+    "#' ",
+    "#' projects.update wrapps groups.update method by setting group_class attribute to \"project\".",
+    "#' ",
+    "#' @usage arv$projects.update(group, uuid)",
+    "#' @param group Group object.",
+    "#' @param uuid The UUID of the Group in question.",
+    "#' @return Group object.",
+    "#' @name projects.update",
+    "NULL",
+    "",
+    "#' project.delete",
+    "#' ",
+    "#' projects.delete is equivalent to groups.delete method.",
+    "#' ",
+    "#' @usage arv$project.delete(uuid)",
+    "#' @param uuid The UUID of the Group in question.",
+    "#' @return Group object.",
+    "#' @name projects.delete",
+    "NULL",
+    "",
+    "#' project.list",
+    "#' ",
+    "#' projects.list wrapps groups.list method by setting group_class attribute to \"project\".",
+    "#' ",
+    "#' @usage arv$projects.list(filters = NULL,",
+    "#'        where = NULL, order = NULL, distinct = NULL,",
+    "#'        limit = \"100\", offset = \"0\", count = \"exact\",",
+    "#'        include_trash = NULL, uuid = NULL, recursive = NULL)",
+    "#' @param filters ",
+    "#' @param where ",
+    "#' @param order ",
+    "#' @param distinct ",
+    "#' @param limit ",
+    "#' @param offset ",
+    "#' @param count ",
+    "#' @param include_trash Include items whose is_trashed attribute is true.",
+    "#' @param uuid ",
+    "#' @param recursive Include contents from child groups recursively.",
+    "#' @return Group object.",
+    "#' @name projects.list",
+    "NULL",
+    "")
+}
+
+#NOTE: Utility functions:
+
+# This function is used to split very long lines of code into smaller chunks.
+# This is usually the case when we pass a lot of named argumets to a function.
+formatArgs <- function(prependAtStart, prependToEachSplit,
+                       args, appendAtEnd, lineLength)
+{
+    if(length(args) > 1)
+    {
+        args[1:(length(args) - 1)] <- paste0(args[1:(length(args) - 1)], ",") 
+    }
+
+    args[1] <- paste0(prependAtStart, args[1])
+    args[length(args)] <- paste0(args[length(args)], appendAtEnd)
+
+    argsLength <- length(args)
+    argLines <- list()
+    index <- 1
+
+    while(index <= argsLength)
+    {
+        line <- args[index]
+        index <- index + 1
+
+        while(nchar(line) < lineLength && index <= argsLength)
+        {
+            line <- paste(line, args[index])
+            index <- index + 1
+        }
+
+        argLines <- c(argLines, line)
+    }
+    
+    argLines <- unlist(argLines)
+    argLinesLen <- length(argLines)
+
+    if(argLinesLen > 1)
+        argLines[2:argLinesLen] <- paste0(prependToEachSplit, argLines[2:argLinesLen]) 
+
+    argLines
+}
index d9af8b057bbb00b42611894fe2186aa6f87b0caf..57dd75f228ea410800897b60031d5734ca215f85 100644 (file)
@@ -1,3 +1,39 @@
+#' listAll
+#'
+#' List all resources even if the number of items is greater than maximum API limit.
+#'
+#' @param fn Arvados method used to retrieve items from REST service.
+#' @param ... Optional arguments which will be pased to fn .
+#' @examples
+#' \dontrun{
+#' arv <- Arvados$new("your Arvados token", "example.arvadosapi.com")
+#' cl <- listAll(arv$collections.list, filters = list(list("name", "like", "test%"))
+#' }
+#' @export 
+listAll <- function(fn, ...)
+{
+    offset <- 0
+    itemsAvailable <- .Machine$integer.max
+    items <- c()
+
+    while(length(items) < itemsAvailable)
+    {
+        serverResponse <- fn(offset = offset, ...)
+
+        if(!is.null(serverResponse$errors))
+            stop(serverResponse$errors)
+
+        items          <- c(items, serverResponse$items)
+        offset         <- length(items)
+        itemsAvailable <- serverResponse$items_available
+    }
+
+    items
+}
+
+
+#NOTE: Package private functions
+
 trimFromStart <- function(sample, trimCharacters)
 {
     if(startsWith(sample, trimCharacters))
@@ -49,6 +85,5 @@ splitToPathAndName = function(path)
     nameAndPath$name <- components[length(components)]
     nameAndPath$path <- trimFromStart(paste0(components[-length(components)], collapse = "/"),
                                       "/")
-
     nameAndPath
 }
index 098bfe19a5759d345ee9f325ee23f4b3a000e3bd..8a64e93d0acd04da19f3dc7fd8ec561720e23452 100644 (file)
@@ -56,16 +56,16 @@ knitr::opts_chunk$set(eval = FALSE)
 * Get a collection:
 
     ```{r}
-    collection <- arv$getCollection("uuid")
+    collection <- arv$collections.get("uuid")
     ```
 
 * List collections:
 
     ```{r}
     # offset of 0 and default limit of 100
-    collectionList <- arv$listCollections(list(list("name", "like", "Test%")))
+    collectionList <- arv$collections.list(list(list("name", "like", "Test%")))
 
-    collectionList <- arv$listCollections(list(list("name", "like", "Test%")), limit = 10, offset = 2)
+    collectionList <- arv$collections.list(list(list("name", "like", "Test%")), limit = 10, offset = 2)
     ```
 
     ```{r}
@@ -79,25 +79,25 @@ knitr::opts_chunk$set(eval = FALSE)
 * List all collections even if the number of items is greater than maximum API limit:
 
     ```{r}
-    collectionList <- arv$listAllCollections(list(list("name", "like", "Test%")))
+    collectionList <- listAll(arv$collections.list, list(list("name", "like", "Test%")))
     ```
 
 * Delete a collection:
 
     ```{r}
-    deletedCollection <- arv$deleteCollection("uuid")
+    deletedCollection <- arv$collections.delete("uuid")
     ```
 
 * Update a collection's metadata:
 
     ```{r}
-    updatedCollection <- arv$updateCollection("uuid", list(name = "New name", description = "New description"))
+    updatedCollection <- arv$collections.update(list(name = "New name", description = "New description"), "uuid")
     ```
 
 * Create collection:
 
     ```{r}
-    createdCollection <- arv$createCollection(list(name = "Example", description = "This is a test collection"))
+    newCollection <- arv$collections.create(list(name = "Example", description = "This is a test collection"))
     ```
 
 
@@ -252,41 +252,59 @@ knitr::opts_chunk$set(eval = FALSE)
 * Get a project:
 
     ```{r}
-    project <- arv$getProject("uuid")
+    project <- arv$projects.get("uuid")
     ```
 
 * List projects:
 
     ```{r}
     # list subprojects of a project
-    projects <- arv$listProjects(list(list("owner_uuid", "=", "aaaaa-j7d0g-ccccccccccccccc")))
+    projects <- arv$projects.list(list(list("owner_uuid", "=", "aaaaa-j7d0g-ccccccccccccccc")))
 
     # list projects which have names beginning with Example
-    arv$listProjects(list(list("name","like","Example%")))
+    examples <- arv$projects.list(list(list("name","like","Example%")))
     ```
 
 * List all projects even if the number of items is greater than maximum API limit:
 
     ```{r}
-    collectionList <- arv$listAllProjects(list(list("name","like","Example%")))
+    projects <- listAll(arv$projects.list, list(list("name","like","Example%")))
     ```
 
 * Delete a project:
 
     ```{r}
-    deletedProject <- arv$deleteProject("uuid")
+    deletedProject <- arv$projects.delete("uuid")
     ```
 
 * Update project:
 
     ```{r}
-    updatedProject <- arv$updateProject("uuid", list(name = "new_name", description = "new description"))
+    updatedProject <- arv$projects.update(list(name = "new_name", description = "new description"), "uuid")
     ```
 
 * Create project:
 
     ```{r}
-    createdProject <- arv$createProject(list(name = "project_name", description = "project description"))
+    newProject <- arv$projects.update(list(name = "project_name", description = "project description"))
+    ```
+
+#### Help
+
+* View help page of Arvados classes by puting ? before class name:
+
+    ```{r}
+    ?Arvados
+    ?Collection
+    ?Subcollection
+    ?ArvadosFile
+    ```
+
+* View help page of any method defined in Arvados class by puting ? before method name:
+
+    ```{r}
+    ?collections.update
+    ?jobs.get
     ```
 
 ### Building the ArvadosR package
diff --git a/sdk/R/createDoc.R b/sdk/R/createDoc.R
new file mode 100644 (file)
index 0000000..73e088e
--- /dev/null
@@ -0,0 +1,20 @@
+#Run script with $Rscript createDoc.R input.Rmd output.html
+
+require(knitr) # required for knitting from rmd to md
+require(markdown) # required for md to html
+
+args <- commandArgs(TRUE)
+
+if(length(args) != 2)
+    stop("Please provide 2 arguments corresponding to input and output file!")
+
+inputFile <- args[[1]] # .Rmd file
+outputFile <- args[[2]] # .html file
+
+# Create and fill temp .md file from existing .Rmd file
+#tempMdFile <- tempfile("tempREADME", fileext = "md")
+knitr::knit(inputFile, outputFile)
+#knitr::knit(inputFile, tempMdFile)
+
+# Generate HTML from temporary .md file
+#markdown::markdownToHTML(tempMdFile, outputFile)
index a54a9a23facdda1769520e7d653b976c293ce4bd..5314c86e28b0d3d7352733943019a3602dbf019b 100644 (file)
@@ -5,14 +5,11 @@ if (!requireNamespace("devtools")) {
 if (!requireNamespace("roxygen2")) {
   install.packages("roxygen2")
 }
-
-# These install from github so install known-good versions instead of
-# letting any push to master break our build.
-if (!requireNamespace("pkgload")) {
-  devtools::install_github("r-lib/pkgload", ref="7a97de62adf1793c03e73095937e4655baad79c9")
+if (!requireNamespace("knitr")) {
+  install.packages("knitr")
 }
-if (!requireNamespace("pkgdown")) {
-  devtools::install_github("r-lib/pkgdown", ref="897ffbc016549c11c4263cb5d1f6e9f5c99efb45")
+if (!requireNamespace("markdown")) {
+  install.packages("markdown")
 }
 
 devtools::install_dev_deps()
index 3c66437f04149ed833d6202d2cbe2f68d38bc5fc..95a2e5561fa9ce21b1d5bd236489595b8c2c034d 100644 (file)
@@ -4,7 +4,7 @@
 \alias{Arvados}
 \title{Arvados}
 \description{
-Arvados class gives users ability to manipulate collections and projects.
+Arvados class gives users ability to access Arvados REST API.
 }
 \section{Usage}{
 
@@ -14,31 +14,175 @@ Arvados class gives users ability to manipulate collections and projects.
 \section{Arguments}{
 
 \describe{
-  \item{authToken}{Authentification token. If not specified ARVADOS_API_TOKEN environment variable will be used.}
-  \item{hostName}{Host name. If not specified ARVADOS_API_HOST environment variable will be used.}
-  \item{numRetries}{Number which specifies how many times to retry failed service requests.}
+       \item{authToken}{Authentification token. If not specified ARVADOS_API_TOKEN environment variable will be used.}
+       \item{hostName}{Host name. If not specified ARVADOS_API_HOST environment variable will be used.}
+       \item{numRetries}{Number which specifies how many times to retry failed service requests.}
 }
 }
 
 \section{Methods}{
 
 \describe{
-  \item{getToken()}{Returns authentification token currently in use.}
-  \item{getHostName()}{Returns host name currently in use.}
-  \item{getNumRetries()}{Returns number which specifies how many times to retry failed service requests.}
-  \item{setNumRetries(newNumOfRetries)}{Sets number which specifies how many times to retry failed service requests.}
-  \item{getCollection(uuid)}{Get collection with specified UUID.}
-  \item{listCollections(filters = NULL, limit = 100, offset = 0)}{Returns list of collections based on filters parameter.}
-  \item{listAllCollections(filters = NULL)}{Lists all collections, based on filters parameter, even if the number of items is greater than maximum API limit.}
-  \item{deleteCollection(uuid)}{Deletes collection with specified UUID.}
-  \item{updateCollection(uuid, newContent)}{Updates collection with specified UUID.}
-  \item{createCollection(content)}{Creates new collection.}
-  \item{getProject(uuid)}{Get project with specified UUID.}
-  \item{listProjects(filters = NULL, limit = 100, offset = 0)}{Returns list of projects based on filters parameter.}
-  \item{listAllProjects(filters = NULL)}{Lists all projects, based on filters parameter, even if the number of items is greater than maximum API limit.}
-  \item{deleteProject(uuid)}{Deletes project with specified UUID.}
-  \item{updateProject(uuid, newContent)}{Updates project with specified UUID.}
-  \item{createProject(content)}{Creates new project.}
+       \item{}{\code{\link{api_client_authorizations.create}}}
+       \item{}{\code{\link{api_client_authorizations.create_system_auth}}}
+       \item{}{\code{\link{api_client_authorizations.current}}}
+       \item{}{\code{\link{api_client_authorizations.delete}}}
+       \item{}{\code{\link{api_client_authorizations.get}}}
+       \item{}{\code{\link{api_client_authorizations.list}}}
+       \item{}{\code{\link{api_client_authorizations.update}}}
+       \item{}{\code{\link{api_clients.create}}}
+       \item{}{\code{\link{api_clients.delete}}}
+       \item{}{\code{\link{api_clients.get}}}
+       \item{}{\code{\link{api_clients.list}}}
+       \item{}{\code{\link{api_clients.update}}}
+       \item{}{\code{\link{authorized_keys.create}}}
+       \item{}{\code{\link{authorized_keys.delete}}}
+       \item{}{\code{\link{authorized_keys.get}}}
+       \item{}{\code{\link{authorized_keys.list}}}
+       \item{}{\code{\link{authorized_keys.update}}}
+       \item{}{\code{\link{collections.create}}}
+       \item{}{\code{\link{collections.delete}}}
+       \item{}{\code{\link{collections.get}}}
+       \item{}{\code{\link{collections.list}}}
+       \item{}{\code{\link{collections.provenance}}}
+       \item{}{\code{\link{collections.trash}}}
+       \item{}{\code{\link{collections.untrash}}}
+       \item{}{\code{\link{collections.update}}}
+       \item{}{\code{\link{collections.used_by}}}
+       \item{}{\code{\link{container_requests.create}}}
+       \item{}{\code{\link{container_requests.delete}}}
+       \item{}{\code{\link{container_requests.get}}}
+       \item{}{\code{\link{container_requests.list}}}
+       \item{}{\code{\link{container_requests.update}}}
+       \item{}{\code{\link{containers.auth}}}
+       \item{}{\code{\link{containers.create}}}
+       \item{}{\code{\link{containers.current}}}
+       \item{}{\code{\link{containers.delete}}}
+       \item{}{\code{\link{containers.get}}}
+       \item{}{\code{\link{containers.list}}}
+       \item{}{\code{\link{containers.lock}}}
+       \item{}{\code{\link{containers.secret_mounts}}}
+       \item{}{\code{\link{containers.unlock}}}
+       \item{}{\code{\link{containers.update}}}
+       \item{}{\code{\link{groups.contents}}}
+       \item{}{\code{\link{groups.create}}}
+       \item{}{\code{\link{groups.delete}}}
+       \item{}{\code{\link{groups.get}}}
+       \item{}{\code{\link{groups.list}}}
+       \item{}{\code{\link{groups.trash}}}
+       \item{}{\code{\link{groups.untrash}}}
+       \item{}{\code{\link{groups.update}}}
+       \item{}{\code{\link{humans.create}}}
+       \item{}{\code{\link{humans.delete}}}
+       \item{}{\code{\link{humans.get}}}
+       \item{}{\code{\link{humans.list}}}
+       \item{}{\code{\link{humans.update}}}
+       \item{}{\code{\link{jobs.cancel}}}
+       \item{}{\code{\link{jobs.create}}}
+       \item{}{\code{\link{jobs.delete}}}
+       \item{}{\code{\link{jobs.get}}}
+       \item{}{\code{\link{jobs.list}}}
+       \item{}{\code{\link{jobs.lock}}}
+       \item{}{\code{\link{jobs.queue}}}
+       \item{}{\code{\link{jobs.queue_size}}}
+       \item{}{\code{\link{jobs.update}}}
+       \item{}{\code{\link{job_tasks.create}}}
+       \item{}{\code{\link{job_tasks.delete}}}
+       \item{}{\code{\link{job_tasks.get}}}
+       \item{}{\code{\link{job_tasks.list}}}
+       \item{}{\code{\link{job_tasks.update}}}
+       \item{}{\code{\link{keep_disks.create}}}
+       \item{}{\code{\link{keep_disks.delete}}}
+       \item{}{\code{\link{keep_disks.get}}}
+       \item{}{\code{\link{keep_disks.list}}}
+       \item{}{\code{\link{keep_disks.ping}}}
+       \item{}{\code{\link{keep_disks.update}}}
+       \item{}{\code{\link{keep_services.accessible}}}
+       \item{}{\code{\link{keep_services.create}}}
+       \item{}{\code{\link{keep_services.delete}}}
+       \item{}{\code{\link{keep_services.get}}}
+       \item{}{\code{\link{keep_services.list}}}
+       \item{}{\code{\link{keep_services.update}}}
+       \item{}{\code{\link{links.create}}}
+       \item{}{\code{\link{links.delete}}}
+       \item{}{\code{\link{links.get}}}
+       \item{}{\code{\link{links.get_permissions}}}
+       \item{}{\code{\link{links.list}}}
+       \item{}{\code{\link{links.update}}}
+       \item{}{\code{\link{logs.create}}}
+       \item{}{\code{\link{logs.delete}}}
+       \item{}{\code{\link{logs.get}}}
+       \item{}{\code{\link{logs.list}}}
+       \item{}{\code{\link{logs.update}}}
+       \item{}{\code{\link{nodes.create}}}
+       \item{}{\code{\link{nodes.delete}}}
+       \item{}{\code{\link{nodes.get}}}
+       \item{}{\code{\link{nodes.list}}}
+       \item{}{\code{\link{nodes.ping}}}
+       \item{}{\code{\link{nodes.update}}}
+       \item{}{\code{\link{pipeline_instances.cancel}}}
+       \item{}{\code{\link{pipeline_instances.create}}}
+       \item{}{\code{\link{pipeline_instances.delete}}}
+       \item{}{\code{\link{pipeline_instances.get}}}
+       \item{}{\code{\link{pipeline_instances.list}}}
+       \item{}{\code{\link{pipeline_instances.update}}}
+       \item{}{\code{\link{pipeline_templates.create}}}
+       \item{}{\code{\link{pipeline_templates.delete}}}
+       \item{}{\code{\link{pipeline_templates.get}}}
+       \item{}{\code{\link{pipeline_templates.list}}}
+       \item{}{\code{\link{pipeline_templates.update}}}
+       \item{}{\code{\link{projects.create}}}
+       \item{}{\code{\link{projects.delete}}}
+       \item{}{\code{\link{projects.get}}}
+       \item{}{\code{\link{projects.list}}}
+       \item{}{\code{\link{projects.update}}}
+       \item{}{\code{\link{repositories.create}}}
+       \item{}{\code{\link{repositories.delete}}}
+       \item{}{\code{\link{repositories.get}}}
+       \item{}{\code{\link{repositories.get_all_permissions}}}
+       \item{}{\code{\link{repositories.list}}}
+       \item{}{\code{\link{repositories.update}}}
+       \item{}{\code{\link{specimens.create}}}
+       \item{}{\code{\link{specimens.delete}}}
+       \item{}{\code{\link{specimens.get}}}
+       \item{}{\code{\link{specimens.list}}}
+       \item{}{\code{\link{specimens.update}}}
+       \item{}{\code{\link{traits.create}}}
+       \item{}{\code{\link{traits.delete}}}
+       \item{}{\code{\link{traits.get}}}
+       \item{}{\code{\link{traits.list}}}
+       \item{}{\code{\link{traits.update}}}
+       \item{}{\code{\link{user_agreements.create}}}
+       \item{}{\code{\link{user_agreements.delete}}}
+       \item{}{\code{\link{user_agreements.get}}}
+       \item{}{\code{\link{user_agreements.list}}}
+       \item{}{\code{\link{user_agreements.new}}}
+       \item{}{\code{\link{user_agreements.sign}}}
+       \item{}{\code{\link{user_agreements.signatures}}}
+       \item{}{\code{\link{user_agreements.update}}}
+       \item{}{\code{\link{users.activate}}}
+       \item{}{\code{\link{users.create}}}
+       \item{}{\code{\link{users.current}}}
+       \item{}{\code{\link{users.delete}}}
+       \item{}{\code{\link{users.get}}}
+       \item{}{\code{\link{users.list}}}
+       \item{}{\code{\link{users.setup}}}
+       \item{}{\code{\link{users.system}}}
+       \item{}{\code{\link{users.unsetup}}}
+       \item{}{\code{\link{users.update}}}
+       \item{}{\code{\link{users.update_uuid}}}
+       \item{}{\code{\link{virtual_machines.create}}}
+       \item{}{\code{\link{virtual_machines.delete}}}
+       \item{}{\code{\link{virtual_machines.get}}}
+       \item{}{\code{\link{virtual_machines.get_all_logins}}}
+       \item{}{\code{\link{virtual_machines.list}}}
+       \item{}{\code{\link{virtual_machines.logins}}}
+       \item{}{\code{\link{virtual_machines.update}}}
+       \item{}{\code{\link{workflows.create}}}
+       \item{}{\code{\link{workflows.delete}}}
+       \item{}{\code{\link{workflows.get}}}
+       \item{}{\code{\link{workflows.list}}}
+       \item{}{\code{\link{workflows.update}}}
 }
 }
 
@@ -46,17 +190,17 @@ Arvados class gives users ability to manipulate collections and projects.
 \dontrun{
 arv <- Arvados$new("your Arvados token", "example.arvadosapi.com")
 
-collection <- arv$getCollection("uuid")
+collection <- arv$collections.get("uuid")
 
-collectionList <- arv$listCollections(list(list("name", "like", "Test\%")))
-collectionList <- arv$listAllCollections(list(list("name", "like", "Test\%")))
+collectionList <- arv$collections.list(list(list("name", "like", "Test\%")))
+collectionList <- listAll(arv$collections.list, list(list("name", "like", "Test\%")))
 
-deletedCollection <- arv$deleteCollection("uuid")
+deletedCollection <- arv$collections.delete("uuid")
 
-updatedCollection <- arv$updateCollection("uuid", list(name = "New name",
-                                                       description = "New description"))
+updatedCollection <- arv$collections.update(list(name = "New name", description = "New description"),
+                                            "uuid")
 
-createdCollection <- arv$createCollection(list(name = "Example",
-                                               description = "This is a test collection"))
+createdCollection <- arv$collections.create(list(name = "Example",
+                                                 description = "This is a test collection"))
 }
 }
diff --git a/sdk/R/man/api_client_authorizations.create.Rd b/sdk/R/man/api_client_authorizations.create.Rd
new file mode 100644 (file)
index 0000000..e322419
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{api_client_authorizations.create}
+\alias{api_client_authorizations.create}
+\title{api_client_authorizations.create}
+\usage{
+arv$api_client_authorizations.create(apiclientauthorization,
+       ensure_unique_name = "false")
+}
+\arguments{
+\item{apiClientAuthorization}{ApiClientAuthorization object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+ApiClientAuthorization object.
+}
+\description{
+api_client_authorizations.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/api_client_authorizations.create_system_auth.Rd b/sdk/R/man/api_client_authorizations.create_system_auth.Rd
new file mode 100644 (file)
index 0000000..3eb172a
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{api_client_authorizations.create_system_auth}
+\alias{api_client_authorizations.create_system_auth}
+\title{api_client_authorizations.create_system_auth}
+\usage{
+arv$api_client_authorizations.create_system_auth(api_client_id = NULL,
+       scopes = NULL)
+}
+\arguments{
+\item{api_client_id}{}
+
+\item{scopes}{}
+}
+\value{
+ApiClientAuthorization object.
+}
+\description{
+api_client_authorizations.create_system_auth is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/api_client_authorizations.current.Rd b/sdk/R/man/api_client_authorizations.current.Rd
new file mode 100644 (file)
index 0000000..c286237
--- /dev/null
@@ -0,0 +1,14 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{api_client_authorizations.current}
+\alias{api_client_authorizations.current}
+\title{api_client_authorizations.current}
+\usage{
+arv$api_client_authorizations.current(NULL)
+}
+\value{
+ApiClientAuthorization object.
+}
+\description{
+api_client_authorizations.current is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/api_client_authorizations.delete.Rd b/sdk/R/man/api_client_authorizations.delete.Rd
new file mode 100644 (file)
index 0000000..054cc79
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{api_client_authorizations.delete}
+\alias{api_client_authorizations.delete}
+\title{api_client_authorizations.delete}
+\usage{
+arv$api_client_authorizations.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the ApiClientAuthorization in question.}
+}
+\value{
+ApiClientAuthorization object.
+}
+\description{
+api_client_authorizations.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/api_client_authorizations.get.Rd b/sdk/R/man/api_client_authorizations.get.Rd
new file mode 100644 (file)
index 0000000..3f5b630
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{api_client_authorizations.get}
+\alias{api_client_authorizations.get}
+\title{api_client_authorizations.get}
+\usage{
+arv$api_client_authorizations.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the ApiClientAuthorization in question.}
+}
+\value{
+ApiClientAuthorization object.
+}
+\description{
+api_client_authorizations.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/api_client_authorizations.list.Rd b/sdk/R/man/api_client_authorizations.list.Rd
new file mode 100644 (file)
index 0000000..7c8ae69
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{api_client_authorizations.list}
+\alias{api_client_authorizations.list}
+\title{api_client_authorizations.list}
+\usage{
+arv$api_client_authorizations.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+ApiClientAuthorizationList object.
+}
+\description{
+api_client_authorizations.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/api_client_authorizations.update.Rd b/sdk/R/man/api_client_authorizations.update.Rd
new file mode 100644 (file)
index 0000000..e6380cc
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{api_client_authorizations.update}
+\alias{api_client_authorizations.update}
+\title{api_client_authorizations.update}
+\usage{
+arv$api_client_authorizations.update(apiclientauthorization,
+       uuid)
+}
+\arguments{
+\item{apiClientAuthorization}{ApiClientAuthorization object.}
+
+\item{uuid}{The UUID of the ApiClientAuthorization in question.}
+}
+\value{
+ApiClientAuthorization object.
+}
+\description{
+api_client_authorizations.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/api_clients.create.Rd b/sdk/R/man/api_clients.create.Rd
new file mode 100644 (file)
index 0000000..2601168
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{api_clients.create}
+\alias{api_clients.create}
+\title{api_clients.create}
+\usage{
+arv$api_clients.create(apiclient,
+       ensure_unique_name = "false")
+}
+\arguments{
+\item{apiClient}{ApiClient object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+ApiClient object.
+}
+\description{
+api_clients.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/api_clients.delete.Rd b/sdk/R/man/api_clients.delete.Rd
new file mode 100644 (file)
index 0000000..90eaa99
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{api_clients.delete}
+\alias{api_clients.delete}
+\title{api_clients.delete}
+\usage{
+arv$api_clients.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the ApiClient in question.}
+}
+\value{
+ApiClient object.
+}
+\description{
+api_clients.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/api_clients.get.Rd b/sdk/R/man/api_clients.get.Rd
new file mode 100644 (file)
index 0000000..4a1b6c0
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{api_clients.get}
+\alias{api_clients.get}
+\title{api_clients.get}
+\usage{
+arv$api_clients.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the ApiClient in question.}
+}
+\value{
+ApiClient object.
+}
+\description{
+api_clients.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/api_clients.list.Rd b/sdk/R/man/api_clients.list.Rd
new file mode 100644 (file)
index 0000000..0679c9c
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{api_clients.list}
+\alias{api_clients.list}
+\title{api_clients.list}
+\usage{
+arv$api_clients.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+ApiClientList object.
+}
+\description{
+api_clients.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/api_clients.update.Rd b/sdk/R/man/api_clients.update.Rd
new file mode 100644 (file)
index 0000000..a37e533
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{api_clients.update}
+\alias{api_clients.update}
+\title{api_clients.update}
+\usage{
+arv$api_clients.update(apiclient,
+       uuid)
+}
+\arguments{
+\item{apiClient}{ApiClient object.}
+
+\item{uuid}{The UUID of the ApiClient in question.}
+}
+\value{
+ApiClient object.
+}
+\description{
+api_clients.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/authorized_keys.create.Rd b/sdk/R/man/authorized_keys.create.Rd
new file mode 100644 (file)
index 0000000..e0d226a
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{authorized_keys.create}
+\alias{authorized_keys.create}
+\title{authorized_keys.create}
+\usage{
+arv$authorized_keys.create(authorizedkey,
+       ensure_unique_name = "false")
+}
+\arguments{
+\item{authorizedKey}{AuthorizedKey object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+AuthorizedKey object.
+}
+\description{
+authorized_keys.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/authorized_keys.delete.Rd b/sdk/R/man/authorized_keys.delete.Rd
new file mode 100644 (file)
index 0000000..db1f0e7
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{authorized_keys.delete}
+\alias{authorized_keys.delete}
+\title{authorized_keys.delete}
+\usage{
+arv$authorized_keys.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the AuthorizedKey in question.}
+}
+\value{
+AuthorizedKey object.
+}
+\description{
+authorized_keys.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/authorized_keys.get.Rd b/sdk/R/man/authorized_keys.get.Rd
new file mode 100644 (file)
index 0000000..31a2dd3
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{authorized_keys.get}
+\alias{authorized_keys.get}
+\title{authorized_keys.get}
+\usage{
+arv$authorized_keys.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the AuthorizedKey in question.}
+}
+\value{
+AuthorizedKey object.
+}
+\description{
+authorized_keys.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/authorized_keys.list.Rd b/sdk/R/man/authorized_keys.list.Rd
new file mode 100644 (file)
index 0000000..cd19bc6
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{authorized_keys.list}
+\alias{authorized_keys.list}
+\title{authorized_keys.list}
+\usage{
+arv$authorized_keys.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+AuthorizedKeyList object.
+}
+\description{
+authorized_keys.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/authorized_keys.update.Rd b/sdk/R/man/authorized_keys.update.Rd
new file mode 100644 (file)
index 0000000..65d93d0
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{authorized_keys.update}
+\alias{authorized_keys.update}
+\title{authorized_keys.update}
+\usage{
+arv$authorized_keys.update(authorizedkey,
+       uuid)
+}
+\arguments{
+\item{authorizedKey}{AuthorizedKey object.}
+
+\item{uuid}{The UUID of the AuthorizedKey in question.}
+}
+\value{
+AuthorizedKey object.
+}
+\description{
+authorized_keys.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/collections.create.Rd b/sdk/R/man/collections.create.Rd
new file mode 100644 (file)
index 0000000..af8e398
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{collections.create}
+\alias{collections.create}
+\title{collections.create}
+\usage{
+arv$collections.create(collection,
+       ensure_unique_name = "false")
+}
+\arguments{
+\item{collection}{Collection object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+Collection object.
+}
+\description{
+collections.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/collections.delete.Rd b/sdk/R/man/collections.delete.Rd
new file mode 100644 (file)
index 0000000..28b3543
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{collections.delete}
+\alias{collections.delete}
+\title{collections.delete}
+\usage{
+arv$collections.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Collection in question.}
+}
+\value{
+Collection object.
+}
+\description{
+collections.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/collections.get.Rd b/sdk/R/man/collections.get.Rd
new file mode 100644 (file)
index 0000000..3878aaf
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{collections.get}
+\alias{collections.get}
+\title{collections.get}
+\usage{
+arv$collections.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Collection in question.}
+}
+\value{
+Collection object.
+}
+\description{
+collections.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/collections.list.Rd b/sdk/R/man/collections.list.Rd
new file mode 100644 (file)
index 0000000..87f6f78
--- /dev/null
@@ -0,0 +1,36 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{collections.list}
+\alias{collections.list}
+\title{collections.list}
+\usage{
+arv$collections.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact", include_trash = NULL)
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+
+\item{include_trash}{Include collections whose is_trashed attribute is true.}
+}
+\value{
+CollectionList object.
+}
+\description{
+collections.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/collections.provenance.Rd b/sdk/R/man/collections.provenance.Rd
new file mode 100644 (file)
index 0000000..001a7b4
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{collections.provenance}
+\alias{collections.provenance}
+\title{collections.provenance}
+\usage{
+arv$collections.provenance(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+Collection object.
+}
+\description{
+collections.provenance is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/collections.trash.Rd b/sdk/R/man/collections.trash.Rd
new file mode 100644 (file)
index 0000000..4862109
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{collections.trash}
+\alias{collections.trash}
+\title{collections.trash}
+\usage{
+arv$collections.trash(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+Collection object.
+}
+\description{
+collections.trash is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/collections.untrash.Rd b/sdk/R/man/collections.untrash.Rd
new file mode 100644 (file)
index 0000000..c41bc3d
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{collections.untrash}
+\alias{collections.untrash}
+\title{collections.untrash}
+\usage{
+arv$collections.untrash(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+Collection object.
+}
+\description{
+collections.untrash is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/collections.update.Rd b/sdk/R/man/collections.update.Rd
new file mode 100644 (file)
index 0000000..c9b201c
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{collections.update}
+\alias{collections.update}
+\title{collections.update}
+\usage{
+arv$collections.update(collection,
+       uuid)
+}
+\arguments{
+\item{collection}{Collection object.}
+
+\item{uuid}{The UUID of the Collection in question.}
+}
+\value{
+Collection object.
+}
+\description{
+collections.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/collections.used_by.Rd b/sdk/R/man/collections.used_by.Rd
new file mode 100644 (file)
index 0000000..53b8e49
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{collections.used_by}
+\alias{collections.used_by}
+\title{collections.used_by}
+\usage{
+arv$collections.used_by(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+Collection object.
+}
+\description{
+collections.used_by is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/container_requests.create.Rd b/sdk/R/man/container_requests.create.Rd
new file mode 100644 (file)
index 0000000..e114d32
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{container_requests.create}
+\alias{container_requests.create}
+\title{container_requests.create}
+\usage{
+arv$container_requests.create(containerrequest,
+       ensure_unique_name = "false")
+}
+\arguments{
+\item{containerRequest}{ContainerRequest object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+ContainerRequest object.
+}
+\description{
+container_requests.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/container_requests.delete.Rd b/sdk/R/man/container_requests.delete.Rd
new file mode 100644 (file)
index 0000000..905739b
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{container_requests.delete}
+\alias{container_requests.delete}
+\title{container_requests.delete}
+\usage{
+arv$container_requests.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the ContainerRequest in question.}
+}
+\value{
+ContainerRequest object.
+}
+\description{
+container_requests.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/container_requests.get.Rd b/sdk/R/man/container_requests.get.Rd
new file mode 100644 (file)
index 0000000..54fe5d4
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{container_requests.get}
+\alias{container_requests.get}
+\title{container_requests.get}
+\usage{
+arv$container_requests.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the ContainerRequest in question.}
+}
+\value{
+ContainerRequest object.
+}
+\description{
+container_requests.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/container_requests.list.Rd b/sdk/R/man/container_requests.list.Rd
new file mode 100644 (file)
index 0000000..9c2412b
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{container_requests.list}
+\alias{container_requests.list}
+\title{container_requests.list}
+\usage{
+arv$container_requests.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+ContainerRequestList object.
+}
+\description{
+container_requests.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/container_requests.update.Rd b/sdk/R/man/container_requests.update.Rd
new file mode 100644 (file)
index 0000000..063417b
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{container_requests.update}
+\alias{container_requests.update}
+\title{container_requests.update}
+\usage{
+arv$container_requests.update(containerrequest,
+       uuid)
+}
+\arguments{
+\item{containerRequest}{ContainerRequest object.}
+
+\item{uuid}{The UUID of the ContainerRequest in question.}
+}
+\value{
+ContainerRequest object.
+}
+\description{
+container_requests.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/containers.auth.Rd b/sdk/R/man/containers.auth.Rd
new file mode 100644 (file)
index 0000000..a594d2f
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{containers.auth}
+\alias{containers.auth}
+\title{containers.auth}
+\usage{
+arv$containers.auth(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+Container object.
+}
+\description{
+containers.auth is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/containers.create.Rd b/sdk/R/man/containers.create.Rd
new file mode 100644 (file)
index 0000000..4ce25bb
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{containers.create}
+\alias{containers.create}
+\title{containers.create}
+\usage{
+arv$containers.create(container,
+       ensure_unique_name = "false")
+}
+\arguments{
+\item{container}{Container object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+Container object.
+}
+\description{
+containers.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/containers.current.Rd b/sdk/R/man/containers.current.Rd
new file mode 100644 (file)
index 0000000..0f6ad4e
--- /dev/null
@@ -0,0 +1,14 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{containers.current}
+\alias{containers.current}
+\title{containers.current}
+\usage{
+arv$containers.current(NULL)
+}
+\value{
+Container object.
+}
+\description{
+containers.current is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/containers.delete.Rd b/sdk/R/man/containers.delete.Rd
new file mode 100644 (file)
index 0000000..e2e3cd7
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{containers.delete}
+\alias{containers.delete}
+\title{containers.delete}
+\usage{
+arv$containers.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Container in question.}
+}
+\value{
+Container object.
+}
+\description{
+containers.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/containers.get.Rd b/sdk/R/man/containers.get.Rd
new file mode 100644 (file)
index 0000000..05d97d3
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{containers.get}
+\alias{containers.get}
+\title{containers.get}
+\usage{
+arv$containers.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Container in question.}
+}
+\value{
+Container object.
+}
+\description{
+containers.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/containers.list.Rd b/sdk/R/man/containers.list.Rd
new file mode 100644 (file)
index 0000000..d445796
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{containers.list}
+\alias{containers.list}
+\title{containers.list}
+\usage{
+arv$containers.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+ContainerList object.
+}
+\description{
+containers.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/containers.lock.Rd b/sdk/R/man/containers.lock.Rd
new file mode 100644 (file)
index 0000000..72bcdf0
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{containers.lock}
+\alias{containers.lock}
+\title{containers.lock}
+\usage{
+arv$containers.lock(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+Container object.
+}
+\description{
+containers.lock is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/containers.secret_mounts.Rd b/sdk/R/man/containers.secret_mounts.Rd
new file mode 100644 (file)
index 0000000..d0f8444
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{containers.secret_mounts}
+\alias{containers.secret_mounts}
+\title{containers.secret_mounts}
+\usage{
+arv$containers.secret_mounts(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+Container object.
+}
+\description{
+containers.secret_mounts is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/containers.unlock.Rd b/sdk/R/man/containers.unlock.Rd
new file mode 100644 (file)
index 0000000..5c41f20
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{containers.unlock}
+\alias{containers.unlock}
+\title{containers.unlock}
+\usage{
+arv$containers.unlock(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+Container object.
+}
+\description{
+containers.unlock is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/containers.update.Rd b/sdk/R/man/containers.update.Rd
new file mode 100644 (file)
index 0000000..3a85726
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{containers.update}
+\alias{containers.update}
+\title{containers.update}
+\usage{
+arv$containers.update(container,
+       uuid)
+}
+\arguments{
+\item{container}{Container object.}
+
+\item{uuid}{The UUID of the Container in question.}
+}
+\value{
+Container object.
+}
+\description{
+containers.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/groups.contents.Rd b/sdk/R/man/groups.contents.Rd
new file mode 100644 (file)
index 0000000..26647df
--- /dev/null
@@ -0,0 +1,38 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{groups.contents}
+\alias{groups.contents}
+\title{groups.contents}
+\usage{
+arv$groups.contents(filters = NULL,
+       where = NULL, order = NULL, distinct = NULL,
+       limit = "100", offset = "0", count = "exact",
+       include_trash = NULL, uuid = NULL, recursive = NULL)
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+
+\item{include_trash}{Include items whose is_trashed attribute is true.}
+
+\item{uuid}{}
+
+\item{recursive}{Include contents from child groups recursively.}
+}
+\value{
+Group object.
+}
+\description{
+groups.contents is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/groups.create.Rd b/sdk/R/man/groups.create.Rd
new file mode 100644 (file)
index 0000000..8719603
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{groups.create}
+\alias{groups.create}
+\title{groups.create}
+\usage{
+arv$groups.create(group, ensure_unique_name = "false")
+}
+\arguments{
+\item{group}{Group object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+Group object.
+}
+\description{
+groups.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/groups.delete.Rd b/sdk/R/man/groups.delete.Rd
new file mode 100644 (file)
index 0000000..1b4a0d9
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{groups.delete}
+\alias{groups.delete}
+\title{groups.delete}
+\usage{
+arv$groups.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Group in question.}
+}
+\value{
+Group object.
+}
+\description{
+groups.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/groups.get.Rd b/sdk/R/man/groups.get.Rd
new file mode 100644 (file)
index 0000000..28a1872
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{groups.get}
+\alias{groups.get}
+\title{groups.get}
+\usage{
+arv$groups.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Group in question.}
+}
+\value{
+Group object.
+}
+\description{
+groups.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/groups.list.Rd b/sdk/R/man/groups.list.Rd
new file mode 100644 (file)
index 0000000..7699f3e
--- /dev/null
@@ -0,0 +1,36 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{groups.list}
+\alias{groups.list}
+\title{groups.list}
+\usage{
+arv$groups.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact", include_trash = NULL)
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+
+\item{include_trash}{Include items whose is_trashed attribute is true.}
+}
+\value{
+GroupList object.
+}
+\description{
+groups.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/groups.trash.Rd b/sdk/R/man/groups.trash.Rd
new file mode 100644 (file)
index 0000000..c529618
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{groups.trash}
+\alias{groups.trash}
+\title{groups.trash}
+\usage{
+arv$groups.trash(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+Group object.
+}
+\description{
+groups.trash is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/groups.untrash.Rd b/sdk/R/man/groups.untrash.Rd
new file mode 100644 (file)
index 0000000..014190c
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{groups.untrash}
+\alias{groups.untrash}
+\title{groups.untrash}
+\usage{
+arv$groups.untrash(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+Group object.
+}
+\description{
+groups.untrash is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/groups.update.Rd b/sdk/R/man/groups.update.Rd
new file mode 100644 (file)
index 0000000..47abde7
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{groups.update}
+\alias{groups.update}
+\title{groups.update}
+\usage{
+arv$groups.update(group, uuid)
+}
+\arguments{
+\item{group}{Group object.}
+
+\item{uuid}{The UUID of the Group in question.}
+}
+\value{
+Group object.
+}
+\description{
+groups.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/humans.create.Rd b/sdk/R/man/humans.create.Rd
new file mode 100644 (file)
index 0000000..44c9aa3
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{humans.create}
+\alias{humans.create}
+\title{humans.create}
+\usage{
+arv$humans.create(human, ensure_unique_name = "false")
+}
+\arguments{
+\item{human}{Human object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+Human object.
+}
+\description{
+humans.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/humans.delete.Rd b/sdk/R/man/humans.delete.Rd
new file mode 100644 (file)
index 0000000..ae66b8e
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{humans.delete}
+\alias{humans.delete}
+\title{humans.delete}
+\usage{
+arv$humans.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Human in question.}
+}
+\value{
+Human object.
+}
+\description{
+humans.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/humans.get.Rd b/sdk/R/man/humans.get.Rd
new file mode 100644 (file)
index 0000000..820c562
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{humans.get}
+\alias{humans.get}
+\title{humans.get}
+\usage{
+arv$humans.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Human in question.}
+}
+\value{
+Human object.
+}
+\description{
+humans.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/humans.list.Rd b/sdk/R/man/humans.list.Rd
new file mode 100644 (file)
index 0000000..a8db4c7
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{humans.list}
+\alias{humans.list}
+\title{humans.list}
+\usage{
+arv$humans.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+HumanList object.
+}
+\description{
+humans.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/humans.update.Rd b/sdk/R/man/humans.update.Rd
new file mode 100644 (file)
index 0000000..83956a2
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{humans.update}
+\alias{humans.update}
+\title{humans.update}
+\usage{
+arv$humans.update(human, uuid)
+}
+\arguments{
+\item{human}{Human object.}
+
+\item{uuid}{The UUID of the Human in question.}
+}
+\value{
+Human object.
+}
+\description{
+humans.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/job_tasks.create.Rd b/sdk/R/man/job_tasks.create.Rd
new file mode 100644 (file)
index 0000000..2da0b0c
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{job_tasks.create}
+\alias{job_tasks.create}
+\title{job_tasks.create}
+\usage{
+arv$job_tasks.create(jobtask, ensure_unique_name = "false")
+}
+\arguments{
+\item{jobTask}{JobTask object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+JobTask object.
+}
+\description{
+job_tasks.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/job_tasks.delete.Rd b/sdk/R/man/job_tasks.delete.Rd
new file mode 100644 (file)
index 0000000..b78a38e
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{job_tasks.delete}
+\alias{job_tasks.delete}
+\title{job_tasks.delete}
+\usage{
+arv$job_tasks.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the JobTask in question.}
+}
+\value{
+JobTask object.
+}
+\description{
+job_tasks.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/job_tasks.get.Rd b/sdk/R/man/job_tasks.get.Rd
new file mode 100644 (file)
index 0000000..07d2054
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{job_tasks.get}
+\alias{job_tasks.get}
+\title{job_tasks.get}
+\usage{
+arv$job_tasks.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the JobTask in question.}
+}
+\value{
+JobTask object.
+}
+\description{
+job_tasks.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/job_tasks.list.Rd b/sdk/R/man/job_tasks.list.Rd
new file mode 100644 (file)
index 0000000..51c4b49
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{job_tasks.list}
+\alias{job_tasks.list}
+\title{job_tasks.list}
+\usage{
+arv$job_tasks.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+JobTaskList object.
+}
+\description{
+job_tasks.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/job_tasks.update.Rd b/sdk/R/man/job_tasks.update.Rd
new file mode 100644 (file)
index 0000000..42d10bd
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{job_tasks.update}
+\alias{job_tasks.update}
+\title{job_tasks.update}
+\usage{
+arv$job_tasks.update(jobtask, uuid)
+}
+\arguments{
+\item{jobTask}{JobTask object.}
+
+\item{uuid}{The UUID of the JobTask in question.}
+}
+\value{
+JobTask object.
+}
+\description{
+job_tasks.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/jobs.cancel.Rd b/sdk/R/man/jobs.cancel.Rd
new file mode 100644 (file)
index 0000000..7399d28
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{jobs.cancel}
+\alias{jobs.cancel}
+\title{jobs.cancel}
+\usage{
+arv$jobs.cancel(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+Job object.
+}
+\description{
+jobs.cancel is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/jobs.create.Rd b/sdk/R/man/jobs.create.Rd
new file mode 100644 (file)
index 0000000..4c4d61a
--- /dev/null
@@ -0,0 +1,29 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{jobs.create}
+\alias{jobs.create}
+\title{jobs.create}
+\usage{
+arv$jobs.create(job, ensure_unique_name = "false",
+       find_or_create = "false", filters = NULL,
+       minimum_script_version = NULL, exclude_script_versions = NULL)
+}
+\arguments{
+\item{job}{Job object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+
+\item{find_or_create}{}
+
+\item{filters}{}
+
+\item{minimum_script_version}{}
+
+\item{exclude_script_versions}{}
+}
+\value{
+Job object.
+}
+\description{
+jobs.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/jobs.delete.Rd b/sdk/R/man/jobs.delete.Rd
new file mode 100644 (file)
index 0000000..7f75608
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{jobs.delete}
+\alias{jobs.delete}
+\title{jobs.delete}
+\usage{
+arv$jobs.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Job in question.}
+}
+\value{
+Job object.
+}
+\description{
+jobs.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/jobs.get.Rd b/sdk/R/man/jobs.get.Rd
new file mode 100644 (file)
index 0000000..072b613
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{jobs.get}
+\alias{jobs.get}
+\title{jobs.get}
+\usage{
+arv$jobs.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Job in question.}
+}
+\value{
+Job object.
+}
+\description{
+jobs.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/jobs.list.Rd b/sdk/R/man/jobs.list.Rd
new file mode 100644 (file)
index 0000000..53055f5
--- /dev/null
@@ -0,0 +1,33 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{jobs.list}
+\alias{jobs.list}
+\title{jobs.list}
+\usage{
+arv$jobs.list(filters = NULL, where = NULL,
+       order = NULL, select = NULL, distinct = NULL,
+       limit = "100", offset = "0", count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+JobList object.
+}
+\description{
+jobs.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/jobs.lock.Rd b/sdk/R/man/jobs.lock.Rd
new file mode 100644 (file)
index 0000000..3c2e232
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{jobs.lock}
+\alias{jobs.lock}
+\title{jobs.lock}
+\usage{
+arv$jobs.lock(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+Job object.
+}
+\description{
+jobs.lock is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/jobs.queue.Rd b/sdk/R/man/jobs.queue.Rd
new file mode 100644 (file)
index 0000000..a9deaa9
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{jobs.queue}
+\alias{jobs.queue}
+\title{jobs.queue}
+\usage{
+arv$jobs.queue(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+Job object.
+}
+\description{
+jobs.queue is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/jobs.queue_size.Rd b/sdk/R/man/jobs.queue_size.Rd
new file mode 100644 (file)
index 0000000..2185820
--- /dev/null
@@ -0,0 +1,14 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{jobs.queue_size}
+\alias{jobs.queue_size}
+\title{jobs.queue_size}
+\usage{
+arv$jobs.queue_size(NULL)
+}
+\value{
+Job object.
+}
+\description{
+jobs.queue_size is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/jobs.update.Rd b/sdk/R/man/jobs.update.Rd
new file mode 100644 (file)
index 0000000..666d7fd
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{jobs.update}
+\alias{jobs.update}
+\title{jobs.update}
+\usage{
+arv$jobs.update(job, uuid)
+}
+\arguments{
+\item{job}{Job object.}
+
+\item{uuid}{The UUID of the Job in question.}
+}
+\value{
+Job object.
+}
+\description{
+jobs.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/keep_disks.create.Rd b/sdk/R/man/keep_disks.create.Rd
new file mode 100644 (file)
index 0000000..524c5b6
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{keep_disks.create}
+\alias{keep_disks.create}
+\title{keep_disks.create}
+\usage{
+arv$keep_disks.create(keepdisk,
+       ensure_unique_name = "false")
+}
+\arguments{
+\item{keepDisk}{KeepDisk object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+KeepDisk object.
+}
+\description{
+keep_disks.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/keep_disks.delete.Rd b/sdk/R/man/keep_disks.delete.Rd
new file mode 100644 (file)
index 0000000..80f39f3
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{keep_disks.delete}
+\alias{keep_disks.delete}
+\title{keep_disks.delete}
+\usage{
+arv$keep_disks.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the KeepDisk in question.}
+}
+\value{
+KeepDisk object.
+}
+\description{
+keep_disks.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/keep_disks.get.Rd b/sdk/R/man/keep_disks.get.Rd
new file mode 100644 (file)
index 0000000..1b511fe
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{keep_disks.get}
+\alias{keep_disks.get}
+\title{keep_disks.get}
+\usage{
+arv$keep_disks.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the KeepDisk in question.}
+}
+\value{
+KeepDisk object.
+}
+\description{
+keep_disks.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/keep_disks.list.Rd b/sdk/R/man/keep_disks.list.Rd
new file mode 100644 (file)
index 0000000..fdb599f
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{keep_disks.list}
+\alias{keep_disks.list}
+\title{keep_disks.list}
+\usage{
+arv$keep_disks.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+KeepDiskList object.
+}
+\description{
+keep_disks.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/keep_disks.ping.Rd b/sdk/R/man/keep_disks.ping.Rd
new file mode 100644 (file)
index 0000000..6ae5595
--- /dev/null
@@ -0,0 +1,31 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{keep_disks.ping}
+\alias{keep_disks.ping}
+\title{keep_disks.ping}
+\usage{
+arv$keep_disks.ping(uuid = NULL,
+       ping_secret, node_uuid = NULL, filesystem_uuid = NULL,
+       service_host = NULL, service_port, service_ssl_flag)
+}
+\arguments{
+\item{uuid}{}
+
+\item{ping_secret}{}
+
+\item{node_uuid}{}
+
+\item{filesystem_uuid}{}
+
+\item{service_host}{}
+
+\item{service_port}{}
+
+\item{service_ssl_flag}{}
+}
+\value{
+KeepDisk object.
+}
+\description{
+keep_disks.ping is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/keep_disks.update.Rd b/sdk/R/man/keep_disks.update.Rd
new file mode 100644 (file)
index 0000000..1ca3363
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{keep_disks.update}
+\alias{keep_disks.update}
+\title{keep_disks.update}
+\usage{
+arv$keep_disks.update(keepdisk,
+       uuid)
+}
+\arguments{
+\item{keepDisk}{KeepDisk object.}
+
+\item{uuid}{The UUID of the KeepDisk in question.}
+}
+\value{
+KeepDisk object.
+}
+\description{
+keep_disks.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/keep_services.accessible.Rd b/sdk/R/man/keep_services.accessible.Rd
new file mode 100644 (file)
index 0000000..3caae2f
--- /dev/null
@@ -0,0 +1,14 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{keep_services.accessible}
+\alias{keep_services.accessible}
+\title{keep_services.accessible}
+\usage{
+arv$keep_services.accessible(NULL)
+}
+\value{
+KeepService object.
+}
+\description{
+keep_services.accessible is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/keep_services.create.Rd b/sdk/R/man/keep_services.create.Rd
new file mode 100644 (file)
index 0000000..59c43ab
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{keep_services.create}
+\alias{keep_services.create}
+\title{keep_services.create}
+\usage{
+arv$keep_services.create(keepservice,
+       ensure_unique_name = "false")
+}
+\arguments{
+\item{keepService}{KeepService object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+KeepService object.
+}
+\description{
+keep_services.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/keep_services.delete.Rd b/sdk/R/man/keep_services.delete.Rd
new file mode 100644 (file)
index 0000000..726771e
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{keep_services.delete}
+\alias{keep_services.delete}
+\title{keep_services.delete}
+\usage{
+arv$keep_services.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the KeepService in question.}
+}
+\value{
+KeepService object.
+}
+\description{
+keep_services.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/keep_services.get.Rd b/sdk/R/man/keep_services.get.Rd
new file mode 100644 (file)
index 0000000..065cf84
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{keep_services.get}
+\alias{keep_services.get}
+\title{keep_services.get}
+\usage{
+arv$keep_services.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the KeepService in question.}
+}
+\value{
+KeepService object.
+}
+\description{
+keep_services.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/keep_services.list.Rd b/sdk/R/man/keep_services.list.Rd
new file mode 100644 (file)
index 0000000..22aa3aa
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{keep_services.list}
+\alias{keep_services.list}
+\title{keep_services.list}
+\usage{
+arv$keep_services.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+KeepServiceList object.
+}
+\description{
+keep_services.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/keep_services.update.Rd b/sdk/R/man/keep_services.update.Rd
new file mode 100644 (file)
index 0000000..2680a5c
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{keep_services.update}
+\alias{keep_services.update}
+\title{keep_services.update}
+\usage{
+arv$keep_services.update(keepservice,
+       uuid)
+}
+\arguments{
+\item{keepService}{KeepService object.}
+
+\item{uuid}{The UUID of the KeepService in question.}
+}
+\value{
+KeepService object.
+}
+\description{
+keep_services.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/links.create.Rd b/sdk/R/man/links.create.Rd
new file mode 100644 (file)
index 0000000..06b012e
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{links.create}
+\alias{links.create}
+\title{links.create}
+\usage{
+arv$links.create(link, ensure_unique_name = "false")
+}
+\arguments{
+\item{link}{Link object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+Link object.
+}
+\description{
+links.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/links.delete.Rd b/sdk/R/man/links.delete.Rd
new file mode 100644 (file)
index 0000000..3a78b7f
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{links.delete}
+\alias{links.delete}
+\title{links.delete}
+\usage{
+arv$links.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Link in question.}
+}
+\value{
+Link object.
+}
+\description{
+links.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/links.get.Rd b/sdk/R/man/links.get.Rd
new file mode 100644 (file)
index 0000000..bf26271
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{links.get}
+\alias{links.get}
+\title{links.get}
+\usage{
+arv$links.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Link in question.}
+}
+\value{
+Link object.
+}
+\description{
+links.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/links.get_permissions.Rd b/sdk/R/man/links.get_permissions.Rd
new file mode 100644 (file)
index 0000000..982dbb9
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{links.get_permissions}
+\alias{links.get_permissions}
+\title{links.get_permissions}
+\usage{
+arv$links.get_permissions(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+Link object.
+}
+\description{
+links.get_permissions is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/links.list.Rd b/sdk/R/man/links.list.Rd
new file mode 100644 (file)
index 0000000..540fdc1
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{links.list}
+\alias{links.list}
+\title{links.list}
+\usage{
+arv$links.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+LinkList object.
+}
+\description{
+links.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/links.update.Rd b/sdk/R/man/links.update.Rd
new file mode 100644 (file)
index 0000000..398b6fd
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{links.update}
+\alias{links.update}
+\title{links.update}
+\usage{
+arv$links.update(link, uuid)
+}
+\arguments{
+\item{link}{Link object.}
+
+\item{uuid}{The UUID of the Link in question.}
+}
+\value{
+Link object.
+}
+\description{
+links.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/listAll.Rd b/sdk/R/man/listAll.Rd
new file mode 100644 (file)
index 0000000..2084b47
--- /dev/null
@@ -0,0 +1,22 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/util.R
+\name{listAll}
+\alias{listAll}
+\title{listAll}
+\usage{
+listAll(fn, ...)
+}
+\arguments{
+\item{fn}{Arvados method used to retrieve items from REST service.}
+
+\item{...}{Optional arguments which will be pased to fn .}
+}
+\description{
+List all resources even if the number of items is greater than maximum API limit.
+}
+\examples{
+\dontrun{
+arv <- Arvados$new("your Arvados token", "example.arvadosapi.com")
+cl <- listAll(arv$collections.list, filters = list(list("name", "like", "test\%"))
+}
+}
diff --git a/sdk/R/man/logs.create.Rd b/sdk/R/man/logs.create.Rd
new file mode 100644 (file)
index 0000000..a575e5f
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{logs.create}
+\alias{logs.create}
+\title{logs.create}
+\usage{
+arv$logs.create(log, ensure_unique_name = "false")
+}
+\arguments{
+\item{log}{Log object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+Log object.
+}
+\description{
+logs.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/logs.delete.Rd b/sdk/R/man/logs.delete.Rd
new file mode 100644 (file)
index 0000000..63d6a0b
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{logs.delete}
+\alias{logs.delete}
+\title{logs.delete}
+\usage{
+arv$logs.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Log in question.}
+}
+\value{
+Log object.
+}
+\description{
+logs.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/logs.get.Rd b/sdk/R/man/logs.get.Rd
new file mode 100644 (file)
index 0000000..d3053d1
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{logs.get}
+\alias{logs.get}
+\title{logs.get}
+\usage{
+arv$logs.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Log in question.}
+}
+\value{
+Log object.
+}
+\description{
+logs.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/logs.list.Rd b/sdk/R/man/logs.list.Rd
new file mode 100644 (file)
index 0000000..58dbdb7
--- /dev/null
@@ -0,0 +1,33 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{logs.list}
+\alias{logs.list}
+\title{logs.list}
+\usage{
+arv$logs.list(filters = NULL, where = NULL,
+       order = NULL, select = NULL, distinct = NULL,
+       limit = "100", offset = "0", count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+LogList object.
+}
+\description{
+logs.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/logs.update.Rd b/sdk/R/man/logs.update.Rd
new file mode 100644 (file)
index 0000000..efd670c
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{logs.update}
+\alias{logs.update}
+\title{logs.update}
+\usage{
+arv$logs.update(log, uuid)
+}
+\arguments{
+\item{log}{Log object.}
+
+\item{uuid}{The UUID of the Log in question.}
+}
+\value{
+Log object.
+}
+\description{
+logs.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/nodes.create.Rd b/sdk/R/man/nodes.create.Rd
new file mode 100644 (file)
index 0000000..eb73e69
--- /dev/null
@@ -0,0 +1,22 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{nodes.create}
+\alias{nodes.create}
+\title{nodes.create}
+\usage{
+arv$nodes.create(node, ensure_unique_name = "false",
+       assign_slot = NULL)
+}
+\arguments{
+\item{node}{Node object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+
+\item{assign_slot}{assign slot and hostname}
+}
+\value{
+Node object.
+}
+\description{
+nodes.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/nodes.delete.Rd b/sdk/R/man/nodes.delete.Rd
new file mode 100644 (file)
index 0000000..0591ded
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{nodes.delete}
+\alias{nodes.delete}
+\title{nodes.delete}
+\usage{
+arv$nodes.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Node in question.}
+}
+\value{
+Node object.
+}
+\description{
+nodes.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/nodes.get.Rd b/sdk/R/man/nodes.get.Rd
new file mode 100644 (file)
index 0000000..dcd7b12
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{nodes.get}
+\alias{nodes.get}
+\title{nodes.get}
+\usage{
+arv$nodes.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Node in question.}
+}
+\value{
+Node object.
+}
+\description{
+nodes.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/nodes.list.Rd b/sdk/R/man/nodes.list.Rd
new file mode 100644 (file)
index 0000000..7ccfad6
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{nodes.list}
+\alias{nodes.list}
+\title{nodes.list}
+\usage{
+arv$nodes.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+NodeList object.
+}
+\description{
+nodes.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/nodes.ping.Rd b/sdk/R/man/nodes.ping.Rd
new file mode 100644 (file)
index 0000000..e77d2b5
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{nodes.ping}
+\alias{nodes.ping}
+\title{nodes.ping}
+\usage{
+arv$nodes.ping(uuid, ping_secret)
+}
+\arguments{
+\item{uuid}{}
+
+\item{ping_secret}{}
+}
+\value{
+Node object.
+}
+\description{
+nodes.ping is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/nodes.update.Rd b/sdk/R/man/nodes.update.Rd
new file mode 100644 (file)
index 0000000..f87245f
--- /dev/null
@@ -0,0 +1,21 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{nodes.update}
+\alias{nodes.update}
+\title{nodes.update}
+\usage{
+arv$nodes.update(node, uuid, assign_slot = NULL)
+}
+\arguments{
+\item{node}{Node object.}
+
+\item{uuid}{The UUID of the Node in question.}
+
+\item{assign_slot}{assign slot and hostname}
+}
+\value{
+Node object.
+}
+\description{
+nodes.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/pipeline_instances.cancel.Rd b/sdk/R/man/pipeline_instances.cancel.Rd
new file mode 100644 (file)
index 0000000..026de81
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{pipeline_instances.cancel}
+\alias{pipeline_instances.cancel}
+\title{pipeline_instances.cancel}
+\usage{
+arv$pipeline_instances.cancel(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+PipelineInstance object.
+}
+\description{
+pipeline_instances.cancel is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/pipeline_instances.create.Rd b/sdk/R/man/pipeline_instances.create.Rd
new file mode 100644 (file)
index 0000000..9ee5586
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{pipeline_instances.create}
+\alias{pipeline_instances.create}
+\title{pipeline_instances.create}
+\usage{
+arv$pipeline_instances.create(pipelineinstance,
+       ensure_unique_name = "false")
+}
+\arguments{
+\item{pipelineInstance}{PipelineInstance object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+PipelineInstance object.
+}
+\description{
+pipeline_instances.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/pipeline_instances.delete.Rd b/sdk/R/man/pipeline_instances.delete.Rd
new file mode 100644 (file)
index 0000000..7297da5
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{pipeline_instances.delete}
+\alias{pipeline_instances.delete}
+\title{pipeline_instances.delete}
+\usage{
+arv$pipeline_instances.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the PipelineInstance in question.}
+}
+\value{
+PipelineInstance object.
+}
+\description{
+pipeline_instances.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/pipeline_instances.get.Rd b/sdk/R/man/pipeline_instances.get.Rd
new file mode 100644 (file)
index 0000000..e500df5
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{pipeline_instances.get}
+\alias{pipeline_instances.get}
+\title{pipeline_instances.get}
+\usage{
+arv$pipeline_instances.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the PipelineInstance in question.}
+}
+\value{
+PipelineInstance object.
+}
+\description{
+pipeline_instances.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/pipeline_instances.list.Rd b/sdk/R/man/pipeline_instances.list.Rd
new file mode 100644 (file)
index 0000000..407f944
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{pipeline_instances.list}
+\alias{pipeline_instances.list}
+\title{pipeline_instances.list}
+\usage{
+arv$pipeline_instances.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+PipelineInstanceList object.
+}
+\description{
+pipeline_instances.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/pipeline_instances.update.Rd b/sdk/R/man/pipeline_instances.update.Rd
new file mode 100644 (file)
index 0000000..4a66660
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{pipeline_instances.update}
+\alias{pipeline_instances.update}
+\title{pipeline_instances.update}
+\usage{
+arv$pipeline_instances.update(pipelineinstance,
+       uuid)
+}
+\arguments{
+\item{pipelineInstance}{PipelineInstance object.}
+
+\item{uuid}{The UUID of the PipelineInstance in question.}
+}
+\value{
+PipelineInstance object.
+}
+\description{
+pipeline_instances.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/pipeline_templates.create.Rd b/sdk/R/man/pipeline_templates.create.Rd
new file mode 100644 (file)
index 0000000..afb1e58
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{pipeline_templates.create}
+\alias{pipeline_templates.create}
+\title{pipeline_templates.create}
+\usage{
+arv$pipeline_templates.create(pipelinetemplate,
+       ensure_unique_name = "false")
+}
+\arguments{
+\item{pipelineTemplate}{PipelineTemplate object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+PipelineTemplate object.
+}
+\description{
+pipeline_templates.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/pipeline_templates.delete.Rd b/sdk/R/man/pipeline_templates.delete.Rd
new file mode 100644 (file)
index 0000000..c74d88b
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{pipeline_templates.delete}
+\alias{pipeline_templates.delete}
+\title{pipeline_templates.delete}
+\usage{
+arv$pipeline_templates.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the PipelineTemplate in question.}
+}
+\value{
+PipelineTemplate object.
+}
+\description{
+pipeline_templates.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/pipeline_templates.get.Rd b/sdk/R/man/pipeline_templates.get.Rd
new file mode 100644 (file)
index 0000000..48ef739
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{pipeline_templates.get}
+\alias{pipeline_templates.get}
+\title{pipeline_templates.get}
+\usage{
+arv$pipeline_templates.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the PipelineTemplate in question.}
+}
+\value{
+PipelineTemplate object.
+}
+\description{
+pipeline_templates.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/pipeline_templates.list.Rd b/sdk/R/man/pipeline_templates.list.Rd
new file mode 100644 (file)
index 0000000..c6c7413
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{pipeline_templates.list}
+\alias{pipeline_templates.list}
+\title{pipeline_templates.list}
+\usage{
+arv$pipeline_templates.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+PipelineTemplateList object.
+}
+\description{
+pipeline_templates.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/pipeline_templates.update.Rd b/sdk/R/man/pipeline_templates.update.Rd
new file mode 100644 (file)
index 0000000..25e02bf
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{pipeline_templates.update}
+\alias{pipeline_templates.update}
+\title{pipeline_templates.update}
+\usage{
+arv$pipeline_templates.update(pipelinetemplate,
+       uuid)
+}
+\arguments{
+\item{pipelineTemplate}{PipelineTemplate object.}
+
+\item{uuid}{The UUID of the PipelineTemplate in question.}
+}
+\value{
+PipelineTemplate object.
+}
+\description{
+pipeline_templates.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/print.Arvados.Rd b/sdk/R/man/print.Arvados.Rd
deleted file mode 100644 (file)
index 0833d15..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-% Generated by roxygen2: do not edit by hand
-% Please edit documentation in R/Arvados.R
-\name{print.Arvados}
-\alias{print.Arvados}
-\title{print.Arvados}
-\usage{
-\method{print}{Arvados}(x, ...)
-}
-\arguments{
-\item{x}{Instance of Arvados class}
-
-\item{...}{Optional arguments.}
-}
-\description{
-Custom print function for Arvados class
-}
diff --git a/sdk/R/man/projects.create.Rd b/sdk/R/man/projects.create.Rd
new file mode 100644 (file)
index 0000000..66b1f2a
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{projects.create}
+\alias{projects.create}
+\title{project.create}
+\usage{
+arv$projects.create(group, ensure_unique_name = "false")
+}
+\arguments{
+\item{group}{Group object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+Group object.
+}
+\description{
+projects.create wrapps groups.create method by setting group_class attribute to "project".
+}
diff --git a/sdk/R/man/projects.delete.Rd b/sdk/R/man/projects.delete.Rd
new file mode 100644 (file)
index 0000000..7170792
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{projects.delete}
+\alias{projects.delete}
+\title{project.delete}
+\usage{
+arv$project.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Group in question.}
+}
+\value{
+Group object.
+}
+\description{
+projects.delete is equivalent to groups.delete method.
+}
diff --git a/sdk/R/man/projects.get.Rd b/sdk/R/man/projects.get.Rd
new file mode 100644 (file)
index 0000000..1939378
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{projects.get}
+\alias{projects.get}
+\title{project.get}
+\usage{
+arv$projects.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Group in question.}
+}
+\value{
+Group object.
+}
+\description{
+projects.get is equivalent to groups.get method.
+}
diff --git a/sdk/R/man/projects.list.Rd b/sdk/R/man/projects.list.Rd
new file mode 100644 (file)
index 0000000..ff4c1c9
--- /dev/null
@@ -0,0 +1,38 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{projects.list}
+\alias{projects.list}
+\title{project.list}
+\usage{
+arv$projects.list(filters = NULL,
+       where = NULL, order = NULL, distinct = NULL,
+       limit = "100", offset = "0", count = "exact",
+       include_trash = NULL, uuid = NULL, recursive = NULL)
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+
+\item{include_trash}{Include items whose is_trashed attribute is true.}
+
+\item{uuid}{}
+
+\item{recursive}{Include contents from child groups recursively.}
+}
+\value{
+Group object.
+}
+\description{
+projects.list wrapps groups.list method by setting group_class attribute to "project".
+}
diff --git a/sdk/R/man/projects.update.Rd b/sdk/R/man/projects.update.Rd
new file mode 100644 (file)
index 0000000..824c5b5
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{projects.update}
+\alias{projects.update}
+\title{project.update}
+\usage{
+arv$projects.update(group, uuid)
+}
+\arguments{
+\item{group}{Group object.}
+
+\item{uuid}{The UUID of the Group in question.}
+}
+\value{
+Group object.
+}
+\description{
+projects.update wrapps groups.update method by setting group_class attribute to "project".
+}
diff --git a/sdk/R/man/repositories.create.Rd b/sdk/R/man/repositories.create.Rd
new file mode 100644 (file)
index 0000000..1603604
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{repositories.create}
+\alias{repositories.create}
+\title{repositories.create}
+\usage{
+arv$repositories.create(repository,
+       ensure_unique_name = "false")
+}
+\arguments{
+\item{repository}{Repository object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+Repository object.
+}
+\description{
+repositories.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/repositories.delete.Rd b/sdk/R/man/repositories.delete.Rd
new file mode 100644 (file)
index 0000000..36fac73
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{repositories.delete}
+\alias{repositories.delete}
+\title{repositories.delete}
+\usage{
+arv$repositories.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Repository in question.}
+}
+\value{
+Repository object.
+}
+\description{
+repositories.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/repositories.get.Rd b/sdk/R/man/repositories.get.Rd
new file mode 100644 (file)
index 0000000..b855b76
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{repositories.get}
+\alias{repositories.get}
+\title{repositories.get}
+\usage{
+arv$repositories.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Repository in question.}
+}
+\value{
+Repository object.
+}
+\description{
+repositories.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/repositories.get_all_permissions.Rd b/sdk/R/man/repositories.get_all_permissions.Rd
new file mode 100644 (file)
index 0000000..f16dbd1
--- /dev/null
@@ -0,0 +1,14 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{repositories.get_all_permissions}
+\alias{repositories.get_all_permissions}
+\title{repositories.get_all_permissions}
+\usage{
+arv$repositories.get_all_permissions(NULL)
+}
+\value{
+Repository object.
+}
+\description{
+repositories.get_all_permissions is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/repositories.list.Rd b/sdk/R/man/repositories.list.Rd
new file mode 100644 (file)
index 0000000..d1f4772
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{repositories.list}
+\alias{repositories.list}
+\title{repositories.list}
+\usage{
+arv$repositories.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+RepositoryList object.
+}
+\description{
+repositories.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/repositories.update.Rd b/sdk/R/man/repositories.update.Rd
new file mode 100644 (file)
index 0000000..1be4b61
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{repositories.update}
+\alias{repositories.update}
+\title{repositories.update}
+\usage{
+arv$repositories.update(repository,
+       uuid)
+}
+\arguments{
+\item{repository}{Repository object.}
+
+\item{uuid}{The UUID of the Repository in question.}
+}
+\value{
+Repository object.
+}
+\description{
+repositories.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/specimens.create.Rd b/sdk/R/man/specimens.create.Rd
new file mode 100644 (file)
index 0000000..12344f2
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{specimens.create}
+\alias{specimens.create}
+\title{specimens.create}
+\usage{
+arv$specimens.create(specimen,
+       ensure_unique_name = "false")
+}
+\arguments{
+\item{specimen}{Specimen object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+Specimen object.
+}
+\description{
+specimens.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/specimens.delete.Rd b/sdk/R/man/specimens.delete.Rd
new file mode 100644 (file)
index 0000000..8ed2d39
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{specimens.delete}
+\alias{specimens.delete}
+\title{specimens.delete}
+\usage{
+arv$specimens.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Specimen in question.}
+}
+\value{
+Specimen object.
+}
+\description{
+specimens.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/specimens.get.Rd b/sdk/R/man/specimens.get.Rd
new file mode 100644 (file)
index 0000000..e757056
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{specimens.get}
+\alias{specimens.get}
+\title{specimens.get}
+\usage{
+arv$specimens.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Specimen in question.}
+}
+\value{
+Specimen object.
+}
+\description{
+specimens.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/specimens.list.Rd b/sdk/R/man/specimens.list.Rd
new file mode 100644 (file)
index 0000000..4e07f4a
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{specimens.list}
+\alias{specimens.list}
+\title{specimens.list}
+\usage{
+arv$specimens.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+SpecimenList object.
+}
+\description{
+specimens.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/specimens.update.Rd b/sdk/R/man/specimens.update.Rd
new file mode 100644 (file)
index 0000000..73a9010
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{specimens.update}
+\alias{specimens.update}
+\title{specimens.update}
+\usage{
+arv$specimens.update(specimen,
+       uuid)
+}
+\arguments{
+\item{specimen}{Specimen object.}
+
+\item{uuid}{The UUID of the Specimen in question.}
+}
+\value{
+Specimen object.
+}
+\description{
+specimens.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/traits.create.Rd b/sdk/R/man/traits.create.Rd
new file mode 100644 (file)
index 0000000..bf6e0c1
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{traits.create}
+\alias{traits.create}
+\title{traits.create}
+\usage{
+arv$traits.create(trait, ensure_unique_name = "false")
+}
+\arguments{
+\item{trait}{Trait object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+Trait object.
+}
+\description{
+traits.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/traits.delete.Rd b/sdk/R/man/traits.delete.Rd
new file mode 100644 (file)
index 0000000..9ab9570
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{traits.delete}
+\alias{traits.delete}
+\title{traits.delete}
+\usage{
+arv$traits.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Trait in question.}
+}
+\value{
+Trait object.
+}
+\description{
+traits.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/traits.get.Rd b/sdk/R/man/traits.get.Rd
new file mode 100644 (file)
index 0000000..7d2bac5
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{traits.get}
+\alias{traits.get}
+\title{traits.get}
+\usage{
+arv$traits.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Trait in question.}
+}
+\value{
+Trait object.
+}
+\description{
+traits.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/traits.list.Rd b/sdk/R/man/traits.list.Rd
new file mode 100644 (file)
index 0000000..e91b929
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{traits.list}
+\alias{traits.list}
+\title{traits.list}
+\usage{
+arv$traits.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+TraitList object.
+}
+\description{
+traits.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/traits.update.Rd b/sdk/R/man/traits.update.Rd
new file mode 100644 (file)
index 0000000..f594434
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{traits.update}
+\alias{traits.update}
+\title{traits.update}
+\usage{
+arv$traits.update(trait, uuid)
+}
+\arguments{
+\item{trait}{Trait object.}
+
+\item{uuid}{The UUID of the Trait in question.}
+}
+\value{
+Trait object.
+}
+\description{
+traits.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/user_agreements.create.Rd b/sdk/R/man/user_agreements.create.Rd
new file mode 100644 (file)
index 0000000..7991305
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{user_agreements.create}
+\alias{user_agreements.create}
+\title{user_agreements.create}
+\usage{
+arv$user_agreements.create(useragreement,
+       ensure_unique_name = "false")
+}
+\arguments{
+\item{userAgreement}{UserAgreement object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+UserAgreement object.
+}
+\description{
+user_agreements.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/user_agreements.delete.Rd b/sdk/R/man/user_agreements.delete.Rd
new file mode 100644 (file)
index 0000000..30c9bf8
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{user_agreements.delete}
+\alias{user_agreements.delete}
+\title{user_agreements.delete}
+\usage{
+arv$user_agreements.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the UserAgreement in question.}
+}
+\value{
+UserAgreement object.
+}
+\description{
+user_agreements.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/user_agreements.get.Rd b/sdk/R/man/user_agreements.get.Rd
new file mode 100644 (file)
index 0000000..6311605
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{user_agreements.get}
+\alias{user_agreements.get}
+\title{user_agreements.get}
+\usage{
+arv$user_agreements.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the UserAgreement in question.}
+}
+\value{
+UserAgreement object.
+}
+\description{
+user_agreements.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/user_agreements.list.Rd b/sdk/R/man/user_agreements.list.Rd
new file mode 100644 (file)
index 0000000..5e69861
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{user_agreements.list}
+\alias{user_agreements.list}
+\title{user_agreements.list}
+\usage{
+arv$user_agreements.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+UserAgreementList object.
+}
+\description{
+user_agreements.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/user_agreements.new.Rd b/sdk/R/man/user_agreements.new.Rd
new file mode 100644 (file)
index 0000000..c213cb4
--- /dev/null
@@ -0,0 +1,14 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{user_agreements.new}
+\alias{user_agreements.new}
+\title{user_agreements.new}
+\usage{
+arv$user_agreements.new(NULL)
+}
+\value{
+UserAgreement object.
+}
+\description{
+user_agreements.new is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/user_agreements.sign.Rd b/sdk/R/man/user_agreements.sign.Rd
new file mode 100644 (file)
index 0000000..9811610
--- /dev/null
@@ -0,0 +1,14 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{user_agreements.sign}
+\alias{user_agreements.sign}
+\title{user_agreements.sign}
+\usage{
+arv$user_agreements.sign(NULL)
+}
+\value{
+UserAgreement object.
+}
+\description{
+user_agreements.sign is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/user_agreements.signatures.Rd b/sdk/R/man/user_agreements.signatures.Rd
new file mode 100644 (file)
index 0000000..d889579
--- /dev/null
@@ -0,0 +1,14 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{user_agreements.signatures}
+\alias{user_agreements.signatures}
+\title{user_agreements.signatures}
+\usage{
+arv$user_agreements.signatures(NULL)
+}
+\value{
+UserAgreement object.
+}
+\description{
+user_agreements.signatures is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/user_agreements.update.Rd b/sdk/R/man/user_agreements.update.Rd
new file mode 100644 (file)
index 0000000..578e179
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{user_agreements.update}
+\alias{user_agreements.update}
+\title{user_agreements.update}
+\usage{
+arv$user_agreements.update(useragreement,
+       uuid)
+}
+\arguments{
+\item{userAgreement}{UserAgreement object.}
+
+\item{uuid}{The UUID of the UserAgreement in question.}
+}
+\value{
+UserAgreement object.
+}
+\description{
+user_agreements.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/users.activate.Rd b/sdk/R/man/users.activate.Rd
new file mode 100644 (file)
index 0000000..201caf4
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{users.activate}
+\alias{users.activate}
+\title{users.activate}
+\usage{
+arv$users.activate(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+User object.
+}
+\description{
+users.activate is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/users.create.Rd b/sdk/R/man/users.create.Rd
new file mode 100644 (file)
index 0000000..1805c66
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{users.create}
+\alias{users.create}
+\title{users.create}
+\usage{
+arv$users.create(user, ensure_unique_name = "false")
+}
+\arguments{
+\item{user}{User object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+User object.
+}
+\description{
+users.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/users.current.Rd b/sdk/R/man/users.current.Rd
new file mode 100644 (file)
index 0000000..4e8af94
--- /dev/null
@@ -0,0 +1,14 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{users.current}
+\alias{users.current}
+\title{users.current}
+\usage{
+arv$users.current(NULL)
+}
+\value{
+User object.
+}
+\description{
+users.current is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/users.delete.Rd b/sdk/R/man/users.delete.Rd
new file mode 100644 (file)
index 0000000..df9e238
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{users.delete}
+\alias{users.delete}
+\title{users.delete}
+\usage{
+arv$users.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the User in question.}
+}
+\value{
+User object.
+}
+\description{
+users.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/users.get.Rd b/sdk/R/man/users.get.Rd
new file mode 100644 (file)
index 0000000..ec2b284
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{users.get}
+\alias{users.get}
+\title{users.get}
+\usage{
+arv$users.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the User in question.}
+}
+\value{
+User object.
+}
+\description{
+users.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/users.list.Rd b/sdk/R/man/users.list.Rd
new file mode 100644 (file)
index 0000000..7131943
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{users.list}
+\alias{users.list}
+\title{users.list}
+\usage{
+arv$users.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+UserList object.
+}
+\description{
+users.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/users.setup.Rd b/sdk/R/man/users.setup.Rd
new file mode 100644 (file)
index 0000000..869403d
--- /dev/null
@@ -0,0 +1,26 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{users.setup}
+\alias{users.setup}
+\title{users.setup}
+\usage{
+arv$users.setup(user = NULL, openid_prefix = NULL,
+       repo_name = NULL, vm_uuid = NULL, send_notification_email = "false")
+}
+\arguments{
+\item{user}{}
+
+\item{openid_prefix}{}
+
+\item{repo_name}{}
+
+\item{vm_uuid}{}
+
+\item{send_notification_email}{}
+}
+\value{
+User object.
+}
+\description{
+users.setup is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/users.system.Rd b/sdk/R/man/users.system.Rd
new file mode 100644 (file)
index 0000000..c321c23
--- /dev/null
@@ -0,0 +1,14 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{users.system}
+\alias{users.system}
+\title{users.system}
+\usage{
+arv$users.system(NULL)
+}
+\value{
+User object.
+}
+\description{
+users.system is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/users.unsetup.Rd b/sdk/R/man/users.unsetup.Rd
new file mode 100644 (file)
index 0000000..85de6f9
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{users.unsetup}
+\alias{users.unsetup}
+\title{users.unsetup}
+\usage{
+arv$users.unsetup(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+User object.
+}
+\description{
+users.unsetup is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/users.update.Rd b/sdk/R/man/users.update.Rd
new file mode 100644 (file)
index 0000000..fcd9c71
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{users.update}
+\alias{users.update}
+\title{users.update}
+\usage{
+arv$users.update(user, uuid)
+}
+\arguments{
+\item{user}{User object.}
+
+\item{uuid}{The UUID of the User in question.}
+}
+\value{
+User object.
+}
+\description{
+users.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/users.update_uuid.Rd b/sdk/R/man/users.update_uuid.Rd
new file mode 100644 (file)
index 0000000..af62c2c
--- /dev/null
@@ -0,0 +1,19 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{users.update_uuid}
+\alias{users.update_uuid}
+\title{users.update_uuid}
+\usage{
+arv$users.update_uuid(uuid, new_uuid)
+}
+\arguments{
+\item{uuid}{}
+
+\item{new_uuid}{}
+}
+\value{
+User object.
+}
+\description{
+users.update_uuid is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/virtual_machines.create.Rd b/sdk/R/man/virtual_machines.create.Rd
new file mode 100644 (file)
index 0000000..689a0f9
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{virtual_machines.create}
+\alias{virtual_machines.create}
+\title{virtual_machines.create}
+\usage{
+arv$virtual_machines.create(virtualmachine,
+       ensure_unique_name = "false")
+}
+\arguments{
+\item{virtualMachine}{VirtualMachine object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+VirtualMachine object.
+}
+\description{
+virtual_machines.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/virtual_machines.delete.Rd b/sdk/R/man/virtual_machines.delete.Rd
new file mode 100644 (file)
index 0000000..c513833
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{virtual_machines.delete}
+\alias{virtual_machines.delete}
+\title{virtual_machines.delete}
+\usage{
+arv$virtual_machines.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the VirtualMachine in question.}
+}
+\value{
+VirtualMachine object.
+}
+\description{
+virtual_machines.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/virtual_machines.get.Rd b/sdk/R/man/virtual_machines.get.Rd
new file mode 100644 (file)
index 0000000..3e56e17
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{virtual_machines.get}
+\alias{virtual_machines.get}
+\title{virtual_machines.get}
+\usage{
+arv$virtual_machines.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the VirtualMachine in question.}
+}
+\value{
+VirtualMachine object.
+}
+\description{
+virtual_machines.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/virtual_machines.get_all_logins.Rd b/sdk/R/man/virtual_machines.get_all_logins.Rd
new file mode 100644 (file)
index 0000000..b2af1e4
--- /dev/null
@@ -0,0 +1,14 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{virtual_machines.get_all_logins}
+\alias{virtual_machines.get_all_logins}
+\title{virtual_machines.get_all_logins}
+\usage{
+arv$virtual_machines.get_all_logins(NULL)
+}
+\value{
+VirtualMachine object.
+}
+\description{
+virtual_machines.get_all_logins is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/virtual_machines.list.Rd b/sdk/R/man/virtual_machines.list.Rd
new file mode 100644 (file)
index 0000000..42ed58b
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{virtual_machines.list}
+\alias{virtual_machines.list}
+\title{virtual_machines.list}
+\usage{
+arv$virtual_machines.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+VirtualMachineList object.
+}
+\description{
+virtual_machines.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/virtual_machines.logins.Rd b/sdk/R/man/virtual_machines.logins.Rd
new file mode 100644 (file)
index 0000000..7e25110
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{virtual_machines.logins}
+\alias{virtual_machines.logins}
+\title{virtual_machines.logins}
+\usage{
+arv$virtual_machines.logins(uuid)
+}
+\arguments{
+\item{uuid}{}
+}
+\value{
+VirtualMachine object.
+}
+\description{
+virtual_machines.logins is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/virtual_machines.update.Rd b/sdk/R/man/virtual_machines.update.Rd
new file mode 100644 (file)
index 0000000..d1a07eb
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{virtual_machines.update}
+\alias{virtual_machines.update}
+\title{virtual_machines.update}
+\usage{
+arv$virtual_machines.update(virtualmachine,
+       uuid)
+}
+\arguments{
+\item{virtualMachine}{VirtualMachine object.}
+
+\item{uuid}{The UUID of the VirtualMachine in question.}
+}
+\value{
+VirtualMachine object.
+}
+\description{
+virtual_machines.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/workflows.create.Rd b/sdk/R/man/workflows.create.Rd
new file mode 100644 (file)
index 0000000..8a84e00
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{workflows.create}
+\alias{workflows.create}
+\title{workflows.create}
+\usage{
+arv$workflows.create(workflow,
+       ensure_unique_name = "false")
+}
+\arguments{
+\item{workflow}{Workflow object.}
+
+\item{ensure_unique_name}{Adjust name to ensure uniqueness instead of returning an error on (owner_uuid, name) collision.}
+}
+\value{
+Workflow object.
+}
+\description{
+workflows.create is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/workflows.delete.Rd b/sdk/R/man/workflows.delete.Rd
new file mode 100644 (file)
index 0000000..96a561e
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{workflows.delete}
+\alias{workflows.delete}
+\title{workflows.delete}
+\usage{
+arv$workflows.delete(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Workflow in question.}
+}
+\value{
+Workflow object.
+}
+\description{
+workflows.delete is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/workflows.get.Rd b/sdk/R/man/workflows.get.Rd
new file mode 100644 (file)
index 0000000..8a8c3a8
--- /dev/null
@@ -0,0 +1,17 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{workflows.get}
+\alias{workflows.get}
+\title{workflows.get}
+\usage{
+arv$workflows.get(uuid)
+}
+\arguments{
+\item{uuid}{The UUID of the Workflow in question.}
+}
+\value{
+Workflow object.
+}
+\description{
+workflows.get is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/workflows.list.Rd b/sdk/R/man/workflows.list.Rd
new file mode 100644 (file)
index 0000000..e24b74d
--- /dev/null
@@ -0,0 +1,34 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{workflows.list}
+\alias{workflows.list}
+\title{workflows.list}
+\usage{
+arv$workflows.list(filters = NULL,
+       where = NULL, order = NULL, select = NULL,
+       distinct = NULL, limit = "100", offset = "0",
+       count = "exact")
+}
+\arguments{
+\item{filters}{}
+
+\item{where}{}
+
+\item{order}{}
+
+\item{select}{}
+
+\item{distinct}{}
+
+\item{limit}{}
+
+\item{offset}{}
+
+\item{count}{}
+}
+\value{
+WorkflowList object.
+}
+\description{
+workflows.list is a method defined in Arvados class.
+}
diff --git a/sdk/R/man/workflows.update.Rd b/sdk/R/man/workflows.update.Rd
new file mode 100644 (file)
index 0000000..d3f6186
--- /dev/null
@@ -0,0 +1,20 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/Arvados.R
+\name{workflows.update}
+\alias{workflows.update}
+\title{workflows.update}
+\usage{
+arv$workflows.update(workflow,
+       uuid)
+}
+\arguments{
+\item{workflow}{Workflow object.}
+
+\item{uuid}{The UUID of the Workflow in question.}
+}
+\value{
+Workflow object.
+}
+\description{
+workflows.update is a method defined in Arvados class.
+}
diff --git a/sdk/R/tests/testthat/test-Arvados.R b/sdk/R/tests/testthat/test-Arvados.R
deleted file mode 100644 (file)
index 25cf88f..0000000
+++ /dev/null
@@ -1,306 +0,0 @@
-context("Arvados API")
-
-source("fakes/FakeRESTService.R")
-
-test_that("Constructor will use environment variables if no parameters are passed to it", {
-
-    Sys.setenv(ARVADOS_API_HOST  = "environment_api_host")
-    Sys.setenv(ARVADOS_API_TOKEN = "environment_api_token")
-
-    arv <- Arvados$new()
-
-    Sys.unsetenv("ARVADOS_API_HOST")
-    Sys.unsetenv("ARVADOS_API_TOKEN")
-
-    expect_that("https://environment_api_host/arvados/v1/",
-                equals(arv$getHostName())) 
-
-    expect_that("environment_api_token",
-                equals(arv$getToken())) 
-}) 
-
-test_that("Constructor preferes constructor fields over environment variables", {
-
-    Sys.setenv(ARVADOS_API_HOST  = "environment_api_host")
-    Sys.setenv(ARVADOS_API_TOKEN = "environment_api_token")
-
-    arv <- Arvados$new("constructor_api_token", "constructor_api_host")
-
-    Sys.unsetenv("ARVADOS_API_HOST")
-    Sys.unsetenv("ARVADOS_API_TOKEN")
-
-    expect_that("https://constructor_api_host/arvados/v1/",
-                equals(arv$getHostName())) 
-
-    expect_that("constructor_api_token",
-                equals(arv$getToken())) 
-}) 
-
-test_that("Constructor raises exception if fields and environment variables are not provided", {
-
-    expect_that(Arvados$new(),
-                throws_error(paste0("Please provide host name and authentification token",
-                                    " or set ARVADOS_API_HOST and ARVADOS_API_TOKEN",
-                                    " environment variables.")))
-}) 
-
-test_that("getCollection delegates operation to RESTService class", {
-
-    arv <- Arvados$new("token", "hostName")
-    fakeREST <- FakeRESTService$new()
-    arv$setRESTService(fakeREST)
-    collectionUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-
-    arv$getCollection(collectionUUID)
-
-    expect_that(fakeREST$getResourceCallCount, equals(1))
-}) 
-
-test_that("listCollections delegates operation to RESTService class", {
-
-    arv <- Arvados$new("token", "hostName")
-    fakeREST <- FakeRESTService$new()
-    arv$setRESTService(fakeREST)
-
-    arv$listCollections()
-
-    expect_that(fakeREST$listResourcesCallCount, equals(1))
-}) 
-
-test_that("listCollections filter paramerter must be named 'collection'", {
-
-    filters <- list(list("name", "like", "MyCollection"))
-    names(filters) <- c("collection")
-    fakeREST <- FakeRESTService$new(expectedFilterContent = filters)
-    arv <- Arvados$new("token", "hostName")
-    arv$setRESTService(fakeREST)
-
-    arv$listCollections(list(list("name", "like", "MyCollection")))
-
-    expect_that(fakeREST$filtersAreConfiguredCorrectly, is_true())
-}) 
-
-test_that("listAllCollections delegates operation to RESTService class", {
-
-    arv <- Arvados$new("token", "hostName")
-    fakeREST <- FakeRESTService$new()
-    arv$setRESTService(fakeREST)
-
-    arv$listAllCollections()
-
-    expect_that(fakeREST$fetchAllItemsCallCount, equals(1))
-}) 
-
-test_that("listAllCollections filter paramerter must be named 'collection'", {
-
-    filters <- list(list("name", "like", "MyCollection"))
-    names(filters) <- c("collection")
-    fakeREST <- FakeRESTService$new(expectedFilterContent = filters)
-    arv <- Arvados$new("token", "hostName")
-    arv$setRESTService(fakeREST)
-
-    arv$listAllCollections(list(list("name", "like", "MyCollection")))
-
-    expect_that(fakeREST$filtersAreConfiguredCorrectly, is_true())
-}) 
-
-test_that("deleteCollection delegates operation to RESTService class", {
-
-    arv <- Arvados$new("token", "hostName")
-    fakeREST <- FakeRESTService$new()
-    arv$setRESTService(fakeREST)
-    collectionUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-
-    arv$deleteCollection(collectionUUID)
-
-    expect_that(fakeREST$deleteResourceCallCount, equals(1))
-}) 
-
-test_that("updateCollection delegates operation to RESTService class", {
-
-    arv <- Arvados$new("token", "hostName")
-    fakeREST <- FakeRESTService$new()
-    arv$setRESTService(fakeREST)
-    newCollectionContent <- list(newName = "Brand new shiny name")
-    collectionUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-
-    arv$updateCollection(collectionUUID, newCollectionContent)
-
-    expect_that(fakeREST$updateResourceCallCount, equals(1))
-}) 
-
-test_that("updateCollection adds content to request parameter named 'collection'", {
-
-    collectionUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-    body <- list(list())
-    names(body) <- c("collection")
-    body$collection <- list(name = "MyCollection", desc = "No description")
-    fakeREST <- FakeRESTService$new(returnContent = body)
-    arv <- Arvados$new("token", "hostName")
-    arv$setRESTService(fakeREST)
-
-    arv$updateCollection(collectionUUID, 
-                         list(name = "MyCollection", desc = "No description"))
-
-    expect_that(fakeREST$bodyIsConfiguredCorrectly, is_true())
-}) 
-
-test_that("createCollection delegates operation to RESTService class", {
-
-    arv <- Arvados$new("token", "hostName")
-    fakeREST <- FakeRESTService$new()
-    arv$setRESTService(fakeREST)
-    collectionContent <- list(newName = "Brand new shiny name")
-
-    arv$createCollection(collectionContent)
-
-    expect_that(fakeREST$createResourceCallCount, equals(1))
-}) 
-
-test_that("createCollection adds content to request parameter named 'collection'", {
-
-    body <- list(list())
-    names(body) <- c("collection")
-    body$collection <- list(name = "MyCollection", desc = "No description")
-    fakeREST <- FakeRESTService$new(returnContent = body)
-    arv <- Arvados$new("token", "hostName")
-    arv$setRESTService(fakeREST)
-
-    arv$createCollection(list(name = "MyCollection", desc = "No description"))
-
-    expect_that(fakeREST$bodyIsConfiguredCorrectly, is_true())
-}) 
-
-test_that("getProject delegates operation to RESTService class", {
-
-    arv <- Arvados$new("token", "hostName")
-    fakeREST <- FakeRESTService$new()
-    arv$setRESTService(fakeREST)
-    projectUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-
-    arv$getCollection(projectUUID)
-
-    expect_that(fakeREST$getResourceCallCount, equals(1))
-}) 
-
-test_that("listProjects delegates operation to RESTService class", {
-
-    arv <- Arvados$new("token", "hostName")
-    fakeREST <- FakeRESTService$new()
-    arv$setRESTService(fakeREST)
-
-    arv$listCollections()
-
-    expect_that(fakeREST$listResourcesCallCount, equals(1))
-}) 
-
-test_that("listProjects filter contains additional 'group_class' field by default", {
-
-    filters <- list(list("name", "like", "MyProject"))
-    names(filters) <- c("groups")
-    filters[[length(filters) + 1]] <- list("group_class", "=", "project")
-
-    fakeREST <- FakeRESTService$new(expectedFilterContent = filters)
-    arv <- Arvados$new("token", "hostName")
-    arv$setRESTService(fakeREST)
-
-    arv$listProjects(list(list("name", "like", "MyProject")))
-
-    expect_that(fakeREST$filtersAreConfiguredCorrectly, is_true())
-}) 
-
-test_that("listAllProjects delegates operation to RESTService class", {
-
-    arv <- Arvados$new("token", "hostName")
-    fakeREST <- FakeRESTService$new()
-    arv$setRESTService(fakeREST)
-
-    arv$listAllProjects()
-
-    expect_that(fakeREST$fetchAllItemsCallCount, equals(1))
-}) 
-
-test_that("listAllProjects filter contains additional 'group_class' field by default", {
-
-    filters <- list(list("name", "like", "MyProject"))
-    names(filters) <- c("groups")
-    filters[[length(filters) + 1]] <- list("group_class", "=", "project")
-
-    fakeREST <- FakeRESTService$new(expectedFilterContent = filters)
-    arv <- Arvados$new("token", "hostName")
-    arv$setRESTService(fakeREST)
-
-    arv$listAllProjects(list(list("name", "like", "MyProject")))
-
-    expect_that(fakeREST$filtersAreConfiguredCorrectly, is_true())
-}) 
-
-test_that("deleteProject delegates operation to RESTService class", {
-
-    arv <- Arvados$new("token", "hostName")
-    fakeREST <- FakeRESTService$new()
-    arv$setRESTService(fakeREST)
-    projectUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-
-    arv$deleteCollection(projectUUID)
-
-    expect_that(fakeREST$deleteResourceCallCount, equals(1))
-}) 
-
-test_that("updateProject delegates operation to RESTService class", {
-
-    arv <- Arvados$new("token", "hostName")
-    fakeREST <- FakeRESTService$new()
-    arv$setRESTService(fakeREST)
-    newProjectContent <- list(newName = "Brand new shiny name")
-    projectUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-
-    arv$updateCollection(projectUUID, newProjectContent)
-
-    expect_that(fakeREST$updateResourceCallCount, equals(1))
-}) 
-
-test_that("updateProject adds content to request parameter named 'group'", {
-
-    projectUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-    body <- list(list())
-    names(body) <- c("group")
-    body$group <- list(name = "MyProject", desc = "No description")
-
-    fakeREST <- FakeRESTService$new(returnContent = body)
-    arv <- Arvados$new("token", "hostName")
-    arv$setRESTService(fakeREST)
-
-    arv$updateProject(projectUUID,
-                      list(name = "MyProject", desc = "No description"))
-
-    expect_that(fakeREST$bodyIsConfiguredCorrectly, is_true())
-}) 
-
-test_that("createProject delegates operation to RESTService class", {
-
-    arv <- Arvados$new("token", "hostName")
-    fakeREST <- FakeRESTService$new()
-    arv$setRESTService(fakeREST)
-    projectContent <- list(newName = "Brand new shiny name")
-
-    arv$createCollection(projectContent)
-
-    expect_that(fakeREST$createResourceCallCount, equals(1))
-}) 
-
-test_that("createProject request body contains 'goup_class' filed", {
-
-    body <- list(list())
-    names(body) <- c("group")
-    body$group <- c("group_class" = "project",
-                    list(name = "MyProject", desc = "No description"))
-
-    fakeREST <- FakeRESTService$new(returnContent = body)
-    arv <- Arvados$new("token", "hostName")
-    arv$setRESTService(fakeREST)
-
-    arv$createProject(list(name = "MyProject", desc = "No description"))
-
-    expect_that(fakeREST$bodyIsConfiguredCorrectly, is_true())
-}) 
index 90cc1499d674df18f075876c4e2ba0bf028f06e7..0c1db1a6417eb65cac844428b9dc6bdc44fbb0b5 100644 (file)
@@ -268,4 +268,4 @@ test_that("move moves arvados file inside collection tree", {
 
     expect_that(dogIsNullOnOldLocation, is_true())
     expect_that(dogExistsOnNewLocation, is_true())
-}) 
+})
index 66ab9af19636a33f96e257eebbdf3fa0813add72..5c2fb602fdb1edb1bdee38e93b831a35c34bb6f0 100644 (file)
@@ -4,25 +4,24 @@ context("Http Request")
 test_that("execyte raises exception if http verb is not valid", {
 
     http <- HttpRequest$new()
-    expect_that(http$execute("FAKE VERB", "url"),
+    expect_that(http$exec("FAKE VERB", "url"),
                throws_error("Http verb is not valid."))
 }) 
 
-test_that(paste("createQuery generates and encodes query portion of http",
-                "request based on filters, limit and offset parameters"), {
+test_that("createQuery generates and encodes query portion of http", {
 
     http <- HttpRequest$new()
-    filters <- list(list("color", "=", "red"))
-    limit <- 20
-    offset <- 50
-    expect_that(http$createQuery(filters, limit, offset),
+    queryParams <- list()
+    queryParams$filters <- list(list("color", "=", "red"))
+    queryParams$limit <- 20
+    queryParams$offset <- 50
+    expect_that(http$createQuery(queryParams),
                 equals(paste0("/?filters=%5B%5B%22color%22%2C%22%3D%22%2C%22red",
                               "%22%5D%5D&limit=20&offset=50")))
 }) 
 
-test_that(paste("createQuery generates and empty string",
-                "when filters, limit and offset parameters are set to NULL"), {
+test_that("createQuery generates and empty string when queryParams is an empty list", {
 
     http <- HttpRequest$new()
-    expect_that(http$createQuery(NULL, NULL, NULL), equals(""))
+    expect_that(http$createQuery(list()), equals(""))
 }) 
index d4f3c2c1c0b809f48fa983cf55d504e6da42eadf..898e59e3be89ef1c71aba81aca223b8d581c31a9 100644 (file)
@@ -31,264 +31,6 @@ test_that("getWebDavHostName returns webDAV host name properly", {
     expect_that("https://myWebDavServer.com", equals(REST$getWebDavHostName())) 
 }) 
 
-test_that("getResource calls REST service properly", {
-
-    serverResponse <- NULL
-    resourceUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-    expectedURL    <- paste0("https://host/arvados/v1/collections/", resourceUUID)
-
-    httpRequest <- FakeHttpRequest$new(expectedURL, serverResponse)
-
-    REST <- RESTService$new("token", "host", 
-                            httpRequest, FakeHttpParser$new(),
-                            0, "webDavHost")
-
-    REST$getResource("collections", resourceUUID)
-
-    expect_that(httpRequest$URLIsProperlyConfigured, is_true())
-    expect_that(httpRequest$requestHeaderContainsAuthorizationField, is_true())
-    expect_that(httpRequest$numberOfGETRequests, equals(1))
-}) 
-
-test_that("getResource parses server response", {
-
-    resourceUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-    httpParser <- FakeHttpParser$new()
-    REST <- RESTService$new("token", "host", 
-                            FakeHttpRequest$new(), httpParser,
-                            0, "webDavHost")
-
-    REST$getResource("collections", resourceUUID)
-
-    expect_that(httpParser$parserCallCount, equals(1))
-}) 
-
-test_that("getResource raises exception if response contains errors field", {
-
-    resourceUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-    serverResponse <- list(errors = 404)
-
-    REST <- RESTService$new("token", "host",
-                            FakeHttpRequest$new(NULL, serverResponse),
-                            FakeHttpParser$new(),
-                            0, "webDavHost")
-    
-    expect_that(REST$getResource("collections", resourceUUID), throws_error("404", fixed = TRUE))
-}) 
-
-test_that("listResources calls REST service properly", {
-
-    serverResponse <- NULL
-    expectedURL    <- paste0("https://host/arvados/v1/collections")
-    httpRequest <- FakeHttpRequest$new(expectedURL, serverResponse)
-
-    REST <- RESTService$new("token", "host", 
-                            httpRequest, FakeHttpParser$new(),
-                            0, "webDavHost")
-
-    REST$listResources("collections")
-
-    expect_that(httpRequest$URLIsProperlyConfigured, is_true())
-    expect_that(httpRequest$requestHeaderContainsAuthorizationField, is_true())
-    expect_that(httpRequest$numberOfGETRequests, equals(1))
-}) 
-
-test_that("listResources parses server response", {
-
-    httpParser <- FakeHttpParser$new()
-    REST <- RESTService$new("token", "host", 
-                            FakeHttpRequest$new(), httpParser,
-                            0, "webDavHost")
-
-    REST$listResources("collections")
-
-    expect_that(httpParser$parserCallCount, equals(1))
-}) 
-
-test_that("listResources raises exception if response contains errors field", {
-
-    serverResponse <- list(errors = 404)
-
-    REST <- RESTService$new("token", "host", 
-                            FakeHttpRequest$new(NULL, serverResponse),
-                            FakeHttpParser$new(),
-                            0, "webDavHost")
-    
-    expect_that(REST$listResources("collections"), throws_error("404", fixed = TRUE))
-}) 
-
-test_that("fetchAllItems always returns all resource items from server", {
-
-    expectedURL <- NULL
-    serverResponse <- list(items_available = 8,
-                           items = list("collection1",
-                                        "collection2",
-                                        "collection3",
-                                        "collection4",
-                                        "collection5",
-                                        "collection6",
-                                        "collection7",
-                                        "collection8"))
-
-    httpParser <- FakeHttpParser$new()
-    httpRequest <- FakeHttpRequest$new(expectedURL, serverResponse)
-    httpRequest$serverMaxElementsPerRequest <- 3
-
-    REST <- RESTService$new("token", "host", 
-                            httpRequest, httpParser,
-                            0, "webDavHost")
-
-    result <- REST$fetchAllItems(NULL, NULL)
-
-    expect_that(length(result), equals(8))
-    expect_that(httpRequest$numberOfGETRequests, equals(3))
-    expect_that(httpParser$parserCallCount, equals(3))
-}) 
-
-test_that("deleteResource calls REST service properly", {
-
-    serverResponse <- NULL
-    resourceUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-    expectedURL    <- paste0("https://host/arvados/v1/collections/", resourceUUID)
-
-    httpRequest <- FakeHttpRequest$new(expectedURL, serverResponse)
-
-    REST <- RESTService$new("token", "host", 
-                            httpRequest, FakeHttpParser$new(),
-                            0, "webDavHost")
-
-    REST$deleteResource("collections", resourceUUID)
-
-    expect_that(httpRequest$URLIsProperlyConfigured, is_true())
-    expect_that(httpRequest$requestHeaderContainsAuthorizationField, is_true())
-    expect_that(httpRequest$numberOfDELETERequests, equals(1))
-}) 
-
-test_that("deleteCollection parses server response", {
-
-    resourceUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-    httpParser <- FakeHttpParser$new()
-    REST <- RESTService$new("token", "host", 
-                            FakeHttpRequest$new(), httpParser,
-                            0, "webDavHost")
-
-    REST$deleteResource("collections", resourceUUID)
-
-    expect_that(httpParser$parserCallCount, equals(1))
-}) 
-
-test_that("deleteCollection raises exception if response contains errors field", {
-
-    resourceUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-    serverResponse <- list(errors = 404)
-
-    REST <- RESTService$new("token", "host", 
-                            FakeHttpRequest$new(NULL, serverResponse),
-                            FakeHttpParser$new(),
-                            0, "webDavHost")
-    
-    expect_that(REST$deleteResource("collections", resourceUUID), throws_error("404", fixed = TRUE))
-}) 
-
-test_that("updateResource calls REST service properly", {
-
-    serverResponse <- NULL
-    resourceUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-    expectedURL    <- paste0("https://host/arvados/v1/collections/", resourceUUID)
-    newResourceContent <- list(newName = "Brand new shiny name")
-
-    httpRequest <- FakeHttpRequest$new(expectedURL, serverResponse)
-
-    REST <- RESTService$new("token", "host", 
-                            httpRequest, FakeHttpParser$new(),
-                            0, "webDavHost")
-
-    REST$updateResource("collections", resourceUUID, newResourceContent)
-
-    expect_that(httpRequest$URLIsProperlyConfigured, is_true())
-    expect_that(httpRequest$requestHeaderContainsAuthorizationField, is_true())
-    expect_that(httpRequest$JSONEncodedBodyIsProvided, is_true())
-    expect_that(httpRequest$numberOfPUTRequests, equals(1))
-}) 
-
-test_that("updateResource parses server response", {
-
-    newResourceContent <- list(newName = "Brand new shiny name")
-    resourceUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-    httpParser <- FakeHttpParser$new()
-    REST <- RESTService$new("token", "host", 
-                            FakeHttpRequest$new(), httpParser,
-                            0, "webDavHost")
-
-    REST$updateResource("collections", resourceUUID, newResourceContent)
-
-    expect_that(httpParser$parserCallCount, equals(1))
-}) 
-
-test_that("updateResource raises exception if response contains errors field", {
-
-    resourceUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-    serverResponse <- list(errors = 404)
-    newResourceContent <- list(newName = "Brand new shiny name")
-    REST <- RESTService$new("token", "host", 
-                            FakeHttpRequest$new(NULL, serverResponse),
-                            FakeHttpParser$new(),
-                            0, "webDavHost")
-    
-    expect_that(REST$updateResource("collections", resourceUUID, newResourceContent),
-                throws_error("404", fixed = TRUE))
-}) 
-
-test_that("createResource calls REST service properly", {
-
-    resourceContent <- list(name = "My favorite collection")
-    serverResponse <- NULL
-    resourceUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-    expectedURL <- "https://host/arvados/v1/collections"
-    newResourceContent <- list(newName = "Brand new shiny name")
-
-    httpRequest <- FakeHttpRequest$new(expectedURL, serverResponse)
-
-    REST <- RESTService$new("token", "host", 
-                            httpRequest, FakeHttpParser$new(),
-                            0, "webDavHost")
-
-    REST$createResource("collections", resourceContent)
-
-    expect_that(httpRequest$URLIsProperlyConfigured, is_true())
-    expect_that(httpRequest$requestHeaderContainsAuthorizationField, is_true())
-    expect_that(httpRequest$JSONEncodedBodyIsProvided, is_true())
-    expect_that(httpRequest$numberOfPOSTRequests, equals(1))
-}) 
-
-test_that("createResource parses server response", {
-
-    resourceContent <- list(newName = "Brand new shiny name")
-    resourceUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-    httpParser <- FakeHttpParser$new()
-    REST <- RESTService$new("token", "host",
-                            FakeHttpRequest$new(), httpParser,
-                            0, "webDavHost")
-
-    REST$createResource("collections", resourceContent)
-
-    expect_that(httpParser$parserCallCount, equals(1))
-}) 
-
-test_that("createResource raises exception if response contains errors field", {
-
-    resourceUUID <- "aaaaa-j7d0g-ccccccccccccccc"
-    serverResponse <- list(errors = 404)
-    resourceContent <- list(newName = "Brand new shiny name")
-    REST <- RESTService$new("token", "host", 
-                            FakeHttpRequest$new(NULL, serverResponse),
-                            FakeHttpParser$new(),
-                            0, "webDavHost")
-    
-    expect_that(REST$createResource("collections", resourceContent),
-                throws_error("404", fixed = TRUE))
-}) 
-
 test_that("create calls REST service properly", {
 
     uuid <- "aaaaa-j7d0g-ccccccccccccccc"
index 1b141e10514c91e3db63ad0368989141137726ff..b2b0bc9ccfecc66998e43f7d7b6de40c31a6d68e 100644 (file)
@@ -353,4 +353,4 @@ test_that(paste("getSizeInBytes delegates size calculation",
     resourceSize <- animal$getSizeInBytes()
 
     expect_that(resourceSize, equals(100))
-}) 
+})
index 62065f8e88f106b3bf988c418f242d57176cf5fa..ea091517c6b8abdf2f777e46046d8786623d1edc 100644 (file)
@@ -1,5 +1,29 @@
 context("Utility function")
 
+test_that("listAll always returns all resource items from server", {
+
+    serverResponseLimit <- 3
+    itemsAvailable <- 8
+    items <- list("collection1", "collection2", "collection3", "collection4",
+                  "collection5", "collection6", "collection7", "collection8")
+
+    testFunction <- function(offset, ...)
+    {
+        response <- list()
+        response$items_available <- itemsAvailable
+
+        maxIndex <- offset + serverResponseLimit
+        lastElementIndex <- if(maxIndex < itemsAvailable) maxIndex else itemsAvailable
+
+        response$items <- items[(offset + 1):lastElementIndex]
+        response
+    }
+
+    result <- listAll(testFunction)
+
+    expect_that(length(result), equals(8))
+}) 
+
 test_that("trimFromStart trims string correctly if string starts with trimCharacters", {
 
     sample <- "./something/random"