Description Format Methods Public fields Methods Examples
LAMP.Credential
An R6Class
generator object
create
@param type.id character
@param body object
status code : 200 | 200 Success
return type : object
response headers :
status code : 400 | 400 Bad Request
return type : Error
response headers :
status code : 403 | 403 Authorization Failed
return type : Error
response headers :
status code : 404 | 404 Not Found
return type : Error
response headers :
status code : 0 | 500 Internal Error
return type : Error
response headers :
delete
@param type.id character
@param access.key character
status code : 200 | 200 Success
return type : object
response headers :
status code : 400 | 400 Bad Request
return type : Error
response headers :
status code : 403 | 403 Authorization Failed
return type : Error
response headers :
status code : 404 | 404 Not Found
return type : Error
response headers :
status code : 0 | 500 Internal Error
return type : Error
response headers :
list
@param type.id character
@param transform character
status code : 200 | 200 Success
return type : object
response headers :
status code : 400 | 400 Bad Request
return type : Error
response headers :
status code : 403 | 403 Authorization Failed
return type : Error
response headers :
status code : 404 | 404 Not Found
return type : Error
response headers :
status code : 0 | 500 Internal Error
return type : Error
response headers :
update
@param type.id character
@param access.key character
@param body object
status code : 200 | 200 Success
return type : object
response headers :
status code : 400 | 400 Bad Request
return type : Error
response headers :
status code : 403 | 403 Authorization Failed
return type : Error
response headers :
status code : 404 | 404 Not Found
return type : Error
response headers :
status code : 0 | 500 Internal Error
return type : Error
response headers :
apiClient
Handles the client-server communication.
new()
CredentialApi$new(apiClient)
create()
CredentialApi$create(type.id, body, ...)
createWithHttpInfo()
CredentialApi$createWithHttpInfo(type.id, body, ...)
delete()
CredentialApi$delete(type.id, access.key, ...)
deleteWithHttpInfo()
CredentialApi$deleteWithHttpInfo(type.id, access.key, ...)
list()
CredentialApi$list(type.id, transform = NULL, ...)
listWithHttpInfo()
CredentialApi$listWithHttpInfo(type.id, transform = NULL, ...)
update()
CredentialApi$update(type.id, access.key, body, ...)
updateWithHttpInfo()
CredentialApi$updateWithHttpInfo(type.id, access.key, body, ...)
clone()
The objects of this class are cloneable with this method.
CredentialApi$clone(deep = FALSE)
deep
Whether to make a deep clone.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.