public class CreateFileRequest extends Object
FileCreateForm.| Constructor and Description |
|---|
CreateFileRequest(StorageInfo storage,
String name)
Creates a new instance with the specified storage and name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long[] |
getAttachLabelIds() |
Long |
getBranchId() |
String |
getContext() |
Long |
getDirectoryId() |
String[] |
getExcludedTargetLanguages() |
FileExportOptions |
getExportOptions() |
FileImportOptions |
getImportOptions() |
String |
getName() |
Integer |
getParserVersion() |
long |
getStorageId() |
String |
getTitle() |
FileType |
getType() |
int |
hashCode() |
void |
setAttachLabelIds(long[] attachLabelIds) |
void |
setBranchId(Long branchId) |
void |
setContext(String context) |
void |
setDirectoryId(Long directoryId) |
void |
setExcludedTargetLanguages(String[] excludedTargetLanguages) |
void |
setExportOptions(FileExportOptions exportOptions) |
void |
setImportOptions(FileImportOptions importOptions) |
void |
setParserVersion(Integer parserVersion) |
void |
setTitle(String title) |
void |
setType(FileType type) |
String |
toString() |
public CreateFileRequest(@Nonnull StorageInfo storage, @Nonnull String name)
storage - the StorageInfo for the already uploaded file.name - the name of the new file.public Long getDirectoryId()
directoryId value.public void setDirectoryId(Long directoryId)
directoryId - the directoryId value to set.public Integer getParserVersion()
parserVersion value.public void setParserVersion(Integer parserVersion)
parserVersion - the parserVersion value to set.public FileImportOptions getImportOptions()
importOptions value.public void setImportOptions(FileImportOptions importOptions)
importOptions - the importOptions value to set.public FileExportOptions getExportOptions()
exportOptions value.public void setExportOptions(FileExportOptions exportOptions)
exportOptions - the exportOptions value to set.public String[] getExcludedTargetLanguages()
excludedTargetLanguages array.public void setExcludedTargetLanguages(String[] excludedTargetLanguages)
excludedTargetLanguages - the excludedTargetLanguages array
to set.public long[] getAttachLabelIds()
attachLabelIds array.public void setAttachLabelIds(long[] attachLabelIds)
attachLabelIds - the attachLabelIds array to set.public long getStorageId()
storageId value.Copyright © 2024. All rights reserved.