Description Format Methods Public fields Methods Examples
LAMP.ActivitySpec
An R6Class
generator object
all Get all ActivitySpecs registered. Get all ActivitySpecs registered.
@param transform character
status code : 200 | 200 Success
return type : array[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 :
create Create a new ActivitySpec. Create a new ActivitySpec.
@param activity.spec ActivitySpec
status code : 200 | 200 Success
return type : character
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 Delete an ActivitySpec. Delete an ActivitySpec.
@param activity.spec.name character
status code : 200 | 200 Success
return type : character
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 Update an ActivitySpec. Update an ActivitySpec.
@param activity.spec.name character
@param activity.spec ActivitySpec
status code : 200 | 200 Success
return type : character
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 :
view View an ActivitySpec. View an ActivitySpec.
@param activity.spec.name character
@param transform character
status code : 200 | 200 Success
return type : character
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()
ActivitySpecApi$new(apiClient)
all()
ActivitySpecApi$all(transform = NULL, ...)
allWithHttpInfo()
ActivitySpecApi$allWithHttpInfo(transform = NULL, ...)
create()
ActivitySpecApi$create(activity.spec, ...)
createWithHttpInfo()
ActivitySpecApi$createWithHttpInfo(activity.spec, ...)
delete()
ActivitySpecApi$delete(activity.spec.name, ...)
deleteWithHttpInfo()
ActivitySpecApi$deleteWithHttpInfo(activity.spec.name, ...)
update()
ActivitySpecApi$update(activity.spec.name, activity.spec, ...)
updateWithHttpInfo()
ActivitySpecApi$updateWithHttpInfo(activity.spec.name, activity.spec, ...)
view()
ActivitySpecApi$view(activity.spec.name, transform = NULL, ...)
viewWithHttpInfo()
ActivitySpecApi$viewWithHttpInfo(activity.spec.name, transform = NULL, ...)
clone()
The objects of this class are cloneable with this method.
ActivitySpecApi$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 40 41 42 43 44 45 46 47 48 | ## Not run:
#################### all ####################
library(LAMP)
#Get all ActivitySpecs registered.
result <- LAMP.ActivitySpec$all()
#################### create ####################
library(LAMP)
var.activity.spec <- ActivitySpec$new() # ActivitySpec |
#Create a new ActivitySpec.
result <- LAMP.ActivitySpec$create(var.activity.spec)
#################### delete ####################
library(LAMP)
var.activity.spec.name <- 'activity.spec.name_example' # character |
#Delete an ActivitySpec.
result <- LAMP.ActivitySpec$delete(var.activity.spec.name)
#################### update ####################
library(LAMP)
var.activity.spec.name <- 'activity.spec.name_example' # character |
var.activity.spec <- ActivitySpec$new() # ActivitySpec |
#Update an ActivitySpec.
result <- LAMP.ActivitySpec$update(var.activity.spec.name, var.activity.spec)
#################### view ####################
library(LAMP)
var.activity.spec.name <- 'activity.spec.name_example' # character |
#View an ActivitySpec.
result <- LAMP.ActivitySpec$view(var.activity.spec.name)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.