Class UrlEndpointRequest.UrlRewriter.Cloudinary
-
- All Implemented Interfaces:
public final class UrlEndpointRequest.UrlRewriter.Cloudinary
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUrlEndpointRequest.UrlRewriter.Cloudinary.BuilderA builder for Cloudinary.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("CLOUDINARY")final Optional<Boolean>preserveAssetDeliveryTypes()Whether to preserve <asset_type>/<delivery_type>in the rewritten URL.final JsonField<Boolean>_preserveAssetDeliveryTypes()Returns the raw JSON value of preserveAssetDeliveryTypes. final Map<String, JsonValue>_additionalProperties()final UrlEndpointRequest.UrlRewriter.Cloudinary.BuildertoBuilder()final UrlEndpointRequest.UrlRewriter.Cloudinaryvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UrlEndpointRequest.UrlRewriter.Cloudinary.Builderbuilder()Returns a mutable builder for constructing an instance of Cloudinary. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("CLOUDINARY")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
preserveAssetDeliveryTypes
final Optional<Boolean> preserveAssetDeliveryTypes()
Whether to preserve
<asset_type>/<delivery_type>in the rewritten URL.
-
_preserveAssetDeliveryTypes
final JsonField<Boolean> _preserveAssetDeliveryTypes()
Returns the raw JSON value of preserveAssetDeliveryTypes.
Unlike preserveAssetDeliveryTypes, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UrlEndpointRequest.UrlRewriter.Cloudinary.Builder toBuilder()
-
validate
final UrlEndpointRequest.UrlRewriter.Cloudinary validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static UrlEndpointRequest.UrlRewriter.Cloudinary.Builder builder()
Returns a mutable builder for constructing an instance of Cloudinary.
-
-
-
-