Class FolderMoveParams
-
- All Implemented Interfaces:
-
io.imagekit.core.Params
public final class FolderMoveParams implements Params
This will move one folder into another. The selected folder, its nested folders, files, and their versions are moved in this operation. Note: If any file at the destination has the same name as the source file, then the source file and its versions will be appended to the destination file version history.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFolderMoveParams.BuilderA builder for FolderMoveParams.
public final classFolderMoveParams.Body
-
Method Summary
Modifier and Type Method Description final StringdestinationPath()Full path to the destination folder where you want to move the source folder into. final StringsourceFolderPath()The full path to the source folder you want to move. final JsonField<String>_destinationPath()Returns the raw JSON value of destinationPath. final JsonField<String>_sourceFolderPath()Returns the raw JSON value of sourceFolderPath. 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 FolderMoveParams.BuildertoBuilder()final FolderMoveParams.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 FolderMoveParams.Builderbuilder()Returns a mutable builder for constructing an instance of FolderMoveParams. -
-
Method Detail
-
destinationPath
final String destinationPath()
Full path to the destination folder where you want to move the source folder into.
-
sourceFolderPath
final String sourceFolderPath()
The full path to the source folder you want to move.
-
_destinationPath
final JsonField<String> _destinationPath()
Returns the raw JSON value of destinationPath.
Unlike destinationPath, this method doesn't throw if the JSON field has an unexpected type.
-
_sourceFolderPath
final JsonField<String> _sourceFolderPath()
Returns the raw JSON value of sourceFolderPath.
Unlike sourceFolderPath, 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 FolderMoveParams.Builder toBuilder()
-
_body
final FolderMoveParams.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 FolderMoveParams.Builder builder()
Returns a mutable builder for constructing an instance of FolderMoveParams.
The following fields are required:
.destinationPath() .sourceFolderPath()
-
-
-
-