Class FolderCopyParams.Body
-
- All Implemented Interfaces:
public final class FolderCopyParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFolderCopyParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final StringdestinationPath()Full path to the destination folder where you want to copy the source folder into. final StringsourceFolderPath()The full path to the source folder you want to copy. final Optional<Boolean>includeVersions()Option to copy all versions of files that are nested inside the selected folder. final JsonField<String>_destinationPath()Returns the raw JSON value of destinationPath. final JsonField<String>_sourceFolderPath()Returns the raw JSON value of sourceFolderPath. final JsonField<Boolean>_includeVersions()Returns the raw JSON value of includeVersions. final Map<String, JsonValue>_additionalProperties()final FolderCopyParams.Body.BuildertoBuilder()final FolderCopyParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FolderCopyParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
destinationPath
final String destinationPath()
Full path to the destination folder where you want to copy the source folder into.
-
sourceFolderPath
final String sourceFolderPath()
The full path to the source folder you want to copy.
-
includeVersions
final Optional<Boolean> includeVersions()
Option to copy all versions of files that are nested inside the selected folder. By default, only the current version of each file will be copied. When set to true, all versions of each file will be copied. Default value -
false.
-
_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.
-
_includeVersions
final JsonField<Boolean> _includeVersions()
Returns the raw JSON value of includeVersions.
Unlike includeVersions, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FolderCopyParams.Body.Builder toBuilder()
-
validate
final FolderCopyParams.Body 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 FolderCopyParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.destinationPath() .sourceFolderPath()
-
-
-
-