Package io.imagekit.models.files
Class FileUploadParams.UploadTransformation.Post.Transformation
-
- All Implemented Interfaces:
public final class FileUploadParams.UploadTransformation.Post.Transformation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileUploadParams.UploadTransformation.Post.Transformation.BuilderA builder for Transformation.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Transformation type. final Stringvalue()Transformation string (e.g. final MultipartField<String>_value()Returns the raw multipart value of value. final Map<String, JsonValue>_additionalProperties()final FileUploadParams.UploadTransformation.Post.Transformation.BuildertoBuilder()final FileUploadParams.UploadTransformation.Post.Transformationvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileUploadParams.UploadTransformation.Post.Transformation.Builderbuilder()Returns a mutable builder for constructing an instance of Transformation. -
-
Method Detail
-
_type
final JsonValue _type()
Transformation type.
Expected to always return the following:
JsonValue.from("transformation")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
value
final String value()
Transformation string (e.g.
w-200,h-200). Same syntax as ImageKit URL-based transformations.
-
_value
final MultipartField<String> _value()
Returns the raw multipart value of value.
Unlike value, this method doesn't throw if the multipart field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FileUploadParams.UploadTransformation.Post.Transformation.Builder toBuilder()
-
validate
final FileUploadParams.UploadTransformation.Post.Transformation 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 FileUploadParams.UploadTransformation.Post.Transformation.Builder builder()
Returns a mutable builder for constructing an instance of Transformation.
The following fields are required:
.value()
-
-
-
-