Skip to content

Commit 4edbca7

Browse files
author
stlc-bot
committed
Build SDK
Stainless-Generated-From: 0aaf193
1 parent 4e465d8 commit 4edbca7

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

image-kit-java-core/src/main/kotlin/io/imagekit/models/namedtransformations/NamedTransformationDeleteParams.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import kotlin.jvm.optionals.getOrNull
1717
* **Note:**
1818
* - If another named transformation, or your account's upload
1919
* pre-transformation/post-transformation settings, reference this named transformation (via the
20-
* `n-<name>` token), the request fails with a `409` error and the response body includes a
21-
* `references` array describing where it is used. Remove those references first, then retry the
22-
* deletion. This is a best-effort check and cannot detect references baked into your own
23-
* application code or previously generated URLs.
20+
* `n-<name>` token), the request fails with a `409` error whose `message` describes what it is
21+
* referenced by. Remove those references first, then retry the deletion. This is a best-effort
22+
* check and cannot detect references baked into your own application code or previously generated
23+
* URLs.
2424
*/
2525
class NamedTransformationDeleteParams
2626
private constructor(

image-kit-java-core/src/main/kotlin/io/imagekit/services/async/NamedTransformationServiceAsync.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ interface NamedTransformationServiceAsync {
108108
* **Note:**
109109
* - If another named transformation, or your account's upload
110110
* pre-transformation/post-transformation settings, reference this named transformation (via
111-
* the `n-<name>` token), the request fails with a `409` error and the response body includes
112-
* a `references` array describing where it is used. Remove those references first, then retry
113-
* the deletion. This is a best-effort check and cannot detect references baked into your own
114-
* application code or previously generated URLs.
111+
* the `n-<name>` token), the request fails with a `409` error whose `message` describes what
112+
* it is referenced by. Remove those references first, then retry the deletion. This is a
113+
* best-effort check and cannot detect references baked into your own application code or
114+
* previously generated URLs.
115115
*/
116116
fun delete(id: String): CompletableFuture<NamedTransformation> =
117117
delete(id, NamedTransformationDeleteParams.none())

image-kit-java-core/src/main/kotlin/io/imagekit/services/blocking/NamedTransformationService.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ interface NamedTransformationService {
105105
* **Note:**
106106
* - If another named transformation, or your account's upload
107107
* pre-transformation/post-transformation settings, reference this named transformation (via
108-
* the `n-<name>` token), the request fails with a `409` error and the response body includes
109-
* a `references` array describing where it is used. Remove those references first, then retry
110-
* the deletion. This is a best-effort check and cannot detect references baked into your own
111-
* application code or previously generated URLs.
108+
* the `n-<name>` token), the request fails with a `409` error whose `message` describes what
109+
* it is referenced by. Remove those references first, then retry the deletion. This is a
110+
* best-effort check and cannot detect references baked into your own application code or
111+
* previously generated URLs.
112112
*/
113113
fun delete(id: String): NamedTransformation = delete(id, NamedTransformationDeleteParams.none())
114114

0 commit comments

Comments
 (0)