public class CopyFileRequestBody extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
CopyFileRequestBody.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
name
An optional new name for the copied file.
|
protected CopyFileRequestBodyParentField |
parent
The destination folder to copy the file to.
|
protected String |
version
An optional ID of the specific file version to copy.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
CopyFileRequestBody(CopyFileRequestBody.Builder builder) |
|
CopyFileRequestBody(CopyFileRequestBodyParentField parent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getName() |
CopyFileRequestBodyParentField |
getParent() |
String |
getVersion() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected String name
There are some restrictions to the file name. Names containing non-printable ASCII characters, forward and backward slashes (`/`, `\`), and protected names like `.` and `..` are automatically sanitized by removing the non-allowed characters.
protected final CopyFileRequestBodyParentField parent
public CopyFileRequestBody(CopyFileRequestBodyParentField parent)
protected CopyFileRequestBody(CopyFileRequestBody.Builder builder)
public String getVersion()
public CopyFileRequestBodyParentField getParent()