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.
basePathBase url
userAgentDefault user agent
defaultHeadersDefault HTTP headers
usernameUsername for HTTP basic authentication
passwordPassword for HTTP basic authentication
apiKeysAPI keys - not used
accessTokenHTTP Access token - not used
timeoutDefault 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
)basePathHTTP call base path to the end point
userAgentUser agent string to access endpoint with
defaultHeadersdefault headers in the HTTP request
usernameUser name (HTTP basic authentication)
passwordUser password (HTTP basic authentication)
apiKeysAPI keys
accessTokenAccess token
timeoutTime 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.,