print.oc_agent: Print result of oc_agent()

View source: R/oc_agent.R

print.oc_agentR Documentation

Print result of oc_agent()

Description

Print a structured return of the oc_agent() function.

Usage

## S3 method for class 'oc_agent'
print(x, ...)

Arguments

x

The return of the function this print function relates to.

...

Possible further options to the print function.

Value

A structured print of the return by the oc_agent() function.

See Also

oc_agent

Examples


Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org")
Sys.setenv(OPENCAST_USERNAME = "admin")
Sys.setenv(OPENCAST_PASSWORD = "opencast")

agents <- oc_list_agents()

resp <- oc_agent(agents$content$agent_id)

resp


ebbertd/opencastR documentation built on March 23, 2022, 10:11 p.m.