CredentialApi: Credential operations

Description Format Methods Public fields Methods Examples

Description

LAMP.Credential

Format

An R6Class generator object

Methods

create

delete

list

update

Public fields

apiClient

Handles the client-server communication.

Methods

Public methods


Method new()

Usage
CredentialApi$new(apiClient)

Method create()

Usage
CredentialApi$create(type.id, body, ...)

Method createWithHttpInfo()

Usage
CredentialApi$createWithHttpInfo(type.id, body, ...)

Method delete()

Usage
CredentialApi$delete(type.id, access.key, ...)

Method deleteWithHttpInfo()

Usage
CredentialApi$deleteWithHttpInfo(type.id, access.key, ...)

Method list()

Usage
CredentialApi$list(type.id, transform = NULL, ...)

Method listWithHttpInfo()

Usage
CredentialApi$listWithHttpInfo(type.id, transform = NULL, ...)

Method update()

Usage
CredentialApi$update(type.id, access.key, body, ...)

Method updateWithHttpInfo()

Usage
CredentialApi$updateWithHttpInfo(type.id, access.key, body, ...)

Method clone()

The objects of this class are cloneable with this method.

Usage
CredentialApi$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
## Not run: 
####################  create  ####################

library(LAMP)
var.type.id <- 'type.id_example' # character | 
var.body <- NULL # object | 

result <- LAMP.Credential$create(var.type.id, var.body)


####################  delete  ####################

library(LAMP)
var.type.id <- 'type.id_example' # character | 
var.access.key <- 'access.key_example' # character | 

result <- LAMP.Credential$delete(var.type.id, var.access.key)


####################  list  ####################

library(LAMP)
var.type.id <- 'type.id_example' # character | 

result <- LAMP.Credential$list(var.type.id)


####################  update  ####################

library(LAMP)
var.type.id <- 'type.id_example' # character | 
var.access.key <- 'access.key_example' # character | 
var.body <- NULL # object | 

result <- LAMP.Credential$update(var.type.id, var.access.key, var.body)



## End(Not run)

BIDMCDigitalPsychiatry/LAMP-r documentation built on April 29, 2020, 9:51 a.m.