Description Format Methods Public fields Methods Examples
LAMP.SensorSpec
An R6Class
generator object
all Get all SensorSpecs registered. Get all SensorSpecs registered by any Researcher.
@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 SensorSpec. Create a new SensorSpec.
@param sensor.spec SensorSpec
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 SensorSpec. Delete an SensorSpec.
@param sensor.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 SensorSpec. Update an SensorSpec.
@param sensor.spec.name character
@param sensor.spec SensorSpec
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 Get a SensorSpec. Get a SensorSpec.
@param sensor.spec.name character
@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 :
apiClient
Handles the client-server communication.
new()
SensorSpecApi$new(apiClient)
all()
SensorSpecApi$all(transform = NULL, ...)
allWithHttpInfo()
SensorSpecApi$allWithHttpInfo(transform = NULL, ...)
create()
SensorSpecApi$create(sensor.spec, ...)
createWithHttpInfo()
SensorSpecApi$createWithHttpInfo(sensor.spec, ...)
delete()
SensorSpecApi$delete(sensor.spec.name, ...)
deleteWithHttpInfo()
SensorSpecApi$deleteWithHttpInfo(sensor.spec.name, ...)
update()
SensorSpecApi$update(sensor.spec.name, sensor.spec, ...)
updateWithHttpInfo()
SensorSpecApi$updateWithHttpInfo(sensor.spec.name, sensor.spec, ...)
view()
SensorSpecApi$view(sensor.spec.name, transform = NULL, ...)
viewWithHttpInfo()
SensorSpecApi$viewWithHttpInfo(sensor.spec.name, transform = NULL, ...)
clone()
The objects of this class are cloneable with this method.
SensorSpecApi$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 SensorSpecs registered.
result <- LAMP.SensorSpec$all()
#################### create ####################
library(LAMP)
var.sensor.spec <- SensorSpec$new() # SensorSpec |
#Create a new SensorSpec.
result <- LAMP.SensorSpec$create(var.sensor.spec)
#################### delete ####################
library(LAMP)
var.sensor.spec.name <- 'sensor.spec.name_example' # character |
#Delete an SensorSpec.
result <- LAMP.SensorSpec$delete(var.sensor.spec.name)
#################### update ####################
library(LAMP)
var.sensor.spec.name <- 'sensor.spec.name_example' # character |
var.sensor.spec <- SensorSpec$new() # SensorSpec |
#Update an SensorSpec.
result <- LAMP.SensorSpec$update(var.sensor.spec.name, var.sensor.spec)
#################### view ####################
library(LAMP)
var.sensor.spec.name <- 'sensor.spec.name_example' # character |
#Get a SensorSpec.
result <- LAMP.SensorSpec$view(var.sensor.spec.name)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.