Class UrlEndpointRequest
-
- All Implemented Interfaces:
public final class UrlEndpointRequestSchema for URL endpoint resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUrlEndpointRequest.BuilderA builder for UrlEndpointRequest.
public final classUrlEndpointRequest.UrlRewriterConfiguration for third-party URL rewriting.
-
Method Summary
Modifier and Type Method Description final Stringdescription()Description of the URL endpoint. final Optional<List<String>>origins()Ordered list of origin IDs to try when the file isn’t in the Media Library; ImageKit checks them in the sequence provided. final Optional<String>urlPrefix()Path segment appended to your base URL to form the endpoint (letters, digits, and hyphens only — or empty for the default endpoint). final Optional<UrlEndpointRequest.UrlRewriter>urlRewriter()Configuration for third-party URL rewriting. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<List<String>>_origins()Returns the raw JSON value of origins. final JsonField<String>_urlPrefix()Returns the raw JSON value of urlPrefix. final JsonField<UrlEndpointRequest.UrlRewriter>_urlRewriter()Returns the raw JSON value of urlRewriter. final Map<String, JsonValue>_additionalProperties()final UrlEndpointRequest.BuildertoBuilder()final UrlEndpointRequestvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UrlEndpointRequest.Builderbuilder()Returns a mutable builder for constructing an instance of UrlEndpointRequest. -
-
Method Detail
-
description
final String description()
Description of the URL endpoint.
-
origins
final Optional<List<String>> origins()
Ordered list of origin IDs to try when the file isn’t in the Media Library; ImageKit checks them in the sequence provided. Origin must be created before it can be used in a URL endpoint.
-
urlPrefix
final Optional<String> urlPrefix()
Path segment appended to your base URL to form the endpoint (letters, digits, and hyphens only — or empty for the default endpoint).
-
urlRewriter
final Optional<UrlEndpointRequest.UrlRewriter> urlRewriter()
Configuration for third-party URL rewriting.
-
_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.
-
_origins
final JsonField<List<String>> _origins()
Returns the raw JSON value of origins.
Unlike origins, this method doesn't throw if the JSON field has an unexpected type.
-
_urlPrefix
final JsonField<String> _urlPrefix()
Returns the raw JSON value of urlPrefix.
Unlike urlPrefix, this method doesn't throw if the JSON field has an unexpected type.
-
_urlRewriter
final JsonField<UrlEndpointRequest.UrlRewriter> _urlRewriter()
Returns the raw JSON value of urlRewriter.
Unlike urlRewriter, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UrlEndpointRequest.Builder toBuilder()
-
validate
final UrlEndpointRequest validate()
-
builder
final static UrlEndpointRequest.Builder builder()
Returns a mutable builder for constructing an instance of UrlEndpointRequest.
The following fields are required:
.description()
-
-
-
-