diff --git a/.github/workflows/publish-sonatype.yml b/.github/workflows/publish-sonatype.yml
index de66e5945..1845faf53 100644
--- a/.github/workflows/publish-sonatype.yml
+++ b/.github/workflows/publish-sonatype.yml
@@ -33,7 +33,7 @@ jobs:
export -- GPG_SIGNING_KEY_ID
printenv -- GPG_SIGNING_KEY | gpg --batch --passphrase-fd 3 --import 3<<< "$GPG_SIGNING_PASSWORD"
GPG_SIGNING_KEY_ID="$(gpg --with-colons --list-keys | awk -F : -- '/^pub:/ { getline; print "0x" substr($10, length($10) - 7) }')"
- ./gradlew publishAndReleaseToMavenCentral -Dorg.gradle.jvmargs="-Xmx8g" --stacktrace -PmavenCentralUsername="$SONATYPE_USERNAME" -PmavenCentralPassword="$SONATYPE_PASSWORD" --no-configuration-cache
+ ./gradlew publishAndReleaseToMavenCentral --stacktrace -PmavenCentralUsername="$SONATYPE_USERNAME" -PmavenCentralPassword="$SONATYPE_PASSWORD" --no-configuration-cache
env:
SONATYPE_USERNAME: ${{ secrets.LITHIC_SONATYPE_USERNAME || secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.LITHIC_SONATYPE_PASSWORD || secrets.SONATYPE_PASSWORD }}
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index f70d9978a..73033badf 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.102.0"
+ ".": "0.102.1"
}
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index baabb56d9..4825cb3f0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,21 @@
# Changelog
+## 0.102.1 (2025-08-22)
+
+Full Changelog: [v0.102.0...v0.102.1](https://github.com/lithic-com/lithic-java/compare/v0.102.0...v0.102.1)
+
+### Bug Fixes
+
+* update singularization rules ([546691f](https://github.com/lithic-com/lithic-java/commit/546691f462bbb849a11baa32f3ff8f34aff9523b))
+
+
+### Chores
+
+* **ci:** reduce log noise ([9e55acc](https://github.com/lithic-com/lithic-java/commit/9e55acc8f97887a2a0bb33fd298200fd1d5dc75a))
+* **client:** refactor closing / shutdown ([ffdb0de](https://github.com/lithic-com/lithic-java/commit/ffdb0dec8ae31a8f1a5894ae62c9330d9f5e69fe))
+* **internal:** support running formatters directly ([5803b62](https://github.com/lithic-com/lithic-java/commit/5803b62ba3fa4f6d9cf6f8c92d04f9fd0473a701))
+* remove memory upper bound from publishing step ([e75ad9a](https://github.com/lithic-com/lithic-java/commit/e75ad9a34161e81144bb936ca66113f14ccf659c))
+
## 0.102.0 (2025-08-18)
Full Changelog: [v0.101.0...v0.102.0](https://github.com/lithic-com/lithic-java/compare/v0.101.0...v0.102.0)
diff --git a/README.md b/README.md
index 0af7bfeba..4b78e7961 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
-[](https://central.sonatype.com/artifact/com.lithic.api/lithic-java/0.102.0)
-[](https://javadoc.io/doc/com.lithic.api/lithic-java/0.102.0)
+[](https://central.sonatype.com/artifact/com.lithic.api/lithic-java/0.102.1)
+[](https://javadoc.io/doc/com.lithic.api/lithic-java/0.102.1)
@@ -13,7 +13,7 @@ The Lithic Java SDK is similar to the Lithic Kotlin SDK but with minor differenc
-The REST API documentation can be found on [docs.lithic.com](https://docs.lithic.com). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.lithic.api/lithic-java/0.102.0).
+The REST API documentation can be found on [docs.lithic.com](https://docs.lithic.com). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.lithic.api/lithic-java/0.102.1).
@@ -24,7 +24,7 @@ The REST API documentation can be found on [docs.lithic.com](https://docs.lithic
### Gradle
```kotlin
-implementation("com.lithic.api:lithic-java:0.102.0")
+implementation("com.lithic.api:lithic-java:0.102.1")
```
### Maven
@@ -33,7 +33,7 @@ implementation("com.lithic.api:lithic-java:0.102.0")
com.lithic.api
lithic-java
- 0.102.0
+ 0.102.1
```
diff --git a/build.gradle.kts b/build.gradle.kts
index 80c9c68c1..223cdee64 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,7 +8,7 @@ repositories {
allprojects {
group = "com.lithic.api"
- version = "0.102.0" // x-release-please-version
+ version = "0.102.1" // x-release-please-version
}
subprojects {
diff --git a/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClient.kt b/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClient.kt
index 8b454be22..f34c69bfb 100644
--- a/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClient.kt
+++ b/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClient.kt
@@ -126,6 +126,8 @@ class LithicOkHttpClient private constructor() {
* The executor to use for running [AsyncStreamResponse.Handler] callbacks.
*
* Defaults to a dedicated cached thread pool.
+ *
+ * This class takes ownership of the executor and shuts it down, if possible, when closed.
*/
fun streamHandlerExecutor(streamHandlerExecutor: Executor) = apply {
clientOptions.streamHandlerExecutor(streamHandlerExecutor)
@@ -218,33 +220,33 @@ class LithicOkHttpClient private constructor() {
fun putHeader(name: String, value: String) = apply { clientOptions.putHeader(name, value) }
- fun putHeaders(name: String, values: Iterable) = apply {
- clientOptions.putHeaders(name, values)
+ fun putheaders(name: String, values: Iterable) = apply {
+ clientOptions.putheaders(name, values)
}
- fun putAllHeaders(headers: Headers) = apply { clientOptions.putAllHeaders(headers) }
+ fun putAllheaders(headers: Headers) = apply { clientOptions.putAllheaders(headers) }
- fun putAllHeaders(headers: Map>) = apply {
- clientOptions.putAllHeaders(headers)
+ fun putAllheaders(headers: Map>) = apply {
+ clientOptions.putAllheaders(headers)
}
- fun replaceHeaders(name: String, value: String) = apply {
- clientOptions.replaceHeaders(name, value)
+ fun replaceheaders(name: String, value: String) = apply {
+ clientOptions.replaceheaders(name, value)
}
- fun replaceHeaders(name: String, values: Iterable) = apply {
- clientOptions.replaceHeaders(name, values)
+ fun replaceheaders(name: String, values: Iterable) = apply {
+ clientOptions.replaceheaders(name, values)
}
- fun replaceAllHeaders(headers: Headers) = apply { clientOptions.replaceAllHeaders(headers) }
+ fun replaceAllheaders(headers: Headers) = apply { clientOptions.replaceAllheaders(headers) }
- fun replaceAllHeaders(headers: Map>) = apply {
- clientOptions.replaceAllHeaders(headers)
+ fun replaceAllheaders(headers: Map>) = apply {
+ clientOptions.replaceAllheaders(headers)
}
- fun removeHeaders(name: String) = apply { clientOptions.removeHeaders(name) }
+ fun removeheaders(name: String) = apply { clientOptions.removeheaders(name) }
- fun removeAllHeaders(names: Set) = apply { clientOptions.removeAllHeaders(names) }
+ fun removeAllheaders(names: Set) = apply { clientOptions.removeAllheaders(names) }
fun queryParams(queryParams: QueryParams) = apply { clientOptions.queryParams(queryParams) }
@@ -256,38 +258,38 @@ class LithicOkHttpClient private constructor() {
clientOptions.putQueryParam(key, value)
}
- fun putQueryParams(key: String, values: Iterable) = apply {
- clientOptions.putQueryParams(key, values)
+ fun putquery_params(key: String, values: Iterable) = apply {
+ clientOptions.putquery_params(key, values)
}
- fun putAllQueryParams(queryParams: QueryParams) = apply {
- clientOptions.putAllQueryParams(queryParams)
+ fun putAllquery_params(queryParams: QueryParams) = apply {
+ clientOptions.putAllquery_params(queryParams)
}
- fun putAllQueryParams(queryParams: Map>) = apply {
- clientOptions.putAllQueryParams(queryParams)
+ fun putAllquery_params(queryParams: Map>) = apply {
+ clientOptions.putAllquery_params(queryParams)
}
- fun replaceQueryParams(key: String, value: String) = apply {
- clientOptions.replaceQueryParams(key, value)
+ fun replacequery_params(key: String, value: String) = apply {
+ clientOptions.replacequery_params(key, value)
}
- fun replaceQueryParams(key: String, values: Iterable) = apply {
- clientOptions.replaceQueryParams(key, values)
+ fun replacequery_params(key: String, values: Iterable) = apply {
+ clientOptions.replacequery_params(key, values)
}
- fun replaceAllQueryParams(queryParams: QueryParams) = apply {
- clientOptions.replaceAllQueryParams(queryParams)
+ fun replaceAllquery_params(queryParams: QueryParams) = apply {
+ clientOptions.replaceAllquery_params(queryParams)
}
- fun replaceAllQueryParams(queryParams: Map>) = apply {
- clientOptions.replaceAllQueryParams(queryParams)
+ fun replaceAllquery_params(queryParams: Map>) = apply {
+ clientOptions.replaceAllquery_params(queryParams)
}
- fun removeQueryParams(key: String) = apply { clientOptions.removeQueryParams(key) }
+ fun removequery_params(key: String) = apply { clientOptions.removequery_params(key) }
- fun removeAllQueryParams(keys: Set) = apply {
- clientOptions.removeAllQueryParams(keys)
+ fun removeAllquery_params(keys: Set) = apply {
+ clientOptions.removeAllquery_params(keys)
}
/**
diff --git a/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClientAsync.kt b/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClientAsync.kt
index 6e2efccdd..f6f9d4655 100644
--- a/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClientAsync.kt
+++ b/lithic-java-client-okhttp/src/main/kotlin/com/lithic/api/client/okhttp/LithicOkHttpClientAsync.kt
@@ -126,6 +126,8 @@ class LithicOkHttpClientAsync private constructor() {
* The executor to use for running [AsyncStreamResponse.Handler] callbacks.
*
* Defaults to a dedicated cached thread pool.
+ *
+ * This class takes ownership of the executor and shuts it down, if possible, when closed.
*/
fun streamHandlerExecutor(streamHandlerExecutor: Executor) = apply {
clientOptions.streamHandlerExecutor(streamHandlerExecutor)
@@ -218,33 +220,33 @@ class LithicOkHttpClientAsync private constructor() {
fun putHeader(name: String, value: String) = apply { clientOptions.putHeader(name, value) }
- fun putHeaders(name: String, values: Iterable) = apply {
- clientOptions.putHeaders(name, values)
+ fun putheaders(name: String, values: Iterable) = apply {
+ clientOptions.putheaders(name, values)
}
- fun putAllHeaders(headers: Headers) = apply { clientOptions.putAllHeaders(headers) }
+ fun putAllheaders(headers: Headers) = apply { clientOptions.putAllheaders(headers) }
- fun putAllHeaders(headers: Map>) = apply {
- clientOptions.putAllHeaders(headers)
+ fun putAllheaders(headers: Map>) = apply {
+ clientOptions.putAllheaders(headers)
}
- fun replaceHeaders(name: String, value: String) = apply {
- clientOptions.replaceHeaders(name, value)
+ fun replaceheaders(name: String, value: String) = apply {
+ clientOptions.replaceheaders(name, value)
}
- fun replaceHeaders(name: String, values: Iterable) = apply {
- clientOptions.replaceHeaders(name, values)
+ fun replaceheaders(name: String, values: Iterable) = apply {
+ clientOptions.replaceheaders(name, values)
}
- fun replaceAllHeaders(headers: Headers) = apply { clientOptions.replaceAllHeaders(headers) }
+ fun replaceAllheaders(headers: Headers) = apply { clientOptions.replaceAllheaders(headers) }
- fun replaceAllHeaders(headers: Map>) = apply {
- clientOptions.replaceAllHeaders(headers)
+ fun replaceAllheaders(headers: Map>) = apply {
+ clientOptions.replaceAllheaders(headers)
}
- fun removeHeaders(name: String) = apply { clientOptions.removeHeaders(name) }
+ fun removeheaders(name: String) = apply { clientOptions.removeheaders(name) }
- fun removeAllHeaders(names: Set) = apply { clientOptions.removeAllHeaders(names) }
+ fun removeAllheaders(names: Set) = apply { clientOptions.removeAllheaders(names) }
fun queryParams(queryParams: QueryParams) = apply { clientOptions.queryParams(queryParams) }
@@ -256,38 +258,38 @@ class LithicOkHttpClientAsync private constructor() {
clientOptions.putQueryParam(key, value)
}
- fun putQueryParams(key: String, values: Iterable) = apply {
- clientOptions.putQueryParams(key, values)
+ fun putquery_params(key: String, values: Iterable) = apply {
+ clientOptions.putquery_params(key, values)
}
- fun putAllQueryParams(queryParams: QueryParams) = apply {
- clientOptions.putAllQueryParams(queryParams)
+ fun putAllquery_params(queryParams: QueryParams) = apply {
+ clientOptions.putAllquery_params(queryParams)
}
- fun putAllQueryParams(queryParams: Map>) = apply {
- clientOptions.putAllQueryParams(queryParams)
+ fun putAllquery_params(queryParams: Map>) = apply {
+ clientOptions.putAllquery_params(queryParams)
}
- fun replaceQueryParams(key: String, value: String) = apply {
- clientOptions.replaceQueryParams(key, value)
+ fun replacequery_params(key: String, value: String) = apply {
+ clientOptions.replacequery_params(key, value)
}
- fun replaceQueryParams(key: String, values: Iterable) = apply {
- clientOptions.replaceQueryParams(key, values)
+ fun replacequery_params(key: String, values: Iterable) = apply {
+ clientOptions.replacequery_params(key, values)
}
- fun replaceAllQueryParams(queryParams: QueryParams) = apply {
- clientOptions.replaceAllQueryParams(queryParams)
+ fun replaceAllquery_params(queryParams: QueryParams) = apply {
+ clientOptions.replaceAllquery_params(queryParams)
}
- fun replaceAllQueryParams(queryParams: Map>) = apply {
- clientOptions.replaceAllQueryParams(queryParams)
+ fun replaceAllquery_params(queryParams: Map>) = apply {
+ clientOptions.replaceAllquery_params(queryParams)
}
- fun removeQueryParams(key: String) = apply { clientOptions.removeQueryParams(key) }
+ fun removequery_params(key: String) = apply { clientOptions.removequery_params(key) }
- fun removeAllQueryParams(keys: Set) = apply {
- clientOptions.removeAllQueryParams(keys)
+ fun removeAllquery_params(keys: Set) = apply {
+ clientOptions.removeAllquery_params(keys)
}
/**
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/client/LithicClientAsyncImpl.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/client/LithicClientAsyncImpl.kt
index 173776d11..d0a10d637 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/client/LithicClientAsyncImpl.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/client/LithicClientAsyncImpl.kt
@@ -288,7 +288,7 @@ class LithicClientAsyncImpl(private val clientOptions: ClientOptions) : LithicCl
// get /v1/status
withRawResponse().apiStatus(params, requestOptions).thenApply { it.parse() }
- override fun close() = clientOptions.httpClient.close()
+ override fun close() = clientOptions.close()
class WithRawResponseImpl internal constructor(private val clientOptions: ClientOptions) :
LithicClientAsync.WithRawResponse {
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/client/LithicClientImpl.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/client/LithicClientImpl.kt
index 3be6e93bf..7be47434e 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/client/LithicClientImpl.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/client/LithicClientImpl.kt
@@ -270,7 +270,7 @@ class LithicClientImpl(private val clientOptions: ClientOptions) : LithicClient
// get /v1/status
withRawResponse().apiStatus(params, requestOptions).parse()
- override fun close() = clientOptions.httpClient.close()
+ override fun close() = clientOptions.close()
class WithRawResponseImpl internal constructor(private val clientOptions: ClientOptions) :
LithicClient.WithRawResponse {
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/core/ClientOptions.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/core/ClientOptions.kt
index 022ff6526..90746b4ed 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/core/ClientOptions.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/core/ClientOptions.kt
@@ -13,6 +13,7 @@ import java.time.Clock
import java.time.Duration
import java.util.Optional
import java.util.concurrent.Executor
+import java.util.concurrent.ExecutorService
import java.util.concurrent.Executors
import java.util.concurrent.ThreadFactory
import java.util.concurrent.atomic.AtomicLong
@@ -26,6 +27,8 @@ private constructor(
* The HTTP client to use in the SDK.
*
* Use the one published in `lithic-java-client-okhttp` or implement your own.
+ *
+ * This class takes ownership of the client and closes it when closed.
*/
@get:JvmName("httpClient") val httpClient: HttpClient,
/**
@@ -47,6 +50,8 @@ private constructor(
* The executor to use for running [AsyncStreamResponse.Handler] callbacks.
*
* Defaults to a dedicated cached thread pool.
+ *
+ * This class takes ownership of the executor and shuts it down, if possible, when closed.
*/
@get:JvmName("streamHandlerExecutor") val streamHandlerExecutor: Executor,
/**
@@ -179,6 +184,8 @@ private constructor(
* The HTTP client to use in the SDK.
*
* Use the one published in `lithic-java-client-okhttp` or implement your own.
+ *
+ * This class takes ownership of the client and closes it when closed.
*/
fun httpClient(httpClient: HttpClient) = apply {
this.httpClient = PhantomReachableClosingHttpClient(httpClient)
@@ -207,9 +214,14 @@ private constructor(
* The executor to use for running [AsyncStreamResponse.Handler] callbacks.
*
* Defaults to a dedicated cached thread pool.
+ *
+ * This class takes ownership of the executor and shuts it down, if possible, when closed.
*/
fun streamHandlerExecutor(streamHandlerExecutor: Executor) = apply {
- this.streamHandlerExecutor = streamHandlerExecutor
+ this.streamHandlerExecutor =
+ if (streamHandlerExecutor is ExecutorService)
+ PhantomReachableExecutorService(streamHandlerExecutor)
+ else streamHandlerExecutor
}
/**
@@ -291,83 +303,83 @@ private constructor(
fun headers(headers: Headers) = apply {
this.headers.clear()
- putAllHeaders(headers)
+ putAllheaders(headers)
}
fun headers(headers: Map>) = apply {
this.headers.clear()
- putAllHeaders(headers)
+ putAllheaders(headers)
}
fun putHeader(name: String, value: String) = apply { headers.put(name, value) }
- fun putHeaders(name: String, values: Iterable) = apply { headers.put(name, values) }
+ fun putheaders(name: String, values: Iterable) = apply { headers.put(name, values) }
- fun putAllHeaders(headers: Headers) = apply { this.headers.putAll(headers) }
+ fun putAllheaders(headers: Headers) = apply { this.headers.putAll(headers) }
- fun putAllHeaders(headers: Map>) = apply {
+ fun putAllheaders(headers: Map>) = apply {
this.headers.putAll(headers)
}
- fun replaceHeaders(name: String, value: String) = apply { headers.replace(name, value) }
+ fun replaceheaders(name: String, value: String) = apply { headers.replace(name, value) }
- fun replaceHeaders(name: String, values: Iterable) = apply {
+ fun replaceheaders(name: String, values: Iterable) = apply {
headers.replace(name, values)
}
- fun replaceAllHeaders(headers: Headers) = apply { this.headers.replaceAll(headers) }
+ fun replaceAllheaders(headers: Headers) = apply { this.headers.replaceAll(headers) }
- fun replaceAllHeaders(headers: Map>) = apply {
+ fun replaceAllheaders(headers: Map>) = apply {
this.headers.replaceAll(headers)
}
- fun removeHeaders(name: String) = apply { headers.remove(name) }
+ fun removeheaders(name: String) = apply { headers.remove(name) }
- fun removeAllHeaders(names: Set) = apply { headers.removeAll(names) }
+ fun removeAllheaders(names: Set) = apply { headers.removeAll(names) }
fun queryParams(queryParams: QueryParams) = apply {
this.queryParams.clear()
- putAllQueryParams(queryParams)
+ putAllquery_params(queryParams)
}
fun queryParams(queryParams: Map>) = apply {
this.queryParams.clear()
- putAllQueryParams(queryParams)
+ putAllquery_params(queryParams)
}
fun putQueryParam(key: String, value: String) = apply { queryParams.put(key, value) }
- fun putQueryParams(key: String, values: Iterable) = apply {
+ fun putquery_params(key: String, values: Iterable) = apply {
queryParams.put(key, values)
}
- fun putAllQueryParams(queryParams: QueryParams) = apply {
+ fun putAllquery_params(queryParams: QueryParams) = apply {
this.queryParams.putAll(queryParams)
}
- fun putAllQueryParams(queryParams: Map>) = apply {
+ fun putAllquery_params(queryParams: Map>) = apply {
this.queryParams.putAll(queryParams)
}
- fun replaceQueryParams(key: String, value: String) = apply {
+ fun replacequery_params(key: String, value: String) = apply {
queryParams.replace(key, value)
}
- fun replaceQueryParams(key: String, values: Iterable) = apply {
+ fun replacequery_params(key: String, values: Iterable) = apply {
queryParams.replace(key, values)
}
- fun replaceAllQueryParams(queryParams: QueryParams) = apply {
+ fun replaceAllquery_params(queryParams: QueryParams) = apply {
this.queryParams.replaceAll(queryParams)
}
- fun replaceAllQueryParams(queryParams: Map>) = apply {
+ fun replaceAllquery_params(queryParams: Map>) = apply {
this.queryParams.replaceAll(queryParams)
}
- fun removeQueryParams(key: String) = apply { queryParams.remove(key) }
+ fun removequery_params(key: String) = apply { queryParams.remove(key) }
- fun removeAllQueryParams(keys: Set) = apply { queryParams.removeAll(keys) }
+ fun removeAllquery_params(keys: Set) = apply { queryParams.removeAll(keys) }
fun timeout(): Timeout = timeout
@@ -466,4 +478,19 @@ private constructor(
)
}
}
+
+ /**
+ * Closes these client options, relinquishing any underlying resources.
+ *
+ * This is purposefully not inherited from [AutoCloseable] because the client options are
+ * long-lived and usually should not be synchronously closed via try-with-resources.
+ *
+ * It's also usually not necessary to call this method at all. the default client automatically
+ * releases threads and connections if they remain idle, but if you are writing an application
+ * that needs to aggressively release unused resources, then you may call this method.
+ */
+ fun close() {
+ httpClient.close()
+ (streamHandlerExecutor as? ExecutorService)?.shutdown()
+ }
}
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/core/PhantomReachableExecutorService.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/core/PhantomReachableExecutorService.kt
new file mode 100644
index 000000000..590a30a0e
--- /dev/null
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/core/PhantomReachableExecutorService.kt
@@ -0,0 +1,58 @@
+package com.lithic.api.core
+
+import java.util.concurrent.Callable
+import java.util.concurrent.ExecutorService
+import java.util.concurrent.Future
+import java.util.concurrent.TimeUnit
+
+/**
+ * A delegating wrapper around an [ExecutorService] that shuts it down once it's only phantom
+ * reachable.
+ *
+ * This class ensures the [ExecutorService] is shut down even if the user forgets to do it.
+ */
+internal class PhantomReachableExecutorService(private val executorService: ExecutorService) :
+ ExecutorService {
+ init {
+ closeWhenPhantomReachable(this) { executorService.shutdown() }
+ }
+
+ override fun execute(command: Runnable) = executorService.execute(command)
+
+ override fun shutdown() = executorService.shutdown()
+
+ override fun shutdownNow(): MutableList = executorService.shutdownNow()
+
+ override fun isShutdown(): Boolean = executorService.isShutdown
+
+ override fun isTerminated(): Boolean = executorService.isTerminated
+
+ override fun awaitTermination(timeout: Long, unit: TimeUnit): Boolean =
+ executorService.awaitTermination(timeout, unit)
+
+ override fun submit(task: Callable): Future = executorService.submit(task)
+
+ override fun submit(task: Runnable, result: T): Future =
+ executorService.submit(task, result)
+
+ override fun submit(task: Runnable): Future<*> = executorService.submit(task)
+
+ override fun invokeAll(
+ tasks: MutableCollection>
+ ): MutableList> = executorService.invokeAll(tasks)
+
+ override fun invokeAll(
+ tasks: MutableCollection>,
+ timeout: Long,
+ unit: TimeUnit,
+ ): MutableList> = executorService.invokeAll(tasks, timeout, unit)
+
+ override fun invokeAny(tasks: MutableCollection>): T =
+ executorService.invokeAny(tasks)
+
+ override fun invokeAny(
+ tasks: MutableCollection>,
+ timeout: Long,
+ unit: TimeUnit,
+ ): T = executorService.invokeAny(tasks, timeout, unit)
+}
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/core/http/HttpRequest.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/core/http/HttpRequest.kt
index c4cab902d..b8215b106 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/core/http/HttpRequest.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/core/http/HttpRequest.kt
@@ -53,83 +53,83 @@ private constructor(
fun headers(headers: Headers) = apply {
this.headers.clear()
- putAllHeaders(headers)
+ putAllheaders(headers)
}
fun headers(headers: Map>) = apply {
this.headers.clear()
- putAllHeaders(headers)
+ putAllheaders(headers)
}
fun putHeader(name: String, value: String) = apply { headers.put(name, value) }
- fun putHeaders(name: String, values: Iterable) = apply { headers.put(name, values) }
+ fun putheaders(name: String, values: Iterable) = apply { headers.put(name, values) }
- fun putAllHeaders(headers: Headers) = apply { this.headers.putAll(headers) }
+ fun putAllheaders(headers: Headers) = apply { this.headers.putAll(headers) }
- fun putAllHeaders(headers: Map>) = apply {
+ fun putAllheaders(headers: Map>) = apply {
this.headers.putAll(headers)
}
- fun replaceHeaders(name: String, value: String) = apply { headers.replace(name, value) }
+ fun replaceheaders(name: String, value: String) = apply { headers.replace(name, value) }
- fun replaceHeaders(name: String, values: Iterable) = apply {
+ fun replaceheaders(name: String, values: Iterable) = apply {
headers.replace(name, values)
}
- fun replaceAllHeaders(headers: Headers) = apply { this.headers.replaceAll(headers) }
+ fun replaceAllheaders(headers: Headers) = apply { this.headers.replaceAll(headers) }
- fun replaceAllHeaders(headers: Map>) = apply {
+ fun replaceAllheaders(headers: Map>) = apply {
this.headers.replaceAll(headers)
}
- fun removeHeaders(name: String) = apply { headers.remove(name) }
+ fun removeheaders(name: String) = apply { headers.remove(name) }
- fun removeAllHeaders(names: Set) = apply { headers.removeAll(names) }
+ fun removeAllheaders(names: Set) = apply { headers.removeAll(names) }
fun queryParams(queryParams: QueryParams) = apply {
this.queryParams.clear()
- putAllQueryParams(queryParams)
+ putAllquery_params(queryParams)
}
fun queryParams(queryParams: Map>) = apply {
this.queryParams.clear()
- putAllQueryParams(queryParams)
+ putAllquery_params(queryParams)
}
fun putQueryParam(key: String, value: String) = apply { queryParams.put(key, value) }
- fun putQueryParams(key: String, values: Iterable) = apply {
+ fun putquery_params(key: String, values: Iterable) = apply {
queryParams.put(key, values)
}
- fun putAllQueryParams(queryParams: QueryParams) = apply {
+ fun putAllquery_params(queryParams: QueryParams) = apply {
this.queryParams.putAll(queryParams)
}
- fun putAllQueryParams(queryParams: Map>) = apply {
+ fun putAllquery_params(queryParams: Map>) = apply {
this.queryParams.putAll(queryParams)
}
- fun replaceQueryParams(key: String, value: String) = apply {
+ fun replacequery_params(key: String, value: String) = apply {
queryParams.replace(key, value)
}
- fun replaceQueryParams(key: String, values: Iterable) = apply {
+ fun replacequery_params(key: String, values: Iterable) = apply {
queryParams.replace(key, values)
}
- fun replaceAllQueryParams(queryParams: QueryParams) = apply {
+ fun replaceAllquery_params(queryParams: QueryParams) = apply {
this.queryParams.replaceAll(queryParams)
}
- fun replaceAllQueryParams(queryParams: Map>) = apply {
+ fun replaceAllquery_params(queryParams: Map>) = apply {
this.queryParams.replaceAll(queryParams)
}
- fun removeQueryParams(key: String) = apply { queryParams.remove(key) }
+ fun removequery_params(key: String) = apply { queryParams.remove(key) }
- fun removeAllQueryParams(keys: Set) = apply { queryParams.removeAll(keys) }
+ fun removeAllquery_params(keys: Set) = apply { queryParams.removeAll(keys) }
fun body(body: HttpRequestBody) = apply { this.body = body }
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Account.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Account.kt
index 72dbc254e..62e9b0a6a 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/Account.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/Account.kt
@@ -532,20 +532,20 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) = apply {
+ fun putAlladditional_properties(additionalProperties: Map) = apply {
this.additionalProperties.putAll(additionalProperties)
}
fun removeAdditionalProperty(key: String) = apply { additionalProperties.remove(key) }
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -773,20 +773,20 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) = apply {
+ fun putAlladditional_properties(additionalProperties: Map) = apply {
this.additionalProperties.putAll(additionalProperties)
}
fun removeAdditionalProperty(key: String) = apply { additionalProperties.remove(key) }
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -1204,20 +1204,20 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) = apply {
+ fun putAlladditional_properties(additionalProperties: Map) = apply {
this.additionalProperties.putAll(additionalProperties)
}
fun removeAdditionalProperty(key: String) = apply { additionalProperties.remove(key) }
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -1745,20 +1745,20 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) = apply {
+ fun putAlladditional_properties(additionalProperties: Map) = apply {
this.additionalProperties.putAll(additionalProperties)
}
fun removeAdditionalProperty(key: String) = apply { additionalProperties.remove(key) }
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageResponse.kt
index c58fceb41..9bb585eaf 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListPageResponse.kt
@@ -185,20 +185,20 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) = apply {
+ fun putAlladditional_properties(additionalProperties: Map) = apply {
this.additionalProperties.putAll(additionalProperties)
}
fun removeAdditionalProperty(key: String) = apply { additionalProperties.remove(key) }
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListParams.kt
index 5bdb4b636..40d2249ef 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListParams.kt
@@ -249,99 +249,98 @@ private constructor(
fun additionalHeaders(additionalHeaders: Headers) = apply {
this.additionalHeaders.clear()
- putAllAdditionalHeaders(additionalHeaders)
+ putAlladditional_headers(additionalHeaders)
}
fun additionalHeaders(additionalHeaders: Map>) = apply {
this.additionalHeaders.clear()
- putAllAdditionalHeaders(additionalHeaders)
+ putAlladditional_headers(additionalHeaders)
}
fun putAdditionalHeader(name: String, value: String) = apply {
additionalHeaders.put(name, value)
}
- fun putAdditionalHeaders(name: String, values: Iterable) = apply {
+ fun putadditional_headers(name: String, values: Iterable) = apply {
additionalHeaders.put(name, values)
}
- fun putAllAdditionalHeaders(additionalHeaders: Headers) = apply {
+ fun putAlladditional_headers(additionalHeaders: Headers) = apply {
this.additionalHeaders.putAll(additionalHeaders)
}
- fun putAllAdditionalHeaders(additionalHeaders: Map>) = apply {
+ fun putAlladditional_headers(additionalHeaders: Map>) = apply {
this.additionalHeaders.putAll(additionalHeaders)
}
- fun replaceAdditionalHeaders(name: String, value: String) = apply {
+ fun replaceadditional_headers(name: String, value: String) = apply {
additionalHeaders.replace(name, value)
}
- fun replaceAdditionalHeaders(name: String, values: Iterable) = apply {
+ fun replaceadditional_headers(name: String, values: Iterable) = apply {
additionalHeaders.replace(name, values)
}
- fun replaceAllAdditionalHeaders(additionalHeaders: Headers) = apply {
+ fun replaceAlladditional_headers(additionalHeaders: Headers) = apply {
this.additionalHeaders.replaceAll(additionalHeaders)
}
- fun replaceAllAdditionalHeaders(additionalHeaders: Map>) = apply {
+ fun replaceAlladditional_headers(additionalHeaders: Map>) = apply {
this.additionalHeaders.replaceAll(additionalHeaders)
}
- fun removeAdditionalHeaders(name: String) = apply { additionalHeaders.remove(name) }
+ fun removeadditional_headers(name: String) = apply { additionalHeaders.remove(name) }
- fun removeAllAdditionalHeaders(names: Set) = apply {
+ fun removeAlladditional_headers(names: Set) = apply {
additionalHeaders.removeAll(names)
}
fun additionalQueryParams(additionalQueryParams: QueryParams) = apply {
this.additionalQueryParams.clear()
- putAllAdditionalQueryParams(additionalQueryParams)
+ putAlladditional_query_params(additionalQueryParams)
}
fun additionalQueryParams(additionalQueryParams: Map>) = apply {
this.additionalQueryParams.clear()
- putAllAdditionalQueryParams(additionalQueryParams)
+ putAlladditional_query_params(additionalQueryParams)
}
fun putAdditionalQueryParam(key: String, value: String) = apply {
additionalQueryParams.put(key, value)
}
- fun putAdditionalQueryParams(key: String, values: Iterable) = apply {
+ fun putadditional_query_params(key: String, values: Iterable) = apply {
additionalQueryParams.put(key, values)
}
- fun putAllAdditionalQueryParams(additionalQueryParams: QueryParams) = apply {
+ fun putAlladditional_query_params(additionalQueryParams: QueryParams) = apply {
this.additionalQueryParams.putAll(additionalQueryParams)
}
- fun putAllAdditionalQueryParams(additionalQueryParams: Map>) =
+ fun putAlladditional_query_params(additionalQueryParams: Map>) =
apply {
this.additionalQueryParams.putAll(additionalQueryParams)
}
- fun replaceAdditionalQueryParams(key: String, value: String) = apply {
+ fun replaceadditional_query_params(key: String, value: String) = apply {
additionalQueryParams.replace(key, value)
}
- fun replaceAdditionalQueryParams(key: String, values: Iterable) = apply {
+ fun replaceadditional_query_params(key: String, values: Iterable) = apply {
additionalQueryParams.replace(key, values)
}
- fun replaceAllAdditionalQueryParams(additionalQueryParams: QueryParams) = apply {
+ fun replaceAlladditional_query_params(additionalQueryParams: QueryParams) = apply {
this.additionalQueryParams.replaceAll(additionalQueryParams)
}
- fun replaceAllAdditionalQueryParams(additionalQueryParams: Map>) =
- apply {
- this.additionalQueryParams.replaceAll(additionalQueryParams)
- }
+ fun replaceAlladditional_query_params(
+ additionalQueryParams: Map>
+ ) = apply { this.additionalQueryParams.replaceAll(additionalQueryParams) }
- fun removeAdditionalQueryParams(key: String) = apply { additionalQueryParams.remove(key) }
+ fun removeadditional_query_params(key: String) = apply { additionalQueryParams.remove(key) }
- fun removeAllAdditionalQueryParams(keys: Set) = apply {
+ fun removeAlladditional_query_params(keys: Set) = apply {
additionalQueryParams.removeAll(keys)
}
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListResponse.kt
index d9b6c8fd3..28fa8116e 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityListResponse.kt
@@ -920,20 +920,20 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) = apply {
+ fun putAlladditional_properties(additionalProperties: Map) = apply {
this.additionalProperties.putAll(additionalProperties)
}
fun removeAdditionalProperty(key: String) = apply { additionalProperties.remove(key) }
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -1442,14 +1442,14 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) =
+ fun putAlladditional_properties(additionalProperties: Map) =
apply {
this.additionalProperties.putAll(additionalProperties)
}
@@ -1458,7 +1458,7 @@ private constructor(
additionalProperties.remove(key)
}
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -3363,20 +3363,20 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) = apply {
+ fun putAlladditional_properties(additionalProperties: Map) = apply {
this.additionalProperties.putAll(additionalProperties)
}
fun removeAdditionalProperty(key: String) = apply { additionalProperties.remove(key) }
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -4030,14 +4030,14 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) =
+ fun putAlladditional_properties(additionalProperties: Map) =
apply {
this.additionalProperties.putAll(additionalProperties)
}
@@ -4046,7 +4046,7 @@ private constructor(
additionalProperties.remove(key)
}
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -5367,14 +5367,14 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) =
+ fun putAlladditional_properties(additionalProperties: Map) =
apply {
this.additionalProperties.putAll(additionalProperties)
}
@@ -5383,7 +5383,7 @@ private constructor(
additionalProperties.remove(key)
}
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -6749,20 +6749,20 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) = apply {
+ fun putAlladditional_properties(additionalProperties: Map) = apply {
this.additionalProperties.putAll(additionalProperties)
}
fun removeAdditionalProperty(key: String) = apply { additionalProperties.remove(key) }
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -8170,20 +8170,20 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) = apply {
+ fun putAlladditional_properties(additionalProperties: Map) = apply {
this.additionalProperties.putAll(additionalProperties)
}
fun removeAdditionalProperty(key: String) = apply { additionalProperties.remove(key) }
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -8958,14 +8958,14 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) =
+ fun putAlladditional_properties(additionalProperties: Map) =
apply {
this.additionalProperties.putAll(additionalProperties)
}
@@ -8974,7 +8974,7 @@ private constructor(
additionalProperties.remove(key)
}
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -10412,14 +10412,14 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) =
+ fun putAlladditional_properties(additionalProperties: Map) =
apply {
this.additionalProperties.putAll(additionalProperties)
}
@@ -10428,7 +10428,7 @@ private constructor(
additionalProperties.remove(key)
}
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -11240,14 +11240,14 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) =
+ fun putAlladditional_properties(additionalProperties: Map) =
apply {
this.additionalProperties.putAll(additionalProperties)
}
@@ -11256,7 +11256,7 @@ private constructor(
additionalProperties.remove(key)
}
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -11658,14 +11658,14 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) =
+ fun putAlladditional_properties(additionalProperties: Map) =
apply {
this.additionalProperties.putAll(additionalProperties)
}
@@ -11674,7 +11674,7 @@ private constructor(
additionalProperties.remove(key)
}
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionParams.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionParams.kt
index 44debb907..29032144c 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionParams.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionParams.kt
@@ -66,99 +66,98 @@ private constructor(
fun additionalHeaders(additionalHeaders: Headers) = apply {
this.additionalHeaders.clear()
- putAllAdditionalHeaders(additionalHeaders)
+ putAlladditional_headers(additionalHeaders)
}
fun additionalHeaders(additionalHeaders: Map>) = apply {
this.additionalHeaders.clear()
- putAllAdditionalHeaders(additionalHeaders)
+ putAlladditional_headers(additionalHeaders)
}
fun putAdditionalHeader(name: String, value: String) = apply {
additionalHeaders.put(name, value)
}
- fun putAdditionalHeaders(name: String, values: Iterable) = apply {
+ fun putadditional_headers(name: String, values: Iterable) = apply {
additionalHeaders.put(name, values)
}
- fun putAllAdditionalHeaders(additionalHeaders: Headers) = apply {
+ fun putAlladditional_headers(additionalHeaders: Headers) = apply {
this.additionalHeaders.putAll(additionalHeaders)
}
- fun putAllAdditionalHeaders(additionalHeaders: Map>) = apply {
+ fun putAlladditional_headers(additionalHeaders: Map>) = apply {
this.additionalHeaders.putAll(additionalHeaders)
}
- fun replaceAdditionalHeaders(name: String, value: String) = apply {
+ fun replaceadditional_headers(name: String, value: String) = apply {
additionalHeaders.replace(name, value)
}
- fun replaceAdditionalHeaders(name: String, values: Iterable) = apply {
+ fun replaceadditional_headers(name: String, values: Iterable) = apply {
additionalHeaders.replace(name, values)
}
- fun replaceAllAdditionalHeaders(additionalHeaders: Headers) = apply {
+ fun replaceAlladditional_headers(additionalHeaders: Headers) = apply {
this.additionalHeaders.replaceAll(additionalHeaders)
}
- fun replaceAllAdditionalHeaders(additionalHeaders: Map>) = apply {
+ fun replaceAlladditional_headers(additionalHeaders: Map>) = apply {
this.additionalHeaders.replaceAll(additionalHeaders)
}
- fun removeAdditionalHeaders(name: String) = apply { additionalHeaders.remove(name) }
+ fun removeadditional_headers(name: String) = apply { additionalHeaders.remove(name) }
- fun removeAllAdditionalHeaders(names: Set) = apply {
+ fun removeAlladditional_headers(names: Set) = apply {
additionalHeaders.removeAll(names)
}
fun additionalQueryParams(additionalQueryParams: QueryParams) = apply {
this.additionalQueryParams.clear()
- putAllAdditionalQueryParams(additionalQueryParams)
+ putAlladditional_query_params(additionalQueryParams)
}
fun additionalQueryParams(additionalQueryParams: Map>) = apply {
this.additionalQueryParams.clear()
- putAllAdditionalQueryParams(additionalQueryParams)
+ putAlladditional_query_params(additionalQueryParams)
}
fun putAdditionalQueryParam(key: String, value: String) = apply {
additionalQueryParams.put(key, value)
}
- fun putAdditionalQueryParams(key: String, values: Iterable) = apply {
+ fun putadditional_query_params(key: String, values: Iterable) = apply {
additionalQueryParams.put(key, values)
}
- fun putAllAdditionalQueryParams(additionalQueryParams: QueryParams) = apply {
+ fun putAlladditional_query_params(additionalQueryParams: QueryParams) = apply {
this.additionalQueryParams.putAll(additionalQueryParams)
}
- fun putAllAdditionalQueryParams(additionalQueryParams: Map>) =
+ fun putAlladditional_query_params(additionalQueryParams: Map>) =
apply {
this.additionalQueryParams.putAll(additionalQueryParams)
}
- fun replaceAdditionalQueryParams(key: String, value: String) = apply {
+ fun replaceadditional_query_params(key: String, value: String) = apply {
additionalQueryParams.replace(key, value)
}
- fun replaceAdditionalQueryParams(key: String, values: Iterable) = apply {
+ fun replaceadditional_query_params(key: String, values: Iterable) = apply {
additionalQueryParams.replace(key, values)
}
- fun replaceAllAdditionalQueryParams(additionalQueryParams: QueryParams) = apply {
+ fun replaceAlladditional_query_params(additionalQueryParams: QueryParams) = apply {
this.additionalQueryParams.replaceAll(additionalQueryParams)
}
- fun replaceAllAdditionalQueryParams(additionalQueryParams: Map>) =
- apply {
- this.additionalQueryParams.replaceAll(additionalQueryParams)
- }
+ fun replaceAlladditional_query_params(
+ additionalQueryParams: Map>
+ ) = apply { this.additionalQueryParams.replaceAll(additionalQueryParams) }
- fun removeAdditionalQueryParams(key: String) = apply { additionalQueryParams.remove(key) }
+ fun removeadditional_query_params(key: String) = apply { additionalQueryParams.remove(key) }
- fun removeAllAdditionalQueryParams(keys: Set) = apply {
+ fun removeAlladditional_query_params(keys: Set) = apply {
additionalQueryParams.removeAll(keys)
}
diff --git a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionResponse.kt b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionResponse.kt
index 042108621..8972befa7 100644
--- a/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionResponse.kt
+++ b/lithic-java-core/src/main/kotlin/com/lithic/api/models/AccountActivityRetrieveTransactionResponse.kt
@@ -950,20 +950,20 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) = apply {
+ fun putAlladditional_properties(additionalProperties: Map) = apply {
this.additionalProperties.putAll(additionalProperties)
}
fun removeAdditionalProperty(key: String) = apply { additionalProperties.remove(key) }
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -1472,14 +1472,14 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) =
+ fun putAlladditional_properties(additionalProperties: Map) =
apply {
this.additionalProperties.putAll(additionalProperties)
}
@@ -1488,7 +1488,7 @@ private constructor(
additionalProperties.remove(key)
}
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -3393,20 +3393,20 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) = apply {
+ fun putAlladditional_properties(additionalProperties: Map) = apply {
this.additionalProperties.putAll(additionalProperties)
}
fun removeAdditionalProperty(key: String) = apply { additionalProperties.remove(key) }
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -4060,14 +4060,14 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) =
+ fun putAlladditional_properties(additionalProperties: Map) =
apply {
this.additionalProperties.putAll(additionalProperties)
}
@@ -4076,7 +4076,7 @@ private constructor(
additionalProperties.remove(key)
}
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -5397,14 +5397,14 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) =
+ fun putAlladditional_properties(additionalProperties: Map) =
apply {
this.additionalProperties.putAll(additionalProperties)
}
@@ -5413,7 +5413,7 @@ private constructor(
additionalProperties.remove(key)
}
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -6779,20 +6779,20 @@ private constructor(
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
- putAllAdditionalProperties(additionalProperties)
+ putAlladditional_properties(additionalProperties)
}
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
additionalProperties.put(key, value)
}
- fun putAllAdditionalProperties(additionalProperties: Map) = apply {
+ fun putAlladditional_properties(additionalProperties: Map) = apply {
this.additionalProperties.putAll(additionalProperties)
}
fun removeAdditionalProperty(key: String) = apply { additionalProperties.remove(key) }
- fun removeAllAdditionalProperties(keys: Set) = apply {
+ fun removeAlladditional_properties(keys: Set) = apply {
keys.forEach(::removeAdditionalProperty)
}
@@ -8200,20 +8200,20 @@ private constructor(
fun additionalProperties(additionalProperties: Map