Class SavedExtensionCreateParams
-
- All Implemented Interfaces:
-
io.imagekit.core.Params
public final class SavedExtensionCreateParams implements Params
This API creates a new saved extension. Saved extensions allow you to save complex extension configurations (like AI tasks) and reuse them by referencing the ID in upload or update file APIs.
Saved extension limit \ You can create a maximum of 100 saved extensions per account.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSavedExtensionCreateParams.BuilderA builder for SavedExtensionCreateParams.
public final classSavedExtensionCreateParams.Body
-
Method Summary
Modifier and Type Method Description final ExtensionConfigconfig()Configuration object for an extension (base extensions only, not saved extension references). final Stringdescription()Description of what the saved extension does. final Stringname()Name of the saved extension. final JsonField<ExtensionConfig>_config()Returns the raw JSON value of config. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final SavedExtensionCreateParams.BuildertoBuilder()final SavedExtensionCreateParams.Body_body()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static SavedExtensionCreateParams.Builderbuilder()Returns a mutable builder for constructing an instance of SavedExtensionCreateParams. -
-
Method Detail
-
config
final ExtensionConfig config()
Configuration object for an extension (base extensions only, not saved extension references).
-
description
final String description()
Description of what the saved extension does.
-
_config
final JsonField<ExtensionConfig> _config()
Returns the raw JSON value of config.
Unlike config, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final SavedExtensionCreateParams.Builder toBuilder()
-
_body
final SavedExtensionCreateParams.Body _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static SavedExtensionCreateParams.Builder builder()
Returns a mutable builder for constructing an instance of SavedExtensionCreateParams.
The following fields are required:
.config() .description() .name()
-
-
-
-