From: Fuad Muhic Date: Wed, 28 Feb 2018 13:05:07 +0000 (+0100) Subject: Merge branch 'master' of git.curoverse.com:arvados into 13076-r-autogen-api X-Git-Tag: 1.2.0~202^2~18 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/2128e03298979fd9aa01365464c7390be5a90c8f?hp=b17f04b7797eda5a5d888264f7d480d762a9966f Merge branch 'master' of git.curoverse.com:arvados into 13076-r-autogen-api Arvados-DCO-1.1-Signed-off-by: Fuad Muhic --- diff --git a/sdk/R/NAMESPACE b/sdk/R/NAMESPACE index f2cae86f54..e6cf09b53b 100644 --- a/sdk/R/NAMESPACE +++ b/sdk/R/NAMESPACE @@ -1,10 +1,57 @@ # Generated by roxygen2: do not edit by hand -S3method(print,Arvados) S3method(print,ArvadosFile) S3method(print,Collection) S3method(print,Subcollection) +export(ApiClient) +export(ApiClientAuthorization) +export(ApiClientAuthorizationList) +export(ApiClientList) export(Arvados) export(ArvadosFile) +export(AuthorizedKey) +export(AuthorizedKeyList) export(Collection) +export(CollectionList) +export(Container) +export(ContainerList) +export(ContainerRequest) +export(ContainerRequestList) +export(Group) +export(GroupList) +export(Human) +export(HumanList) +export(Job) +export(JobList) +export(JobTask) +export(JobTaskList) +export(KeepDisk) +export(KeepDiskList) +export(KeepService) +export(KeepServiceList) +export(Link) +export(LinkList) +export(Log) +export(LogList) +export(Node) +export(NodeList) +export(PipelineInstance) +export(PipelineInstanceList) +export(PipelineTemplate) +export(PipelineTemplateList) +export(Repository) +export(RepositoryList) +export(Specimen) +export(SpecimenList) export(Subcollection) +export(Trait) +export(TraitList) +export(User) +export(UserAgreement) +export(UserAgreementList) +export(UserList) +export(VirtualMachine) +export(VirtualMachineList) +export(Workflow) +export(WorkflowList) +export(generateAPI) diff --git a/sdk/R/R/Arvados.R b/sdk/R/R/Arvados.R index 8b0e92b237..a9b7dc0f82 100644 --- a/sdk/R/R/Arvados.R +++ b/sdk/R/R/Arvados.R @@ -1,236 +1,8753 @@ -source("./R/RESTService.R") -source("./R/HttpRequest.R") -source("./R/HttpParser.R") - -#' Arvados -#' -#' Arvados class gives users ability to manipulate collections and projects. -#' -#' @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.} -#' } -#' -#' @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.} -#' } -#' -#' @name Arvados -#' @examples -#' \dontrun{ -#' arv <- Arvados$new("your Arvados token", "example.arvadosapi.com") -#' -#' collection <- arv$getCollection("uuid") -#' -#' collectionList <- arv$listCollections(list(list("name", "like", "Test%"))) -#' collectionList <- arv$listAllCollections(list(list("name", "like", "Test%"))) -#' -#' deletedCollection <- arv$deleteCollection("uuid") -#' -#' updatedCollection <- arv$updateCollection("uuid", list(name = "New name", -#' description = "New description")) -#' -#' createdCollection <- arv$createCollection(list(name = "Example", -#' description = "This is a test collection")) -#' } +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$users.index(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.index +NULL + +#' 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 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 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 is a method defined in Arvados class. +#' +#' @usage arv$users.current(NULL) +#' @return User object. +#' @name users.current +NULL + +#' users.system is a method defined in Arvados class. +#' +#' @usage arv$users.system(NULL) +#' @return User object. +#' @name users.system +NULL + +#' 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 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 is a method defined in Arvados class. +#' +#' @usage arv$users.unsetup(uuid) +#' @param uuid +#' @return User object. +#' @name users.unsetup +NULL + +#' 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 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 + +#' users.show is a method defined in Arvados class. +#' +#' @usage arv$users.show(uuid) +#' @param uuid +#' @return User object. +#' @name users.show +NULL + +#' users.destroy is a method defined in Arvados class. +#' +#' @usage arv$users.destroy(uuid) +#' @param uuid +#' @return User object. +#' @name users.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$api_client_authorizations.index(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.index +NULL + +#' api_client_authorizations.create is a method defined in Arvados class. +#' +#' @usage arv$api_client_authorizations.create(api_client_authorization, +#' 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 is a method defined in Arvados class. +#' +#' @usage arv$api_client_authorizations.update(api_client_authorization, +#' 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 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 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 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 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 + +#' api_client_authorizations.show is a method defined in Arvados class. +#' +#' @usage arv$api_client_authorizations.show(uuid) +#' @param uuid +#' @return ApiClientAuthorization object. +#' @name api_client_authorizations.show +NULL + +#' api_client_authorizations.destroy is a method defined in Arvados class. +#' +#' @usage arv$api_client_authorizations.destroy(uuid) +#' @param uuid +#' @return ApiClientAuthorization object. +#' @name api_client_authorizations.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$api_clients.index(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.index +NULL + +#' api_clients.create is a method defined in Arvados class. +#' +#' @usage arv$api_clients.create(api_client, +#' 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 is a method defined in Arvados class. +#' +#' @usage arv$api_clients.update(api_client, +#' 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 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 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 + +#' api_clients.show is a method defined in Arvados class. +#' +#' @usage arv$api_clients.show(uuid) +#' @param uuid +#' @return ApiClient object. +#' @name api_clients.show +NULL + +#' api_clients.destroy is a method defined in Arvados class. +#' +#' @usage arv$api_clients.destroy(uuid) +#' @param uuid +#' @return ApiClient object. +#' @name api_clients.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$container_requests.index(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.index +NULL + +#' container_requests.create is a method defined in Arvados class. +#' +#' @usage arv$container_requests.create(container_request, +#' 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 is a method defined in Arvados class. +#' +#' @usage arv$container_requests.update(container_request, +#' 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 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 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 + +#' container_requests.show is a method defined in Arvados class. +#' +#' @usage arv$container_requests.show(uuid) +#' @param uuid +#' @return ContainerRequest object. +#' @name container_requests.show +NULL + +#' container_requests.destroy is a method defined in Arvados class. +#' +#' @usage arv$container_requests.destroy(uuid) +#' @param uuid +#' @return ContainerRequest object. +#' @name container_requests.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$authorized_keys.index(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.index +NULL + +#' authorized_keys.create is a method defined in Arvados class. +#' +#' @usage arv$authorized_keys.create(authorized_key, +#' 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 is a method defined in Arvados class. +#' +#' @usage arv$authorized_keys.update(authorized_key, +#' 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 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 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 + +#' authorized_keys.show is a method defined in Arvados class. +#' +#' @usage arv$authorized_keys.show(uuid) +#' @param uuid +#' @return AuthorizedKey object. +#' @name authorized_keys.show +NULL + +#' authorized_keys.destroy is a method defined in Arvados class. +#' +#' @usage arv$authorized_keys.destroy(uuid) +#' @param uuid +#' @return AuthorizedKey object. +#' @name authorized_keys.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$collections.index(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.index +NULL + +#' 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 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 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 is a method defined in Arvados class. +#' +#' @usage arv$collections.provenance(uuid) +#' @param uuid +#' @return Collection object. +#' @name collections.provenance +NULL + +#' 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 is a method defined in Arvados class. +#' +#' @usage arv$collections.trash(uuid) +#' @param uuid +#' @return Collection object. +#' @name collections.trash +NULL + +#' 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 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 + +#' collections.show is a method defined in Arvados class. +#' +#' @usage arv$collections.show(uuid) +#' @param uuid +#' @return Collection object. +#' @name collections.show +NULL + +#' collections.destroy is a method defined in Arvados class. +#' +#' @usage arv$collections.destroy(uuid) +#' @param uuid +#' @return Collection object. +#' @name collections.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$containers.index(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.index +NULL + +#' 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 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 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 is a method defined in Arvados class. +#' +#' @usage arv$containers.auth(uuid) +#' @param uuid +#' @return Container object. +#' @name containers.auth +NULL + +#' 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 is a method defined in Arvados class. +#' +#' @usage arv$containers.unlock(uuid) +#' @param uuid +#' @return Container object. +#' @name containers.unlock +NULL + +#' containers.current is a method defined in Arvados class. +#' +#' @usage arv$containers.current(NULL) +#' @return Container object. +#' @name containers.current +NULL + +#' 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 + +#' containers.show is a method defined in Arvados class. +#' +#' @usage arv$containers.show(uuid) +#' @param uuid +#' @return Container object. +#' @name containers.show +NULL + +#' containers.destroy is a method defined in Arvados class. +#' +#' @usage arv$containers.destroy(uuid) +#' @param uuid +#' @return Container object. +#' @name containers.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$humans.index(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.index +NULL + +#' 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 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 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 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 + +#' humans.show is a method defined in Arvados class. +#' +#' @usage arv$humans.show(uuid) +#' @param uuid +#' @return Human object. +#' @name humans.show +NULL + +#' humans.destroy is a method defined in Arvados class. +#' +#' @usage arv$humans.destroy(uuid) +#' @param uuid +#' @return Human object. +#' @name humans.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$job_tasks.index(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.index +NULL + +#' job_tasks.create is a method defined in Arvados class. +#' +#' @usage arv$job_tasks.create(job_task, +#' 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 is a method defined in Arvados class. +#' +#' @usage arv$job_tasks.update(job_task, +#' 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 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 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 + +#' job_tasks.show is a method defined in Arvados class. +#' +#' @usage arv$job_tasks.show(uuid) +#' @param uuid +#' @return JobTask object. +#' @name job_tasks.show +NULL + +#' job_tasks.destroy is a method defined in Arvados class. +#' +#' @usage arv$job_tasks.destroy(uuid) +#' @param uuid +#' @return JobTask object. +#' @name job_tasks.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$links.index(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.index +NULL + +#' 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 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 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 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.show is a method defined in Arvados class. +#' +#' @usage arv$links.show(uuid) +#' @param uuid +#' @return Link object. +#' @name links.show +NULL + +#' links.destroy is a method defined in Arvados class. +#' +#' @usage arv$links.destroy(uuid) +#' @param uuid +#' @return Link object. +#' @name links.destroy +NULL + +#' 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 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.index is a method defined in Arvados class. +#' +#' @usage arv$jobs.index(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.index +NULL + +#' 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 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 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 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 is a method defined in Arvados class. +#' +#' @usage arv$jobs.queue_size(NULL) +#' @return Job object. +#' @name jobs.queue_size +NULL + +#' 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 is a method defined in Arvados class. +#' +#' @usage arv$jobs.lock(uuid) +#' @param uuid +#' @return Job object. +#' @name jobs.lock +NULL + +#' 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 + +#' jobs.show is a method defined in Arvados class. +#' +#' @usage arv$jobs.show(uuid) +#' @param uuid +#' @return Job object. +#' @name jobs.show +NULL + +#' jobs.destroy is a method defined in Arvados class. +#' +#' @usage arv$jobs.destroy(uuid) +#' @param uuid +#' @return Job object. +#' @name jobs.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$keep_disks.index(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.index +NULL + +#' keep_disks.create is a method defined in Arvados class. +#' +#' @usage arv$keep_disks.create(keep_disk, +#' 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 is a method defined in Arvados class. +#' +#' @usage arv$keep_disks.update(keep_disk, +#' 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 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 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 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_disks.show is a method defined in Arvados class. +#' +#' @usage arv$keep_disks.show(uuid) +#' @param uuid +#' @return KeepDisk object. +#' @name keep_disks.show +NULL + +#' keep_disks.destroy is a method defined in Arvados class. +#' +#' @usage arv$keep_disks.destroy(uuid) +#' @param uuid +#' @return KeepDisk object. +#' @name keep_disks.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$keep_services.index(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.index +NULL + +#' keep_services.create is a method defined in Arvados class. +#' +#' @usage arv$keep_services.create(keep_service, +#' 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 is a method defined in Arvados class. +#' +#' @usage arv$keep_services.update(keep_service, +#' 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 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 is a method defined in Arvados class. +#' +#' @usage arv$keep_services.accessible(NULL) +#' @return KeepService object. +#' @name keep_services.accessible +NULL + +#' 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 + +#' keep_services.show is a method defined in Arvados class. +#' +#' @usage arv$keep_services.show(uuid) +#' @param uuid +#' @return KeepService object. +#' @name keep_services.show +NULL + +#' keep_services.destroy is a method defined in Arvados class. +#' +#' @usage arv$keep_services.destroy(uuid) +#' @param uuid +#' @return KeepService object. +#' @name keep_services.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$pipeline_templates.index(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.index +NULL + +#' pipeline_templates.create is a method defined in Arvados class. +#' +#' @usage arv$pipeline_templates.create(pipeline_template, +#' 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 is a method defined in Arvados class. +#' +#' @usage arv$pipeline_templates.update(pipeline_template, +#' 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 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 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_templates.show is a method defined in Arvados class. +#' +#' @usage arv$pipeline_templates.show(uuid) +#' @param uuid +#' @return PipelineTemplate object. +#' @name pipeline_templates.show +NULL + +#' pipeline_templates.destroy is a method defined in Arvados class. +#' +#' @usage arv$pipeline_templates.destroy(uuid) +#' @param uuid +#' @return PipelineTemplate object. +#' @name pipeline_templates.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$pipeline_instances.index(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.index +NULL + +#' pipeline_instances.create is a method defined in Arvados class. +#' +#' @usage arv$pipeline_instances.create(pipeline_instance, +#' 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 is a method defined in Arvados class. +#' +#' @usage arv$pipeline_instances.update(pipeline_instance, +#' 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 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 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 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 + +#' pipeline_instances.show is a method defined in Arvados class. +#' +#' @usage arv$pipeline_instances.show(uuid) +#' @param uuid +#' @return PipelineInstance object. +#' @name pipeline_instances.show +NULL + +#' pipeline_instances.destroy is a method defined in Arvados class. +#' +#' @usage arv$pipeline_instances.destroy(uuid) +#' @param uuid +#' @return PipelineInstance object. +#' @name pipeline_instances.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$nodes.index(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.index +NULL + +#' 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 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 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 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 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 + +#' nodes.show is a method defined in Arvados class. +#' +#' @usage arv$nodes.show(uuid) +#' @param uuid +#' @return Node object. +#' @name nodes.show +NULL + +#' nodes.destroy is a method defined in Arvados class. +#' +#' @usage arv$nodes.destroy(uuid) +#' @param uuid +#' @return Node object. +#' @name nodes.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$repositories.index(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.index +NULL + +#' 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 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 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 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 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 + +#' repositories.show is a method defined in Arvados class. +#' +#' @usage arv$repositories.show(uuid) +#' @param uuid +#' @return Repository object. +#' @name repositories.show +NULL + +#' repositories.destroy is a method defined in Arvados class. +#' +#' @usage arv$repositories.destroy(uuid) +#' @param uuid +#' @return Repository object. +#' @name repositories.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$specimens.index(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.index +NULL + +#' 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 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 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 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 + +#' specimens.show is a method defined in Arvados class. +#' +#' @usage arv$specimens.show(uuid) +#' @param uuid +#' @return Specimen object. +#' @name specimens.show +NULL + +#' specimens.destroy is a method defined in Arvados class. +#' +#' @usage arv$specimens.destroy(uuid) +#' @param uuid +#' @return Specimen object. +#' @name specimens.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$logs.index(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.index +NULL + +#' 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 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 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 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 + +#' logs.show is a method defined in Arvados class. +#' +#' @usage arv$logs.show(uuid) +#' @param uuid +#' @return Log object. +#' @name logs.show +NULL + +#' logs.destroy is a method defined in Arvados class. +#' +#' @usage arv$logs.destroy(uuid) +#' @param uuid +#' @return Log object. +#' @name logs.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$traits.index(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.index +NULL + +#' 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 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 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 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 + +#' traits.show is a method defined in Arvados class. +#' +#' @usage arv$traits.show(uuid) +#' @param uuid +#' @return Trait object. +#' @name traits.show +NULL + +#' traits.destroy is a method defined in Arvados class. +#' +#' @usage arv$traits.destroy(uuid) +#' @param uuid +#' @return Trait object. +#' @name traits.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$virtual_machines.index(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.index +NULL + +#' virtual_machines.create is a method defined in Arvados class. +#' +#' @usage arv$virtual_machines.create(virtual_machine, +#' 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 is a method defined in Arvados class. +#' +#' @usage arv$virtual_machines.update(virtual_machine, +#' 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 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 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 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 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 + +#' virtual_machines.show is a method defined in Arvados class. +#' +#' @usage arv$virtual_machines.show(uuid) +#' @param uuid +#' @return VirtualMachine object. +#' @name virtual_machines.show +NULL + +#' virtual_machines.destroy is a method defined in Arvados class. +#' +#' @usage arv$virtual_machines.destroy(uuid) +#' @param uuid +#' @return VirtualMachine object. +#' @name virtual_machines.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$workflows.index(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.index +NULL + +#' 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 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 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 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 + +#' workflows.show is a method defined in Arvados class. +#' +#' @usage arv$workflows.show(uuid) +#' @param uuid +#' @return Workflow object. +#' @name workflows.show +NULL + +#' workflows.destroy is a method defined in Arvados class. +#' +#' @usage arv$workflows.destroy(uuid) +#' @param uuid +#' @return Workflow object. +#' @name workflows.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$groups.index(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.index +NULL + +#' 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 + +#' 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 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 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 is a method defined in Arvados class. +#' +#' @usage arv$groups.trash(uuid) +#' @param uuid +#' @return Group object. +#' @name groups.trash +NULL + +#' 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 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 + +#' groups.show is a method defined in Arvados class. +#' +#' @usage arv$groups.show(uuid) +#' @param uuid +#' @return Group object. +#' @name groups.show +NULL + +#' groups.destroy is a method defined in Arvados class. +#' +#' @usage arv$groups.destroy(uuid) +#' @param uuid +#' @return Group object. +#' @name groups.destroy +NULL + +#' 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.index is a method defined in Arvados class. +#' +#' @usage arv$user_agreements.index(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.index +NULL + +#' user_agreements.create is a method defined in Arvados class. +#' +#' @usage arv$user_agreements.create(user_agreement, +#' 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 is a method defined in Arvados class. +#' +#' @usage arv$user_agreements.update(user_agreement, +#' 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 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 is a method defined in Arvados class. +#' +#' @usage arv$user_agreements.signatures(NULL) +#' @return UserAgreement object. +#' @name user_agreements.signatures +NULL + +#' 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 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 is a method defined in Arvados class. +#' +#' @usage arv$user_agreements.new(NULL) +#' @return UserAgreement object. +#' @name user_agreements.new +NULL + +#' user_agreements.show is a method defined in Arvados class. +#' +#' @usage arv$user_agreements.show(uuid) +#' @param uuid +#' @return UserAgreement object. +#' @name user_agreements.show +NULL + +#' user_agreements.destroy is a method defined in Arvados class. +#' +#' @usage arv$user_agreements.destroy(uuid) +#' @param uuid +#' @return UserAgreement object. +#' @name user_agreements.destroy 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", + + 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) + + }, + + 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 <- list(uuid = uuid) + 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) + + User$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, email = resource$email, + first_name = resource$first_name, last_name = resource$last_name, + identity_url = resource$identity_url, is_admin = resource$is_admin, + prefs = resource$prefs, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + is_active = resource$is_active, username = resource$username) + }, + + users.index = 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) + + UserList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + 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) + body <- user$toJSON() + + 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) + + User$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, email = resource$email, + first_name = resource$first_name, last_name = resource$last_name, + identity_url = resource$identity_url, is_admin = resource$is_admin, + prefs = resource$prefs, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + is_active = resource$is_active, username = resource$username) + }, + + 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 <- list(uuid = uuid) + body <- user$toJSON() + + 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) + + User$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, email = resource$email, + first_name = resource$first_name, last_name = resource$last_name, + identity_url = resource$identity_url, is_admin = resource$is_admin, + prefs = resource$prefs, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + is_active = resource$is_active, username = resource$username) + }, + + 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 <- list(uuid = uuid) + 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) + + User$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, email = resource$email, + first_name = resource$first_name, last_name = resource$last_name, + identity_url = resource$identity_url, is_admin = resource$is_admin, + prefs = resource$prefs, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + is_active = resource$is_active, username = resource$username) + }, + + 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) + + User$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, email = resource$email, + first_name = resource$first_name, last_name = resource$last_name, + identity_url = resource$identity_url, is_admin = resource$is_admin, + prefs = resource$prefs, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + is_active = resource$is_active, username = resource$username) + }, + + 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) + + User$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, email = resource$email, + first_name = resource$first_name, last_name = resource$last_name, + identity_url = resource$identity_url, is_admin = resource$is_admin, + prefs = resource$prefs, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + is_active = resource$is_active, username = resource$username) + }, + + 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 <- list(uuid = 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) + + User$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, email = resource$email, + first_name = resource$first_name, last_name = resource$last_name, + identity_url = resource$identity_url, is_admin = resource$is_admin, + prefs = resource$prefs, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + is_active = resource$is_active, username = resource$username) + }, + + 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) + + User$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, email = resource$email, + first_name = resource$first_name, last_name = resource$last_name, + identity_url = resource$identity_url, is_admin = resource$is_admin, + prefs = resource$prefs, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + is_active = resource$is_active, username = resource$username) + }, + + 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 <- list(uuid = 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) + + User$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, email = resource$email, + first_name = resource$first_name, last_name = resource$last_name, + identity_url = resource$identity_url, is_admin = resource$is_admin, + prefs = resource$prefs, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + is_active = resource$is_active, username = resource$username) + }, + + 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(uuid = uuid, 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) + + User$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, email = resource$email, + first_name = resource$first_name, last_name = resource$last_name, + identity_url = resource$identity_url, is_admin = resource$is_admin, + prefs = resource$prefs, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + is_active = resource$is_active, username = resource$username) + }, + + 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) + + UserList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + users.show = 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 <- list(uuid = uuid) + 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) + + User$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, email = resource$email, + first_name = resource$first_name, last_name = resource$last_name, + identity_url = resource$identity_url, is_admin = resource$is_admin, + prefs = resource$prefs, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + is_active = resource$is_active, username = resource$username) + }, + + users.destroy = 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 <- list(uuid = uuid) + 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) + + User$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, email = resource$email, + first_name = resource$first_name, last_name = resource$last_name, + identity_url = resource$identity_url, is_admin = resource$is_admin, + prefs = resource$prefs, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + is_active = resource$is_active, username = resource$username) + }, + + 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 <- list(uuid = uuid) + 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) + + ApiClientAuthorization$new(uuid = resource$uuid, + etag = resource$etag, api_token = resource$api_token, + api_client_id = resource$api_client_id, user_id = resource$user_id, + created_by_ip_address = resource$created_by_ip_address, + last_used_by_ip_address = resource$last_used_by_ip_address, + last_used_at = resource$last_used_at, expires_at = resource$expires_at, + created_at = resource$created_at, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + scopes = resource$scopes) + }, + + api_client_authorizations.index = 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) + + ApiClientAuthorizationList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + api_client_authorizations.create = function(api_client_authorization, + 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) + body <- api_client_authorization$toJSON() + + 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) + + ApiClientAuthorization$new(uuid = resource$uuid, + etag = resource$etag, api_token = resource$api_token, + api_client_id = resource$api_client_id, user_id = resource$user_id, + created_by_ip_address = resource$created_by_ip_address, + last_used_by_ip_address = resource$last_used_by_ip_address, + last_used_at = resource$last_used_at, expires_at = resource$expires_at, + created_at = resource$created_at, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + scopes = resource$scopes) + }, + + api_client_authorizations.update = function(api_client_authorization, 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 <- list(uuid = uuid) + body <- api_client_authorization$toJSON() + + 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) + + ApiClientAuthorization$new(uuid = resource$uuid, + etag = resource$etag, api_token = resource$api_token, + api_client_id = resource$api_client_id, user_id = resource$user_id, + created_by_ip_address = resource$created_by_ip_address, + last_used_by_ip_address = resource$last_used_by_ip_address, + last_used_at = resource$last_used_at, expires_at = resource$expires_at, + created_at = resource$created_at, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + scopes = resource$scopes) + }, + + 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 <- list(uuid = uuid) + 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) + + ApiClientAuthorization$new(uuid = resource$uuid, + etag = resource$etag, api_token = resource$api_token, + api_client_id = resource$api_client_id, user_id = resource$user_id, + created_by_ip_address = resource$created_by_ip_address, + last_used_by_ip_address = resource$last_used_by_ip_address, + last_used_at = resource$last_used_at, expires_at = resource$expires_at, + created_at = resource$created_at, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + scopes = resource$scopes) + }, + + 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) + + ApiClientAuthorization$new(uuid = resource$uuid, + etag = resource$etag, api_token = resource$api_token, + api_client_id = resource$api_client_id, user_id = resource$user_id, + created_by_ip_address = resource$created_by_ip_address, + last_used_by_ip_address = resource$last_used_by_ip_address, + last_used_at = resource$last_used_at, expires_at = resource$expires_at, + created_at = resource$created_at, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + scopes = resource$scopes) + }, + + 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) + + ApiClientAuthorization$new(uuid = resource$uuid, + etag = resource$etag, api_token = resource$api_token, + api_client_id = resource$api_client_id, user_id = resource$user_id, + created_by_ip_address = resource$created_by_ip_address, + last_used_by_ip_address = resource$last_used_by_ip_address, + last_used_at = resource$last_used_at, expires_at = resource$expires_at, + created_at = resource$created_at, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + scopes = resource$scopes) + }, + + 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) + + ApiClientAuthorizationList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + api_client_authorizations.show = 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 <- list(uuid = uuid) + 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) + + ApiClientAuthorization$new(uuid = resource$uuid, + etag = resource$etag, api_token = resource$api_token, + api_client_id = resource$api_client_id, user_id = resource$user_id, + created_by_ip_address = resource$created_by_ip_address, + last_used_by_ip_address = resource$last_used_by_ip_address, + last_used_at = resource$last_used_at, expires_at = resource$expires_at, + created_at = resource$created_at, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + scopes = resource$scopes) + }, + + api_client_authorizations.destroy = 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 <- list(uuid = uuid) + 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) + + ApiClientAuthorization$new(uuid = resource$uuid, + etag = resource$etag, api_token = resource$api_token, + api_client_id = resource$api_client_id, user_id = resource$user_id, + created_by_ip_address = resource$created_by_ip_address, + last_used_by_ip_address = resource$last_used_by_ip_address, + last_used_at = resource$last_used_at, expires_at = resource$expires_at, + created_at = resource$created_at, updated_at = resource$updated_at, + default_owner_uuid = resource$default_owner_uuid, + scopes = resource$scopes) + }, + + 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 <- list(uuid = uuid) + 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) + + ApiClient$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + url_prefix = resource$url_prefix, created_at = resource$created_at, + updated_at = resource$updated_at, is_trusted = resource$is_trusted) + }, + + api_clients.index = 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) + + ApiClientList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + api_clients.create = function(api_client, 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) + body <- api_client$toJSON() + + 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) + + ApiClient$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + url_prefix = resource$url_prefix, created_at = resource$created_at, + updated_at = resource$updated_at, is_trusted = resource$is_trusted) + }, + + api_clients.update = function(api_client, 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 <- list(uuid = uuid) + body <- api_client$toJSON() + + 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) + + ApiClient$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + url_prefix = resource$url_prefix, created_at = resource$created_at, + updated_at = resource$updated_at, is_trusted = resource$is_trusted) + }, + + 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 <- list(uuid = uuid) + 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) + + ApiClient$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + url_prefix = resource$url_prefix, created_at = resource$created_at, + updated_at = resource$updated_at, is_trusted = resource$is_trusted) + }, + + 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) + + ApiClientList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + api_clients.show = 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 <- list(uuid = uuid) + 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) + + ApiClient$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + url_prefix = resource$url_prefix, created_at = resource$created_at, + updated_at = resource$updated_at, is_trusted = resource$is_trusted) + }, + + api_clients.destroy = 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 <- list(uuid = uuid) + 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) + + ApiClient$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + url_prefix = resource$url_prefix, created_at = resource$created_at, + updated_at = resource$updated_at, is_trusted = resource$is_trusted) + }, + + 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 <- list(uuid = uuid) + 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) + + ContainerRequest$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_at = resource$modified_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + name = resource$name, description = resource$description, + properties = resource$properties, state = resource$state, + requesting_container_uuid = resource$requesting_container_uuid, + container_uuid = resource$container_uuid, + container_count_max = resource$container_count_max, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + container_image = resource$container_image, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + priority = resource$priority, expires_at = resource$expires_at, + filters = resource$filters, updated_at = resource$updated_at, + container_count = resource$container_count, + use_existing = resource$use_existing, scheduling_parameters = resource$scheduling_parameters, + output_uuid = resource$output_uuid, log_uuid = resource$log_uuid, + output_name = resource$output_name, output_ttl = resource$output_ttl) + }, + + container_requests.index = 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) + + ContainerRequestList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + container_requests.create = function(container_request, + 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) + body <- container_request$toJSON() + + 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) + + ContainerRequest$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_at = resource$modified_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + name = resource$name, description = resource$description, + properties = resource$properties, state = resource$state, + requesting_container_uuid = resource$requesting_container_uuid, + container_uuid = resource$container_uuid, + container_count_max = resource$container_count_max, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + container_image = resource$container_image, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + priority = resource$priority, expires_at = resource$expires_at, + filters = resource$filters, updated_at = resource$updated_at, + container_count = resource$container_count, + use_existing = resource$use_existing, scheduling_parameters = resource$scheduling_parameters, + output_uuid = resource$output_uuid, log_uuid = resource$log_uuid, + output_name = resource$output_name, output_ttl = resource$output_ttl) + }, + + container_requests.update = function(container_request, 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 <- list(uuid = uuid) + body <- container_request$toJSON() + + 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) + + ContainerRequest$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_at = resource$modified_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + name = resource$name, description = resource$description, + properties = resource$properties, state = resource$state, + requesting_container_uuid = resource$requesting_container_uuid, + container_uuid = resource$container_uuid, + container_count_max = resource$container_count_max, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + container_image = resource$container_image, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + priority = resource$priority, expires_at = resource$expires_at, + filters = resource$filters, updated_at = resource$updated_at, + container_count = resource$container_count, + use_existing = resource$use_existing, scheduling_parameters = resource$scheduling_parameters, + output_uuid = resource$output_uuid, log_uuid = resource$log_uuid, + output_name = resource$output_name, output_ttl = resource$output_ttl) + }, + + 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 <- list(uuid = uuid) + 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) + + ContainerRequest$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_at = resource$modified_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + name = resource$name, description = resource$description, + properties = resource$properties, state = resource$state, + requesting_container_uuid = resource$requesting_container_uuid, + container_uuid = resource$container_uuid, + container_count_max = resource$container_count_max, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + container_image = resource$container_image, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + priority = resource$priority, expires_at = resource$expires_at, + filters = resource$filters, updated_at = resource$updated_at, + container_count = resource$container_count, + use_existing = resource$use_existing, scheduling_parameters = resource$scheduling_parameters, + output_uuid = resource$output_uuid, log_uuid = resource$log_uuid, + output_name = resource$output_name, output_ttl = resource$output_ttl) + }, + + 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) + + ContainerRequestList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + container_requests.show = 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 <- list(uuid = uuid) + 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) + + ContainerRequest$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_at = resource$modified_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + name = resource$name, description = resource$description, + properties = resource$properties, state = resource$state, + requesting_container_uuid = resource$requesting_container_uuid, + container_uuid = resource$container_uuid, + container_count_max = resource$container_count_max, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + container_image = resource$container_image, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + priority = resource$priority, expires_at = resource$expires_at, + filters = resource$filters, updated_at = resource$updated_at, + container_count = resource$container_count, + use_existing = resource$use_existing, scheduling_parameters = resource$scheduling_parameters, + output_uuid = resource$output_uuid, log_uuid = resource$log_uuid, + output_name = resource$output_name, output_ttl = resource$output_ttl) + }, + + container_requests.destroy = 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 <- list(uuid = uuid) + 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) + + ContainerRequest$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_at = resource$modified_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + name = resource$name, description = resource$description, + properties = resource$properties, state = resource$state, + requesting_container_uuid = resource$requesting_container_uuid, + container_uuid = resource$container_uuid, + container_count_max = resource$container_count_max, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + container_image = resource$container_image, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + priority = resource$priority, expires_at = resource$expires_at, + filters = resource$filters, updated_at = resource$updated_at, + container_count = resource$container_count, + use_existing = resource$use_existing, scheduling_parameters = resource$scheduling_parameters, + output_uuid = resource$output_uuid, log_uuid = resource$log_uuid, + output_name = resource$output_name, output_ttl = resource$output_ttl) + }, + + 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 <- list(uuid = uuid) + 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) + + AuthorizedKey$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + key_type = resource$key_type, authorized_user_uuid = resource$authorized_user_uuid, + public_key = resource$public_key, expires_at = resource$expires_at, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + authorized_keys.index = 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) + + AuthorizedKeyList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + authorized_keys.create = function(authorized_key, + 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) + body <- authorized_key$toJSON() + + 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) + + AuthorizedKey$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + key_type = resource$key_type, authorized_user_uuid = resource$authorized_user_uuid, + public_key = resource$public_key, expires_at = resource$expires_at, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + authorized_keys.update = function(authorized_key, 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 <- list(uuid = uuid) + body <- authorized_key$toJSON() + + 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) + + AuthorizedKey$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + key_type = resource$key_type, authorized_user_uuid = resource$authorized_user_uuid, + public_key = resource$public_key, expires_at = resource$expires_at, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + AuthorizedKey$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + key_type = resource$key_type, authorized_user_uuid = resource$authorized_user_uuid, + public_key = resource$public_key, expires_at = resource$expires_at, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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) + + AuthorizedKeyList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + authorized_keys.show = 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 <- list(uuid = uuid) + 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) + + AuthorizedKey$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + key_type = resource$key_type, authorized_user_uuid = resource$authorized_user_uuid, + public_key = resource$public_key, expires_at = resource$expires_at, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + authorized_keys.destroy = 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 <- list(uuid = uuid) + 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) + + AuthorizedKey$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + key_type = resource$key_type, authorized_user_uuid = resource$authorized_user_uuid, + public_key = resource$public_key, expires_at = resource$expires_at, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + collection <- Collection$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + + collection$setRESTService(private$REST) + collection + }, + + collections.index = 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) + + CollectionList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + 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) + body <- collection$toJSON() + + 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) + + collection <- Collection$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + + collection$setRESTService(private$REST) + collection + }, + + 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 <- list(uuid = uuid) + body <- collection$toJSON() + + 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) + + collection <- Collection$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + + collection$setRESTService(private$REST) + collection + }, + + 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 <- list(uuid = uuid) + 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) + + collection <- Collection$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + + collection$setRESTService(private$REST) + collection + }, + + 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 <- list(uuid = uuid) + 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) + + collection <- Collection$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + + collection$setRESTService(private$REST) + collection + }, + + 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 <- list(uuid = uuid) + 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) + + collection <- Collection$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + + collection$setRESTService(private$REST) + collection + }, + + 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 <- list(uuid = 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) + + collection <- Collection$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + + collection$setRESTService(private$REST) + collection + }, + + 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 <- list(uuid = 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) + + collection <- Collection$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + + collection$setRESTService(private$REST) + collection + }, + + 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) + + CollectionList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + collections.show = 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 <- list(uuid = uuid) + 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) + + collection <- Collection$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + + collection$setRESTService(private$REST) + collection + }, + + collections.destroy = 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 <- list(uuid = uuid) + 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) + + collection <- Collection$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + + collection$setRESTService(private$REST) + collection + }, + + 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 <- list(uuid = uuid) + 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) + + Container$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + state = resource$state, started_at = resource$started_at, + finished_at = resource$finished_at, log = resource$log, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + output = resource$output, container_image = resource$container_image, + progress = resource$progress, priority = resource$priority, + updated_at = resource$updated_at, exit_code = resource$exit_code, + auth_uuid = resource$auth_uuid, locked_by_uuid = resource$locked_by_uuid, + scheduling_parameters = resource$scheduling_parameters) + }, + + containers.index = 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) + + ContainerList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + 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) + body <- container$toJSON() + + 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) + + Container$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + state = resource$state, started_at = resource$started_at, + finished_at = resource$finished_at, log = resource$log, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + output = resource$output, container_image = resource$container_image, + progress = resource$progress, priority = resource$priority, + updated_at = resource$updated_at, exit_code = resource$exit_code, + auth_uuid = resource$auth_uuid, locked_by_uuid = resource$locked_by_uuid, + scheduling_parameters = resource$scheduling_parameters) + }, + + 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 <- list(uuid = uuid) + body <- container$toJSON() + + 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) + + Container$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + state = resource$state, started_at = resource$started_at, + finished_at = resource$finished_at, log = resource$log, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + output = resource$output, container_image = resource$container_image, + progress = resource$progress, priority = resource$priority, + updated_at = resource$updated_at, exit_code = resource$exit_code, + auth_uuid = resource$auth_uuid, locked_by_uuid = resource$locked_by_uuid, + scheduling_parameters = resource$scheduling_parameters) + }, + + 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 <- list(uuid = uuid) + 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) + + Container$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + state = resource$state, started_at = resource$started_at, + finished_at = resource$finished_at, log = resource$log, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + output = resource$output, container_image = resource$container_image, + progress = resource$progress, priority = resource$priority, + updated_at = resource$updated_at, exit_code = resource$exit_code, + auth_uuid = resource$auth_uuid, locked_by_uuid = resource$locked_by_uuid, + scheduling_parameters = resource$scheduling_parameters) + }, + + 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 <- list(uuid = uuid) + 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) + + Container$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + state = resource$state, started_at = resource$started_at, + finished_at = resource$finished_at, log = resource$log, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + output = resource$output, container_image = resource$container_image, + progress = resource$progress, priority = resource$priority, + updated_at = resource$updated_at, exit_code = resource$exit_code, + auth_uuid = resource$auth_uuid, locked_by_uuid = resource$locked_by_uuid, + scheduling_parameters = resource$scheduling_parameters) + }, + + 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 <- list(uuid = 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) + + Container$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + state = resource$state, started_at = resource$started_at, + finished_at = resource$finished_at, log = resource$log, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + output = resource$output, container_image = resource$container_image, + progress = resource$progress, priority = resource$priority, + updated_at = resource$updated_at, exit_code = resource$exit_code, + auth_uuid = resource$auth_uuid, locked_by_uuid = resource$locked_by_uuid, + scheduling_parameters = resource$scheduling_parameters) + }, + + 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 <- list(uuid = 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) + + Container$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + state = resource$state, started_at = resource$started_at, + finished_at = resource$finished_at, log = resource$log, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + output = resource$output, container_image = resource$container_image, + progress = resource$progress, priority = resource$priority, + updated_at = resource$updated_at, exit_code = resource$exit_code, + auth_uuid = resource$auth_uuid, locked_by_uuid = resource$locked_by_uuid, + scheduling_parameters = resource$scheduling_parameters) + }, + + 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) + + Container$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + state = resource$state, started_at = resource$started_at, + finished_at = resource$finished_at, log = resource$log, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + output = resource$output, container_image = resource$container_image, + progress = resource$progress, priority = resource$priority, + updated_at = resource$updated_at, exit_code = resource$exit_code, + auth_uuid = resource$auth_uuid, locked_by_uuid = resource$locked_by_uuid, + scheduling_parameters = resource$scheduling_parameters) + }, + + 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) + + ContainerList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + containers.show = 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 <- list(uuid = uuid) + 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) + + Container$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + state = resource$state, started_at = resource$started_at, + finished_at = resource$finished_at, log = resource$log, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + output = resource$output, container_image = resource$container_image, + progress = resource$progress, priority = resource$priority, + updated_at = resource$updated_at, exit_code = resource$exit_code, + auth_uuid = resource$auth_uuid, locked_by_uuid = resource$locked_by_uuid, + scheduling_parameters = resource$scheduling_parameters) + }, + + containers.destroy = 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 <- list(uuid = uuid) + 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) + + Container$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + state = resource$state, started_at = resource$started_at, + finished_at = resource$finished_at, log = resource$log, + environment = resource$environment, cwd = resource$cwd, + command = resource$command, output_path = resource$output_path, + mounts = resource$mounts, runtime_constraints = resource$runtime_constraints, + output = resource$output, container_image = resource$container_image, + progress = resource$progress, priority = resource$priority, + updated_at = resource$updated_at, exit_code = resource$exit_code, + auth_uuid = resource$auth_uuid, locked_by_uuid = resource$locked_by_uuid, + scheduling_parameters = resource$scheduling_parameters) + }, + + 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 <- list(uuid = uuid) + 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) + + Human$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, properties = resource$properties, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + humans.index = 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) + + HumanList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + 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) + body <- human$toJSON() + + 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) + + Human$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, properties = resource$properties, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + body <- human$toJSON() + + 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) + + Human$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, properties = resource$properties, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + Human$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, properties = resource$properties, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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) + + HumanList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + humans.show = 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 <- list(uuid = uuid) + 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) + + Human$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, properties = resource$properties, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + humans.destroy = 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 <- list(uuid = uuid) + 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) + + Human$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, properties = resource$properties, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + JobTask$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, job_uuid = resource$job_uuid, + sequence = resource$sequence, parameters = resource$parameters, + output = resource$output, progress = resource$progress, + success = resource$success, created_at = resource$created_at, + updated_at = resource$updated_at, created_by_job_task_uuid = resource$created_by_job_task_uuid, + qsequence = resource$qsequence, started_at = resource$started_at, + finished_at = resource$finished_at) + }, + + job_tasks.index = 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) + + JobTaskList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + job_tasks.create = function(job_task, 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) + body <- job_task$toJSON() + + 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) + + JobTask$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, job_uuid = resource$job_uuid, + sequence = resource$sequence, parameters = resource$parameters, + output = resource$output, progress = resource$progress, + success = resource$success, created_at = resource$created_at, + updated_at = resource$updated_at, created_by_job_task_uuid = resource$created_by_job_task_uuid, + qsequence = resource$qsequence, started_at = resource$started_at, + finished_at = resource$finished_at) + }, + + job_tasks.update = function(job_task, 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 <- list(uuid = uuid) + body <- job_task$toJSON() + + 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) + + JobTask$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, job_uuid = resource$job_uuid, + sequence = resource$sequence, parameters = resource$parameters, + output = resource$output, progress = resource$progress, + success = resource$success, created_at = resource$created_at, + updated_at = resource$updated_at, created_by_job_task_uuid = resource$created_by_job_task_uuid, + qsequence = resource$qsequence, started_at = resource$started_at, + finished_at = resource$finished_at) + }, + + 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 <- list(uuid = uuid) + 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) + + JobTask$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, job_uuid = resource$job_uuid, + sequence = resource$sequence, parameters = resource$parameters, + output = resource$output, progress = resource$progress, + success = resource$success, created_at = resource$created_at, + updated_at = resource$updated_at, created_by_job_task_uuid = resource$created_by_job_task_uuid, + qsequence = resource$qsequence, started_at = resource$started_at, + finished_at = resource$finished_at) + }, + + 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) + + JobTaskList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + job_tasks.show = 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 <- list(uuid = uuid) + 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) + + JobTask$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, job_uuid = resource$job_uuid, + sequence = resource$sequence, parameters = resource$parameters, + output = resource$output, progress = resource$progress, + success = resource$success, created_at = resource$created_at, + updated_at = resource$updated_at, created_by_job_task_uuid = resource$created_by_job_task_uuid, + qsequence = resource$qsequence, started_at = resource$started_at, + finished_at = resource$finished_at) + }, + + job_tasks.destroy = 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 <- list(uuid = uuid) + 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) + + JobTask$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, job_uuid = resource$job_uuid, + sequence = resource$sequence, parameters = resource$parameters, + output = resource$output, progress = resource$progress, + success = resource$success, created_at = resource$created_at, + updated_at = resource$updated_at, created_by_job_task_uuid = resource$created_by_job_task_uuid, + qsequence = resource$qsequence, started_at = resource$started_at, + finished_at = resource$finished_at) + }, + + 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 <- list(uuid = uuid) + 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) + + Link$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, tail_uuid = resource$tail_uuid, + link_class = resource$link_class, name = resource$name, + head_uuid = resource$head_uuid, properties = resource$properties, + updated_at = resource$updated_at) + }, + + links.index = 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) + + LinkList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + 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) + body <- link$toJSON() + + 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) + + Link$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, tail_uuid = resource$tail_uuid, + link_class = resource$link_class, name = resource$name, + head_uuid = resource$head_uuid, properties = resource$properties, + updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + body <- link$toJSON() + + 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) + + Link$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, tail_uuid = resource$tail_uuid, + link_class = resource$link_class, name = resource$name, + head_uuid = resource$head_uuid, properties = resource$properties, + updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + Link$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, tail_uuid = resource$tail_uuid, + link_class = resource$link_class, name = resource$name, + head_uuid = resource$head_uuid, properties = resource$properties, + updated_at = resource$updated_at) + }, + + 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) + + LinkList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + links.show = 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 <- list(uuid = uuid) + 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) + + Link$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, tail_uuid = resource$tail_uuid, + link_class = resource$link_class, name = resource$name, + head_uuid = resource$head_uuid, properties = resource$properties, + updated_at = resource$updated_at) + }, + + links.destroy = 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 <- list(uuid = uuid) + 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) + + Link$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, tail_uuid = resource$tail_uuid, + link_class = resource$link_class, name = resource$name, + head_uuid = resource$head_uuid, properties = resource$properties, + updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + Link$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, tail_uuid = resource$tail_uuid, + link_class = resource$link_class, name = resource$name, + head_uuid = resource$head_uuid, properties = resource$properties, + updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + Job$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, submit_id = resource$submit_id, + script = resource$script, script_version = resource$script_version, + script_parameters = resource$script_parameters, + cancelled_by_client_uuid = resource$cancelled_by_client_uuid, + cancelled_by_user_uuid = resource$cancelled_by_user_uuid, + cancelled_at = resource$cancelled_at, started_at = resource$started_at, + finished_at = resource$finished_at, running = resource$running, + success = resource$success, output = resource$output, + created_at = resource$created_at, updated_at = resource$updated_at, + is_locked_by_uuid = resource$is_locked_by_uuid, + log = resource$log, tasks_summary = resource$tasks_summary, + runtime_constraints = resource$runtime_constraints, + nondeterministic = resource$nondeterministic, + repository = resource$repository, supplied_script_version = resource$supplied_script_version, + docker_image_locator = resource$docker_image_locator, + priority = resource$priority, description = resource$description, + state = resource$state, arvados_sdk_version = resource$arvados_sdk_version, + components = resource$components, script_parameters_digest = resource$script_parameters_digest) + }, + + jobs.index = 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) + + JobList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + 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) + body <- job$toJSON() + + 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) + + Job$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, submit_id = resource$submit_id, + script = resource$script, script_version = resource$script_version, + script_parameters = resource$script_parameters, + cancelled_by_client_uuid = resource$cancelled_by_client_uuid, + cancelled_by_user_uuid = resource$cancelled_by_user_uuid, + cancelled_at = resource$cancelled_at, started_at = resource$started_at, + finished_at = resource$finished_at, running = resource$running, + success = resource$success, output = resource$output, + created_at = resource$created_at, updated_at = resource$updated_at, + is_locked_by_uuid = resource$is_locked_by_uuid, + log = resource$log, tasks_summary = resource$tasks_summary, + runtime_constraints = resource$runtime_constraints, + nondeterministic = resource$nondeterministic, + repository = resource$repository, supplied_script_version = resource$supplied_script_version, + docker_image_locator = resource$docker_image_locator, + priority = resource$priority, description = resource$description, + state = resource$state, arvados_sdk_version = resource$arvados_sdk_version, + components = resource$components, script_parameters_digest = resource$script_parameters_digest) + }, + + 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 <- list(uuid = uuid) + body <- job$toJSON() + + 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) + + Job$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, submit_id = resource$submit_id, + script = resource$script, script_version = resource$script_version, + script_parameters = resource$script_parameters, + cancelled_by_client_uuid = resource$cancelled_by_client_uuid, + cancelled_by_user_uuid = resource$cancelled_by_user_uuid, + cancelled_at = resource$cancelled_at, started_at = resource$started_at, + finished_at = resource$finished_at, running = resource$running, + success = resource$success, output = resource$output, + created_at = resource$created_at, updated_at = resource$updated_at, + is_locked_by_uuid = resource$is_locked_by_uuid, + log = resource$log, tasks_summary = resource$tasks_summary, + runtime_constraints = resource$runtime_constraints, + nondeterministic = resource$nondeterministic, + repository = resource$repository, supplied_script_version = resource$supplied_script_version, + docker_image_locator = resource$docker_image_locator, + priority = resource$priority, description = resource$description, + state = resource$state, arvados_sdk_version = resource$arvados_sdk_version, + components = resource$components, script_parameters_digest = resource$script_parameters_digest) + }, + + 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 <- list(uuid = uuid) + 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) + + Job$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, submit_id = resource$submit_id, + script = resource$script, script_version = resource$script_version, + script_parameters = resource$script_parameters, + cancelled_by_client_uuid = resource$cancelled_by_client_uuid, + cancelled_by_user_uuid = resource$cancelled_by_user_uuid, + cancelled_at = resource$cancelled_at, started_at = resource$started_at, + finished_at = resource$finished_at, running = resource$running, + success = resource$success, output = resource$output, + created_at = resource$created_at, updated_at = resource$updated_at, + is_locked_by_uuid = resource$is_locked_by_uuid, + log = resource$log, tasks_summary = resource$tasks_summary, + runtime_constraints = resource$runtime_constraints, + nondeterministic = resource$nondeterministic, + repository = resource$repository, supplied_script_version = resource$supplied_script_version, + docker_image_locator = resource$docker_image_locator, + priority = resource$priority, description = resource$description, + state = resource$state, arvados_sdk_version = resource$arvados_sdk_version, + components = resource$components, script_parameters_digest = resource$script_parameters_digest) + }, -#' 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") -} + 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) + + Job$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, submit_id = resource$submit_id, + script = resource$script, script_version = resource$script_version, + script_parameters = resource$script_parameters, + cancelled_by_client_uuid = resource$cancelled_by_client_uuid, + cancelled_by_user_uuid = resource$cancelled_by_user_uuid, + cancelled_at = resource$cancelled_at, started_at = resource$started_at, + finished_at = resource$finished_at, running = resource$running, + success = resource$success, output = resource$output, + created_at = resource$created_at, updated_at = resource$updated_at, + is_locked_by_uuid = resource$is_locked_by_uuid, + log = resource$log, tasks_summary = resource$tasks_summary, + runtime_constraints = resource$runtime_constraints, + nondeterministic = resource$nondeterministic, + repository = resource$repository, supplied_script_version = resource$supplied_script_version, + docker_image_locator = resource$docker_image_locator, + priority = resource$priority, description = resource$description, + state = resource$state, arvados_sdk_version = resource$arvados_sdk_version, + components = resource$components, script_parameters_digest = resource$script_parameters_digest) + }, + + 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) + + Job$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, submit_id = resource$submit_id, + script = resource$script, script_version = resource$script_version, + script_parameters = resource$script_parameters, + cancelled_by_client_uuid = resource$cancelled_by_client_uuid, + cancelled_by_user_uuid = resource$cancelled_by_user_uuid, + cancelled_at = resource$cancelled_at, started_at = resource$started_at, + finished_at = resource$finished_at, running = resource$running, + success = resource$success, output = resource$output, + created_at = resource$created_at, updated_at = resource$updated_at, + is_locked_by_uuid = resource$is_locked_by_uuid, + log = resource$log, tasks_summary = resource$tasks_summary, + runtime_constraints = resource$runtime_constraints, + nondeterministic = resource$nondeterministic, + repository = resource$repository, supplied_script_version = resource$supplied_script_version, + docker_image_locator = resource$docker_image_locator, + priority = resource$priority, description = resource$description, + state = resource$state, arvados_sdk_version = resource$arvados_sdk_version, + components = resource$components, script_parameters_digest = resource$script_parameters_digest) + }, + + 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 <- list(uuid = 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) + + Job$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, submit_id = resource$submit_id, + script = resource$script, script_version = resource$script_version, + script_parameters = resource$script_parameters, + cancelled_by_client_uuid = resource$cancelled_by_client_uuid, + cancelled_by_user_uuid = resource$cancelled_by_user_uuid, + cancelled_at = resource$cancelled_at, started_at = resource$started_at, + finished_at = resource$finished_at, running = resource$running, + success = resource$success, output = resource$output, + created_at = resource$created_at, updated_at = resource$updated_at, + is_locked_by_uuid = resource$is_locked_by_uuid, + log = resource$log, tasks_summary = resource$tasks_summary, + runtime_constraints = resource$runtime_constraints, + nondeterministic = resource$nondeterministic, + repository = resource$repository, supplied_script_version = resource$supplied_script_version, + docker_image_locator = resource$docker_image_locator, + priority = resource$priority, description = resource$description, + state = resource$state, arvados_sdk_version = resource$arvados_sdk_version, + components = resource$components, script_parameters_digest = resource$script_parameters_digest) + }, + + 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 <- list(uuid = 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) + + Job$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, submit_id = resource$submit_id, + script = resource$script, script_version = resource$script_version, + script_parameters = resource$script_parameters, + cancelled_by_client_uuid = resource$cancelled_by_client_uuid, + cancelled_by_user_uuid = resource$cancelled_by_user_uuid, + cancelled_at = resource$cancelled_at, started_at = resource$started_at, + finished_at = resource$finished_at, running = resource$running, + success = resource$success, output = resource$output, + created_at = resource$created_at, updated_at = resource$updated_at, + is_locked_by_uuid = resource$is_locked_by_uuid, + log = resource$log, tasks_summary = resource$tasks_summary, + runtime_constraints = resource$runtime_constraints, + nondeterministic = resource$nondeterministic, + repository = resource$repository, supplied_script_version = resource$supplied_script_version, + docker_image_locator = resource$docker_image_locator, + priority = resource$priority, description = resource$description, + state = resource$state, arvados_sdk_version = resource$arvados_sdk_version, + components = resource$components, script_parameters_digest = resource$script_parameters_digest) + }, + + 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) + + JobList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + jobs.show = 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 <- list(uuid = uuid) + 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) + + Job$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, submit_id = resource$submit_id, + script = resource$script, script_version = resource$script_version, + script_parameters = resource$script_parameters, + cancelled_by_client_uuid = resource$cancelled_by_client_uuid, + cancelled_by_user_uuid = resource$cancelled_by_user_uuid, + cancelled_at = resource$cancelled_at, started_at = resource$started_at, + finished_at = resource$finished_at, running = resource$running, + success = resource$success, output = resource$output, + created_at = resource$created_at, updated_at = resource$updated_at, + is_locked_by_uuid = resource$is_locked_by_uuid, + log = resource$log, tasks_summary = resource$tasks_summary, + runtime_constraints = resource$runtime_constraints, + nondeterministic = resource$nondeterministic, + repository = resource$repository, supplied_script_version = resource$supplied_script_version, + docker_image_locator = resource$docker_image_locator, + priority = resource$priority, description = resource$description, + state = resource$state, arvados_sdk_version = resource$arvados_sdk_version, + components = resource$components, script_parameters_digest = resource$script_parameters_digest) + }, + + jobs.destroy = 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 <- list(uuid = uuid) + 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) + + Job$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, submit_id = resource$submit_id, + script = resource$script, script_version = resource$script_version, + script_parameters = resource$script_parameters, + cancelled_by_client_uuid = resource$cancelled_by_client_uuid, + cancelled_by_user_uuid = resource$cancelled_by_user_uuid, + cancelled_at = resource$cancelled_at, started_at = resource$started_at, + finished_at = resource$finished_at, running = resource$running, + success = resource$success, output = resource$output, + created_at = resource$created_at, updated_at = resource$updated_at, + is_locked_by_uuid = resource$is_locked_by_uuid, + log = resource$log, tasks_summary = resource$tasks_summary, + runtime_constraints = resource$runtime_constraints, + nondeterministic = resource$nondeterministic, + repository = resource$repository, supplied_script_version = resource$supplied_script_version, + docker_image_locator = resource$docker_image_locator, + priority = resource$priority, description = resource$description, + state = resource$state, arvados_sdk_version = resource$arvados_sdk_version, + components = resource$components, script_parameters_digest = resource$script_parameters_digest) + }, + + 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 <- list(uuid = uuid) + 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) + + KeepDisk$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, ping_secret = resource$ping_secret, + node_uuid = resource$node_uuid, filesystem_uuid = resource$filesystem_uuid, + bytes_total = resource$bytes_total, bytes_free = resource$bytes_free, + is_readable = resource$is_readable, is_writable = resource$is_writable, + last_read_at = resource$last_read_at, last_write_at = resource$last_write_at, + last_ping_at = resource$last_ping_at, created_at = resource$created_at, + updated_at = resource$updated_at, keep_service_uuid = resource$keep_service_uuid) + }, + + keep_disks.index = 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) + + KeepDiskList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + keep_disks.create = function(keep_disk, 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) + body <- keep_disk$toJSON() + + 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) + + KeepDisk$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, ping_secret = resource$ping_secret, + node_uuid = resource$node_uuid, filesystem_uuid = resource$filesystem_uuid, + bytes_total = resource$bytes_total, bytes_free = resource$bytes_free, + is_readable = resource$is_readable, is_writable = resource$is_writable, + last_read_at = resource$last_read_at, last_write_at = resource$last_write_at, + last_ping_at = resource$last_ping_at, created_at = resource$created_at, + updated_at = resource$updated_at, keep_service_uuid = resource$keep_service_uuid) + }, + + keep_disks.update = function(keep_disk, 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 <- list(uuid = uuid) + body <- keep_disk$toJSON() + + 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) + + KeepDisk$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, ping_secret = resource$ping_secret, + node_uuid = resource$node_uuid, filesystem_uuid = resource$filesystem_uuid, + bytes_total = resource$bytes_total, bytes_free = resource$bytes_free, + is_readable = resource$is_readable, is_writable = resource$is_writable, + last_read_at = resource$last_read_at, last_write_at = resource$last_write_at, + last_ping_at = resource$last_ping_at, created_at = resource$created_at, + updated_at = resource$updated_at, keep_service_uuid = resource$keep_service_uuid) + }, + + 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 <- list(uuid = uuid) + 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) + + KeepDisk$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, ping_secret = resource$ping_secret, + node_uuid = resource$node_uuid, filesystem_uuid = resource$filesystem_uuid, + bytes_total = resource$bytes_total, bytes_free = resource$bytes_free, + is_readable = resource$is_readable, is_writable = resource$is_writable, + last_read_at = resource$last_read_at, last_write_at = resource$last_write_at, + last_ping_at = resource$last_ping_at, created_at = resource$created_at, + updated_at = resource$updated_at, keep_service_uuid = resource$keep_service_uuid) + }, + + 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) + + KeepDisk$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, ping_secret = resource$ping_secret, + node_uuid = resource$node_uuid, filesystem_uuid = resource$filesystem_uuid, + bytes_total = resource$bytes_total, bytes_free = resource$bytes_free, + is_readable = resource$is_readable, is_writable = resource$is_writable, + last_read_at = resource$last_read_at, last_write_at = resource$last_write_at, + last_ping_at = resource$last_ping_at, created_at = resource$created_at, + updated_at = resource$updated_at, keep_service_uuid = resource$keep_service_uuid) + }, + + 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) + + KeepDiskList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + keep_disks.show = 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 <- list(uuid = uuid) + 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) + + KeepDisk$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, ping_secret = resource$ping_secret, + node_uuid = resource$node_uuid, filesystem_uuid = resource$filesystem_uuid, + bytes_total = resource$bytes_total, bytes_free = resource$bytes_free, + is_readable = resource$is_readable, is_writable = resource$is_writable, + last_read_at = resource$last_read_at, last_write_at = resource$last_write_at, + last_ping_at = resource$last_ping_at, created_at = resource$created_at, + updated_at = resource$updated_at, keep_service_uuid = resource$keep_service_uuid) + }, + + keep_disks.destroy = 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 <- list(uuid = uuid) + 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) + + KeepDisk$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, ping_secret = resource$ping_secret, + node_uuid = resource$node_uuid, filesystem_uuid = resource$filesystem_uuid, + bytes_total = resource$bytes_total, bytes_free = resource$bytes_free, + is_readable = resource$is_readable, is_writable = resource$is_writable, + last_read_at = resource$last_read_at, last_write_at = resource$last_write_at, + last_ping_at = resource$last_ping_at, created_at = resource$created_at, + updated_at = resource$updated_at, keep_service_uuid = resource$keep_service_uuid) + }, + + 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 <- list(uuid = uuid) + 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) + + KeepService$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, service_host = resource$service_host, + service_port = resource$service_port, service_ssl_flag = resource$service_ssl_flag, + service_type = resource$service_type, created_at = resource$created_at, + updated_at = resource$updated_at, read_only = resource$read_only) + }, + + keep_services.index = 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) + + KeepServiceList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + keep_services.create = function(keep_service, + 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) + body <- keep_service$toJSON() + + 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) + + KeepService$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, service_host = resource$service_host, + service_port = resource$service_port, service_ssl_flag = resource$service_ssl_flag, + service_type = resource$service_type, created_at = resource$created_at, + updated_at = resource$updated_at, read_only = resource$read_only) + }, + + keep_services.update = function(keep_service, 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 <- list(uuid = uuid) + body <- keep_service$toJSON() + + 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) + + KeepService$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, service_host = resource$service_host, + service_port = resource$service_port, service_ssl_flag = resource$service_ssl_flag, + service_type = resource$service_type, created_at = resource$created_at, + updated_at = resource$updated_at, read_only = resource$read_only) + }, + + 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 <- list(uuid = uuid) + 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) + + KeepService$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, service_host = resource$service_host, + service_port = resource$service_port, service_ssl_flag = resource$service_ssl_flag, + service_type = resource$service_type, created_at = resource$created_at, + updated_at = resource$updated_at, read_only = resource$read_only) + }, + + 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) + + KeepService$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, service_host = resource$service_host, + service_port = resource$service_port, service_ssl_flag = resource$service_ssl_flag, + service_type = resource$service_type, created_at = resource$created_at, + updated_at = resource$updated_at, read_only = resource$read_only) + }, + + 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) + + KeepServiceList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + keep_services.show = 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 <- list(uuid = uuid) + 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) + + KeepService$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, service_host = resource$service_host, + service_port = resource$service_port, service_ssl_flag = resource$service_ssl_flag, + service_type = resource$service_type, created_at = resource$created_at, + updated_at = resource$updated_at, read_only = resource$read_only) + }, + + keep_services.destroy = 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 <- list(uuid = uuid) + 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) + + KeepService$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, service_host = resource$service_host, + service_port = resource$service_port, service_ssl_flag = resource$service_ssl_flag, + service_type = resource$service_type, created_at = resource$created_at, + updated_at = resource$updated_at, read_only = resource$read_only) + }, + + 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 <- list(uuid = uuid) + 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) + + PipelineTemplate$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + components = resource$components, updated_at = resource$updated_at, + description = resource$description) + }, + + pipeline_templates.index = 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) + + PipelineTemplateList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + pipeline_templates.create = function(pipeline_template, + 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) + body <- pipeline_template$toJSON() + + 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) + + PipelineTemplate$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + components = resource$components, updated_at = resource$updated_at, + description = resource$description) + }, + + pipeline_templates.update = function(pipeline_template, 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 <- list(uuid = uuid) + body <- pipeline_template$toJSON() + + 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) + + PipelineTemplate$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + components = resource$components, updated_at = resource$updated_at, + description = resource$description) + }, + + 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 <- list(uuid = uuid) + 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) + + PipelineTemplate$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + components = resource$components, updated_at = resource$updated_at, + description = resource$description) + }, + + 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) + + PipelineTemplateList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + pipeline_templates.show = 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 <- list(uuid = uuid) + 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) + + PipelineTemplate$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + components = resource$components, updated_at = resource$updated_at, + description = resource$description) + }, + + pipeline_templates.destroy = 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 <- list(uuid = uuid) + 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) + + PipelineTemplate$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + components = resource$components, updated_at = resource$updated_at, + description = resource$description) + }, + + 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 <- list(uuid = uuid) + 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) + + PipelineInstance$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, pipeline_template_uuid = resource$pipeline_template_uuid, + name = resource$name, components = resource$components, + updated_at = resource$updated_at, properties = resource$properties, + state = resource$state, components_summary = resource$components_summary, + started_at = resource$started_at, finished_at = resource$finished_at, + description = resource$description) + }, + + pipeline_instances.index = 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) + + PipelineInstanceList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + pipeline_instances.create = function(pipeline_instance, + 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) + body <- pipeline_instance$toJSON() + + 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) + + PipelineInstance$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, pipeline_template_uuid = resource$pipeline_template_uuid, + name = resource$name, components = resource$components, + updated_at = resource$updated_at, properties = resource$properties, + state = resource$state, components_summary = resource$components_summary, + started_at = resource$started_at, finished_at = resource$finished_at, + description = resource$description) + }, + + pipeline_instances.update = function(pipeline_instance, 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 <- list(uuid = uuid) + body <- pipeline_instance$toJSON() + + 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) + + PipelineInstance$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, pipeline_template_uuid = resource$pipeline_template_uuid, + name = resource$name, components = resource$components, + updated_at = resource$updated_at, properties = resource$properties, + state = resource$state, components_summary = resource$components_summary, + started_at = resource$started_at, finished_at = resource$finished_at, + description = resource$description) + }, + + 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 <- list(uuid = uuid) + 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) + + PipelineInstance$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, pipeline_template_uuid = resource$pipeline_template_uuid, + name = resource$name, components = resource$components, + updated_at = resource$updated_at, properties = resource$properties, + state = resource$state, components_summary = resource$components_summary, + started_at = resource$started_at, finished_at = resource$finished_at, + description = resource$description) + }, + + 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 <- list(uuid = 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) + + PipelineInstance$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, pipeline_template_uuid = resource$pipeline_template_uuid, + name = resource$name, components = resource$components, + updated_at = resource$updated_at, properties = resource$properties, + state = resource$state, components_summary = resource$components_summary, + started_at = resource$started_at, finished_at = resource$finished_at, + description = resource$description) + }, + + 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) + + PipelineInstanceList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + pipeline_instances.show = 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 <- list(uuid = uuid) + 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) + + PipelineInstance$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, pipeline_template_uuid = resource$pipeline_template_uuid, + name = resource$name, components = resource$components, + updated_at = resource$updated_at, properties = resource$properties, + state = resource$state, components_summary = resource$components_summary, + started_at = resource$started_at, finished_at = resource$finished_at, + description = resource$description) + }, + + pipeline_instances.destroy = 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 <- list(uuid = uuid) + 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) + + PipelineInstance$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + created_at = resource$created_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, pipeline_template_uuid = resource$pipeline_template_uuid, + name = resource$name, components = resource$components, + updated_at = resource$updated_at, properties = resource$properties, + state = resource$state, components_summary = resource$components_summary, + started_at = resource$started_at, finished_at = resource$finished_at, + description = resource$description) + }, + + 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 <- list(uuid = uuid) + 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) + + Node$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, slot_number = resource$slot_number, + hostname = resource$hostname, domain = resource$domain, + ip_address = resource$ip_address, first_ping_at = resource$first_ping_at, + last_ping_at = resource$last_ping_at, info = resource$info, + updated_at = resource$updated_at, properties = resource$properties, + job_uuid = resource$job_uuid) + }, + + nodes.index = 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) + + NodeList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + 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) + body <- node$toJSON() + + 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) + + Node$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, slot_number = resource$slot_number, + hostname = resource$hostname, domain = resource$domain, + ip_address = resource$ip_address, first_ping_at = resource$first_ping_at, + last_ping_at = resource$last_ping_at, info = resource$info, + updated_at = resource$updated_at, properties = resource$properties, + job_uuid = resource$job_uuid) + }, + + 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(uuid = uuid, assign_slot = assign_slot) + body <- node$toJSON() + + 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) + + Node$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, slot_number = resource$slot_number, + hostname = resource$hostname, domain = resource$domain, + ip_address = resource$ip_address, first_ping_at = resource$first_ping_at, + last_ping_at = resource$last_ping_at, info = resource$info, + updated_at = resource$updated_at, properties = resource$properties, + job_uuid = resource$job_uuid) + }, + + 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 <- list(uuid = uuid) + 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) + + Node$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, slot_number = resource$slot_number, + hostname = resource$hostname, domain = resource$domain, + ip_address = resource$ip_address, first_ping_at = resource$first_ping_at, + last_ping_at = resource$last_ping_at, info = resource$info, + updated_at = resource$updated_at, properties = resource$properties, + job_uuid = resource$job_uuid) + }, + + 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(uuid = uuid, 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) + + Node$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, slot_number = resource$slot_number, + hostname = resource$hostname, domain = resource$domain, + ip_address = resource$ip_address, first_ping_at = resource$first_ping_at, + last_ping_at = resource$last_ping_at, info = resource$info, + updated_at = resource$updated_at, properties = resource$properties, + job_uuid = resource$job_uuid) + }, + + 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) + + NodeList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + nodes.show = 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 <- list(uuid = uuid) + 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) + + Node$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, slot_number = resource$slot_number, + hostname = resource$hostname, domain = resource$domain, + ip_address = resource$ip_address, first_ping_at = resource$first_ping_at, + last_ping_at = resource$last_ping_at, info = resource$info, + updated_at = resource$updated_at, properties = resource$properties, + job_uuid = resource$job_uuid) + }, + + nodes.destroy = 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 <- list(uuid = uuid) + 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) + + Node$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, slot_number = resource$slot_number, + hostname = resource$hostname, domain = resource$domain, + ip_address = resource$ip_address, first_ping_at = resource$first_ping_at, + last_ping_at = resource$last_ping_at, info = resource$info, + updated_at = resource$updated_at, properties = resource$properties, + job_uuid = resource$job_uuid) + }, + + 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 <- list(uuid = uuid) + 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) + + Repository$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + repositories.index = 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) + + RepositoryList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + 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) + body <- repository$toJSON() + + 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) + + Repository$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + body <- repository$toJSON() + + 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) + + Repository$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + Repository$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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) + + Repository$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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) + + RepositoryList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + repositories.show = 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 <- list(uuid = uuid) + 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) + + Repository$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + repositories.destroy = 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 <- list(uuid = uuid) + 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) + + Repository$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + Specimen$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, material = resource$material, + updated_at = resource$updated_at, properties = resource$properties) + }, + + specimens.index = 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) + + SpecimenList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + 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) + body <- specimen$toJSON() + + 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) + + Specimen$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, material = resource$material, + updated_at = resource$updated_at, properties = resource$properties) + }, + + 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 <- list(uuid = uuid) + body <- specimen$toJSON() + + 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) + + Specimen$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, material = resource$material, + updated_at = resource$updated_at, properties = resource$properties) + }, + + 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 <- list(uuid = uuid) + 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) + + Specimen$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, material = resource$material, + updated_at = resource$updated_at, properties = resource$properties) + }, + + 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) + + SpecimenList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + specimens.show = 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 <- list(uuid = uuid) + 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) + + Specimen$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, material = resource$material, + updated_at = resource$updated_at, properties = resource$properties) + }, + + specimens.destroy = 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 <- list(uuid = uuid) + 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) + + Specimen$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, material = resource$material, + updated_at = resource$updated_at, properties = resource$properties) + }, + + 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 <- list(uuid = uuid) + 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) + + Log$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + object_uuid = resource$object_uuid, event_at = resource$event_at, + event_type = resource$event_type, summary = resource$summary, + properties = resource$properties, created_at = resource$created_at, + updated_at = resource$updated_at, modified_at = resource$modified_at, + object_owner_uuid = resource$object_owner_uuid) + }, + + logs.index = 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) + + LogList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + 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) + body <- log$toJSON() + + 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) + + Log$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + object_uuid = resource$object_uuid, event_at = resource$event_at, + event_type = resource$event_type, summary = resource$summary, + properties = resource$properties, created_at = resource$created_at, + updated_at = resource$updated_at, modified_at = resource$modified_at, + object_owner_uuid = resource$object_owner_uuid) + }, + + 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 <- list(uuid = uuid) + body <- log$toJSON() + + 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) + + Log$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + object_uuid = resource$object_uuid, event_at = resource$event_at, + event_type = resource$event_type, summary = resource$summary, + properties = resource$properties, created_at = resource$created_at, + updated_at = resource$updated_at, modified_at = resource$modified_at, + object_owner_uuid = resource$object_owner_uuid) + }, + + 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 <- list(uuid = uuid) + 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) + + Log$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + object_uuid = resource$object_uuid, event_at = resource$event_at, + event_type = resource$event_type, summary = resource$summary, + properties = resource$properties, created_at = resource$created_at, + updated_at = resource$updated_at, modified_at = resource$modified_at, + object_owner_uuid = resource$object_owner_uuid) + }, + + 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) + + LogList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + logs.show = 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 <- list(uuid = uuid) + 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) + + Log$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + object_uuid = resource$object_uuid, event_at = resource$event_at, + event_type = resource$event_type, summary = resource$summary, + properties = resource$properties, created_at = resource$created_at, + updated_at = resource$updated_at, modified_at = resource$modified_at, + object_owner_uuid = resource$object_owner_uuid) + }, + + logs.destroy = 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 <- list(uuid = uuid) + 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) + + Log$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + object_uuid = resource$object_uuid, event_at = resource$event_at, + event_type = resource$event_type, summary = resource$summary, + properties = resource$properties, created_at = resource$created_at, + updated_at = resource$updated_at, modified_at = resource$modified_at, + object_owner_uuid = resource$object_owner_uuid) + }, + + 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 <- list(uuid = uuid) + 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) + + Trait$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + properties = resource$properties, created_at = resource$created_at, + updated_at = resource$updated_at) + }, + + traits.index = 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) + + TraitList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + 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) + body <- trait$toJSON() + + 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) + + Trait$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + properties = resource$properties, created_at = resource$created_at, + updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + body <- trait$toJSON() + + 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) + + Trait$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + properties = resource$properties, created_at = resource$created_at, + updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + Trait$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + properties = resource$properties, created_at = resource$created_at, + updated_at = resource$updated_at) + }, + + 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) + + TraitList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + traits.show = 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 <- list(uuid = uuid) + 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) + + Trait$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + properties = resource$properties, created_at = resource$created_at, + updated_at = resource$updated_at) + }, + + traits.destroy = 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 <- list(uuid = uuid) + 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) + + Trait$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + properties = resource$properties, created_at = resource$created_at, + updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + VirtualMachine$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, hostname = resource$hostname, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + virtual_machines.index = 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) + + VirtualMachineList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + virtual_machines.create = function(virtual_machine, + 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) + body <- virtual_machine$toJSON() + + 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) + + VirtualMachine$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, hostname = resource$hostname, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + virtual_machines.update = function(virtual_machine, 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 <- list(uuid = uuid) + body <- virtual_machine$toJSON() + + 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) + + VirtualMachine$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, hostname = resource$hostname, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + VirtualMachine$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, hostname = resource$hostname, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + VirtualMachine$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, hostname = resource$hostname, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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) + + VirtualMachine$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, hostname = resource$hostname, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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) + + VirtualMachineList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + virtual_machines.show = 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 <- list(uuid = uuid) + 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) + + VirtualMachine$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, hostname = resource$hostname, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + virtual_machines.destroy = 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 <- list(uuid = uuid) + 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) + + VirtualMachine$new(uuid = resource$uuid, + etag = resource$etag, owner_uuid = resource$owner_uuid, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, hostname = resource$hostname, + created_at = resource$created_at, updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + Workflow$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + name = resource$name, description = resource$description, + definition = resource$definition, updated_at = resource$updated_at) + }, + + workflows.index = 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) + + WorkflowList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + 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) + body <- workflow$toJSON() + + 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) + + Workflow$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + name = resource$name, description = resource$description, + definition = resource$definition, updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + body <- workflow$toJSON() + + 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) + + Workflow$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + name = resource$name, description = resource$description, + definition = resource$definition, updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + Workflow$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + name = resource$name, description = resource$description, + definition = resource$definition, updated_at = resource$updated_at) + }, + + 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) + + WorkflowList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + workflows.show = 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 <- list(uuid = uuid) + 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) + + Workflow$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + name = resource$name, description = resource$description, + definition = resource$definition, updated_at = resource$updated_at) + }, + + workflows.destroy = 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 <- list(uuid = uuid) + 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) + + Workflow$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_at = resource$modified_at, modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + name = resource$name, description = resource$description, + definition = resource$definition, updated_at = resource$updated_at) + }, + + 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 <- list(uuid = uuid) + 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) + + Group$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + description = resource$description, updated_at = resource$updated_at, + group_class = resource$group_class, trash_at = resource$trash_at, + is_trashed = resource$is_trashed, delete_at = resource$delete_at) + }, + + groups.index = 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) + + GroupList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + 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) + body <- group$toJSON() + + 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) + + Group$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + description = resource$description, updated_at = resource$updated_at, + group_class = resource$group_class, trash_at = resource$trash_at, + is_trashed = resource$is_trashed, delete_at = resource$delete_at) + }, + + 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 <- list(uuid = uuid) + body <- group$toJSON() + + 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) + + Group$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + description = resource$description, updated_at = resource$updated_at, + group_class = resource$group_class, trash_at = resource$trash_at, + is_trashed = resource$is_trashed, delete_at = resource$delete_at) + }, + + 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 <- list(uuid = uuid) + 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) + + Group$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + description = resource$description, updated_at = resource$updated_at, + group_class = resource$group_class, trash_at = resource$trash_at, + is_trashed = resource$is_trashed, delete_at = resource$delete_at) + }, + + 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) + + Group$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + description = resource$description, updated_at = resource$updated_at, + group_class = resource$group_class, trash_at = resource$trash_at, + is_trashed = resource$is_trashed, delete_at = resource$delete_at) + }, + + 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 <- list(uuid = 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) + + Group$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + description = resource$description, updated_at = resource$updated_at, + group_class = resource$group_class, trash_at = resource$trash_at, + is_trashed = resource$is_trashed, delete_at = resource$delete_at) + }, + + 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 <- list(uuid = 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) + + Group$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + description = resource$description, updated_at = resource$updated_at, + group_class = resource$group_class, trash_at = resource$trash_at, + is_trashed = resource$is_trashed, delete_at = resource$delete_at) + }, + + 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) + + GroupList$new(kind = resource$kind, etag = resource$etag, + items = resource$items, next_link = resource$next_link, + next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + groups.show = 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 <- list(uuid = uuid) + 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) + + Group$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + description = resource$description, updated_at = resource$updated_at, + group_class = resource$group_class, trash_at = resource$trash_at, + is_trashed = resource$is_trashed, delete_at = resource$delete_at) + }, + + groups.destroy = 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 <- list(uuid = uuid) + 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) + + Group$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, name = resource$name, + description = resource$description, updated_at = resource$updated_at, + group_class = resource$group_class, trash_at = resource$trash_at, + is_trashed = resource$is_trashed, delete_at = resource$delete_at) + }, + + 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 <- list(uuid = uuid) + 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) + + UserAgreement$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + }, + + user_agreements.index = 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) + + UserAgreementList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + user_agreements.create = function(user_agreement, + 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) + body <- user_agreement$toJSON() + + 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) + + UserAgreement$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + }, + + user_agreements.update = function(user_agreement, 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 <- list(uuid = uuid) + body <- user_agreement$toJSON() + + 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) + + UserAgreement$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + }, + + 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 <- list(uuid = uuid) + 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) + + UserAgreement$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + }, + + 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) + + UserAgreement$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + }, + + 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) + + UserAgreement$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + }, + + 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) + + UserAgreementList$new(kind = resource$kind, + etag = resource$etag, items = resource$items, + next_link = resource$next_link, next_page_token = resource$next_page_token, + selfLink = resource$selfLink) + }, + + 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) + + UserAgreement$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + }, + + user_agreements.show = 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 <- list(uuid = uuid) + 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) + + UserAgreement$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + }, + + user_agreements.destroy = 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 <- list(uuid = uuid) + 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) + + UserAgreement$new(uuid = resource$uuid, etag = resource$etag, + owner_uuid = resource$owner_uuid, created_at = resource$created_at, + modified_by_client_uuid = resource$modified_by_client_uuid, + modified_by_user_uuid = resource$modified_by_user_uuid, + modified_at = resource$modified_at, portable_data_hash = resource$portable_data_hash, + replication_desired = resource$replication_desired, + replication_confirmed_at = resource$replication_confirmed_at, + replication_confirmed = resource$replication_confirmed, + updated_at = resource$updated_at, manifest_text = resource$manifest_text, + name = resource$name, description = resource$description, + properties = resource$properties, delete_at = resource$delete_at, + file_names = resource$file_names, trash_at = resource$trash_at, + is_trashed = resource$is_trashed) + }, + + getHostName = function() private$host, + getToken = function() private$token, + setRESTService = function(newREST) private$REST <- newREST + ), + + private = list( + + token = NULL, + host = NULL, + REST = NULL, + numRetries = NULL + ), + + cloneable = FALSE +) diff --git a/sdk/R/R/ArvadosClasses.R b/sdk/R/R/ArvadosClasses.R new file mode 100644 index 0000000000..132428227d --- /dev/null +++ b/sdk/R/R/ArvadosClasses.R @@ -0,0 +1,4166 @@ +#' UserList +#' +#' User list +#' +#' @section Usage: +#' \preformatted{userList -> UserList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#userList.} +#' \item{etag}{List version.} +#' \item{items}{The list of Users.} +#' \item{next_link}{A link to the next page of Users.} +#' \item{next_page_token}{The page token for the next page of Users.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name UserList +NULL + +#' @export +UserList <- R6::R6Class( + + "UserList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("userlist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' User +#' +#' User +#' +#' @section Usage: +#' \preformatted{user -> User$new(uuid = NULL, etag = NULL, +#' owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, modified_at = NULL, email = NULL, +#' first_name = NULL, last_name = NULL, identity_url = NULL, +#' is_admin = NULL, prefs = NULL, updated_at = NULL, default_owner_uuid = NULL, +#' is_active = NULL, username = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{created_at}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{email}{} +#' \item{first_name}{} +#' \item{last_name}{} +#' \item{identity_url}{} +#' \item{is_admin}{} +#' \item{prefs}{} +#' \item{updated_at}{} +#' \item{default_owner_uuid}{} +#' \item{is_active}{} +#' \item{username}{} +#' } +#' +#' @name User +NULL + +#' @export +User <- R6::R6Class( + + "User", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + created_at = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + email = NULL, + first_name = NULL, + last_name = NULL, + identity_url = NULL, + is_admin = NULL, + prefs = NULL, + updated_at = NULL, + default_owner_uuid = NULL, + is_active = NULL, + username = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + email = NULL, first_name = NULL, last_name = NULL, + identity_url = NULL, is_admin = NULL, prefs = NULL, + updated_at = NULL, default_owner_uuid = NULL, + is_active = NULL, username = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$created_at <- created_at + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$email <- email + self$first_name <- first_name + self$last_name <- last_name + self$identity_url <- identity_url + self$is_admin <- is_admin + self$prefs <- prefs + self$updated_at <- updated_at + self$default_owner_uuid <- default_owner_uuid + self$is_active <- is_active + self$username <- username + + private$classFields <- c(uuid, etag, owner_uuid, + created_at, modified_by_client_uuid, modified_by_user_uuid, + modified_at, email, first_name, last_name, + identity_url, is_admin, prefs, updated_at, + default_owner_uuid, is_active, username) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("user" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' ApiClientAuthorizationList +#' +#' ApiClientAuthorization list +#' +#' @section Usage: +#' \preformatted{apiClientAuthorizationList -> ApiClientAuthorizationList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#apiClientAuthorizationList.} +#' \item{etag}{List version.} +#' \item{items}{The list of ApiClientAuthorizations.} +#' \item{next_link}{A link to the next page of ApiClientAuthorizations.} +#' \item{next_page_token}{The page token for the next page of ApiClientAuthorizations.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name ApiClientAuthorizationList +NULL + +#' @export +ApiClientAuthorizationList <- R6::R6Class( + + "ApiClientAuthorizationList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("apiclientauthorizationlist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' ApiClientAuthorization +#' +#' ApiClientAuthorization +#' +#' @section Usage: +#' \preformatted{apiClientAuthorization -> ApiClientAuthorization$new(uuid = NULL, +#' etag = NULL, api_token = NULL, api_client_id = NULL, +#' user_id = NULL, created_by_ip_address = NULL, last_used_by_ip_address = NULL, +#' last_used_at = NULL, expires_at = NULL, created_at = NULL, +#' updated_at = NULL, default_owner_uuid = NULL, scopes = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{api_token}{} +#' \item{api_client_id}{} +#' \item{user_id}{} +#' \item{created_by_ip_address}{} +#' \item{last_used_by_ip_address}{} +#' \item{last_used_at}{} +#' \item{expires_at}{} +#' \item{created_at}{} +#' \item{updated_at}{} +#' \item{default_owner_uuid}{} +#' \item{scopes}{} +#' \item{uuid}{} +#' } +#' +#' @name ApiClientAuthorization +NULL + +#' @export +ApiClientAuthorization <- R6::R6Class( + + "ApiClientAuthorization", + + public = list( + uuid = NULL, + etag = NULL, + api_token = NULL, + api_client_id = NULL, + user_id = NULL, + created_by_ip_address = NULL, + last_used_by_ip_address = NULL, + last_used_at = NULL, + expires_at = NULL, + created_at = NULL, + updated_at = NULL, + default_owner_uuid = NULL, + scopes = NULL, + + initialize = function(uuid = NULL, etag = NULL, + api_token = NULL, api_client_id = NULL, user_id = NULL, + created_by_ip_address = NULL, last_used_by_ip_address = NULL, + last_used_at = NULL, expires_at = NULL, created_at = NULL, + updated_at = NULL, default_owner_uuid = NULL, + scopes = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$api_token <- api_token + self$api_client_id <- api_client_id + self$user_id <- user_id + self$created_by_ip_address <- created_by_ip_address + self$last_used_by_ip_address <- last_used_by_ip_address + self$last_used_at <- last_used_at + self$expires_at <- expires_at + self$created_at <- created_at + self$updated_at <- updated_at + self$default_owner_uuid <- default_owner_uuid + self$scopes <- scopes + + private$classFields <- c(uuid, etag, api_token, + api_client_id, user_id, created_by_ip_address, + last_used_by_ip_address, last_used_at, expires_at, + created_at, updated_at, default_owner_uuid, + scopes) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("apiclientauthorization" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' ApiClientList +#' +#' ApiClient list +#' +#' @section Usage: +#' \preformatted{apiClientList -> ApiClientList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#apiClientList.} +#' \item{etag}{List version.} +#' \item{items}{The list of ApiClients.} +#' \item{next_link}{A link to the next page of ApiClients.} +#' \item{next_page_token}{The page token for the next page of ApiClients.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name ApiClientList +NULL + +#' @export +ApiClientList <- R6::R6Class( + + "ApiClientList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("apiclientlist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' ApiClient +#' +#' ApiClient +#' +#' @section Usage: +#' \preformatted{apiClient -> ApiClient$new(uuid = NULL, +#' etag = NULL, owner_uuid = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, modified_at = NULL, name = NULL, +#' url_prefix = NULL, created_at = NULL, updated_at = NULL, +#' is_trusted = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{name}{} +#' \item{url_prefix}{} +#' \item{created_at}{} +#' \item{updated_at}{} +#' \item{is_trusted}{} +#' } +#' +#' @name ApiClient +NULL + +#' @export +ApiClient <- R6::R6Class( + + "ApiClient", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + name = NULL, + url_prefix = NULL, + created_at = NULL, + updated_at = NULL, + is_trusted = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + name = NULL, url_prefix = NULL, created_at = NULL, + updated_at = NULL, is_trusted = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$name <- name + self$url_prefix <- url_prefix + self$created_at <- created_at + self$updated_at <- updated_at + self$is_trusted <- is_trusted + + private$classFields <- c(uuid, etag, owner_uuid, + modified_by_client_uuid, modified_by_user_uuid, + modified_at, name, url_prefix, created_at, + updated_at, is_trusted) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("apiclient" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' ContainerRequestList +#' +#' ContainerRequest list +#' +#' @section Usage: +#' \preformatted{containerRequestList -> ContainerRequestList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#containerRequestList.} +#' \item{etag}{List version.} +#' \item{items}{The list of ContainerRequests.} +#' \item{next_link}{A link to the next page of ContainerRequests.} +#' \item{next_page_token}{The page token for the next page of ContainerRequests.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name ContainerRequestList +NULL + +#' @export +ContainerRequestList <- R6::R6Class( + + "ContainerRequestList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("containerrequestlist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' ContainerRequest +#' +#' ContainerRequest +#' +#' @section Usage: +#' \preformatted{containerRequest -> ContainerRequest$new(uuid = NULL, +#' etag = NULL, owner_uuid = NULL, created_at = NULL, +#' modified_at = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, name = NULL, description = NULL, +#' properties = NULL, state = NULL, requesting_container_uuid = NULL, +#' container_uuid = NULL, container_count_max = NULL, +#' mounts = NULL, runtime_constraints = NULL, container_image = NULL, +#' environment = NULL, cwd = NULL, command = NULL, output_path = NULL, +#' priority = NULL, expires_at = NULL, filters = NULL, +#' updated_at = NULL, container_count = NULL, use_existing = NULL, +#' scheduling_parameters = NULL, output_uuid = NULL, log_uuid = NULL, +#' output_name = NULL, output_ttl = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{created_at}{} +#' \item{modified_at}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{name}{} +#' \item{description}{} +#' \item{properties}{} +#' \item{state}{} +#' \item{requesting_container_uuid}{} +#' \item{container_uuid}{} +#' \item{container_count_max}{} +#' \item{mounts}{} +#' \item{runtime_constraints}{} +#' \item{container_image}{} +#' \item{environment}{} +#' \item{cwd}{} +#' \item{command}{} +#' \item{output_path}{} +#' \item{priority}{} +#' \item{expires_at}{} +#' \item{filters}{} +#' \item{updated_at}{} +#' \item{container_count}{} +#' \item{use_existing}{} +#' \item{scheduling_parameters}{} +#' \item{output_uuid}{} +#' \item{log_uuid}{} +#' \item{output_name}{} +#' \item{output_ttl}{} +#' } +#' +#' @name ContainerRequest +NULL + +#' @export +ContainerRequest <- R6::R6Class( + + "ContainerRequest", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + created_at = NULL, + modified_at = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + name = NULL, + description = NULL, + properties = NULL, + state = NULL, + requesting_container_uuid = NULL, + container_uuid = NULL, + container_count_max = NULL, + mounts = NULL, + runtime_constraints = NULL, + container_image = NULL, + environment = NULL, + cwd = NULL, + command = NULL, + output_path = NULL, + priority = NULL, + expires_at = NULL, + filters = NULL, + updated_at = NULL, + container_count = NULL, + use_existing = NULL, + scheduling_parameters = NULL, + output_uuid = NULL, + log_uuid = NULL, + output_name = NULL, + output_ttl = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, created_at = NULL, modified_at = NULL, + modified_by_client_uuid = NULL, modified_by_user_uuid = NULL, + name = NULL, description = NULL, properties = NULL, + state = NULL, requesting_container_uuid = NULL, + container_uuid = NULL, container_count_max = NULL, + mounts = NULL, runtime_constraints = NULL, + container_image = NULL, environment = NULL, + cwd = NULL, command = NULL, output_path = NULL, + priority = NULL, expires_at = NULL, filters = NULL, + updated_at = NULL, container_count = NULL, + use_existing = NULL, scheduling_parameters = NULL, + output_uuid = NULL, log_uuid = NULL, output_name = NULL, + output_ttl = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$created_at <- created_at + self$modified_at <- modified_at + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$name <- name + self$description <- description + self$properties <- properties + self$state <- state + self$requesting_container_uuid <- requesting_container_uuid + self$container_uuid <- container_uuid + self$container_count_max <- container_count_max + self$mounts <- mounts + self$runtime_constraints <- runtime_constraints + self$container_image <- container_image + self$environment <- environment + self$cwd <- cwd + self$command <- command + self$output_path <- output_path + self$priority <- priority + self$expires_at <- expires_at + self$filters <- filters + self$updated_at <- updated_at + self$container_count <- container_count + self$use_existing <- use_existing + self$scheduling_parameters <- scheduling_parameters + self$output_uuid <- output_uuid + self$log_uuid <- log_uuid + self$output_name <- output_name + self$output_ttl <- output_ttl + + private$classFields <- c(uuid, etag, owner_uuid, + created_at, modified_at, modified_by_client_uuid, + modified_by_user_uuid, name, description, + properties, state, requesting_container_uuid, + container_uuid, container_count_max, mounts, + runtime_constraints, container_image, environment, + cwd, command, output_path, priority, expires_at, + filters, updated_at, container_count, use_existing, + scheduling_parameters, output_uuid, log_uuid, + output_name, output_ttl) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("containerrequest" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' AuthorizedKeyList +#' +#' AuthorizedKey list +#' +#' @section Usage: +#' \preformatted{authorizedKeyList -> AuthorizedKeyList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#authorizedKeyList.} +#' \item{etag}{List version.} +#' \item{items}{The list of AuthorizedKeys.} +#' \item{next_link}{A link to the next page of AuthorizedKeys.} +#' \item{next_page_token}{The page token for the next page of AuthorizedKeys.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name AuthorizedKeyList +NULL + +#' @export +AuthorizedKeyList <- R6::R6Class( + + "AuthorizedKeyList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("authorizedkeylist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' AuthorizedKey +#' +#' AuthorizedKey +#' +#' @section Usage: +#' \preformatted{authorizedKey -> AuthorizedKey$new(uuid = NULL, +#' etag = NULL, owner_uuid = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, modified_at = NULL, name = NULL, +#' key_type = NULL, authorized_user_uuid = NULL, public_key = NULL, +#' expires_at = NULL, created_at = NULL, updated_at = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{name}{} +#' \item{key_type}{} +#' \item{authorized_user_uuid}{} +#' \item{public_key}{} +#' \item{expires_at}{} +#' \item{created_at}{} +#' \item{updated_at}{} +#' } +#' +#' @name AuthorizedKey +NULL + +#' @export +AuthorizedKey <- R6::R6Class( + + "AuthorizedKey", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + name = NULL, + key_type = NULL, + authorized_user_uuid = NULL, + public_key = NULL, + expires_at = NULL, + created_at = NULL, + updated_at = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + name = NULL, key_type = NULL, authorized_user_uuid = NULL, + public_key = NULL, expires_at = NULL, created_at = NULL, + updated_at = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$name <- name + self$key_type <- key_type + self$authorized_user_uuid <- authorized_user_uuid + self$public_key <- public_key + self$expires_at <- expires_at + self$created_at <- created_at + self$updated_at <- updated_at + + private$classFields <- c(uuid, etag, owner_uuid, + modified_by_client_uuid, modified_by_user_uuid, + modified_at, name, key_type, authorized_user_uuid, + public_key, expires_at, created_at, updated_at) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("authorizedkey" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' CollectionList +#' +#' Collection list +#' +#' @section Usage: +#' \preformatted{collectionList -> CollectionList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#collectionList.} +#' \item{etag}{List version.} +#' \item{items}{The list of Collections.} +#' \item{next_link}{A link to the next page of Collections.} +#' \item{next_page_token}{The page token for the next page of Collections.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name CollectionList +NULL + +#' @export +CollectionList <- R6::R6Class( + + "CollectionList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("collectionlist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' ContainerList +#' +#' Container list +#' +#' @section Usage: +#' \preformatted{containerList -> ContainerList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#containerList.} +#' \item{etag}{List version.} +#' \item{items}{The list of Containers.} +#' \item{next_link}{A link to the next page of Containers.} +#' \item{next_page_token}{The page token for the next page of Containers.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name ContainerList +NULL + +#' @export +ContainerList <- R6::R6Class( + + "ContainerList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("containerlist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' Container +#' +#' Container +#' +#' @section Usage: +#' \preformatted{container -> Container$new(uuid = NULL, +#' etag = NULL, owner_uuid = NULL, created_at = NULL, +#' modified_at = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, state = NULL, started_at = NULL, +#' finished_at = NULL, log = NULL, environment = NULL, +#' cwd = NULL, command = NULL, output_path = NULL, mounts = NULL, +#' runtime_constraints = NULL, output = NULL, container_image = NULL, +#' progress = NULL, priority = NULL, updated_at = NULL, +#' exit_code = NULL, auth_uuid = NULL, locked_by_uuid = NULL, +#' scheduling_parameters = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{created_at}{} +#' \item{modified_at}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{state}{} +#' \item{started_at}{} +#' \item{finished_at}{} +#' \item{log}{} +#' \item{environment}{} +#' \item{cwd}{} +#' \item{command}{} +#' \item{output_path}{} +#' \item{mounts}{} +#' \item{runtime_constraints}{} +#' \item{output}{} +#' \item{container_image}{} +#' \item{progress}{} +#' \item{priority}{} +#' \item{updated_at}{} +#' \item{exit_code}{} +#' \item{auth_uuid}{} +#' \item{locked_by_uuid}{} +#' \item{scheduling_parameters}{} +#' } +#' +#' @name Container +NULL + +#' @export +Container <- R6::R6Class( + + "Container", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + created_at = NULL, + modified_at = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + state = NULL, + started_at = NULL, + finished_at = NULL, + log = NULL, + environment = NULL, + cwd = NULL, + command = NULL, + output_path = NULL, + mounts = NULL, + runtime_constraints = NULL, + output = NULL, + container_image = NULL, + progress = NULL, + priority = NULL, + updated_at = NULL, + exit_code = NULL, + auth_uuid = NULL, + locked_by_uuid = NULL, + scheduling_parameters = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, created_at = NULL, modified_at = NULL, + modified_by_client_uuid = NULL, modified_by_user_uuid = NULL, + state = NULL, started_at = NULL, finished_at = NULL, + log = NULL, environment = NULL, cwd = NULL, + command = NULL, output_path = NULL, mounts = NULL, + runtime_constraints = NULL, output = NULL, + container_image = NULL, progress = NULL, + priority = NULL, updated_at = NULL, exit_code = NULL, + auth_uuid = NULL, locked_by_uuid = NULL, + scheduling_parameters = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$created_at <- created_at + self$modified_at <- modified_at + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$state <- state + self$started_at <- started_at + self$finished_at <- finished_at + self$log <- log + self$environment <- environment + self$cwd <- cwd + self$command <- command + self$output_path <- output_path + self$mounts <- mounts + self$runtime_constraints <- runtime_constraints + self$output <- output + self$container_image <- container_image + self$progress <- progress + self$priority <- priority + self$updated_at <- updated_at + self$exit_code <- exit_code + self$auth_uuid <- auth_uuid + self$locked_by_uuid <- locked_by_uuid + self$scheduling_parameters <- scheduling_parameters + + private$classFields <- c(uuid, etag, owner_uuid, + created_at, modified_at, modified_by_client_uuid, + modified_by_user_uuid, state, started_at, + finished_at, log, environment, cwd, command, + output_path, mounts, runtime_constraints, + output, container_image, progress, priority, + updated_at, exit_code, auth_uuid, locked_by_uuid, + scheduling_parameters) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("container" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' HumanList +#' +#' Human list +#' +#' @section Usage: +#' \preformatted{humanList -> HumanList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#humanList.} +#' \item{etag}{List version.} +#' \item{items}{The list of Humans.} +#' \item{next_link}{A link to the next page of Humans.} +#' \item{next_page_token}{The page token for the next page of Humans.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name HumanList +NULL + +#' @export +HumanList <- R6::R6Class( + + "HumanList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("humanlist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' Human +#' +#' Human +#' +#' @section Usage: +#' \preformatted{human -> Human$new(uuid = NULL, etag = NULL, +#' owner_uuid = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, modified_at = NULL, properties = NULL, +#' created_at = NULL, updated_at = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{properties}{} +#' \item{created_at}{} +#' \item{updated_at}{} +#' } +#' +#' @name Human +NULL + +#' @export +Human <- R6::R6Class( + + "Human", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + properties = NULL, + created_at = NULL, + updated_at = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + properties = NULL, created_at = NULL, updated_at = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$properties <- properties + self$created_at <- created_at + self$updated_at <- updated_at + + private$classFields <- c(uuid, etag, owner_uuid, + modified_by_client_uuid, modified_by_user_uuid, + modified_at, properties, created_at, updated_at) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("human" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' JobTaskList +#' +#' JobTask list +#' +#' @section Usage: +#' \preformatted{jobTaskList -> JobTaskList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#jobTaskList.} +#' \item{etag}{List version.} +#' \item{items}{The list of JobTasks.} +#' \item{next_link}{A link to the next page of JobTasks.} +#' \item{next_page_token}{The page token for the next page of JobTasks.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name JobTaskList +NULL + +#' @export +JobTaskList <- R6::R6Class( + + "JobTaskList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("jobtasklist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' JobTask +#' +#' JobTask +#' +#' @section Usage: +#' \preformatted{jobTask -> JobTask$new(uuid = NULL, +#' etag = NULL, owner_uuid = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, modified_at = NULL, job_uuid = NULL, +#' sequence = NULL, parameters = NULL, output = NULL, +#' progress = NULL, success = NULL, created_at = NULL, +#' updated_at = NULL, created_by_job_task_uuid = NULL, +#' qsequence = NULL, started_at = NULL, finished_at = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{job_uuid}{} +#' \item{sequence}{} +#' \item{parameters}{} +#' \item{output}{} +#' \item{progress}{} +#' \item{success}{} +#' \item{created_at}{} +#' \item{updated_at}{} +#' \item{created_by_job_task_uuid}{} +#' \item{qsequence}{} +#' \item{started_at}{} +#' \item{finished_at}{} +#' } +#' +#' @name JobTask +NULL + +#' @export +JobTask <- R6::R6Class( + + "JobTask", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + job_uuid = NULL, + sequence = NULL, + parameters = NULL, + output = NULL, + progress = NULL, + success = NULL, + created_at = NULL, + updated_at = NULL, + created_by_job_task_uuid = NULL, + qsequence = NULL, + started_at = NULL, + finished_at = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + job_uuid = NULL, sequence = NULL, parameters = NULL, + output = NULL, progress = NULL, success = NULL, + created_at = NULL, updated_at = NULL, created_by_job_task_uuid = NULL, + qsequence = NULL, started_at = NULL, finished_at = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$job_uuid <- job_uuid + self$sequence <- sequence + self$parameters <- parameters + self$output <- output + self$progress <- progress + self$success <- success + self$created_at <- created_at + self$updated_at <- updated_at + self$created_by_job_task_uuid <- created_by_job_task_uuid + self$qsequence <- qsequence + self$started_at <- started_at + self$finished_at <- finished_at + + private$classFields <- c(uuid, etag, owner_uuid, + modified_by_client_uuid, modified_by_user_uuid, + modified_at, job_uuid, sequence, parameters, + output, progress, success, created_at, updated_at, + created_by_job_task_uuid, qsequence, started_at, + finished_at) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("jobtask" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' LinkList +#' +#' Link list +#' +#' @section Usage: +#' \preformatted{linkList -> LinkList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#linkList.} +#' \item{etag}{List version.} +#' \item{items}{The list of Links.} +#' \item{next_link}{A link to the next page of Links.} +#' \item{next_page_token}{The page token for the next page of Links.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name LinkList +NULL + +#' @export +LinkList <- R6::R6Class( + + "LinkList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("linklist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' Link +#' +#' Link +#' +#' @section Usage: +#' \preformatted{link -> Link$new(uuid = NULL, etag = NULL, +#' owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, modified_at = NULL, tail_uuid = NULL, +#' link_class = NULL, name = NULL, head_uuid = NULL, properties = NULL, +#' updated_at = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{created_at}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{tail_uuid}{} +#' \item{link_class}{} +#' \item{name}{} +#' \item{head_uuid}{} +#' \item{properties}{} +#' \item{updated_at}{} +#' } +#' +#' @name Link +NULL + +#' @export +Link <- R6::R6Class( + + "Link", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + created_at = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + tail_uuid = NULL, + link_class = NULL, + name = NULL, + head_uuid = NULL, + properties = NULL, + updated_at = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + tail_uuid = NULL, link_class = NULL, name = NULL, + head_uuid = NULL, properties = NULL, updated_at = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$created_at <- created_at + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$tail_uuid <- tail_uuid + self$link_class <- link_class + self$name <- name + self$head_uuid <- head_uuid + self$properties <- properties + self$updated_at <- updated_at + + private$classFields <- c(uuid, etag, owner_uuid, + created_at, modified_by_client_uuid, modified_by_user_uuid, + modified_at, tail_uuid, link_class, name, + head_uuid, properties, updated_at) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("link" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' JobList +#' +#' Job list +#' +#' @section Usage: +#' \preformatted{jobList -> JobList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#jobList.} +#' \item{etag}{List version.} +#' \item{items}{The list of Jobs.} +#' \item{next_link}{A link to the next page of Jobs.} +#' \item{next_page_token}{The page token for the next page of Jobs.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name JobList +NULL + +#' @export +JobList <- R6::R6Class( + + "JobList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("joblist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' Job +#' +#' Job +#' +#' @section Usage: +#' \preformatted{job -> Job$new(uuid = NULL, etag = NULL, +#' owner_uuid = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, modified_at = NULL, submit_id = NULL, +#' script = NULL, script_version = NULL, script_parameters = NULL, +#' cancelled_by_client_uuid = NULL, cancelled_by_user_uuid = NULL, +#' cancelled_at = NULL, started_at = NULL, finished_at = NULL, +#' running = NULL, success = NULL, output = NULL, created_at = NULL, +#' updated_at = NULL, is_locked_by_uuid = NULL, log = NULL, +#' tasks_summary = NULL, runtime_constraints = NULL, nondeterministic = NULL, +#' repository = NULL, supplied_script_version = NULL, +#' docker_image_locator = NULL, priority = NULL, description = NULL, +#' state = NULL, arvados_sdk_version = NULL, components = NULL, +#' script_parameters_digest = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{submit_id}{} +#' \item{script}{} +#' \item{script_version}{} +#' \item{script_parameters}{} +#' \item{cancelled_by_client_uuid}{} +#' \item{cancelled_by_user_uuid}{} +#' \item{cancelled_at}{} +#' \item{started_at}{} +#' \item{finished_at}{} +#' \item{running}{} +#' \item{success}{} +#' \item{output}{} +#' \item{created_at}{} +#' \item{updated_at}{} +#' \item{is_locked_by_uuid}{} +#' \item{log}{} +#' \item{tasks_summary}{} +#' \item{runtime_constraints}{} +#' \item{nondeterministic}{} +#' \item{repository}{} +#' \item{supplied_script_version}{} +#' \item{docker_image_locator}{} +#' \item{priority}{} +#' \item{description}{} +#' \item{state}{} +#' \item{arvados_sdk_version}{} +#' \item{components}{} +#' \item{script_parameters_digest}{} +#' } +#' +#' @name Job +NULL + +#' @export +Job <- R6::R6Class( + + "Job", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + submit_id = NULL, + script = NULL, + script_version = NULL, + script_parameters = NULL, + cancelled_by_client_uuid = NULL, + cancelled_by_user_uuid = NULL, + cancelled_at = NULL, + started_at = NULL, + finished_at = NULL, + running = NULL, + success = NULL, + output = NULL, + created_at = NULL, + updated_at = NULL, + is_locked_by_uuid = NULL, + log = NULL, + tasks_summary = NULL, + runtime_constraints = NULL, + nondeterministic = NULL, + repository = NULL, + supplied_script_version = NULL, + docker_image_locator = NULL, + priority = NULL, + description = NULL, + state = NULL, + arvados_sdk_version = NULL, + components = NULL, + script_parameters_digest = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + submit_id = NULL, script = NULL, script_version = NULL, + script_parameters = NULL, cancelled_by_client_uuid = NULL, + cancelled_by_user_uuid = NULL, cancelled_at = NULL, + started_at = NULL, finished_at = NULL, running = NULL, + success = NULL, output = NULL, created_at = NULL, + updated_at = NULL, is_locked_by_uuid = NULL, + log = NULL, tasks_summary = NULL, runtime_constraints = NULL, + nondeterministic = NULL, repository = NULL, + supplied_script_version = NULL, docker_image_locator = NULL, + priority = NULL, description = NULL, state = NULL, + arvados_sdk_version = NULL, components = NULL, + script_parameters_digest = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$submit_id <- submit_id + self$script <- script + self$script_version <- script_version + self$script_parameters <- script_parameters + self$cancelled_by_client_uuid <- cancelled_by_client_uuid + self$cancelled_by_user_uuid <- cancelled_by_user_uuid + self$cancelled_at <- cancelled_at + self$started_at <- started_at + self$finished_at <- finished_at + self$running <- running + self$success <- success + self$output <- output + self$created_at <- created_at + self$updated_at <- updated_at + self$is_locked_by_uuid <- is_locked_by_uuid + self$log <- log + self$tasks_summary <- tasks_summary + self$runtime_constraints <- runtime_constraints + self$nondeterministic <- nondeterministic + self$repository <- repository + self$supplied_script_version <- supplied_script_version + self$docker_image_locator <- docker_image_locator + self$priority <- priority + self$description <- description + self$state <- state + self$arvados_sdk_version <- arvados_sdk_version + self$components <- components + self$script_parameters_digest <- script_parameters_digest + + private$classFields <- c(uuid, etag, owner_uuid, + modified_by_client_uuid, modified_by_user_uuid, + modified_at, submit_id, script, script_version, + script_parameters, cancelled_by_client_uuid, + cancelled_by_user_uuid, cancelled_at, started_at, + finished_at, running, success, output, created_at, + updated_at, is_locked_by_uuid, log, tasks_summary, + runtime_constraints, nondeterministic, repository, + supplied_script_version, docker_image_locator, + priority, description, state, arvados_sdk_version, + components, script_parameters_digest) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("job" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' KeepDiskList +#' +#' KeepDisk list +#' +#' @section Usage: +#' \preformatted{keepDiskList -> KeepDiskList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#keepDiskList.} +#' \item{etag}{List version.} +#' \item{items}{The list of KeepDisks.} +#' \item{next_link}{A link to the next page of KeepDisks.} +#' \item{next_page_token}{The page token for the next page of KeepDisks.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name KeepDiskList +NULL + +#' @export +KeepDiskList <- R6::R6Class( + + "KeepDiskList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("keepdisklist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' KeepDisk +#' +#' KeepDisk +#' +#' @section Usage: +#' \preformatted{keepDisk -> KeepDisk$new(uuid = NULL, +#' etag = NULL, owner_uuid = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, modified_at = NULL, ping_secret = NULL, +#' node_uuid = NULL, filesystem_uuid = NULL, bytes_total = NULL, +#' bytes_free = NULL, is_readable = NULL, is_writable = NULL, +#' last_read_at = NULL, last_write_at = NULL, last_ping_at = NULL, +#' created_at = NULL, updated_at = NULL, keep_service_uuid = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{ping_secret}{} +#' \item{node_uuid}{} +#' \item{filesystem_uuid}{} +#' \item{bytes_total}{} +#' \item{bytes_free}{} +#' \item{is_readable}{} +#' \item{is_writable}{} +#' \item{last_read_at}{} +#' \item{last_write_at}{} +#' \item{last_ping_at}{} +#' \item{created_at}{} +#' \item{updated_at}{} +#' \item{keep_service_uuid}{} +#' } +#' +#' @name KeepDisk +NULL + +#' @export +KeepDisk <- R6::R6Class( + + "KeepDisk", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + ping_secret = NULL, + node_uuid = NULL, + filesystem_uuid = NULL, + bytes_total = NULL, + bytes_free = NULL, + is_readable = NULL, + is_writable = NULL, + last_read_at = NULL, + last_write_at = NULL, + last_ping_at = NULL, + created_at = NULL, + updated_at = NULL, + keep_service_uuid = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + ping_secret = NULL, node_uuid = NULL, filesystem_uuid = NULL, + bytes_total = NULL, bytes_free = NULL, is_readable = NULL, + is_writable = NULL, last_read_at = NULL, + last_write_at = NULL, last_ping_at = NULL, + created_at = NULL, updated_at = NULL, keep_service_uuid = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$ping_secret <- ping_secret + self$node_uuid <- node_uuid + self$filesystem_uuid <- filesystem_uuid + self$bytes_total <- bytes_total + self$bytes_free <- bytes_free + self$is_readable <- is_readable + self$is_writable <- is_writable + self$last_read_at <- last_read_at + self$last_write_at <- last_write_at + self$last_ping_at <- last_ping_at + self$created_at <- created_at + self$updated_at <- updated_at + self$keep_service_uuid <- keep_service_uuid + + private$classFields <- c(uuid, etag, owner_uuid, + modified_by_client_uuid, modified_by_user_uuid, + modified_at, ping_secret, node_uuid, filesystem_uuid, + bytes_total, bytes_free, is_readable, is_writable, + last_read_at, last_write_at, last_ping_at, + created_at, updated_at, keep_service_uuid) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("keepdisk" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' KeepServiceList +#' +#' KeepService list +#' +#' @section Usage: +#' \preformatted{keepServiceList -> KeepServiceList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#keepServiceList.} +#' \item{etag}{List version.} +#' \item{items}{The list of KeepServices.} +#' \item{next_link}{A link to the next page of KeepServices.} +#' \item{next_page_token}{The page token for the next page of KeepServices.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name KeepServiceList +NULL + +#' @export +KeepServiceList <- R6::R6Class( + + "KeepServiceList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("keepservicelist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' KeepService +#' +#' KeepService +#' +#' @section Usage: +#' \preformatted{keepService -> KeepService$new(uuid = NULL, +#' etag = NULL, owner_uuid = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, modified_at = NULL, service_host = NULL, +#' service_port = NULL, service_ssl_flag = NULL, service_type = NULL, +#' created_at = NULL, updated_at = NULL, read_only = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{service_host}{} +#' \item{service_port}{} +#' \item{service_ssl_flag}{} +#' \item{service_type}{} +#' \item{created_at}{} +#' \item{updated_at}{} +#' \item{read_only}{} +#' } +#' +#' @name KeepService +NULL + +#' @export +KeepService <- R6::R6Class( + + "KeepService", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + service_host = NULL, + service_port = NULL, + service_ssl_flag = NULL, + service_type = NULL, + created_at = NULL, + updated_at = NULL, + read_only = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + service_host = NULL, service_port = NULL, + service_ssl_flag = NULL, service_type = NULL, + created_at = NULL, updated_at = NULL, read_only = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$service_host <- service_host + self$service_port <- service_port + self$service_ssl_flag <- service_ssl_flag + self$service_type <- service_type + self$created_at <- created_at + self$updated_at <- updated_at + self$read_only <- read_only + + private$classFields <- c(uuid, etag, owner_uuid, + modified_by_client_uuid, modified_by_user_uuid, + modified_at, service_host, service_port, + service_ssl_flag, service_type, created_at, + updated_at, read_only) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("keepservice" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' PipelineTemplateList +#' +#' PipelineTemplate list +#' +#' @section Usage: +#' \preformatted{pipelineTemplateList -> PipelineTemplateList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#pipelineTemplateList.} +#' \item{etag}{List version.} +#' \item{items}{The list of PipelineTemplates.} +#' \item{next_link}{A link to the next page of PipelineTemplates.} +#' \item{next_page_token}{The page token for the next page of PipelineTemplates.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name PipelineTemplateList +NULL + +#' @export +PipelineTemplateList <- R6::R6Class( + + "PipelineTemplateList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("pipelinetemplatelist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' PipelineTemplate +#' +#' PipelineTemplate +#' +#' @section Usage: +#' \preformatted{pipelineTemplate -> PipelineTemplate$new(uuid = NULL, +#' etag = NULL, owner_uuid = NULL, created_at = NULL, +#' modified_by_client_uuid = NULL, modified_by_user_uuid = NULL, +#' modified_at = NULL, name = NULL, components = NULL, +#' updated_at = NULL, description = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{created_at}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{name}{} +#' \item{components}{} +#' \item{updated_at}{} +#' \item{description}{} +#' } +#' +#' @name PipelineTemplate +NULL + +#' @export +PipelineTemplate <- R6::R6Class( + + "PipelineTemplate", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + created_at = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + name = NULL, + components = NULL, + updated_at = NULL, + description = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + name = NULL, components = NULL, updated_at = NULL, + description = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$created_at <- created_at + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$name <- name + self$components <- components + self$updated_at <- updated_at + self$description <- description + + private$classFields <- c(uuid, etag, owner_uuid, + created_at, modified_by_client_uuid, modified_by_user_uuid, + modified_at, name, components, updated_at, + description) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("pipelinetemplate" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' PipelineInstanceList +#' +#' PipelineInstance list +#' +#' @section Usage: +#' \preformatted{pipelineInstanceList -> PipelineInstanceList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#pipelineInstanceList.} +#' \item{etag}{List version.} +#' \item{items}{The list of PipelineInstances.} +#' \item{next_link}{A link to the next page of PipelineInstances.} +#' \item{next_page_token}{The page token for the next page of PipelineInstances.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name PipelineInstanceList +NULL + +#' @export +PipelineInstanceList <- R6::R6Class( + + "PipelineInstanceList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("pipelineinstancelist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' PipelineInstance +#' +#' PipelineInstance +#' +#' @section Usage: +#' \preformatted{pipelineInstance -> PipelineInstance$new(uuid = NULL, +#' etag = NULL, owner_uuid = NULL, created_at = NULL, +#' modified_by_client_uuid = NULL, modified_by_user_uuid = NULL, +#' modified_at = NULL, pipeline_template_uuid = NULL, +#' name = NULL, components = NULL, updated_at = NULL, +#' properties = NULL, state = NULL, components_summary = NULL, +#' started_at = NULL, finished_at = NULL, description = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{created_at}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{pipeline_template_uuid}{} +#' \item{name}{} +#' \item{components}{} +#' \item{updated_at}{} +#' \item{properties}{} +#' \item{state}{} +#' \item{components_summary}{} +#' \item{started_at}{} +#' \item{finished_at}{} +#' \item{description}{} +#' } +#' +#' @name PipelineInstance +NULL + +#' @export +PipelineInstance <- R6::R6Class( + + "PipelineInstance", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + created_at = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + pipeline_template_uuid = NULL, + name = NULL, + components = NULL, + updated_at = NULL, + properties = NULL, + state = NULL, + components_summary = NULL, + started_at = NULL, + finished_at = NULL, + description = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + pipeline_template_uuid = NULL, name = NULL, + components = NULL, updated_at = NULL, properties = NULL, + state = NULL, components_summary = NULL, + started_at = NULL, finished_at = NULL, description = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$created_at <- created_at + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$pipeline_template_uuid <- pipeline_template_uuid + self$name <- name + self$components <- components + self$updated_at <- updated_at + self$properties <- properties + self$state <- state + self$components_summary <- components_summary + self$started_at <- started_at + self$finished_at <- finished_at + self$description <- description + + private$classFields <- c(uuid, etag, owner_uuid, + created_at, modified_by_client_uuid, modified_by_user_uuid, + modified_at, pipeline_template_uuid, name, + components, updated_at, properties, state, + components_summary, started_at, finished_at, + description) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("pipelineinstance" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' NodeList +#' +#' Node list +#' +#' @section Usage: +#' \preformatted{nodeList -> NodeList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#nodeList.} +#' \item{etag}{List version.} +#' \item{items}{The list of Nodes.} +#' \item{next_link}{A link to the next page of Nodes.} +#' \item{next_page_token}{The page token for the next page of Nodes.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name NodeList +NULL + +#' @export +NodeList <- R6::R6Class( + + "NodeList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("nodelist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' Node +#' +#' Node +#' +#' @section Usage: +#' \preformatted{node -> Node$new(uuid = NULL, etag = NULL, +#' owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, modified_at = NULL, slot_number = NULL, +#' hostname = NULL, domain = NULL, ip_address = NULL, +#' first_ping_at = NULL, last_ping_at = NULL, info = NULL, +#' updated_at = NULL, properties = NULL, job_uuid = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{created_at}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{slot_number}{} +#' \item{hostname}{} +#' \item{domain}{} +#' \item{ip_address}{} +#' \item{first_ping_at}{} +#' \item{last_ping_at}{} +#' \item{info}{} +#' \item{updated_at}{} +#' \item{properties}{} +#' \item{job_uuid}{} +#' } +#' +#' @name Node +NULL + +#' @export +Node <- R6::R6Class( + + "Node", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + created_at = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + slot_number = NULL, + hostname = NULL, + domain = NULL, + ip_address = NULL, + first_ping_at = NULL, + last_ping_at = NULL, + info = NULL, + updated_at = NULL, + properties = NULL, + job_uuid = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + slot_number = NULL, hostname = NULL, domain = NULL, + ip_address = NULL, first_ping_at = NULL, + last_ping_at = NULL, info = NULL, updated_at = NULL, + properties = NULL, job_uuid = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$created_at <- created_at + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$slot_number <- slot_number + self$hostname <- hostname + self$domain <- domain + self$ip_address <- ip_address + self$first_ping_at <- first_ping_at + self$last_ping_at <- last_ping_at + self$info <- info + self$updated_at <- updated_at + self$properties <- properties + self$job_uuid <- job_uuid + + private$classFields <- c(uuid, etag, owner_uuid, + created_at, modified_by_client_uuid, modified_by_user_uuid, + modified_at, slot_number, hostname, domain, + ip_address, first_ping_at, last_ping_at, + info, updated_at, properties, job_uuid) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("node" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' RepositoryList +#' +#' Repository list +#' +#' @section Usage: +#' \preformatted{repositoryList -> RepositoryList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#repositoryList.} +#' \item{etag}{List version.} +#' \item{items}{The list of Repositories.} +#' \item{next_link}{A link to the next page of Repositories.} +#' \item{next_page_token}{The page token for the next page of Repositories.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name RepositoryList +NULL + +#' @export +RepositoryList <- R6::R6Class( + + "RepositoryList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("repositorylist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' Repository +#' +#' Repository +#' +#' @section Usage: +#' \preformatted{repository -> Repository$new(uuid = NULL, +#' etag = NULL, owner_uuid = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, modified_at = NULL, name = NULL, +#' created_at = NULL, updated_at = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{name}{} +#' \item{created_at}{} +#' \item{updated_at}{} +#' } +#' +#' @name Repository +NULL + +#' @export +Repository <- R6::R6Class( + + "Repository", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + name = NULL, + created_at = NULL, + updated_at = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + name = NULL, created_at = NULL, updated_at = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$name <- name + self$created_at <- created_at + self$updated_at <- updated_at + + private$classFields <- c(uuid, etag, owner_uuid, + modified_by_client_uuid, modified_by_user_uuid, + modified_at, name, created_at, updated_at) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("repository" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' SpecimenList +#' +#' Specimen list +#' +#' @section Usage: +#' \preformatted{specimenList -> SpecimenList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#specimenList.} +#' \item{etag}{List version.} +#' \item{items}{The list of Specimens.} +#' \item{next_link}{A link to the next page of Specimens.} +#' \item{next_page_token}{The page token for the next page of Specimens.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name SpecimenList +NULL + +#' @export +SpecimenList <- R6::R6Class( + + "SpecimenList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("specimenlist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' Specimen +#' +#' Specimen +#' +#' @section Usage: +#' \preformatted{specimen -> Specimen$new(uuid = NULL, +#' etag = NULL, owner_uuid = NULL, created_at = NULL, +#' modified_by_client_uuid = NULL, modified_by_user_uuid = NULL, +#' modified_at = NULL, material = NULL, updated_at = NULL, +#' properties = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{created_at}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{material}{} +#' \item{updated_at}{} +#' \item{properties}{} +#' } +#' +#' @name Specimen +NULL + +#' @export +Specimen <- R6::R6Class( + + "Specimen", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + created_at = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + material = NULL, + updated_at = NULL, + properties = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + material = NULL, updated_at = NULL, properties = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$created_at <- created_at + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$material <- material + self$updated_at <- updated_at + self$properties <- properties + + private$classFields <- c(uuid, etag, owner_uuid, + created_at, modified_by_client_uuid, modified_by_user_uuid, + modified_at, material, updated_at, properties) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("specimen" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' LogList +#' +#' Log list +#' +#' @section Usage: +#' \preformatted{logList -> LogList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#logList.} +#' \item{etag}{List version.} +#' \item{items}{The list of Logs.} +#' \item{next_link}{A link to the next page of Logs.} +#' \item{next_page_token}{The page token for the next page of Logs.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name LogList +NULL + +#' @export +LogList <- R6::R6Class( + + "LogList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("loglist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' Log +#' +#' Log +#' +#' @section Usage: +#' \preformatted{log -> Log$new(uuid = NULL, etag = NULL, +#' owner_uuid = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, object_uuid = NULL, event_at = NULL, +#' event_type = NULL, summary = NULL, properties = NULL, +#' created_at = NULL, updated_at = NULL, modified_at = NULL, +#' object_owner_uuid = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{object_uuid}{} +#' \item{event_at}{} +#' \item{event_type}{} +#' \item{summary}{} +#' \item{properties}{} +#' \item{created_at}{} +#' \item{updated_at}{} +#' \item{modified_at}{} +#' \item{object_owner_uuid}{} +#' } +#' +#' @name Log +NULL + +#' @export +Log <- R6::R6Class( + + "Log", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + object_uuid = NULL, + event_at = NULL, + event_type = NULL, + summary = NULL, + properties = NULL, + created_at = NULL, + updated_at = NULL, + modified_at = NULL, + object_owner_uuid = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, object_uuid = NULL, + event_at = NULL, event_type = NULL, summary = NULL, + properties = NULL, created_at = NULL, updated_at = NULL, + modified_at = NULL, object_owner_uuid = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$object_uuid <- object_uuid + self$event_at <- event_at + self$event_type <- event_type + self$summary <- summary + self$properties <- properties + self$created_at <- created_at + self$updated_at <- updated_at + self$modified_at <- modified_at + self$object_owner_uuid <- object_owner_uuid + + private$classFields <- c(uuid, etag, owner_uuid, + modified_by_client_uuid, modified_by_user_uuid, + object_uuid, event_at, event_type, summary, + properties, created_at, updated_at, modified_at, + object_owner_uuid) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("log" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' TraitList +#' +#' Trait list +#' +#' @section Usage: +#' \preformatted{traitList -> TraitList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#traitList.} +#' \item{etag}{List version.} +#' \item{items}{The list of Traits.} +#' \item{next_link}{A link to the next page of Traits.} +#' \item{next_page_token}{The page token for the next page of Traits.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name TraitList +NULL + +#' @export +TraitList <- R6::R6Class( + + "TraitList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("traitlist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' Trait +#' +#' Trait +#' +#' @section Usage: +#' \preformatted{trait -> Trait$new(uuid = NULL, etag = NULL, +#' owner_uuid = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, modified_at = NULL, name = NULL, +#' properties = NULL, created_at = NULL, updated_at = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{name}{} +#' \item{properties}{} +#' \item{created_at}{} +#' \item{updated_at}{} +#' } +#' +#' @name Trait +NULL + +#' @export +Trait <- R6::R6Class( + + "Trait", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + name = NULL, + properties = NULL, + created_at = NULL, + updated_at = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + name = NULL, properties = NULL, created_at = NULL, + updated_at = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$name <- name + self$properties <- properties + self$created_at <- created_at + self$updated_at <- updated_at + + private$classFields <- c(uuid, etag, owner_uuid, + modified_by_client_uuid, modified_by_user_uuid, + modified_at, name, properties, created_at, + updated_at) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("trait" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' VirtualMachineList +#' +#' VirtualMachine list +#' +#' @section Usage: +#' \preformatted{virtualMachineList -> VirtualMachineList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#virtualMachineList.} +#' \item{etag}{List version.} +#' \item{items}{The list of VirtualMachines.} +#' \item{next_link}{A link to the next page of VirtualMachines.} +#' \item{next_page_token}{The page token for the next page of VirtualMachines.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name VirtualMachineList +NULL + +#' @export +VirtualMachineList <- R6::R6Class( + + "VirtualMachineList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("virtualmachinelist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' VirtualMachine +#' +#' VirtualMachine +#' +#' @section Usage: +#' \preformatted{virtualMachine -> VirtualMachine$new(uuid = NULL, +#' etag = NULL, owner_uuid = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, modified_at = NULL, hostname = NULL, +#' created_at = NULL, updated_at = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{hostname}{} +#' \item{created_at}{} +#' \item{updated_at}{} +#' } +#' +#' @name VirtualMachine +NULL + +#' @export +VirtualMachine <- R6::R6Class( + + "VirtualMachine", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + hostname = NULL, + created_at = NULL, + updated_at = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + hostname = NULL, created_at = NULL, updated_at = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$hostname <- hostname + self$created_at <- created_at + self$updated_at <- updated_at + + private$classFields <- c(uuid, etag, owner_uuid, + modified_by_client_uuid, modified_by_user_uuid, + modified_at, hostname, created_at, updated_at) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("virtualmachine" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' WorkflowList +#' +#' Workflow list +#' +#' @section Usage: +#' \preformatted{workflowList -> WorkflowList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#workflowList.} +#' \item{etag}{List version.} +#' \item{items}{The list of Workflows.} +#' \item{next_link}{A link to the next page of Workflows.} +#' \item{next_page_token}{The page token for the next page of Workflows.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name WorkflowList +NULL + +#' @export +WorkflowList <- R6::R6Class( + + "WorkflowList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("workflowlist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' Workflow +#' +#' Workflow +#' +#' @section Usage: +#' \preformatted{workflow -> Workflow$new(uuid = NULL, +#' etag = NULL, owner_uuid = NULL, created_at = NULL, +#' modified_at = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, name = NULL, description = NULL, +#' definition = NULL, updated_at = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{created_at}{} +#' \item{modified_at}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{name}{} +#' \item{description}{} +#' \item{definition}{} +#' \item{updated_at}{} +#' } +#' +#' @name Workflow +NULL + +#' @export +Workflow <- R6::R6Class( + + "Workflow", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + created_at = NULL, + modified_at = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + name = NULL, + description = NULL, + definition = NULL, + updated_at = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, created_at = NULL, modified_at = NULL, + modified_by_client_uuid = NULL, modified_by_user_uuid = NULL, + name = NULL, description = NULL, definition = NULL, + updated_at = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$created_at <- created_at + self$modified_at <- modified_at + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$name <- name + self$description <- description + self$definition <- definition + self$updated_at <- updated_at + + private$classFields <- c(uuid, etag, owner_uuid, + created_at, modified_at, modified_by_client_uuid, + modified_by_user_uuid, name, description, + definition, updated_at) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("workflow" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' GroupList +#' +#' Group list +#' +#' @section Usage: +#' \preformatted{groupList -> GroupList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#groupList.} +#' \item{etag}{List version.} +#' \item{items}{The list of Groups.} +#' \item{next_link}{A link to the next page of Groups.} +#' \item{next_page_token}{The page token for the next page of Groups.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name GroupList +NULL + +#' @export +GroupList <- R6::R6Class( + + "GroupList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("grouplist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' Group +#' +#' Group +#' +#' @section Usage: +#' \preformatted{group -> Group$new(uuid = NULL, etag = NULL, +#' owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, +#' modified_by_user_uuid = NULL, modified_at = NULL, name = NULL, +#' description = NULL, updated_at = NULL, group_class = NULL, +#' trash_at = NULL, is_trashed = NULL, delete_at = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{uuid}{} +#' \item{owner_uuid}{} +#' \item{created_at}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{name}{} +#' \item{description}{} +#' \item{updated_at}{} +#' \item{group_class}{} +#' \item{trash_at}{} +#' \item{is_trashed}{} +#' \item{delete_at}{} +#' } +#' +#' @name Group +NULL + +#' @export +Group <- R6::R6Class( + + "Group", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + created_at = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + name = NULL, + description = NULL, + updated_at = NULL, + group_class = NULL, + trash_at = NULL, + is_trashed = NULL, + delete_at = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + name = NULL, description = NULL, updated_at = NULL, + group_class = NULL, trash_at = NULL, is_trashed = NULL, + delete_at = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$created_at <- created_at + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$name <- name + self$description <- description + self$updated_at <- updated_at + self$group_class <- group_class + self$trash_at <- trash_at + self$is_trashed <- is_trashed + self$delete_at <- delete_at + + private$classFields <- c(uuid, etag, owner_uuid, + created_at, modified_by_client_uuid, modified_by_user_uuid, + modified_at, name, description, updated_at, + group_class, trash_at, is_trashed, delete_at) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("group" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' UserAgreementList +#' +#' UserAgreement list +#' +#' @section Usage: +#' \preformatted{userAgreementList -> UserAgreementList$new(kind = NULL, +#' etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, +#' selfLink = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{kind}{Object type. Always arvados#userAgreementList.} +#' \item{etag}{List version.} +#' \item{items}{The list of UserAgreements.} +#' \item{next_link}{A link to the next page of UserAgreements.} +#' \item{next_page_token}{The page token for the next page of UserAgreements.} +#' \item{selfLink}{A link back to this list.} +#' } +#' +#' @name UserAgreementList +NULL + +#' @export +UserAgreementList <- R6::R6Class( + + "UserAgreementList", + + public = list( + kind = NULL, + etag = NULL, + items = NULL, + next_link = NULL, + next_page_token = NULL, + selfLink = NULL, + + initialize = function(kind = NULL, etag = NULL, + items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) + { + self$kind <- kind + self$etag <- etag + self$items <- items + self$next_link <- next_link + self$next_page_token <- next_page_token + self$selfLink <- selfLink + + private$classFields <- c(kind, etag, items, + next_link, next_page_token, selfLink) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("useragreementlist" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + +#' UserAgreement +#' +#' UserAgreement +#' +#' @section Usage: +#' \preformatted{userAgreement -> UserAgreement$new(uuid = NULL, +#' etag = NULL, owner_uuid = NULL, created_at = NULL, +#' modified_by_client_uuid = NULL, modified_by_user_uuid = NULL, +#' modified_at = NULL, portable_data_hash = NULL, replication_desired = NULL, +#' replication_confirmed_at = NULL, replication_confirmed = NULL, +#' updated_at = NULL, manifest_text = NULL, name = NULL, +#' description = NULL, properties = NULL, delete_at = NULL, +#' file_names = NULL, trash_at = NULL, is_trashed = NULL) +#' } +#' +#' @section Arguments: +#' \describe{ +#' \item{uuid}{Object ID.} +#' \item{etag}{Object version.} +#' \item{owner_uuid}{} +#' \item{created_at}{} +#' \item{modified_by_client_uuid}{} +#' \item{modified_by_user_uuid}{} +#' \item{modified_at}{} +#' \item{portable_data_hash}{} +#' \item{replication_desired}{} +#' \item{replication_confirmed_at}{} +#' \item{replication_confirmed}{} +#' \item{updated_at}{} +#' \item{uuid}{} +#' \item{manifest_text}{} +#' \item{name}{} +#' \item{description}{} +#' \item{properties}{} +#' \item{delete_at}{} +#' \item{file_names}{} +#' \item{trash_at}{} +#' \item{is_trashed}{} +#' } +#' +#' @name UserAgreement +NULL + +#' @export +UserAgreement <- R6::R6Class( + + "UserAgreement", + + public = list( + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + created_at = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + portable_data_hash = NULL, + replication_desired = NULL, + replication_confirmed_at = NULL, + replication_confirmed = NULL, + updated_at = NULL, + manifest_text = NULL, + name = NULL, + description = NULL, + properties = NULL, + delete_at = NULL, + file_names = NULL, + trash_at = NULL, + is_trashed = NULL, + + initialize = function(uuid = NULL, etag = NULL, + owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + portable_data_hash = NULL, replication_desired = NULL, + replication_confirmed_at = NULL, replication_confirmed = NULL, + updated_at = NULL, manifest_text = NULL, + name = NULL, description = NULL, properties = NULL, + delete_at = NULL, file_names = NULL, trash_at = NULL, + is_trashed = NULL) + { + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$created_at <- created_at + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$portable_data_hash <- portable_data_hash + self$replication_desired <- replication_desired + self$replication_confirmed_at <- replication_confirmed_at + self$replication_confirmed <- replication_confirmed + self$updated_at <- updated_at + self$manifest_text <- manifest_text + self$name <- name + self$description <- description + self$properties <- properties + self$delete_at <- delete_at + self$file_names <- file_names + self$trash_at <- trash_at + self$is_trashed <- is_trashed + + private$classFields <- c(uuid, etag, owner_uuid, + created_at, modified_by_client_uuid, modified_by_user_uuid, + modified_at, portable_data_hash, replication_desired, + replication_confirmed_at, replication_confirmed, + updated_at, manifest_text, name, description, + properties, delete_at, file_names, trash_at, + is_trashed) + }, + + toJSON = function() { + fields <- sapply(private$classFields, function(field) + { + self[[field]] + }, USE.NAMES = TRUE) + + jsonlite::toJSON(list("useragreement" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE) + } + ), + + private = list( + classFields = NULL + ), + + cloneable = FALSE +) + diff --git a/sdk/R/R/Collection.R b/sdk/R/R/Collection.R index ed5b4f4b96..ba66c8b4b2 100644 --- a/sdk/R/R/Collection.R +++ b/sdk/R/R/Collection.R @@ -53,22 +53,74 @@ Collection <- R6::R6Class( public = list( - api = NULL, - uuid = NULL, - - initialize = function(api, uuid) + uuid = NULL, + etag = NULL, + owner_uuid = NULL, + created_at = NULL, + modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, + modified_at = NULL, + portable_data_hash = NULL, + replication_desired = NULL, + replication_confirmed_at = NULL, + replication_confirmed = NULL, + updated_at = NULL, + manifest_text = NULL, + name = NULL, + description = NULL, + properties = NULL, + delete_at = NULL, + file_names = NULL, + trash_at = NULL, + is_trashed = NULL, + + initialize = function(uuid = NULL, etag = NULL, owner_uuid = NULL, + created_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, + portable_data_hash = NULL, replication_desired = NULL, + replication_confirmed_at = NULL, + replication_confirmed = NULL, updated_at = NULL, + manifest_text = NULL, name = NULL, description = NULL, + properties = NULL, delete_at = NULL, file_names = NULL, + trash_at = NULL, is_trashed = NULL) { - self$api <- api - private$REST <- api$getRESTService() - - self$uuid <- uuid - - private$fileContent <- private$REST$getCollectionContent(uuid) - private$tree <- CollectionTree$new(private$fileContent, self) + self$uuid <- uuid + self$etag <- etag + self$owner_uuid <- owner_uuid + self$created_at <- created_at + self$modified_by_client_uuid <- modified_by_client_uuid + self$modified_by_user_uuid <- modified_by_user_uuid + self$modified_at <- modified_at + self$portable_data_hash <- portable_data_hash + self$replication_desired <- replication_desired + self$replication_confirmed_at <- replication_confirmed_at + self$replication_confirmed <- replication_confirmed + self$updated_at <- updated_at + self$manifest_text <- manifest_text + self$name <- name + self$description <- description + self$properties <- properties + self$delete_at <- delete_at + self$file_names <- file_names + self$trash_at <- trash_at + self$is_trashed <- is_trashed + + private$classFields <- c("uuid", "etag", "owner_uuid", + "created_at", "modified_by_client_uuid", + "modified_by_user_uuid", "modified_at", + "portable_data_hash", "replication_desired", + "replication_confirmed_at", + "replication_confirmed", "updated_at", + "manifest_text", "name", "description", + "properties", "delete_at", "file_names", + "trash_at", "is_trashed") }, add = function(content, relativePath = "") { + if(is.null(private$tree)) + private$genereateCollectionTreeStructure() + if(relativePath == "" || relativePath == "." || relativePath == "./") @@ -87,7 +139,6 @@ Collection <- R6::R6Class( if("ArvadosFile" %in% class(content) || "Subcollection" %in% class(content)) { - if(content$getName() == "") stop("Content has invalid name.") @@ -104,6 +155,9 @@ Collection <- R6::R6Class( create = function(fileNames, relativePath = "") { + if(is.null(private$tree)) + private$genereateCollectionTreeStructure() + if(relativePath == "" || relativePath == "." || relativePath == "./") @@ -149,6 +203,9 @@ Collection <- R6::R6Class( remove = function(paths) { + if(is.null(private$tree)) + private$genereateCollectionTreeStructure() + if(is.character(paths)) { sapply(paths, function(filePath) @@ -179,6 +236,9 @@ Collection <- R6::R6Class( move = function(content, newLocation) { + if(is.null(private$tree)) + private$genereateCollectionTreeStructure() + content <- trimFromEnd(content, "/") elementToMove <- self$get(content) @@ -191,15 +251,32 @@ 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) + }, + getRESTService = function() private$REST, setRESTService = function(newRESTService) private$REST <- newRESTService ), @@ -208,7 +285,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 diff --git a/sdk/R/R/HttpRequest.R b/sdk/R/R/HttpRequest.R index f8ad0a60cd..a0e8077bc5 100644 --- a/sdk/R/R/HttpRequest.R +++ b/sdk/R/R/HttpRequest.R @@ -30,6 +30,21 @@ HttpRequest <- R6::R6Class( config = headers, times = retryTimes + 1) }, + 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$genQuery(queryParams) + url <- paste0(url, urlQuery) + + # times = 1 regular call + numberOfRetries + response <- httr::RETRY(verb, url = url, body = body, + config = headers, times = retryTimes + 1) + }, + createQuery = function(filters, limit, offset) { finalQuery <- NULL @@ -45,6 +60,29 @@ HttpRequest <- R6::R6Class( finalQuery <- paste0("/?", finalQuery) finalQuery + }, + + genQuery = function(queryParams) + { + queryParams <- Filter(Negate(is.null), queryParams) + + query <- sapply(queryParams, function(param) + { + if(is.list(param) || length(param) > 1) + param <- RListToPythonList(param, ",") + + URLencode(as.character(param), reserved = T, repeated = T) + + }, USE.NAMES = TRUE) + + if(length(query) > 0) + { + query <- paste0(names(query), "=", query, collapse = "&") + + return(paste0("/?", query)) + } + + return("") } ), diff --git a/sdk/R/R/RESTService.R b/sdk/R/R/RESTService.R index 12e6591ee8..b87310e916 100644 --- a/sdk/R/R/RESTService.R +++ b/sdk/R/R/RESTService.R @@ -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,40 +50,7 @@ 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 - }, - + #Move this to utility fetchAllItems = function(resourceURL, filters) { headers <- list(Authorization = paste("OAuth2", self$token)) @@ -120,61 +82,6 @@ RESTService <- R6::R6Class( 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) diff --git a/sdk/R/R/autoGenAPI.R b/sdk/R/R/autoGenAPI.R new file mode 100644 index 0000000000..39e0430fd7 --- /dev/null +++ b/sdk/R/R/autoGenAPI.R @@ -0,0 +1,503 @@ +#TODO: Some methods do the same thing like collecion.index and collection.list. +# Make one implementation of the method and make other reference to it. + +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. + JSONDocument <- getAPIDocument() + + generateArvadosClasses(JSONDocument) + generateArvadosAPIClass(JSONDocument) +} + +generateArvadosAPIClass <- function(discoveryDocument) +{ + classMetaData <- discoveryDocument$schemas + functionResources <- discoveryDocument$resources + resourceNames <- names(functionResources) + + doc <- generateMethodsDocumentation(functionResources, resourceNames) + arvadosAPIHeader <- generateAPIClassHeader() + arvadosClassMethods <- generateClassContent(functionResources, + resourceNames, classMetaData) + arvadosAPIFooter <- generateAPIClassFooter() + + arvadosClass <- c(doc, arvadosAPIHeader, arvadosClassMethods, arvadosAPIFooter) + + #TODO: Save to a file or load in memory? + fileConn <- file("./R/Arvados.R", "w") + writeLines(unlist(arvadosClass), fileConn) + close(fileConn) + NULL +} + +generateClassContent <- function(functionResources, resourceNames, classMetaData) +{ + + arvadosMethods <- Map(function(resource, resourceName) + { + methodNames <- names(resource$methods) + + functions <- Map(function(methodMetaData, methodName) + { + methodName <- paste0(resourceName, ".", methodName) + createFunction(methodName, methodMetaData, classMetaData) + + }, resource$methods, methodNames) + + unlist(unname(functions)) + + }, functionResources, resourceNames) + + arvadosMethods +} + +generateMethodsDocumentation <- function(functionResources, resourceNames) +{ + arvadosMethods <- unlist(unname(Map(function(resource, resourceName) + { + methodNames <- names(resource$methods) + + functions <- Map(function(methodMetaData, methodName) + { + methodName <- paste0(resourceName, ".", methodName) + getMethodDocumentation(methodName, methodMetaData) + + }, resource$methods, methodNames) + + unlist(unname(functions)) + + }, functionResources, resourceNames))) + + arvadosMethods +} + +getMethodDocumentation <- 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(description, + "#' ", + usage, + params, + returnValue, + name, + "NULL", + "") +} + +getMethodUsage <- function(methodName, methodMetaData) +{ + args <- getFunctionArguments(methodMetaData) + c(formatArgs(paste0("#' @usage arv$", methodName, "("), "#' \t", args, ")", 40)) +} + +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) +} + +getFunctionName <- function(functionMetaData) +{ + stringr::str_replace(functionMetaData$id, "arvados.", "") +} + +#TODO: Make sure that arguments that are required always go first. +# This is not the case if request$required is false. +getFunctionArguments <- function(functionMetaData) +{ + request <- functionMetaData$request + requestArgs <- NULL + + if(!is.null(request)) + { + if(request$required) + requestArgs <- names(request$properties) + else + requestArgs <- paste(names(request$properties), "=", "NULL") + } + + argNames <- names(functionMetaData$parameters) + + args <- sapply(argNames, function(argName) + { + arg <- functionMetaData$parameters[[argName]] + + if(!arg$required) + { + if(!is.null(arg$default)) + return(paste0(argName, " = ", "\"", arg$default, "\"")) + else + return(paste(argName, "=", "NULL")) + } + + argName + }) + + c(requestArgs, args) +} + +getFunctionBody <- function(functionMetaData, classMetaData) +{ + url <- getRequestURL(functionMetaData) + headers <- getRequestHeaders() + requestQueryList <- getRequestQueryList(functionMetaData) + requestBody <- getRequestBody(functionMetaData) + request <- getRequest(functionMetaData) + response <- getResponse(functionMetaData) + errorCheck <- getErrorCheckingCode() + returnObject <- getReturnObject(functionMetaData, classMetaData) + + body <- c(url, + headers, + requestQueryList, + requestBody, "", + request, response, "", + errorCheck, "", + returnObject) + + paste0("\t\t\t", body) +} + +getErrorCheckingCode <- function() +{ + c("if(!is.null(resource$errors))", "\tstop(resource$errors)") +} + +getRequestBody <- function(functionMetaData) +{ + request <- functionMetaData$request + + if(is.null(request) || !request$required) + return("body <- NULL") + + requestParameterName <- names(request$properties)[1] + paste0("body <- ", requestParameterName, "$toJSON()") +} + +getRequestHeaders <- function() +{ + c("headers <- list(Authorization = paste(\"OAuth2\", private$token), ", + " \"Content-Type\" = \"application/json\")") +} + +getReturnObject <- function(functionMetaData, classMetaData) +{ + returnClass <- functionMetaData$response[["$ref"]] + classArguments <- getReturnClassArguments(returnClass, classMetaData) + + + if(returnClass == "Collection") + return(c(formatArgs("collection <- Collection$new(", "\t", + classArguments, ")", 40), + "", + "collection$setRESTService(private$REST)", + "collection")) + + formatArgs(paste0(returnClass, "$new("), "\t", classArguments, ")", 40) +} + +getReturnClassArguments <- function(className, classMetaData) +{ + classArguments <- unique(names(classMetaData[[className]]$properties)) + + arguments <- sapply(classArguments, function(arg) + { + paste0(arg, " = resource$", arg) + }) + + arguments +} + +getRequest <- function(functionMetaData) +{ + method <- functionMetaData$httpMethod + c(paste0("response <- private$REST$http$exec(\"", method, "\", url, headers, body,"), + " queryArgs, private$numRetries)") +} + +getResponse <- function(functionMetaData) +{ + "resource <- private$REST$httpParser$parseJSONResponse(response)" +} + +getRequestURL <- function(functionMetaData) +{ + endPoint <- functionMetaData$path + endPoint <- stringr::str_replace_all(endPoint, "\\{", "${") + url <- c(paste0("endPoint <- stringr::str_interp(\"", endPoint, "\")"), + paste0("url <- paste0(private$host, endPoint)")) + url +} + +getRequestQueryList <- function(functionMetaData) +{ + args <- names(functionMetaData$parameters) + + if(length(args) == 0) + return("queryArgs <- NULL") + + args <- sapply(args, function(arg) paste0(arg, " = ", arg)) + collapsedArgs <- paste0(args, collapse = ", ") + + if(nchar(collapsedArgs) > 40) + return(formatArgs("queryArgs <- list(", "\t", args, ")", 40)) + else + return(paste0("queryArgs <- list(", collapsedArgs, ")")) +} + +createFunction <- function(functionName, functionMetaData, classMetaData) +{ + args <- getFunctionArguments(functionMetaData) + body <- getFunctionBody(functionMetaData, classMetaData) + funSignature <- getFunSignature(functionName, args) + + c(funSignature, + "\t\t{", + body, + "\t\t},\n") +} + +getFunSignature <- function(funName, args) +{ + collapsedArgs <- paste0(args, collapse = ", ") + + if(nchar(collapsedArgs) > 40) + { + return(paste0("\t\t", + formatArgs(paste(funName, "= function("), + "\t", args, ")", 40))) + } + else + { + return(paste0("\t\t", funName, " = function(", collapsedArgs, ")")) + } +} + +generateAPIClassHeader <- function() +{ + c("#' @export", + "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") +} + +generateAPIClassFooter <- function() +{ + c("\t\tgetHostName = function() private$host,", + "\t\tgetToken = function() private$token,", + "\t\tsetRESTService = function(newREST) private$REST <- newREST", + "\t),", + "", + "\tprivate = list(", + "", + "\t\ttoken = NULL,", + "\t\thost = NULL,", + "\t\tREST = NULL,", + "\t\tnumRetries = NULL", + "\t),", + "", + "\tcloneable = FALSE", + ")") +} + +generateArvadosClasses <- function(resources) +{ + classes <- sapply(resources$schemas, function(classSchema) + { + #NOTE: Collection is implemented manually. + if(classSchema$id != "Collection") + getArvadosClass(classSchema) + + }, USE.NAMES = TRUE) + + unlist(unname(classes)) + + fileConn <- file("./R/ArvadosClasses.R", "w") + writeLines(unlist(classes), fileConn) + close(fileConn) + NULL +} + +getArvadosClass <- function(classSchema) +{ + name <- classSchema$id + fields <- unique(names(classSchema$properties)) + constructorArgs <- paste(fields, "= NULL") + documentation <- getClassDocumentation(classSchema, constructorArgs) + + classString <- c(documentation, + paste0(name, " <- R6::R6Class("), + "", + paste0("\t\"", name, "\","), + "", + "\tpublic = list(", + paste0("\t\t", fields, " = NULL,"), + "", + paste0("\t\t", formatArgs("initialize = function(", "\t\t", + constructorArgs, ")", 40)), + "\t\t{", + paste0("\t\t\tself$", fields, " <- ", fields), + "\t\t\t", + paste0("\t\t\t", formatArgs("private$classFields <- c(", "\t", + fields, ")", 40)), + "\t\t},", + "", + "\t\ttoJSON = function() {", + "\t\t\tfields <- sapply(private$classFields, function(field)", + "\t\t\t{", + "\t\t\t\tself[[field]]", + "\t\t\t}, USE.NAMES = TRUE)", + "\t\t\t", + paste0("\t\t\tjsonlite::toJSON(list(\"", tolower(name), "\" = + Filter(Negate(is.null), fields)), auto_unbox = TRUE)"), + "\t\t}", + "\t),", + "", + "\tprivate = list(", + "\t\tclassFields = NULL", + "\t),", + "", + "\tcloneable = FALSE", + ")", + "") +} + +getClassDocumentation <- function(classSchema, constructorArgs) +{ + name <- classSchema$id + description <- classSchema$description + nameLowercaseFirstLetter <- paste0(tolower(substr(name, 1, 1)), + substr(name, 2, nchar(name))) + c(paste0("#' ", name), + "#' ", + paste0("#' ", description), + "#' ", + "#' @section Usage:", + formatArgs(paste0("#' \\preformatted{", + nameLowercaseFirstLetter, " -> ", name, "$new("), + "#' \t", constructorArgs, ")", 50), + + "#' }", + "#' ", + paste0("#' @section Arguments:"), + "#' \\describe{", + paste0("#' ", getClassArgumentDescription(classSchema)), + "#' }", + "#' ", + paste0("#' @name ", name), + "NULL", + "", + "#' @export") +} + +getClassArgumentDescription <- function(classSchema) +{ + argDoc <- sapply(classSchema$properties, function(arg) + { + paste0("{", arg$description, "}") + }, USE.NAMES = TRUE) + + paste0("\\item{", names(classSchema$properties), "}", argDoc) +} + +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 +} diff --git a/sdk/R/man/ApiClient.Rd b/sdk/R/man/ApiClient.Rd new file mode 100644 index 0000000000..1a0aaa52a0 --- /dev/null +++ b/sdk/R/man/ApiClient.Rd @@ -0,0 +1,36 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{ApiClient} +\alias{ApiClient} +\title{ApiClient} +\description{ +ApiClient +} +\section{Usage}{ + +\preformatted{apiClient -> ApiClient$new(uuid = NULL, + etag = NULL, owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, name = NULL, + url_prefix = NULL, created_at = NULL, updated_at = NULL, + is_trusted = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{name}{} + \item{url_prefix}{} + \item{created_at}{} + \item{updated_at}{} + \item{is_trusted}{} + } +} + diff --git a/sdk/R/man/ApiClientAuthorization.Rd b/sdk/R/man/ApiClientAuthorization.Rd new file mode 100644 index 0000000000..ef74a16678 --- /dev/null +++ b/sdk/R/man/ApiClientAuthorization.Rd @@ -0,0 +1,38 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{ApiClientAuthorization} +\alias{ApiClientAuthorization} +\title{ApiClientAuthorization} +\description{ +ApiClientAuthorization +} +\section{Usage}{ + +\preformatted{apiClientAuthorization -> ApiClientAuthorization$new(uuid = NULL, + etag = NULL, api_token = NULL, api_client_id = NULL, + user_id = NULL, created_by_ip_address = NULL, last_used_by_ip_address = NULL, + last_used_at = NULL, expires_at = NULL, created_at = NULL, + updated_at = NULL, default_owner_uuid = NULL, scopes = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{api_token}{} + \item{api_client_id}{} + \item{user_id}{} + \item{created_by_ip_address}{} + \item{last_used_by_ip_address}{} + \item{last_used_at}{} + \item{expires_at}{} + \item{created_at}{} + \item{updated_at}{} + \item{default_owner_uuid}{} + \item{scopes}{} + \item{uuid}{} + } +} + diff --git a/sdk/R/man/ApiClientAuthorizationList.Rd b/sdk/R/man/ApiClientAuthorizationList.Rd new file mode 100644 index 0000000000..9c3a6b5442 --- /dev/null +++ b/sdk/R/man/ApiClientAuthorizationList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{ApiClientAuthorizationList} +\alias{ApiClientAuthorizationList} +\title{ApiClientAuthorizationList} +\description{ +ApiClientAuthorization list +} +\section{Usage}{ + +\preformatted{apiClientAuthorizationList -> ApiClientAuthorizationList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#apiClientAuthorizationList.} + \item{etag}{List version.} + \item{items}{The list of ApiClientAuthorizations.} + \item{next_link}{A link to the next page of ApiClientAuthorizations.} + \item{next_page_token}{The page token for the next page of ApiClientAuthorizations.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/ApiClientList.Rd b/sdk/R/man/ApiClientList.Rd new file mode 100644 index 0000000000..c632c3f7b3 --- /dev/null +++ b/sdk/R/man/ApiClientList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{ApiClientList} +\alias{ApiClientList} +\title{ApiClientList} +\description{ +ApiClient list +} +\section{Usage}{ + +\preformatted{apiClientList -> ApiClientList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#apiClientList.} + \item{etag}{List version.} + \item{items}{The list of ApiClients.} + \item{next_link}{A link to the next page of ApiClients.} + \item{next_page_token}{The page token for the next page of ApiClients.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/Arvados.Rd b/sdk/R/man/Arvados.Rd deleted file mode 100644 index 3c66437f04..0000000000 --- a/sdk/R/man/Arvados.Rd +++ /dev/null @@ -1,62 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/Arvados.R -\name{Arvados} -\alias{Arvados} -\title{Arvados} -\description{ -Arvados class gives users ability to manipulate collections and projects. -} -\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.} -} -} - -\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.} -} -} - -\examples{ -\dontrun{ -arv <- Arvados$new("your Arvados token", "example.arvadosapi.com") - -collection <- arv$getCollection("uuid") - -collectionList <- arv$listCollections(list(list("name", "like", "Test\%"))) -collectionList <- arv$listAllCollections(list(list("name", "like", "Test\%"))) - -deletedCollection <- arv$deleteCollection("uuid") - -updatedCollection <- arv$updateCollection("uuid", list(name = "New name", - description = "New description")) - -createdCollection <- arv$createCollection(list(name = "Example", - description = "This is a test collection")) -} -} diff --git a/sdk/R/man/AuthorizedKey.Rd b/sdk/R/man/AuthorizedKey.Rd new file mode 100644 index 0000000000..458b9caa82 --- /dev/null +++ b/sdk/R/man/AuthorizedKey.Rd @@ -0,0 +1,38 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{AuthorizedKey} +\alias{AuthorizedKey} +\title{AuthorizedKey} +\description{ +AuthorizedKey +} +\section{Usage}{ + +\preformatted{authorizedKey -> AuthorizedKey$new(uuid = NULL, + etag = NULL, owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, name = NULL, + key_type = NULL, authorized_user_uuid = NULL, public_key = NULL, + expires_at = NULL, created_at = NULL, updated_at = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{name}{} + \item{key_type}{} + \item{authorized_user_uuid}{} + \item{public_key}{} + \item{expires_at}{} + \item{created_at}{} + \item{updated_at}{} + } +} + diff --git a/sdk/R/man/AuthorizedKeyList.Rd b/sdk/R/man/AuthorizedKeyList.Rd new file mode 100644 index 0000000000..17c584f948 --- /dev/null +++ b/sdk/R/man/AuthorizedKeyList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{AuthorizedKeyList} +\alias{AuthorizedKeyList} +\title{AuthorizedKeyList} +\description{ +AuthorizedKey list +} +\section{Usage}{ + +\preformatted{authorizedKeyList -> AuthorizedKeyList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#authorizedKeyList.} + \item{etag}{List version.} + \item{items}{The list of AuthorizedKeys.} + \item{next_link}{A link to the next page of AuthorizedKeys.} + \item{next_page_token}{The page token for the next page of AuthorizedKeys.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/CollectionList.Rd b/sdk/R/man/CollectionList.Rd new file mode 100644 index 0000000000..33bb954171 --- /dev/null +++ b/sdk/R/man/CollectionList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{CollectionList} +\alias{CollectionList} +\title{CollectionList} +\description{ +Collection list +} +\section{Usage}{ + +\preformatted{collectionList -> CollectionList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#collectionList.} + \item{etag}{List version.} + \item{items}{The list of Collections.} + \item{next_link}{A link to the next page of Collections.} + \item{next_page_token}{The page token for the next page of Collections.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/Container.Rd b/sdk/R/man/Container.Rd new file mode 100644 index 0000000000..bb078f2682 --- /dev/null +++ b/sdk/R/man/Container.Rd @@ -0,0 +1,56 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{Container} +\alias{Container} +\title{Container} +\description{ +Container +} +\section{Usage}{ + +\preformatted{container -> Container$new(uuid = NULL, + etag = NULL, owner_uuid = NULL, created_at = NULL, + modified_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, state = NULL, started_at = NULL, + finished_at = NULL, log = NULL, environment = NULL, + cwd = NULL, command = NULL, output_path = NULL, mounts = NULL, + runtime_constraints = NULL, output = NULL, container_image = NULL, + progress = NULL, priority = NULL, updated_at = NULL, + exit_code = NULL, auth_uuid = NULL, locked_by_uuid = NULL, + scheduling_parameters = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{created_at}{} + \item{modified_at}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{state}{} + \item{started_at}{} + \item{finished_at}{} + \item{log}{} + \item{environment}{} + \item{cwd}{} + \item{command}{} + \item{output_path}{} + \item{mounts}{} + \item{runtime_constraints}{} + \item{output}{} + \item{container_image}{} + \item{progress}{} + \item{priority}{} + \item{updated_at}{} + \item{exit_code}{} + \item{auth_uuid}{} + \item{locked_by_uuid}{} + \item{scheduling_parameters}{} + } +} + diff --git a/sdk/R/man/ContainerList.Rd b/sdk/R/man/ContainerList.Rd new file mode 100644 index 0000000000..bfa82029b4 --- /dev/null +++ b/sdk/R/man/ContainerList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{ContainerList} +\alias{ContainerList} +\title{ContainerList} +\description{ +Container list +} +\section{Usage}{ + +\preformatted{containerList -> ContainerList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#containerList.} + \item{etag}{List version.} + \item{items}{The list of Containers.} + \item{next_link}{A link to the next page of Containers.} + \item{next_page_token}{The page token for the next page of Containers.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/ContainerRequest.Rd b/sdk/R/man/ContainerRequest.Rd new file mode 100644 index 0000000000..8b38410507 --- /dev/null +++ b/sdk/R/man/ContainerRequest.Rd @@ -0,0 +1,64 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{ContainerRequest} +\alias{ContainerRequest} +\title{ContainerRequest} +\description{ +ContainerRequest +} +\section{Usage}{ + +\preformatted{containerRequest -> ContainerRequest$new(uuid = NULL, + etag = NULL, owner_uuid = NULL, created_at = NULL, + modified_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, name = NULL, description = NULL, + properties = NULL, state = NULL, requesting_container_uuid = NULL, + container_uuid = NULL, container_count_max = NULL, + mounts = NULL, runtime_constraints = NULL, container_image = NULL, + environment = NULL, cwd = NULL, command = NULL, output_path = NULL, + priority = NULL, expires_at = NULL, filters = NULL, + updated_at = NULL, container_count = NULL, use_existing = NULL, + scheduling_parameters = NULL, output_uuid = NULL, log_uuid = NULL, + output_name = NULL, output_ttl = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{created_at}{} + \item{modified_at}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{name}{} + \item{description}{} + \item{properties}{} + \item{state}{} + \item{requesting_container_uuid}{} + \item{container_uuid}{} + \item{container_count_max}{} + \item{mounts}{} + \item{runtime_constraints}{} + \item{container_image}{} + \item{environment}{} + \item{cwd}{} + \item{command}{} + \item{output_path}{} + \item{priority}{} + \item{expires_at}{} + \item{filters}{} + \item{updated_at}{} + \item{container_count}{} + \item{use_existing}{} + \item{scheduling_parameters}{} + \item{output_uuid}{} + \item{log_uuid}{} + \item{output_name}{} + \item{output_ttl}{} + } +} + diff --git a/sdk/R/man/ContainerRequestList.Rd b/sdk/R/man/ContainerRequestList.Rd new file mode 100644 index 0000000000..f44717d234 --- /dev/null +++ b/sdk/R/man/ContainerRequestList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{ContainerRequestList} +\alias{ContainerRequestList} +\title{ContainerRequestList} +\description{ +ContainerRequest list +} +\section{Usage}{ + +\preformatted{containerRequestList -> ContainerRequestList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#containerRequestList.} + \item{etag}{List version.} + \item{items}{The list of ContainerRequests.} + \item{next_link}{A link to the next page of ContainerRequests.} + \item{next_page_token}{The page token for the next page of ContainerRequests.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/Group.Rd b/sdk/R/man/Group.Rd new file mode 100644 index 0000000000..e7e91398e8 --- /dev/null +++ b/sdk/R/man/Group.Rd @@ -0,0 +1,39 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{Group} +\alias{Group} +\title{Group} +\description{ +Group +} +\section{Usage}{ + +\preformatted{group -> Group$new(uuid = NULL, etag = NULL, + owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, name = NULL, + description = NULL, updated_at = NULL, group_class = NULL, + trash_at = NULL, is_trashed = NULL, delete_at = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{created_at}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{name}{} + \item{description}{} + \item{updated_at}{} + \item{group_class}{} + \item{trash_at}{} + \item{is_trashed}{} + \item{delete_at}{} + } +} + diff --git a/sdk/R/man/GroupList.Rd b/sdk/R/man/GroupList.Rd new file mode 100644 index 0000000000..ddfc57bccb --- /dev/null +++ b/sdk/R/man/GroupList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{GroupList} +\alias{GroupList} +\title{GroupList} +\description{ +Group list +} +\section{Usage}{ + +\preformatted{groupList -> GroupList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#groupList.} + \item{etag}{List version.} + \item{items}{The list of Groups.} + \item{next_link}{A link to the next page of Groups.} + \item{next_page_token}{The page token for the next page of Groups.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/Human.Rd b/sdk/R/man/Human.Rd new file mode 100644 index 0000000000..d90e576337 --- /dev/null +++ b/sdk/R/man/Human.Rd @@ -0,0 +1,33 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{Human} +\alias{Human} +\title{Human} +\description{ +Human +} +\section{Usage}{ + +\preformatted{human -> Human$new(uuid = NULL, etag = NULL, + owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, properties = NULL, + created_at = NULL, updated_at = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{properties}{} + \item{created_at}{} + \item{updated_at}{} + } +} + diff --git a/sdk/R/man/HumanList.Rd b/sdk/R/man/HumanList.Rd new file mode 100644 index 0000000000..4359f5e396 --- /dev/null +++ b/sdk/R/man/HumanList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{HumanList} +\alias{HumanList} +\title{HumanList} +\description{ +Human list +} +\section{Usage}{ + +\preformatted{humanList -> HumanList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#humanList.} + \item{etag}{List version.} + \item{items}{The list of Humans.} + \item{next_link}{A link to the next page of Humans.} + \item{next_page_token}{The page token for the next page of Humans.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/Job.Rd b/sdk/R/man/Job.Rd new file mode 100644 index 0000000000..feb8546a76 --- /dev/null +++ b/sdk/R/man/Job.Rd @@ -0,0 +1,67 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{Job} +\alias{Job} +\title{Job} +\description{ +Job +} +\section{Usage}{ + +\preformatted{job -> Job$new(uuid = NULL, etag = NULL, + owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, submit_id = NULL, + script = NULL, script_version = NULL, script_parameters = NULL, + cancelled_by_client_uuid = NULL, cancelled_by_user_uuid = NULL, + cancelled_at = NULL, started_at = NULL, finished_at = NULL, + running = NULL, success = NULL, output = NULL, created_at = NULL, + updated_at = NULL, is_locked_by_uuid = NULL, log = NULL, + tasks_summary = NULL, runtime_constraints = NULL, nondeterministic = NULL, + repository = NULL, supplied_script_version = NULL, + docker_image_locator = NULL, priority = NULL, description = NULL, + state = NULL, arvados_sdk_version = NULL, components = NULL, + script_parameters_digest = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{submit_id}{} + \item{script}{} + \item{script_version}{} + \item{script_parameters}{} + \item{cancelled_by_client_uuid}{} + \item{cancelled_by_user_uuid}{} + \item{cancelled_at}{} + \item{started_at}{} + \item{finished_at}{} + \item{running}{} + \item{success}{} + \item{output}{} + \item{created_at}{} + \item{updated_at}{} + \item{is_locked_by_uuid}{} + \item{log}{} + \item{tasks_summary}{} + \item{runtime_constraints}{} + \item{nondeterministic}{} + \item{repository}{} + \item{supplied_script_version}{} + \item{docker_image_locator}{} + \item{priority}{} + \item{description}{} + \item{state}{} + \item{arvados_sdk_version}{} + \item{components}{} + \item{script_parameters_digest}{} + } +} + diff --git a/sdk/R/man/JobList.Rd b/sdk/R/man/JobList.Rd new file mode 100644 index 0000000000..4302d77e63 --- /dev/null +++ b/sdk/R/man/JobList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{JobList} +\alias{JobList} +\title{JobList} +\description{ +Job list +} +\section{Usage}{ + +\preformatted{jobList -> JobList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#jobList.} + \item{etag}{List version.} + \item{items}{The list of Jobs.} + \item{next_link}{A link to the next page of Jobs.} + \item{next_page_token}{The page token for the next page of Jobs.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/JobTask.Rd b/sdk/R/man/JobTask.Rd new file mode 100644 index 0000000000..92b6e8f0a2 --- /dev/null +++ b/sdk/R/man/JobTask.Rd @@ -0,0 +1,45 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{JobTask} +\alias{JobTask} +\title{JobTask} +\description{ +JobTask +} +\section{Usage}{ + +\preformatted{jobTask -> JobTask$new(uuid = NULL, + etag = NULL, owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, job_uuid = NULL, + sequence = NULL, parameters = NULL, output = NULL, + progress = NULL, success = NULL, created_at = NULL, + updated_at = NULL, created_by_job_task_uuid = NULL, + qsequence = NULL, started_at = NULL, finished_at = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{job_uuid}{} + \item{sequence}{} + \item{parameters}{} + \item{output}{} + \item{progress}{} + \item{success}{} + \item{created_at}{} + \item{updated_at}{} + \item{created_by_job_task_uuid}{} + \item{qsequence}{} + \item{started_at}{} + \item{finished_at}{} + } +} + diff --git a/sdk/R/man/JobTaskList.Rd b/sdk/R/man/JobTaskList.Rd new file mode 100644 index 0000000000..1b40c640d8 --- /dev/null +++ b/sdk/R/man/JobTaskList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{JobTaskList} +\alias{JobTaskList} +\title{JobTaskList} +\description{ +JobTask list +} +\section{Usage}{ + +\preformatted{jobTaskList -> JobTaskList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#jobTaskList.} + \item{etag}{List version.} + \item{items}{The list of JobTasks.} + \item{next_link}{A link to the next page of JobTasks.} + \item{next_page_token}{The page token for the next page of JobTasks.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/KeepDisk.Rd b/sdk/R/man/KeepDisk.Rd new file mode 100644 index 0000000000..08a9b50d16 --- /dev/null +++ b/sdk/R/man/KeepDisk.Rd @@ -0,0 +1,46 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{KeepDisk} +\alias{KeepDisk} +\title{KeepDisk} +\description{ +KeepDisk +} +\section{Usage}{ + +\preformatted{keepDisk -> KeepDisk$new(uuid = NULL, + etag = NULL, owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, ping_secret = NULL, + node_uuid = NULL, filesystem_uuid = NULL, bytes_total = NULL, + bytes_free = NULL, is_readable = NULL, is_writable = NULL, + last_read_at = NULL, last_write_at = NULL, last_ping_at = NULL, + created_at = NULL, updated_at = NULL, keep_service_uuid = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{ping_secret}{} + \item{node_uuid}{} + \item{filesystem_uuid}{} + \item{bytes_total}{} + \item{bytes_free}{} + \item{is_readable}{} + \item{is_writable}{} + \item{last_read_at}{} + \item{last_write_at}{} + \item{last_ping_at}{} + \item{created_at}{} + \item{updated_at}{} + \item{keep_service_uuid}{} + } +} + diff --git a/sdk/R/man/KeepDiskList.Rd b/sdk/R/man/KeepDiskList.Rd new file mode 100644 index 0000000000..e94bf7f484 --- /dev/null +++ b/sdk/R/man/KeepDiskList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{KeepDiskList} +\alias{KeepDiskList} +\title{KeepDiskList} +\description{ +KeepDisk list +} +\section{Usage}{ + +\preformatted{keepDiskList -> KeepDiskList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#keepDiskList.} + \item{etag}{List version.} + \item{items}{The list of KeepDisks.} + \item{next_link}{A link to the next page of KeepDisks.} + \item{next_page_token}{The page token for the next page of KeepDisks.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/KeepService.Rd b/sdk/R/man/KeepService.Rd new file mode 100644 index 0000000000..00e80d43dc --- /dev/null +++ b/sdk/R/man/KeepService.Rd @@ -0,0 +1,38 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{KeepService} +\alias{KeepService} +\title{KeepService} +\description{ +KeepService +} +\section{Usage}{ + +\preformatted{keepService -> KeepService$new(uuid = NULL, + etag = NULL, owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, service_host = NULL, + service_port = NULL, service_ssl_flag = NULL, service_type = NULL, + created_at = NULL, updated_at = NULL, read_only = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{service_host}{} + \item{service_port}{} + \item{service_ssl_flag}{} + \item{service_type}{} + \item{created_at}{} + \item{updated_at}{} + \item{read_only}{} + } +} + diff --git a/sdk/R/man/KeepServiceList.Rd b/sdk/R/man/KeepServiceList.Rd new file mode 100644 index 0000000000..7e76d00c64 --- /dev/null +++ b/sdk/R/man/KeepServiceList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{KeepServiceList} +\alias{KeepServiceList} +\title{KeepServiceList} +\description{ +KeepService list +} +\section{Usage}{ + +\preformatted{keepServiceList -> KeepServiceList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#keepServiceList.} + \item{etag}{List version.} + \item{items}{The list of KeepServices.} + \item{next_link}{A link to the next page of KeepServices.} + \item{next_page_token}{The page token for the next page of KeepServices.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/Link.Rd b/sdk/R/man/Link.Rd new file mode 100644 index 0000000000..3d6f0046ac --- /dev/null +++ b/sdk/R/man/Link.Rd @@ -0,0 +1,38 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{Link} +\alias{Link} +\title{Link} +\description{ +Link +} +\section{Usage}{ + +\preformatted{link -> Link$new(uuid = NULL, etag = NULL, + owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, tail_uuid = NULL, + link_class = NULL, name = NULL, head_uuid = NULL, properties = NULL, + updated_at = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{created_at}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{tail_uuid}{} + \item{link_class}{} + \item{name}{} + \item{head_uuid}{} + \item{properties}{} + \item{updated_at}{} + } +} + diff --git a/sdk/R/man/LinkList.Rd b/sdk/R/man/LinkList.Rd new file mode 100644 index 0000000000..ea8b625a03 --- /dev/null +++ b/sdk/R/man/LinkList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{LinkList} +\alias{LinkList} +\title{LinkList} +\description{ +Link list +} +\section{Usage}{ + +\preformatted{linkList -> LinkList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#linkList.} + \item{etag}{List version.} + \item{items}{The list of Links.} + \item{next_link}{A link to the next page of Links.} + \item{next_page_token}{The page token for the next page of Links.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/Log.Rd b/sdk/R/man/Log.Rd new file mode 100644 index 0000000000..244c75aee7 --- /dev/null +++ b/sdk/R/man/Log.Rd @@ -0,0 +1,40 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{Log} +\alias{Log} +\title{Log} +\description{ +Log +} +\section{Usage}{ + +\preformatted{log -> Log$new(uuid = NULL, etag = NULL, + owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, object_uuid = NULL, event_at = NULL, + event_type = NULL, summary = NULL, properties = NULL, + created_at = NULL, updated_at = NULL, modified_at = NULL, + object_owner_uuid = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{object_uuid}{} + \item{event_at}{} + \item{event_type}{} + \item{summary}{} + \item{properties}{} + \item{created_at}{} + \item{updated_at}{} + \item{modified_at}{} + \item{object_owner_uuid}{} + } +} + diff --git a/sdk/R/man/LogList.Rd b/sdk/R/man/LogList.Rd new file mode 100644 index 0000000000..2a979d0ab6 --- /dev/null +++ b/sdk/R/man/LogList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{LogList} +\alias{LogList} +\title{LogList} +\description{ +Log list +} +\section{Usage}{ + +\preformatted{logList -> LogList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#logList.} + \item{etag}{List version.} + \item{items}{The list of Logs.} + \item{next_link}{A link to the next page of Logs.} + \item{next_page_token}{The page token for the next page of Logs.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/Node.Rd b/sdk/R/man/Node.Rd new file mode 100644 index 0000000000..3c9d6614f0 --- /dev/null +++ b/sdk/R/man/Node.Rd @@ -0,0 +1,43 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{Node} +\alias{Node} +\title{Node} +\description{ +Node +} +\section{Usage}{ + +\preformatted{node -> Node$new(uuid = NULL, etag = NULL, + owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, slot_number = NULL, + hostname = NULL, domain = NULL, ip_address = NULL, + first_ping_at = NULL, last_ping_at = NULL, info = NULL, + updated_at = NULL, properties = NULL, job_uuid = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{created_at}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{slot_number}{} + \item{hostname}{} + \item{domain}{} + \item{ip_address}{} + \item{first_ping_at}{} + \item{last_ping_at}{} + \item{info}{} + \item{updated_at}{} + \item{properties}{} + \item{job_uuid}{} + } +} + diff --git a/sdk/R/man/NodeList.Rd b/sdk/R/man/NodeList.Rd new file mode 100644 index 0000000000..67616af3de --- /dev/null +++ b/sdk/R/man/NodeList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{NodeList} +\alias{NodeList} +\title{NodeList} +\description{ +Node list +} +\section{Usage}{ + +\preformatted{nodeList -> NodeList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#nodeList.} + \item{etag}{List version.} + \item{items}{The list of Nodes.} + \item{next_link}{A link to the next page of Nodes.} + \item{next_page_token}{The page token for the next page of Nodes.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/PipelineInstance.Rd b/sdk/R/man/PipelineInstance.Rd new file mode 100644 index 0000000000..004e19f4d9 --- /dev/null +++ b/sdk/R/man/PipelineInstance.Rd @@ -0,0 +1,44 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{PipelineInstance} +\alias{PipelineInstance} +\title{PipelineInstance} +\description{ +PipelineInstance +} +\section{Usage}{ + +\preformatted{pipelineInstance -> PipelineInstance$new(uuid = NULL, + etag = NULL, owner_uuid = NULL, created_at = NULL, + modified_by_client_uuid = NULL, modified_by_user_uuid = NULL, + modified_at = NULL, pipeline_template_uuid = NULL, + name = NULL, components = NULL, updated_at = NULL, + properties = NULL, state = NULL, components_summary = NULL, + started_at = NULL, finished_at = NULL, description = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{created_at}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{pipeline_template_uuid}{} + \item{name}{} + \item{components}{} + \item{updated_at}{} + \item{properties}{} + \item{state}{} + \item{components_summary}{} + \item{started_at}{} + \item{finished_at}{} + \item{description}{} + } +} + diff --git a/sdk/R/man/PipelineInstanceList.Rd b/sdk/R/man/PipelineInstanceList.Rd new file mode 100644 index 0000000000..7d02c8ba78 --- /dev/null +++ b/sdk/R/man/PipelineInstanceList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{PipelineInstanceList} +\alias{PipelineInstanceList} +\title{PipelineInstanceList} +\description{ +PipelineInstance list +} +\section{Usage}{ + +\preformatted{pipelineInstanceList -> PipelineInstanceList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#pipelineInstanceList.} + \item{etag}{List version.} + \item{items}{The list of PipelineInstances.} + \item{next_link}{A link to the next page of PipelineInstances.} + \item{next_page_token}{The page token for the next page of PipelineInstances.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/PipelineTemplate.Rd b/sdk/R/man/PipelineTemplate.Rd new file mode 100644 index 0000000000..eecf3d36a3 --- /dev/null +++ b/sdk/R/man/PipelineTemplate.Rd @@ -0,0 +1,36 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{PipelineTemplate} +\alias{PipelineTemplate} +\title{PipelineTemplate} +\description{ +PipelineTemplate +} +\section{Usage}{ + +\preformatted{pipelineTemplate -> PipelineTemplate$new(uuid = NULL, + etag = NULL, owner_uuid = NULL, created_at = NULL, + modified_by_client_uuid = NULL, modified_by_user_uuid = NULL, + modified_at = NULL, name = NULL, components = NULL, + updated_at = NULL, description = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{created_at}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{name}{} + \item{components}{} + \item{updated_at}{} + \item{description}{} + } +} + diff --git a/sdk/R/man/PipelineTemplateList.Rd b/sdk/R/man/PipelineTemplateList.Rd new file mode 100644 index 0000000000..0cc01724e4 --- /dev/null +++ b/sdk/R/man/PipelineTemplateList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{PipelineTemplateList} +\alias{PipelineTemplateList} +\title{PipelineTemplateList} +\description{ +PipelineTemplate list +} +\section{Usage}{ + +\preformatted{pipelineTemplateList -> PipelineTemplateList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#pipelineTemplateList.} + \item{etag}{List version.} + \item{items}{The list of PipelineTemplates.} + \item{next_link}{A link to the next page of PipelineTemplates.} + \item{next_page_token}{The page token for the next page of PipelineTemplates.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/Repository.Rd b/sdk/R/man/Repository.Rd new file mode 100644 index 0000000000..8f9913d421 --- /dev/null +++ b/sdk/R/man/Repository.Rd @@ -0,0 +1,33 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{Repository} +\alias{Repository} +\title{Repository} +\description{ +Repository +} +\section{Usage}{ + +\preformatted{repository -> Repository$new(uuid = NULL, + etag = NULL, owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, name = NULL, + created_at = NULL, updated_at = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{name}{} + \item{created_at}{} + \item{updated_at}{} + } +} + diff --git a/sdk/R/man/RepositoryList.Rd b/sdk/R/man/RepositoryList.Rd new file mode 100644 index 0000000000..e7c585ec11 --- /dev/null +++ b/sdk/R/man/RepositoryList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{RepositoryList} +\alias{RepositoryList} +\title{RepositoryList} +\description{ +Repository list +} +\section{Usage}{ + +\preformatted{repositoryList -> RepositoryList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#repositoryList.} + \item{etag}{List version.} + \item{items}{The list of Repositories.} + \item{next_link}{A link to the next page of Repositories.} + \item{next_page_token}{The page token for the next page of Repositories.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/Specimen.Rd b/sdk/R/man/Specimen.Rd new file mode 100644 index 0000000000..29d1c4eca4 --- /dev/null +++ b/sdk/R/man/Specimen.Rd @@ -0,0 +1,35 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{Specimen} +\alias{Specimen} +\title{Specimen} +\description{ +Specimen +} +\section{Usage}{ + +\preformatted{specimen -> Specimen$new(uuid = NULL, + etag = NULL, owner_uuid = NULL, created_at = NULL, + modified_by_client_uuid = NULL, modified_by_user_uuid = NULL, + modified_at = NULL, material = NULL, updated_at = NULL, + properties = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{created_at}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{material}{} + \item{updated_at}{} + \item{properties}{} + } +} + diff --git a/sdk/R/man/SpecimenList.Rd b/sdk/R/man/SpecimenList.Rd new file mode 100644 index 0000000000..7a88cdda7f --- /dev/null +++ b/sdk/R/man/SpecimenList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{SpecimenList} +\alias{SpecimenList} +\title{SpecimenList} +\description{ +Specimen list +} +\section{Usage}{ + +\preformatted{specimenList -> SpecimenList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#specimenList.} + \item{etag}{List version.} + \item{items}{The list of Specimens.} + \item{next_link}{A link to the next page of Specimens.} + \item{next_page_token}{The page token for the next page of Specimens.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/Trait.Rd b/sdk/R/man/Trait.Rd new file mode 100644 index 0000000000..d4762599f6 --- /dev/null +++ b/sdk/R/man/Trait.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{Trait} +\alias{Trait} +\title{Trait} +\description{ +Trait +} +\section{Usage}{ + +\preformatted{trait -> Trait$new(uuid = NULL, etag = NULL, + owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, name = NULL, + properties = NULL, created_at = NULL, updated_at = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{name}{} + \item{properties}{} + \item{created_at}{} + \item{updated_at}{} + } +} + diff --git a/sdk/R/man/TraitList.Rd b/sdk/R/man/TraitList.Rd new file mode 100644 index 0000000000..b5ae7675d6 --- /dev/null +++ b/sdk/R/man/TraitList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{TraitList} +\alias{TraitList} +\title{TraitList} +\description{ +Trait list +} +\section{Usage}{ + +\preformatted{traitList -> TraitList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#traitList.} + \item{etag}{List version.} + \item{items}{The list of Traits.} + \item{next_link}{A link to the next page of Traits.} + \item{next_page_token}{The page token for the next page of Traits.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/User.Rd b/sdk/R/man/User.Rd new file mode 100644 index 0000000000..6fe83501d7 --- /dev/null +++ b/sdk/R/man/User.Rd @@ -0,0 +1,43 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{User} +\alias{User} +\title{User} +\description{ +User +} +\section{Usage}{ + +\preformatted{user -> User$new(uuid = NULL, etag = NULL, + owner_uuid = NULL, created_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, email = NULL, + first_name = NULL, last_name = NULL, identity_url = NULL, + is_admin = NULL, prefs = NULL, updated_at = NULL, default_owner_uuid = NULL, + is_active = NULL, username = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{created_at}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{email}{} + \item{first_name}{} + \item{last_name}{} + \item{identity_url}{} + \item{is_admin}{} + \item{prefs}{} + \item{updated_at}{} + \item{default_owner_uuid}{} + \item{is_active}{} + \item{username}{} + } +} + diff --git a/sdk/R/man/UserAgreement.Rd b/sdk/R/man/UserAgreement.Rd new file mode 100644 index 0000000000..f9d67ae08d --- /dev/null +++ b/sdk/R/man/UserAgreement.Rd @@ -0,0 +1,48 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{UserAgreement} +\alias{UserAgreement} +\title{UserAgreement} +\description{ +UserAgreement +} +\section{Usage}{ + +\preformatted{userAgreement -> UserAgreement$new(uuid = NULL, + etag = NULL, owner_uuid = NULL, created_at = NULL, + modified_by_client_uuid = NULL, modified_by_user_uuid = NULL, + modified_at = NULL, portable_data_hash = NULL, replication_desired = NULL, + replication_confirmed_at = NULL, replication_confirmed = NULL, + updated_at = NULL, manifest_text = NULL, name = NULL, + description = NULL, properties = NULL, delete_at = NULL, + file_names = NULL, trash_at = NULL, is_trashed = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{owner_uuid}{} + \item{created_at}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{portable_data_hash}{} + \item{replication_desired}{} + \item{replication_confirmed_at}{} + \item{replication_confirmed}{} + \item{updated_at}{} + \item{uuid}{} + \item{manifest_text}{} + \item{name}{} + \item{description}{} + \item{properties}{} + \item{delete_at}{} + \item{file_names}{} + \item{trash_at}{} + \item{is_trashed}{} + } +} + diff --git a/sdk/R/man/UserAgreementList.Rd b/sdk/R/man/UserAgreementList.Rd new file mode 100644 index 0000000000..22a2d0e900 --- /dev/null +++ b/sdk/R/man/UserAgreementList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{UserAgreementList} +\alias{UserAgreementList} +\title{UserAgreementList} +\description{ +UserAgreement list +} +\section{Usage}{ + +\preformatted{userAgreementList -> UserAgreementList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#userAgreementList.} + \item{etag}{List version.} + \item{items}{The list of UserAgreements.} + \item{next_link}{A link to the next page of UserAgreements.} + \item{next_page_token}{The page token for the next page of UserAgreements.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/UserList.Rd b/sdk/R/man/UserList.Rd new file mode 100644 index 0000000000..369bf53746 --- /dev/null +++ b/sdk/R/man/UserList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{UserList} +\alias{UserList} +\title{UserList} +\description{ +User list +} +\section{Usage}{ + +\preformatted{userList -> UserList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#userList.} + \item{etag}{List version.} + \item{items}{The list of Users.} + \item{next_link}{A link to the next page of Users.} + \item{next_page_token}{The page token for the next page of Users.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/VirtualMachine.Rd b/sdk/R/man/VirtualMachine.Rd new file mode 100644 index 0000000000..47cc12a250 --- /dev/null +++ b/sdk/R/man/VirtualMachine.Rd @@ -0,0 +1,33 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{VirtualMachine} +\alias{VirtualMachine} +\title{VirtualMachine} +\description{ +VirtualMachine +} +\section{Usage}{ + +\preformatted{virtualMachine -> VirtualMachine$new(uuid = NULL, + etag = NULL, owner_uuid = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, modified_at = NULL, hostname = NULL, + created_at = NULL, updated_at = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{modified_at}{} + \item{hostname}{} + \item{created_at}{} + \item{updated_at}{} + } +} + diff --git a/sdk/R/man/VirtualMachineList.Rd b/sdk/R/man/VirtualMachineList.Rd new file mode 100644 index 0000000000..80f6f97f22 --- /dev/null +++ b/sdk/R/man/VirtualMachineList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{VirtualMachineList} +\alias{VirtualMachineList} +\title{VirtualMachineList} +\description{ +VirtualMachine list +} +\section{Usage}{ + +\preformatted{virtualMachineList -> VirtualMachineList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#virtualMachineList.} + \item{etag}{List version.} + \item{items}{The list of VirtualMachines.} + \item{next_link}{A link to the next page of VirtualMachines.} + \item{next_page_token}{The page token for the next page of VirtualMachines.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/Workflow.Rd b/sdk/R/man/Workflow.Rd new file mode 100644 index 0000000000..cf1fdbd18d --- /dev/null +++ b/sdk/R/man/Workflow.Rd @@ -0,0 +1,36 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{Workflow} +\alias{Workflow} +\title{Workflow} +\description{ +Workflow +} +\section{Usage}{ + +\preformatted{workflow -> Workflow$new(uuid = NULL, + etag = NULL, owner_uuid = NULL, created_at = NULL, + modified_at = NULL, modified_by_client_uuid = NULL, + modified_by_user_uuid = NULL, name = NULL, description = NULL, + definition = NULL, updated_at = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{uuid}{Object ID.} + \item{etag}{Object version.} + \item{uuid}{} + \item{owner_uuid}{} + \item{created_at}{} + \item{modified_at}{} + \item{modified_by_client_uuid}{} + \item{modified_by_user_uuid}{} + \item{name}{} + \item{description}{} + \item{definition}{} + \item{updated_at}{} + } +} + diff --git a/sdk/R/man/WorkflowList.Rd b/sdk/R/man/WorkflowList.Rd new file mode 100644 index 0000000000..4b7b28d10e --- /dev/null +++ b/sdk/R/man/WorkflowList.Rd @@ -0,0 +1,28 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/ArvadosClasses.R +\name{WorkflowList} +\alias{WorkflowList} +\title{WorkflowList} +\description{ +Workflow list +} +\section{Usage}{ + +\preformatted{workflowList -> WorkflowList$new(kind = NULL, + etag = NULL, items = NULL, next_link = NULL, next_page_token = NULL, + selfLink = NULL) +} +} + +\section{Arguments}{ + + \describe{ + \item{kind}{Object type. Always arvados#workflowList.} + \item{etag}{List version.} + \item{items}{The list of Workflows.} + \item{next_link}{A link to the next page of Workflows.} + \item{next_page_token}{The page token for the next page of Workflows.} + \item{selfLink}{A link back to this list.} + } +} + diff --git a/sdk/R/man/api_client_authorizations.create.Rd b/sdk/R/man/api_client_authorizations.create.Rd new file mode 100644 index 0000000000..257512c61c --- /dev/null +++ b/sdk/R/man/api_client_authorizations.create.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$api_client_authorizations.create(api_client_authorization, + 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 index 0000000000..f3b21eef3d --- /dev/null +++ b/sdk/R/man/api_client_authorizations.create_system_auth.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..2b9b186850 --- /dev/null +++ b/sdk/R/man/api_client_authorizations.current.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..b236060151 --- /dev/null +++ b/sdk/R/man/api_client_authorizations.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/api_client_authorizations.destroy.Rd new file mode 100644 index 0000000000..63e56e8b07 --- /dev/null +++ b/sdk/R/man/api_client_authorizations.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{api_client_authorizations.destroy} +\alias{api_client_authorizations.destroy} +\title{api_client_authorizations.destroy is a method defined in Arvados class.} +\usage{ +arv$api_client_authorizations.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +ApiClientAuthorization object. +} +\description{ +api_client_authorizations.destroy 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 index 0000000000..72e2a9356e --- /dev/null +++ b/sdk/R/man/api_client_authorizations.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/api_client_authorizations.index.Rd new file mode 100644 index 0000000000..c5e01a90ec --- /dev/null +++ b/sdk/R/man/api_client_authorizations.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{api_client_authorizations.index} +\alias{api_client_authorizations.index} +\title{api_client_authorizations.index is a method defined in Arvados class.} +\usage{ +arv$api_client_authorizations.index(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.index 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 index 0000000000..e40ff4153a --- /dev/null +++ b/sdk/R/man/api_client_authorizations.list.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/api_client_authorizations.show.Rd new file mode 100644 index 0000000000..57c82432a2 --- /dev/null +++ b/sdk/R/man/api_client_authorizations.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{api_client_authorizations.show} +\alias{api_client_authorizations.show} +\title{api_client_authorizations.show is a method defined in Arvados class.} +\usage{ +arv$api_client_authorizations.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +ApiClientAuthorization object. +} +\description{ +api_client_authorizations.show 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 index 0000000000..7790d9522c --- /dev/null +++ b/sdk/R/man/api_client_authorizations.update.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$api_client_authorizations.update(api_client_authorization, + 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 index 0000000000..9b607874d8 --- /dev/null +++ b/sdk/R/man/api_clients.create.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$api_clients.create(api_client, + 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 index 0000000000..1ebbc1b36d --- /dev/null +++ b/sdk/R/man/api_clients.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/api_clients.destroy.Rd new file mode 100644 index 0000000000..0efa267343 --- /dev/null +++ b/sdk/R/man/api_clients.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{api_clients.destroy} +\alias{api_clients.destroy} +\title{api_clients.destroy is a method defined in Arvados class.} +\usage{ +arv$api_clients.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +ApiClient object. +} +\description{ +api_clients.destroy 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 index 0000000000..b84085bff7 --- /dev/null +++ b/sdk/R/man/api_clients.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/api_clients.index.Rd new file mode 100644 index 0000000000..3b46ad39a4 --- /dev/null +++ b/sdk/R/man/api_clients.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{api_clients.index} +\alias{api_clients.index} +\title{api_clients.index is a method defined in Arvados class.} +\usage{ +arv$api_clients.index(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.index 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 index 0000000000..15a2bc6ab2 --- /dev/null +++ b/sdk/R/man/api_clients.list.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/api_clients.show.Rd new file mode 100644 index 0000000000..23d4edb7a3 --- /dev/null +++ b/sdk/R/man/api_clients.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{api_clients.show} +\alias{api_clients.show} +\title{api_clients.show is a method defined in Arvados class.} +\usage{ +arv$api_clients.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +ApiClient object. +} +\description{ +api_clients.show 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 index 0000000000..b89060f571 --- /dev/null +++ b/sdk/R/man/api_clients.update.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$api_clients.update(api_client, + 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 index 0000000000..4ec8cea863 --- /dev/null +++ b/sdk/R/man/authorized_keys.create.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$authorized_keys.create(authorized_key, + 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 index 0000000000..238f002097 --- /dev/null +++ b/sdk/R/man/authorized_keys.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/authorized_keys.destroy.Rd new file mode 100644 index 0000000000..df8c089bc6 --- /dev/null +++ b/sdk/R/man/authorized_keys.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{authorized_keys.destroy} +\alias{authorized_keys.destroy} +\title{authorized_keys.destroy is a method defined in Arvados class.} +\usage{ +arv$authorized_keys.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +AuthorizedKey object. +} +\description{ +authorized_keys.destroy 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 index 0000000000..4475cba926 --- /dev/null +++ b/sdk/R/man/authorized_keys.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/authorized_keys.index.Rd new file mode 100644 index 0000000000..4de5771214 --- /dev/null +++ b/sdk/R/man/authorized_keys.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{authorized_keys.index} +\alias{authorized_keys.index} +\title{authorized_keys.index is a method defined in Arvados class.} +\usage{ +arv$authorized_keys.index(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.index 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 index 0000000000..ea0b8072ea --- /dev/null +++ b/sdk/R/man/authorized_keys.list.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/authorized_keys.show.Rd new file mode 100644 index 0000000000..79cea074c4 --- /dev/null +++ b/sdk/R/man/authorized_keys.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{authorized_keys.show} +\alias{authorized_keys.show} +\title{authorized_keys.show is a method defined in Arvados class.} +\usage{ +arv$authorized_keys.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +AuthorizedKey object. +} +\description{ +authorized_keys.show 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 index 0000000000..fd8ce699a7 --- /dev/null +++ b/sdk/R/man/authorized_keys.update.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$authorized_keys.update(authorized_key, + 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 index 0000000000..aefd4b7e6c --- /dev/null +++ b/sdk/R/man/collections.create.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..b7d2648f8a --- /dev/null +++ b/sdk/R/man/collections.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/collections.destroy.Rd new file mode 100644 index 0000000000..2ab90ae3ff --- /dev/null +++ b/sdk/R/man/collections.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{collections.destroy} +\alias{collections.destroy} +\title{collections.destroy is a method defined in Arvados class.} +\usage{ +arv$collections.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Collection object. +} +\description{ +collections.destroy 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 index 0000000000..dbab892a01 --- /dev/null +++ b/sdk/R/man/collections.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/collections.index.Rd new file mode 100644 index 0000000000..341d070158 --- /dev/null +++ b/sdk/R/man/collections.index.Rd @@ -0,0 +1,36 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{collections.index} +\alias{collections.index} +\title{collections.index is a method defined in Arvados class.} +\usage{ +arv$collections.index(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.index 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 index 0000000000..f4d54266e9 --- /dev/null +++ b/sdk/R/man/collections.list.Rd @@ -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 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) +} +\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 index 0000000000..a54eb0d717 --- /dev/null +++ b/sdk/R/man/collections.provenance.Rd @@ -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 is a method defined in Arvados class.} +\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.show.Rd b/sdk/R/man/collections.show.Rd new file mode 100644 index 0000000000..f159cfe7a5 --- /dev/null +++ b/sdk/R/man/collections.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{collections.show} +\alias{collections.show} +\title{collections.show is a method defined in Arvados class.} +\usage{ +arv$collections.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Collection object. +} +\description{ +collections.show 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 index 0000000000..6f4ee7c1a0 --- /dev/null +++ b/sdk/R/man/collections.trash.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..5dd889d24f --- /dev/null +++ b/sdk/R/man/collections.untrash.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..53bc3959fb --- /dev/null +++ b/sdk/R/man/collections.update.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..e2cfe38df4 --- /dev/null +++ b/sdk/R/man/collections.used_by.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..94535f2455 --- /dev/null +++ b/sdk/R/man/container_requests.create.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$container_requests.create(container_request, + 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 index 0000000000..edd16b39b5 --- /dev/null +++ b/sdk/R/man/container_requests.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/container_requests.destroy.Rd new file mode 100644 index 0000000000..0612d1ebd5 --- /dev/null +++ b/sdk/R/man/container_requests.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{container_requests.destroy} +\alias{container_requests.destroy} +\title{container_requests.destroy is a method defined in Arvados class.} +\usage{ +arv$container_requests.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +ContainerRequest object. +} +\description{ +container_requests.destroy 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 index 0000000000..83f150c170 --- /dev/null +++ b/sdk/R/man/container_requests.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/container_requests.index.Rd new file mode 100644 index 0000000000..099018cbe6 --- /dev/null +++ b/sdk/R/man/container_requests.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{container_requests.index} +\alias{container_requests.index} +\title{container_requests.index is a method defined in Arvados class.} +\usage{ +arv$container_requests.index(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.index 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 index 0000000000..c751fd147f --- /dev/null +++ b/sdk/R/man/container_requests.list.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/container_requests.show.Rd new file mode 100644 index 0000000000..6efc2e7c5d --- /dev/null +++ b/sdk/R/man/container_requests.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{container_requests.show} +\alias{container_requests.show} +\title{container_requests.show is a method defined in Arvados class.} +\usage{ +arv$container_requests.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +ContainerRequest object. +} +\description{ +container_requests.show 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 index 0000000000..e5257de082 --- /dev/null +++ b/sdk/R/man/container_requests.update.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$container_requests.update(container_request, + 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 index 0000000000..4cda7a879a --- /dev/null +++ b/sdk/R/man/containers.auth.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..803040e4ff --- /dev/null +++ b/sdk/R/man/containers.create.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..225793a098 --- /dev/null +++ b/sdk/R/man/containers.current.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..6e877c8fd7 --- /dev/null +++ b/sdk/R/man/containers.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/containers.destroy.Rd new file mode 100644 index 0000000000..6bdf52f219 --- /dev/null +++ b/sdk/R/man/containers.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{containers.destroy} +\alias{containers.destroy} +\title{containers.destroy is a method defined in Arvados class.} +\usage{ +arv$containers.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Container object. +} +\description{ +containers.destroy 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 index 0000000000..9f1966d554 --- /dev/null +++ b/sdk/R/man/containers.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/containers.index.Rd new file mode 100644 index 0000000000..d49ed6b4dc --- /dev/null +++ b/sdk/R/man/containers.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{containers.index} +\alias{containers.index} +\title{containers.index is a method defined in Arvados class.} +\usage{ +arv$containers.index(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.index 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 index 0000000000..e843bfc035 --- /dev/null +++ b/sdk/R/man/containers.list.Rd @@ -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 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") +} +\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 index 0000000000..9446663860 --- /dev/null +++ b/sdk/R/man/containers.lock.Rd @@ -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 is a method defined in Arvados class.} +\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.show.Rd b/sdk/R/man/containers.show.Rd new file mode 100644 index 0000000000..8d218092ff --- /dev/null +++ b/sdk/R/man/containers.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{containers.show} +\alias{containers.show} +\title{containers.show is a method defined in Arvados class.} +\usage{ +arv$containers.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Container object. +} +\description{ +containers.show 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 index 0000000000..540170be33 --- /dev/null +++ b/sdk/R/man/containers.unlock.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..9437f2769c --- /dev/null +++ b/sdk/R/man/containers.update.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..f57aa17b89 --- /dev/null +++ b/sdk/R/man/groups.contents.Rd @@ -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 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) +} +\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 index 0000000000..9a6f8f9a0c --- /dev/null +++ b/sdk/R/man/groups.create.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..5afd9aeaa6 --- /dev/null +++ b/sdk/R/man/groups.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/groups.destroy.Rd new file mode 100644 index 0000000000..380604d8d3 --- /dev/null +++ b/sdk/R/man/groups.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{groups.destroy} +\alias{groups.destroy} +\title{groups.destroy is a method defined in Arvados class.} +\usage{ +arv$groups.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Group object. +} +\description{ +groups.destroy 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 index 0000000000..b0ef02895e --- /dev/null +++ b/sdk/R/man/groups.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/groups.index.Rd new file mode 100644 index 0000000000..5402cce7ec --- /dev/null +++ b/sdk/R/man/groups.index.Rd @@ -0,0 +1,36 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{groups.index} +\alias{groups.index} +\title{groups.index is a method defined in Arvados class.} +\usage{ +arv$groups.index(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.index 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 index 0000000000..f9e47b5bcf --- /dev/null +++ b/sdk/R/man/groups.list.Rd @@ -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 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) +} +\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.show.Rd b/sdk/R/man/groups.show.Rd new file mode 100644 index 0000000000..1ccf1fbe31 --- /dev/null +++ b/sdk/R/man/groups.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{groups.show} +\alias{groups.show} +\title{groups.show is a method defined in Arvados class.} +\usage{ +arv$groups.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Group object. +} +\description{ +groups.show 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 index 0000000000..788ea9aa7b --- /dev/null +++ b/sdk/R/man/groups.trash.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..b36e3959f8 --- /dev/null +++ b/sdk/R/man/groups.untrash.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..80d2939e83 --- /dev/null +++ b/sdk/R/man/groups.update.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..0a0f7f14e3 --- /dev/null +++ b/sdk/R/man/humans.create.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..9d9d4d46e2 --- /dev/null +++ b/sdk/R/man/humans.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/humans.destroy.Rd new file mode 100644 index 0000000000..3aa5e2481f --- /dev/null +++ b/sdk/R/man/humans.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{humans.destroy} +\alias{humans.destroy} +\title{humans.destroy is a method defined in Arvados class.} +\usage{ +arv$humans.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Human object. +} +\description{ +humans.destroy 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 index 0000000000..4f97031efc --- /dev/null +++ b/sdk/R/man/humans.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/humans.index.Rd new file mode 100644 index 0000000000..9bbbd6ded0 --- /dev/null +++ b/sdk/R/man/humans.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{humans.index} +\alias{humans.index} +\title{humans.index is a method defined in Arvados class.} +\usage{ +arv$humans.index(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.index 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 index 0000000000..c520c7711b --- /dev/null +++ b/sdk/R/man/humans.list.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/humans.show.Rd new file mode 100644 index 0000000000..0dac1b0639 --- /dev/null +++ b/sdk/R/man/humans.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{humans.show} +\alias{humans.show} +\title{humans.show is a method defined in Arvados class.} +\usage{ +arv$humans.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Human object. +} +\description{ +humans.show 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 index 0000000000..47565a8a7e --- /dev/null +++ b/sdk/R/man/humans.update.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..4390eb9dac --- /dev/null +++ b/sdk/R/man/job_tasks.create.Rd @@ -0,0 +1,20 @@ +% 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 is a method defined in Arvados class.} +\usage{ +arv$job_tasks.create(job_task, + 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 index 0000000000..ce321c0e94 --- /dev/null +++ b/sdk/R/man/job_tasks.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/job_tasks.destroy.Rd new file mode 100644 index 0000000000..fd77d302c2 --- /dev/null +++ b/sdk/R/man/job_tasks.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{job_tasks.destroy} +\alias{job_tasks.destroy} +\title{job_tasks.destroy is a method defined in Arvados class.} +\usage{ +arv$job_tasks.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +JobTask object. +} +\description{ +job_tasks.destroy 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 index 0000000000..b687d840a2 --- /dev/null +++ b/sdk/R/man/job_tasks.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/job_tasks.index.Rd new file mode 100644 index 0000000000..ff026950e6 --- /dev/null +++ b/sdk/R/man/job_tasks.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{job_tasks.index} +\alias{job_tasks.index} +\title{job_tasks.index is a method defined in Arvados class.} +\usage{ +arv$job_tasks.index(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.index 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 index 0000000000..5556ee78a1 --- /dev/null +++ b/sdk/R/man/job_tasks.list.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/job_tasks.show.Rd new file mode 100644 index 0000000000..4c091eb940 --- /dev/null +++ b/sdk/R/man/job_tasks.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{job_tasks.show} +\alias{job_tasks.show} +\title{job_tasks.show is a method defined in Arvados class.} +\usage{ +arv$job_tasks.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +JobTask object. +} +\description{ +job_tasks.show 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 index 0000000000..6e2a70d090 --- /dev/null +++ b/sdk/R/man/job_tasks.update.Rd @@ -0,0 +1,20 @@ +% 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 is a method defined in Arvados class.} +\usage{ +arv$job_tasks.update(job_task, + 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 index 0000000000..f6bd42e31b --- /dev/null +++ b/sdk/R/man/jobs.cancel.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..ae093b46f0 --- /dev/null +++ b/sdk/R/man/jobs.create.Rd @@ -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 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) +} +\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 index 0000000000..edef7450fd --- /dev/null +++ b/sdk/R/man/jobs.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/jobs.destroy.Rd new file mode 100644 index 0000000000..3d3ca935c2 --- /dev/null +++ b/sdk/R/man/jobs.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{jobs.destroy} +\alias{jobs.destroy} +\title{jobs.destroy is a method defined in Arvados class.} +\usage{ +arv$jobs.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Job object. +} +\description{ +jobs.destroy 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 index 0000000000..6ce1a21e84 --- /dev/null +++ b/sdk/R/man/jobs.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/jobs.index.Rd new file mode 100644 index 0000000000..7035c996a9 --- /dev/null +++ b/sdk/R/man/jobs.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{jobs.index} +\alias{jobs.index} +\title{jobs.index is a method defined in Arvados class.} +\usage{ +arv$jobs.index(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.index 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 index 0000000000..7cbd906a05 --- /dev/null +++ b/sdk/R/man/jobs.list.Rd @@ -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 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") +} +\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 index 0000000000..912a772a3b --- /dev/null +++ b/sdk/R/man/jobs.lock.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..876534acc7 --- /dev/null +++ b/sdk/R/man/jobs.queue.Rd @@ -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 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") +} +\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 index 0000000000..5099f1bea3 --- /dev/null +++ b/sdk/R/man/jobs.queue_size.Rd @@ -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 is a method defined in Arvados class.} +\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.show.Rd b/sdk/R/man/jobs.show.Rd new file mode 100644 index 0000000000..3af122aba2 --- /dev/null +++ b/sdk/R/man/jobs.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{jobs.show} +\alias{jobs.show} +\title{jobs.show is a method defined in Arvados class.} +\usage{ +arv$jobs.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Job object. +} +\description{ +jobs.show 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 index 0000000000..12a54c6387 --- /dev/null +++ b/sdk/R/man/jobs.update.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..3e4f833ca6 --- /dev/null +++ b/sdk/R/man/keep_disks.create.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$keep_disks.create(keep_disk, + 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 index 0000000000..a483dc6419 --- /dev/null +++ b/sdk/R/man/keep_disks.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/keep_disks.destroy.Rd new file mode 100644 index 0000000000..6cfbcb1e86 --- /dev/null +++ b/sdk/R/man/keep_disks.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{keep_disks.destroy} +\alias{keep_disks.destroy} +\title{keep_disks.destroy is a method defined in Arvados class.} +\usage{ +arv$keep_disks.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +KeepDisk object. +} +\description{ +keep_disks.destroy 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 index 0000000000..511974879b --- /dev/null +++ b/sdk/R/man/keep_disks.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/keep_disks.index.Rd new file mode 100644 index 0000000000..65dc3b5d14 --- /dev/null +++ b/sdk/R/man/keep_disks.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{keep_disks.index} +\alias{keep_disks.index} +\title{keep_disks.index is a method defined in Arvados class.} +\usage{ +arv$keep_disks.index(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.index 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 index 0000000000..43d119446f --- /dev/null +++ b/sdk/R/man/keep_disks.list.Rd @@ -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 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") +} +\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 index 0000000000..116aeff94a --- /dev/null +++ b/sdk/R/man/keep_disks.ping.Rd @@ -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 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) +} +\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.show.Rd b/sdk/R/man/keep_disks.show.Rd new file mode 100644 index 0000000000..ca8a851c0d --- /dev/null +++ b/sdk/R/man/keep_disks.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{keep_disks.show} +\alias{keep_disks.show} +\title{keep_disks.show is a method defined in Arvados class.} +\usage{ +arv$keep_disks.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +KeepDisk object. +} +\description{ +keep_disks.show 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 index 0000000000..5089f45c41 --- /dev/null +++ b/sdk/R/man/keep_disks.update.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$keep_disks.update(keep_disk, + 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 index 0000000000..bc39f8627e --- /dev/null +++ b/sdk/R/man/keep_services.accessible.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..8b12a9aee2 --- /dev/null +++ b/sdk/R/man/keep_services.create.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$keep_services.create(keep_service, + 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 index 0000000000..ac5a7b7bea --- /dev/null +++ b/sdk/R/man/keep_services.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/keep_services.destroy.Rd new file mode 100644 index 0000000000..5336164213 --- /dev/null +++ b/sdk/R/man/keep_services.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{keep_services.destroy} +\alias{keep_services.destroy} +\title{keep_services.destroy is a method defined in Arvados class.} +\usage{ +arv$keep_services.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +KeepService object. +} +\description{ +keep_services.destroy 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 index 0000000000..1a1454a09b --- /dev/null +++ b/sdk/R/man/keep_services.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/keep_services.index.Rd new file mode 100644 index 0000000000..42f9ea30ad --- /dev/null +++ b/sdk/R/man/keep_services.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{keep_services.index} +\alias{keep_services.index} +\title{keep_services.index is a method defined in Arvados class.} +\usage{ +arv$keep_services.index(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.index 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 index 0000000000..2e23675d46 --- /dev/null +++ b/sdk/R/man/keep_services.list.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/keep_services.show.Rd new file mode 100644 index 0000000000..fa0e54fda5 --- /dev/null +++ b/sdk/R/man/keep_services.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{keep_services.show} +\alias{keep_services.show} +\title{keep_services.show is a method defined in Arvados class.} +\usage{ +arv$keep_services.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +KeepService object. +} +\description{ +keep_services.show 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 index 0000000000..f0594638ed --- /dev/null +++ b/sdk/R/man/keep_services.update.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$keep_services.update(keep_service, + 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 index 0000000000..f6d56a27bb --- /dev/null +++ b/sdk/R/man/links.create.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..7b8e567cbb --- /dev/null +++ b/sdk/R/man/links.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/links.destroy.Rd new file mode 100644 index 0000000000..8ce61c95b3 --- /dev/null +++ b/sdk/R/man/links.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{links.destroy} +\alias{links.destroy} +\title{links.destroy is a method defined in Arvados class.} +\usage{ +arv$links.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Link object. +} +\description{ +links.destroy 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 index 0000000000..77a774757d --- /dev/null +++ b/sdk/R/man/links.get.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..af3297dea1 --- /dev/null +++ b/sdk/R/man/links.get_permissions.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/links.index.Rd new file mode 100644 index 0000000000..0301a11c02 --- /dev/null +++ b/sdk/R/man/links.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{links.index} +\alias{links.index} +\title{links.index is a method defined in Arvados class.} +\usage{ +arv$links.index(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.index 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 index 0000000000..b731758d0d --- /dev/null +++ b/sdk/R/man/links.list.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/links.show.Rd new file mode 100644 index 0000000000..320fc5bb6f --- /dev/null +++ b/sdk/R/man/links.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{links.show} +\alias{links.show} +\title{links.show is a method defined in Arvados class.} +\usage{ +arv$links.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Link object. +} +\description{ +links.show 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 index 0000000000..49563e3b4a --- /dev/null +++ b/sdk/R/man/links.update.Rd @@ -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 is a method defined in Arvados class.} +\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/logs.create.Rd b/sdk/R/man/logs.create.Rd new file mode 100644 index 0000000000..9ce9398c88 --- /dev/null +++ b/sdk/R/man/logs.create.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..aa0d983ed9 --- /dev/null +++ b/sdk/R/man/logs.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/logs.destroy.Rd new file mode 100644 index 0000000000..7c795c5c13 --- /dev/null +++ b/sdk/R/man/logs.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{logs.destroy} +\alias{logs.destroy} +\title{logs.destroy is a method defined in Arvados class.} +\usage{ +arv$logs.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Log object. +} +\description{ +logs.destroy 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 index 0000000000..000878cf82 --- /dev/null +++ b/sdk/R/man/logs.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/logs.index.Rd new file mode 100644 index 0000000000..719a8d3897 --- /dev/null +++ b/sdk/R/man/logs.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{logs.index} +\alias{logs.index} +\title{logs.index is a method defined in Arvados class.} +\usage{ +arv$logs.index(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.index 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 index 0000000000..e15c79379f --- /dev/null +++ b/sdk/R/man/logs.list.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/logs.show.Rd new file mode 100644 index 0000000000..021127a92d --- /dev/null +++ b/sdk/R/man/logs.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{logs.show} +\alias{logs.show} +\title{logs.show is a method defined in Arvados class.} +\usage{ +arv$logs.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Log object. +} +\description{ +logs.show 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 index 0000000000..6ee354c0e6 --- /dev/null +++ b/sdk/R/man/logs.update.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..ead3972d29 --- /dev/null +++ b/sdk/R/man/nodes.create.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..caa5fb4ad8 --- /dev/null +++ b/sdk/R/man/nodes.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/nodes.destroy.Rd new file mode 100644 index 0000000000..4a2fc36c7f --- /dev/null +++ b/sdk/R/man/nodes.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{nodes.destroy} +\alias{nodes.destroy} +\title{nodes.destroy is a method defined in Arvados class.} +\usage{ +arv$nodes.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Node object. +} +\description{ +nodes.destroy 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 index 0000000000..a1d3f2e9ab --- /dev/null +++ b/sdk/R/man/nodes.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/nodes.index.Rd new file mode 100644 index 0000000000..90a8ec5af1 --- /dev/null +++ b/sdk/R/man/nodes.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{nodes.index} +\alias{nodes.index} +\title{nodes.index is a method defined in Arvados class.} +\usage{ +arv$nodes.index(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.index 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 index 0000000000..10b5c87b21 --- /dev/null +++ b/sdk/R/man/nodes.list.Rd @@ -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 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") +} +\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 index 0000000000..7f2727abd5 --- /dev/null +++ b/sdk/R/man/nodes.ping.Rd @@ -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 is a method defined in Arvados class.} +\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.show.Rd b/sdk/R/man/nodes.show.Rd new file mode 100644 index 0000000000..20e2faeed5 --- /dev/null +++ b/sdk/R/man/nodes.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{nodes.show} +\alias{nodes.show} +\title{nodes.show is a method defined in Arvados class.} +\usage{ +arv$nodes.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Node object. +} +\description{ +nodes.show 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 index 0000000000..6eda6f3a95 --- /dev/null +++ b/sdk/R/man/nodes.update.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..875c77a561 --- /dev/null +++ b/sdk/R/man/pipeline_instances.cancel.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..8f0c1e9f69 --- /dev/null +++ b/sdk/R/man/pipeline_instances.create.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$pipeline_instances.create(pipeline_instance, + 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 index 0000000000..6479b75ee2 --- /dev/null +++ b/sdk/R/man/pipeline_instances.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/pipeline_instances.destroy.Rd new file mode 100644 index 0000000000..77d7488d6e --- /dev/null +++ b/sdk/R/man/pipeline_instances.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{pipeline_instances.destroy} +\alias{pipeline_instances.destroy} +\title{pipeline_instances.destroy is a method defined in Arvados class.} +\usage{ +arv$pipeline_instances.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +PipelineInstance object. +} +\description{ +pipeline_instances.destroy 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 index 0000000000..6dfa918210 --- /dev/null +++ b/sdk/R/man/pipeline_instances.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/pipeline_instances.index.Rd new file mode 100644 index 0000000000..c34acf49a4 --- /dev/null +++ b/sdk/R/man/pipeline_instances.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{pipeline_instances.index} +\alias{pipeline_instances.index} +\title{pipeline_instances.index is a method defined in Arvados class.} +\usage{ +arv$pipeline_instances.index(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.index 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 index 0000000000..3549a606bd --- /dev/null +++ b/sdk/R/man/pipeline_instances.list.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/pipeline_instances.show.Rd new file mode 100644 index 0000000000..8aff943ba5 --- /dev/null +++ b/sdk/R/man/pipeline_instances.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{pipeline_instances.show} +\alias{pipeline_instances.show} +\title{pipeline_instances.show is a method defined in Arvados class.} +\usage{ +arv$pipeline_instances.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +PipelineInstance object. +} +\description{ +pipeline_instances.show 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 index 0000000000..5058260285 --- /dev/null +++ b/sdk/R/man/pipeline_instances.update.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$pipeline_instances.update(pipeline_instance, + 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 index 0000000000..9b64766800 --- /dev/null +++ b/sdk/R/man/pipeline_templates.create.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$pipeline_templates.create(pipeline_template, + 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 index 0000000000..9cb02e226d --- /dev/null +++ b/sdk/R/man/pipeline_templates.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/pipeline_templates.destroy.Rd new file mode 100644 index 0000000000..b922775b8a --- /dev/null +++ b/sdk/R/man/pipeline_templates.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{pipeline_templates.destroy} +\alias{pipeline_templates.destroy} +\title{pipeline_templates.destroy is a method defined in Arvados class.} +\usage{ +arv$pipeline_templates.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +PipelineTemplate object. +} +\description{ +pipeline_templates.destroy 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 index 0000000000..31e12778ea --- /dev/null +++ b/sdk/R/man/pipeline_templates.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/pipeline_templates.index.Rd new file mode 100644 index 0000000000..316a87381a --- /dev/null +++ b/sdk/R/man/pipeline_templates.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{pipeline_templates.index} +\alias{pipeline_templates.index} +\title{pipeline_templates.index is a method defined in Arvados class.} +\usage{ +arv$pipeline_templates.index(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.index 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 index 0000000000..f894e63ad4 --- /dev/null +++ b/sdk/R/man/pipeline_templates.list.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/pipeline_templates.show.Rd new file mode 100644 index 0000000000..b71a39d442 --- /dev/null +++ b/sdk/R/man/pipeline_templates.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{pipeline_templates.show} +\alias{pipeline_templates.show} +\title{pipeline_templates.show is a method defined in Arvados class.} +\usage{ +arv$pipeline_templates.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +PipelineTemplate object. +} +\description{ +pipeline_templates.show 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 index 0000000000..a266fe279e --- /dev/null +++ b/sdk/R/man/pipeline_templates.update.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$pipeline_templates.update(pipeline_template, + 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 index 0833d158b0..0000000000 --- a/sdk/R/man/print.Arvados.Rd +++ /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/repositories.create.Rd b/sdk/R/man/repositories.create.Rd new file mode 100644 index 0000000000..b94458b1b0 --- /dev/null +++ b/sdk/R/man/repositories.create.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..2eef18c80f --- /dev/null +++ b/sdk/R/man/repositories.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/repositories.destroy.Rd new file mode 100644 index 0000000000..15653df7dd --- /dev/null +++ b/sdk/R/man/repositories.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{repositories.destroy} +\alias{repositories.destroy} +\title{repositories.destroy is a method defined in Arvados class.} +\usage{ +arv$repositories.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Repository object. +} +\description{ +repositories.destroy 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 index 0000000000..0857bf0216 --- /dev/null +++ b/sdk/R/man/repositories.get.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..09b12e1fe4 --- /dev/null +++ b/sdk/R/man/repositories.get_all_permissions.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/repositories.index.Rd new file mode 100644 index 0000000000..3fbb1d0e5e --- /dev/null +++ b/sdk/R/man/repositories.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{repositories.index} +\alias{repositories.index} +\title{repositories.index is a method defined in Arvados class.} +\usage{ +arv$repositories.index(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.index 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 index 0000000000..47750adf66 --- /dev/null +++ b/sdk/R/man/repositories.list.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/repositories.show.Rd new file mode 100644 index 0000000000..4bfdc95540 --- /dev/null +++ b/sdk/R/man/repositories.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{repositories.show} +\alias{repositories.show} +\title{repositories.show is a method defined in Arvados class.} +\usage{ +arv$repositories.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Repository object. +} +\description{ +repositories.show 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 index 0000000000..cb17bb2bf1 --- /dev/null +++ b/sdk/R/man/repositories.update.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..03de2c12d1 --- /dev/null +++ b/sdk/R/man/specimens.create.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..fbad4dc9fa --- /dev/null +++ b/sdk/R/man/specimens.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/specimens.destroy.Rd new file mode 100644 index 0000000000..efee187494 --- /dev/null +++ b/sdk/R/man/specimens.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{specimens.destroy} +\alias{specimens.destroy} +\title{specimens.destroy is a method defined in Arvados class.} +\usage{ +arv$specimens.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Specimen object. +} +\description{ +specimens.destroy 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 index 0000000000..bd9894e701 --- /dev/null +++ b/sdk/R/man/specimens.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/specimens.index.Rd new file mode 100644 index 0000000000..3688150540 --- /dev/null +++ b/sdk/R/man/specimens.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{specimens.index} +\alias{specimens.index} +\title{specimens.index is a method defined in Arvados class.} +\usage{ +arv$specimens.index(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.index 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 index 0000000000..d56a7ca02d --- /dev/null +++ b/sdk/R/man/specimens.list.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/specimens.show.Rd new file mode 100644 index 0000000000..32552e86e5 --- /dev/null +++ b/sdk/R/man/specimens.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{specimens.show} +\alias{specimens.show} +\title{specimens.show is a method defined in Arvados class.} +\usage{ +arv$specimens.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Specimen object. +} +\description{ +specimens.show 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 index 0000000000..e4441c9969 --- /dev/null +++ b/sdk/R/man/specimens.update.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..0b1dcf59cb --- /dev/null +++ b/sdk/R/man/traits.create.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..ac6da0c40c --- /dev/null +++ b/sdk/R/man/traits.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/traits.destroy.Rd new file mode 100644 index 0000000000..5c64670146 --- /dev/null +++ b/sdk/R/man/traits.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{traits.destroy} +\alias{traits.destroy} +\title{traits.destroy is a method defined in Arvados class.} +\usage{ +arv$traits.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Trait object. +} +\description{ +traits.destroy 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 index 0000000000..a37ec4b001 --- /dev/null +++ b/sdk/R/man/traits.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/traits.index.Rd new file mode 100644 index 0000000000..116a893cf5 --- /dev/null +++ b/sdk/R/man/traits.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{traits.index} +\alias{traits.index} +\title{traits.index is a method defined in Arvados class.} +\usage{ +arv$traits.index(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.index 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 index 0000000000..99ec0e87f3 --- /dev/null +++ b/sdk/R/man/traits.list.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/traits.show.Rd new file mode 100644 index 0000000000..96c4a2b15d --- /dev/null +++ b/sdk/R/man/traits.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{traits.show} +\alias{traits.show} +\title{traits.show is a method defined in Arvados class.} +\usage{ +arv$traits.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Trait object. +} +\description{ +traits.show 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 index 0000000000..9f301f3811 --- /dev/null +++ b/sdk/R/man/traits.update.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..03113a9d4d --- /dev/null +++ b/sdk/R/man/user_agreements.create.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$user_agreements.create(user_agreement, + 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 index 0000000000..5dc6f9a969 --- /dev/null +++ b/sdk/R/man/user_agreements.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/user_agreements.destroy.Rd new file mode 100644 index 0000000000..fbf6399b23 --- /dev/null +++ b/sdk/R/man/user_agreements.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{user_agreements.destroy} +\alias{user_agreements.destroy} +\title{user_agreements.destroy is a method defined in Arvados class.} +\usage{ +arv$user_agreements.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +UserAgreement object. +} +\description{ +user_agreements.destroy 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 index 0000000000..fea1ecc75b --- /dev/null +++ b/sdk/R/man/user_agreements.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/user_agreements.index.Rd new file mode 100644 index 0000000000..c3fa27d508 --- /dev/null +++ b/sdk/R/man/user_agreements.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{user_agreements.index} +\alias{user_agreements.index} +\title{user_agreements.index is a method defined in Arvados class.} +\usage{ +arv$user_agreements.index(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.index 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 index 0000000000..7d93193bf1 --- /dev/null +++ b/sdk/R/man/user_agreements.list.Rd @@ -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 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") +} +\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 index 0000000000..6ccb2dcba6 --- /dev/null +++ b/sdk/R/man/user_agreements.new.Rd @@ -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 is a method defined in Arvados class.} +\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.show.Rd b/sdk/R/man/user_agreements.show.Rd new file mode 100644 index 0000000000..db05e12769 --- /dev/null +++ b/sdk/R/man/user_agreements.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{user_agreements.show} +\alias{user_agreements.show} +\title{user_agreements.show is a method defined in Arvados class.} +\usage{ +arv$user_agreements.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +UserAgreement object. +} +\description{ +user_agreements.show 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 index 0000000000..11d2a397cd --- /dev/null +++ b/sdk/R/man/user_agreements.sign.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..502e590311 --- /dev/null +++ b/sdk/R/man/user_agreements.signatures.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..17c5f31054 --- /dev/null +++ b/sdk/R/man/user_agreements.update.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$user_agreements.update(user_agreement, + 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 index 0000000000..f283dce7dd --- /dev/null +++ b/sdk/R/man/users.activate.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..1c29d6fc82 --- /dev/null +++ b/sdk/R/man/users.create.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..533cb87c05 --- /dev/null +++ b/sdk/R/man/users.current.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..d9aeba3ac3 --- /dev/null +++ b/sdk/R/man/users.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/users.destroy.Rd new file mode 100644 index 0000000000..5abdf704a0 --- /dev/null +++ b/sdk/R/man/users.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{users.destroy} +\alias{users.destroy} +\title{users.destroy is a method defined in Arvados class.} +\usage{ +arv$users.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +User object. +} +\description{ +users.destroy 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 index 0000000000..06eca94d1a --- /dev/null +++ b/sdk/R/man/users.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/users.index.Rd new file mode 100644 index 0000000000..38df28bdb5 --- /dev/null +++ b/sdk/R/man/users.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{users.index} +\alias{users.index} +\title{users.index is a method defined in Arvados class.} +\usage{ +arv$users.index(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.index 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 index 0000000000..762a68fef3 --- /dev/null +++ b/sdk/R/man/users.list.Rd @@ -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 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") +} +\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 index 0000000000..1385fdd9cd --- /dev/null +++ b/sdk/R/man/users.setup.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/users.show.Rd new file mode 100644 index 0000000000..c85b1d4d9c --- /dev/null +++ b/sdk/R/man/users.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{users.show} +\alias{users.show} +\title{users.show is a method defined in Arvados class.} +\usage{ +arv$users.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +User object. +} +\description{ +users.show 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 index 0000000000..e079e73a06 --- /dev/null +++ b/sdk/R/man/users.system.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..cf7b1522b0 --- /dev/null +++ b/sdk/R/man/users.unsetup.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..76e60f597e --- /dev/null +++ b/sdk/R/man/users.update.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..9cca376e00 --- /dev/null +++ b/sdk/R/man/users.update_uuid.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..5ae56e5d4a --- /dev/null +++ b/sdk/R/man/virtual_machines.create.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$virtual_machines.create(virtual_machine, + 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 index 0000000000..0c9998f278 --- /dev/null +++ b/sdk/R/man/virtual_machines.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/virtual_machines.destroy.Rd new file mode 100644 index 0000000000..0d84ef60cd --- /dev/null +++ b/sdk/R/man/virtual_machines.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{virtual_machines.destroy} +\alias{virtual_machines.destroy} +\title{virtual_machines.destroy is a method defined in Arvados class.} +\usage{ +arv$virtual_machines.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +VirtualMachine object. +} +\description{ +virtual_machines.destroy 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 index 0000000000..563fd977e2 --- /dev/null +++ b/sdk/R/man/virtual_machines.get.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..dce990d23c --- /dev/null +++ b/sdk/R/man/virtual_machines.get_all_logins.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/virtual_machines.index.Rd new file mode 100644 index 0000000000..c6da4dc743 --- /dev/null +++ b/sdk/R/man/virtual_machines.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{virtual_machines.index} +\alias{virtual_machines.index} +\title{virtual_machines.index is a method defined in Arvados class.} +\usage{ +arv$virtual_machines.index(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.index 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 index 0000000000..7ef55d91e3 --- /dev/null +++ b/sdk/R/man/virtual_machines.list.Rd @@ -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 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") +} +\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 index 0000000000..117d247c03 --- /dev/null +++ b/sdk/R/man/virtual_machines.logins.Rd @@ -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 is a method defined in Arvados class.} +\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.show.Rd b/sdk/R/man/virtual_machines.show.Rd new file mode 100644 index 0000000000..83aea16696 --- /dev/null +++ b/sdk/R/man/virtual_machines.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{virtual_machines.show} +\alias{virtual_machines.show} +\title{virtual_machines.show is a method defined in Arvados class.} +\usage{ +arv$virtual_machines.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +VirtualMachine object. +} +\description{ +virtual_machines.show 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 index 0000000000..4aa479cd31 --- /dev/null +++ b/sdk/R/man/virtual_machines.update.Rd @@ -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 is a method defined in Arvados class.} +\usage{ +arv$virtual_machines.update(virtual_machine, + 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 index 0000000000..d2777c097c --- /dev/null +++ b/sdk/R/man/workflows.create.Rd @@ -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 is a method defined in Arvados class.} +\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 index 0000000000..8dc82c6fee --- /dev/null +++ b/sdk/R/man/workflows.delete.Rd @@ -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 is a method defined in Arvados class.} +\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.destroy.Rd b/sdk/R/man/workflows.destroy.Rd new file mode 100644 index 0000000000..aa0cd2e9c5 --- /dev/null +++ b/sdk/R/man/workflows.destroy.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{workflows.destroy} +\alias{workflows.destroy} +\title{workflows.destroy is a method defined in Arvados class.} +\usage{ +arv$workflows.destroy(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Workflow object. +} +\description{ +workflows.destroy 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 index 0000000000..453ec3608a --- /dev/null +++ b/sdk/R/man/workflows.get.Rd @@ -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 is a method defined in Arvados class.} +\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.index.Rd b/sdk/R/man/workflows.index.Rd new file mode 100644 index 0000000000..4f2ebf3210 --- /dev/null +++ b/sdk/R/man/workflows.index.Rd @@ -0,0 +1,34 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{workflows.index} +\alias{workflows.index} +\title{workflows.index is a method defined in Arvados class.} +\usage{ +arv$workflows.index(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.index 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 index 0000000000..cf2240083e --- /dev/null +++ b/sdk/R/man/workflows.list.Rd @@ -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 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") +} +\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.show.Rd b/sdk/R/man/workflows.show.Rd new file mode 100644 index 0000000000..86c05216d5 --- /dev/null +++ b/sdk/R/man/workflows.show.Rd @@ -0,0 +1,17 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/Arvados.R +\name{workflows.show} +\alias{workflows.show} +\title{workflows.show is a method defined in Arvados class.} +\usage{ +arv$workflows.show(uuid) +} +\arguments{ +\item{uuid}{} +} +\value{ +Workflow object. +} +\description{ +workflows.show 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 index 0000000000..f7a8dcda67 --- /dev/null +++ b/sdk/R/man/workflows.update.Rd @@ -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 is a method defined in Arvados class.} +\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 index 25cf88f422..0000000000 --- a/sdk/R/tests/testthat/test-Arvados.R +++ /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()) -}) diff --git a/sdk/R/tests/testthat/test-ArvadosFile.R b/sdk/R/tests/testthat/test-ArvadosFile.R index 90cc1499d6..67ed0f6240 100644 --- a/sdk/R/tests/testthat/test-ArvadosFile.R +++ b/sdk/R/tests/testthat/test-ArvadosFile.R @@ -45,9 +45,8 @@ test_that(paste("getSizeInBytes delegates size calculation", returnSize <- 100 fakeREST <- FakeRESTService$new(collectionContent, returnSize) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) fish <- collection$get("animal/fish") resourceSize <- fish$getSizeInBytes() @@ -81,9 +80,8 @@ test_that("read raises exception offset or length is negative number", { collectionContent <- c("animal", "animal/fish") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) fish <- collection$get("animal/fish") expect_that(fish$read(contentType = "text", offset = -1), @@ -100,9 +98,8 @@ test_that("read delegates reading operation to REST service class", { readContent <- "my file" fakeREST <- FakeRESTService$new(collectionContent, readContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) fish <- collection$get("animal/fish") fileContent <- fish$read("text") @@ -118,9 +115,8 @@ test_that(paste("connection delegates connection creation ro RESTService class", collectionContent <- c("animal", "animal/fish") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) fish <- collection$get("animal/fish") connection <- fish$connection("r") @@ -134,9 +130,8 @@ test_that(paste("connection returns textConnection opened", collectionContent <- c("animal", "animal/fish") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) fish <- collection$get("animal/fish") connection <- fish$connection("w") @@ -156,9 +151,8 @@ test_that("flush sends data stored in a connection to a REST server", { collectionContent <- c("animal", "animal/fish") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) fish <- collection$get("animal/fish") connection <- fish$connection("w") @@ -184,9 +178,8 @@ test_that("write delegates writing operation to REST service class", { collectionContent <- c("animal", "animal/fish") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) fish <- collection$get("animal/fish") fileContent <- fish$write("new file content") @@ -215,10 +208,8 @@ test_that(paste("move raises exception if newLocationInCollection", fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) dog <- collection$get("animal/dog") expect_that(dog$move("objects/dog"), @@ -236,9 +227,8 @@ test_that("move raises exception if new location contains content with the same fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) dog <- collection$get("animal/dog") expect_that(dog$move("dog"), @@ -257,9 +247,8 @@ test_that("move moves arvados file inside collection tree", { fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) dog <- collection$get("animal/dog") dog$move("dog") diff --git a/sdk/R/tests/testthat/test-Collection.R b/sdk/R/tests/testthat/test-Collection.R index ec00ca3c66..56e09f85ce 100644 --- a/sdk/R/tests/testthat/test-Collection.R +++ b/sdk/R/tests/testthat/test-Collection.R @@ -8,9 +8,8 @@ test_that(paste("constructor creates file tree from text content", collectionContent <- c("animal", "animal/fish", "ball") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) root <- collection$get("") @@ -24,9 +23,8 @@ test_that(paste("add raises exception if passed argumet is not", collectionContent <- c("animal", "animal/fish", "ball") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) newNumber <- 10 @@ -40,9 +38,8 @@ test_that("add raises exception if relative path is not valid", { collectionContent <- c("animal", "animal/fish", "ball") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) newPen <- ArvadosFile$new("pen") @@ -56,9 +53,8 @@ test_that("add raises exception if content name is empty string", { collectionContent <- c("animal", "animal/fish") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) rootFolder <- Subcollection$new("") @@ -72,9 +68,8 @@ test_that(paste("add adds ArvadosFile or Subcollection", collectionContent <- c("animal", "animal/fish", "ball") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) newDog <- ArvadosFile$new("dog") collection$add(newDog, "animal") @@ -91,9 +86,8 @@ test_that("create raises exception if passed argumet is not character vector", { collectionContent <- c("animal", "animal/fish", "ball") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) expect_that(collection$create(10), throws_error("Expected character vector, got (numeric).", @@ -108,9 +102,8 @@ test_that("create raises exception if relative path is not valid", { fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) newPen <- ArvadosFile$new("pen") @@ -125,9 +118,8 @@ test_that(paste("create adds files specified by fileNames", collectionContent <- c("animal", "animal/fish", "ball") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) files <- c("dog", "cat") collection$create(files, "animal") @@ -147,9 +139,8 @@ test_that("remove raises exception if passed argumet is not character vector", { collectionContent <- c("animal", "animal/fish", "ball") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) expect_that(collection$remove(10), throws_error("Expected character vector, got (numeric).", @@ -161,9 +152,8 @@ test_that("remove raises exception if user tries to remove root folder", { collectionContent <- c("animal", "animal/fish") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) expect_that(collection$remove(""), throws_error("You can't delete root folder.", fixed = TRUE)) @@ -175,9 +165,8 @@ test_that(paste("remove removes files specified by paths", collectionContent <- c("animal", "animal/fish", "animal/dog", "animal/cat", "ball") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) collection$remove(c("animal/dog", "animal/cat")) @@ -197,9 +186,8 @@ test_that(paste("move moves content to a new location inside file tree", collectionContent <- c("animal", "animal/dog", "ball") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) collection$move("animal/dog", "dog") @@ -216,9 +204,8 @@ test_that("move raises exception if new location is not valid", { collectionContent <- c("animal", "animal/fish", "ball") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) expect_that(collection$move("fish", "object"), throws_error("Content you want to move doesn't exist in the collection.", @@ -230,9 +217,8 @@ test_that("getFileListing returns sorted collection content received from REST s collectionContent <- c("animal", "animal/fish", "ball") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) contentMatchExpected <- all(collection$getFileListing() == c("animal", "animal/fish", "ball")) @@ -248,9 +234,8 @@ test_that("get returns arvados file or subcollection from internal tree structur collectionContent <- c("animal", "animal/fish", "ball") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) fish <- collection$get("animal/fish") fishIsNotNull <- !is.null(fish) diff --git a/sdk/R/tests/testthat/test-RESTService.R b/sdk/R/tests/testthat/test-RESTService.R index d4f3c2c1c0..ef4a114cd1 100644 --- a/sdk/R/tests/testthat/test-RESTService.R +++ b/sdk/R/tests/testthat/test-RESTService.R @@ -31,92 +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 @@ -145,150 +59,6 @@ test_that("fetchAllItems always returns all resource items from server", { 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" diff --git a/sdk/R/tests/testthat/test-Subcollection.R b/sdk/R/tests/testthat/test-Subcollection.R index 1b141e1051..eafc74734b 100644 --- a/sdk/R/tests/testthat/test-Subcollection.R +++ b/sdk/R/tests/testthat/test-Subcollection.R @@ -117,10 +117,9 @@ test_that(paste("add post content to a REST service", collectionContent <- c("animal", "animal/fish") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) animal <- collection$get("animal") dog <- ArvadosFile$new("dog") @@ -168,9 +167,8 @@ test_that(paste("remove removes content from REST service", collectionContent <- c("animal", "animal/fish", "animal/dog") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) animal <- collection$get("animal") animal$remove("fish") @@ -278,9 +276,8 @@ test_that("move raises exception if new location contains content with the same "fish") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) fish <- collection$get("animal/fish") expect_that(fish$move("fish"), @@ -298,10 +295,8 @@ test_that(paste("move raises exception if newLocationInCollection", "ball") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) fish <- collection$get("animal/fish") expect_that(fish$move("objects/dog"), @@ -317,9 +312,8 @@ test_that("move moves subcollection inside collection tree", { "ball") fakeREST <- FakeRESTService$new(collectionContent) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) fish <- collection$get("animal/fish") fish$move("fish") @@ -345,9 +339,8 @@ test_that(paste("getSizeInBytes delegates size calculation", returnSize <- 100 fakeREST <- FakeRESTService$new(collectionContent, returnSize) - api <- Arvados$new("myToken", "myHostName") - api$setRESTService(fakeREST) - collection <- Collection$new(api, "myUUID") + collection <- Collection$new("fakeUUID") + collection$setRESTService(fakeREST) animal <- collection$get("animal") resourceSize <- animal$getSizeInBytes()