ProtectedconfigurationProtectedmiddlewareThe middleware of this instance; protected so hand-written subclasses can pass it on.
ProtectedisCheck if the given MIME is a JSON MIME. JSON MIME examples: application/json application/json; charset=UTF8 APPLICATION/JSON application/vnd.company+json
MIME (Multipurpose Internet Mail Extensions)
True if the given MIME is JSON, false otherwise.
ProtectedrequestSends the request. Network errors and timeouts (while waiting for the answer or reading its body), 408, 429 and 5xx are retried for idempotent methods (see ConfigurationParameters.maxRetries). A 401 is retried once with a new token. Any other status outside 200 to 299 throws a ResponseError subclass. The body is read here, whole.
OptionalinitOverrides: RequestInit | InitOverrideFunctionSends method path and returns the parsed JSON body (undefined for an empty one). Any status
outside 200 to 299 throws the same ResponseError subclasses as the generated methods; a 2xx
whose body is not JSON throws a ResponseError whose response can still be read (the call did
succeed). The path follows normaliseRequestPath.
the path after the base URL, starting with /, such as /subaccounts
OptionalinitOverrides: RequestInit | InitOverrideFunction
This is the base class for all generated API classes.