Client Configuration
data class ClientConfiguration(val key: String?, val secret: String?, val environment: ClientEnvironment?, val requestTimeout: Long? = null, val connectionTimeout: Long? = null, val socketTimeout: Long? = null, val maskedLoggingHeaders: Set<String>? = null, val maskedLoggingBodyFields: Set<String>? = null)
A configuration class that holds the necessary credentials and settings for API clients.
This class is used to configure SDK clients by providing essential details such as API keys, environment, timeouts, and logging settings.
It also provides a fluent Builder
pattern for easy creation of configuration instances.
Types
Properties
Link copied to clipboard
The connection timeout duration in milliseconds (optional).
Link copied to clipboard
The environment in which the API client will operate (e.g., production or test).
Link copied to clipboard
A set of fields in the request body whose values should be masked in logs (optional).
Link copied to clipboard
A set of HTTP headers whose values should be masked in logs (optional).
Link copied to clipboard
The request timeout duration in milliseconds (optional).
Link copied to clipboard
The socket timeout duration in milliseconds (optional).