ApiClient Class
An R6Class
generator object
ApiClient Class
Generic API client for OpenAPI client library builds. OpenAPI generic API client. This client handles the client- server communication, and is invariant across implementations. Specifics of the methods and models for each application are generated from the OpenAPI Generator templates.
NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). Ref: https://openapi-generator.tech Do not edit the class manually.
basePath
Base url
userAgent
Default user agent
defaultHeaders
Default HTTP headers
username
Username for HTTP basic authentication
password
Password for HTTP basic authentication
apiKeys
API keys - not used
accessToken
HTTP Access token - not used
timeout
Default timeout in seconds
new()
Create an ApiClient
ApiClient$new(
basePath = NULL,
userAgent = NULL,
defaultHeaders = NULL,
username = NULL,
password = NULL,
apiKeys = NULL,
accessToken = NULL,
timeout = NULL
)
basePath
HTTP call base path to the end point
userAgent
User agent string to access endpoint with
defaultHeaders
default headers in the HTTP request
username
User name (HTTP basic authentication)
password
User password (HTTP basic authentication)
apiKeys
API keys
accessToken
Access token
timeout
Time Out (seconds)
CallApi()
CallApi
deserializeObj()
Deserialize the response from jsonlite object based on the given type by handling complex and nested types by iterating recursively Example returnTypes will be like "array[integer]", "map(Pet)", "array[map(Tag)]", etc.,