public class DbxUserFilesRequests
extends java.lang.Object
| Constructor and Description | 
|---|
| DbxUserFilesRequests(DbxRawClientV2 client) | 
| Modifier and Type | Method and Description | 
|---|---|
| Metadata | alphaGetMetadata(java.lang.String path)Deprecated. 
 use  getMetadata(String)instead. | 
| AlphaGetMetadataBuilder | alphaGetMetadataBuilder(java.lang.String path)Deprecated. 
 use  getMetadata(String)instead. | 
| AlphaUploadUploader | alphaUpload(java.lang.String path)Deprecated. 
 use  alphaUpload(String)instead. | 
| AlphaUploadBuilder | alphaUploadBuilder(java.lang.String path)Deprecated. 
 use  alphaUpload(String)instead. | 
| Metadata | copy(java.lang.String fromPath,
    java.lang.String toPath)Deprecated. 
 use  copyV2(String,String)instead. | 
| RelocationBatchLaunch | copyBatch(java.util.List<RelocationPath> entries)Deprecated. 
 use  copyBatchV2(List,boolean)instead. | 
| CopyBatchBuilder | copyBatchBuilder(java.util.List<RelocationPath> entries)Deprecated. 
 use  copyBatchV2(List,boolean)instead. | 
| RelocationBatchJobStatus | copyBatchCheck(java.lang.String asyncJobId)Deprecated. 
 use  copyBatchCheckV2(String)instead. | 
| RelocationBatchV2JobStatus | copyBatchCheckV2(java.lang.String asyncJobId)Returns the status of an asynchronous job for  copyBatchV2(List,boolean). | 
| RelocationBatchV2Launch | copyBatchV2(java.util.List<RelocationPath> entries)Copy multiple files or folders to different locations at once in the
 user's Dropbox. | 
| RelocationBatchV2Launch | copyBatchV2(java.util.List<RelocationPath> entries,
           boolean autorename)Copy multiple files or folders to different locations at once in the
 user's Dropbox. | 
| CopyBuilder | copyBuilder(java.lang.String fromPath,
           java.lang.String toPath)Deprecated. 
 use  copyV2(String,String)instead. | 
| GetCopyReferenceResult | copyReferenceGet(java.lang.String path)Get a copy reference to a file or folder. | 
| SaveCopyReferenceResult | copyReferenceSave(java.lang.String copyReference,
                 java.lang.String path)Save a copy reference returned by  copyReferenceGet(String)to the user's Dropbox. | 
| RelocationResult | copyV2(java.lang.String fromPath,
      java.lang.String toPath)Copy a file or folder to a different location in the user's Dropbox. | 
| CopyV2Builder | copyV2Builder(java.lang.String fromPath,
             java.lang.String toPath)Copy a file or folder to a different location in the user's Dropbox. | 
| FolderMetadata | createFolder(java.lang.String path)Deprecated. 
 use  createFolderV2(String,boolean)instead. | 
| FolderMetadata | createFolder(java.lang.String path,
            boolean autorename)Deprecated. 
 use  createFolderV2(String,boolean)instead. | 
| CreateFolderBatchLaunch | createFolderBatch(java.util.List<java.lang.String> paths)Create multiple folders at once. | 
| CreateFolderBatchBuilder | createFolderBatchBuilder(java.util.List<java.lang.String> paths)Create multiple folders at once. | 
| CreateFolderBatchJobStatus | createFolderBatchCheck(java.lang.String asyncJobId)Returns the status of an asynchronous job for  createFolderBatch(List). | 
| CreateFolderResult | createFolderV2(java.lang.String path)Create a folder at a given path. | 
| CreateFolderResult | createFolderV2(java.lang.String path,
              boolean autorename)Create a folder at a given path. | 
| Metadata | delete(java.lang.String path)Deprecated. 
 use  deleteV2(String,String)instead. | 
| Metadata | delete(java.lang.String path,
      java.lang.String parentRev)Deprecated. 
 use  deleteV2(String,String)instead. | 
| DeleteBatchLaunch | deleteBatch(java.util.List<DeleteArg> entries)Delete multiple files/folders at once. | 
| DeleteBatchJobStatus | deleteBatchCheck(java.lang.String asyncJobId)Returns the status of an asynchronous job for  deleteBatch(List). | 
| DeleteResult | deleteV2(java.lang.String path)Delete the file or folder at a given path. | 
| DeleteResult | deleteV2(java.lang.String path,
        java.lang.String parentRev)Delete the file or folder at a given path. | 
| DbxDownloader<FileMetadata> | download(java.lang.String path)Download a file from a user's Dropbox. | 
| DbxDownloader<FileMetadata> | download(java.lang.String path,
        java.lang.String rev)Download a file from a user's Dropbox. | 
| DownloadBuilder | downloadBuilder(java.lang.String path)Download a file from a user's Dropbox. | 
| DbxDownloader<DownloadZipResult> | downloadZip(java.lang.String path)Download a folder from the user's Dropbox, as a zip file. | 
| DownloadZipBuilder | downloadZipBuilder(java.lang.String path)Download a folder from the user's Dropbox, as a zip file. | 
| Metadata | getMetadata(java.lang.String path)Returns the metadata for a file or folder. | 
| GetMetadataBuilder | getMetadataBuilder(java.lang.String path)Returns the metadata for a file or folder. | 
| DbxDownloader<FileMetadata> | getPreview(java.lang.String path)Get a preview for a file. | 
| DbxDownloader<FileMetadata> | getPreview(java.lang.String path,
          java.lang.String rev)Get a preview for a file. | 
| GetPreviewBuilder | getPreviewBuilder(java.lang.String path)Get a preview for a file. | 
| GetTemporaryLinkResult | getTemporaryLink(java.lang.String path)Get a temporary link to stream content of a file. | 
| GetTemporaryUploadLinkResult | getTemporaryUploadLink(CommitInfo commitInfo)Get a one-time use temporary upload link to upload a file to a Dropbox
 location. | 
| GetTemporaryUploadLinkResult | getTemporaryUploadLink(CommitInfo commitInfo,
                      double duration)Get a one-time use temporary upload link to upload a file to a Dropbox
 location. | 
| DbxDownloader<FileMetadata> | getThumbnail(java.lang.String path)Get a thumbnail for an image. | 
| GetThumbnailBatchResult | getThumbnailBatch(java.util.List<ThumbnailArg> entries)Get thumbnails for a list of images. | 
| GetThumbnailBuilder | getThumbnailBuilder(java.lang.String path)Get a thumbnail for an image. | 
| ListFolderResult | listFolder(java.lang.String path)Starts returning the contents of a folder. | 
| ListFolderBuilder | listFolderBuilder(java.lang.String path)Starts returning the contents of a folder. | 
| ListFolderResult | listFolderContinue(java.lang.String cursor)Once a cursor has been retrieved from  listFolder(String), use this to paginate through
 all files and retrieve updates to the folder, following the same rules as
 documented forlistFolder(String). | 
| ListFolderGetLatestCursorResult | listFolderGetLatestCursor(java.lang.String path)A way to quickly get a cursor for the folder's state. | 
| ListFolderGetLatestCursorBuilder | listFolderGetLatestCursorBuilder(java.lang.String path)A way to quickly get a cursor for the folder's state. | 
| ListFolderLongpollResult | listFolderLongpoll(java.lang.String cursor)A longpoll endpoint to wait for changes on an account. | 
| ListFolderLongpollResult | listFolderLongpoll(java.lang.String cursor,
                  long timeout)A longpoll endpoint to wait for changes on an account. | 
| ListRevisionsResult | listRevisions(java.lang.String path)Returns revisions for files based on a file path or a file id. | 
| ListRevisionsBuilder | listRevisionsBuilder(java.lang.String path)Returns revisions for files based on a file path or a file id. | 
| Metadata | move(java.lang.String fromPath,
    java.lang.String toPath)Deprecated. 
 use  moveV2(String,String)instead. | 
| RelocationBatchLaunch | moveBatch(java.util.List<RelocationPath> entries)Move multiple files or folders to different locations at once in the
 user's Dropbox. | 
| MoveBatchBuilder | moveBatchBuilder(java.util.List<RelocationPath> entries)Move multiple files or folders to different locations at once in the
 user's Dropbox. | 
| RelocationBatchJobStatus | moveBatchCheck(java.lang.String asyncJobId)Returns the status of an asynchronous job for  moveBatch(List). | 
| RelocationBatchV2JobStatus | moveBatchCheckV2(java.lang.String asyncJobId)Returns the status of an asynchronous job for  moveBatchV2(List). | 
| RelocationBatchV2Launch | moveBatchV2(java.util.List<RelocationPath> entries)Move multiple files or folders to different locations at once in the
 user's Dropbox. | 
| MoveBatchV2Builder | moveBatchV2Builder(java.util.List<RelocationPath> entries)Move multiple files or folders to different locations at once in the
 user's Dropbox. | 
| MoveBuilder | moveBuilder(java.lang.String fromPath,
           java.lang.String toPath)Deprecated. 
 use  moveV2(String,String)instead. | 
| RelocationResult | moveV2(java.lang.String fromPath,
      java.lang.String toPath)Move a file or folder to a different location in the user's Dropbox. | 
| MoveV2Builder | moveV2Builder(java.lang.String fromPath,
             java.lang.String toPath)Move a file or folder to a different location in the user's Dropbox. | 
| void | permanentlyDelete(java.lang.String path)Permanently delete the file or folder at a given path (see
 https://www.dropbox.com/en/help/40). | 
| void | permanentlyDelete(java.lang.String path,
                 java.lang.String parentRev)Permanently delete the file or folder at a given path (see
 https://www.dropbox.com/en/help/40). | 
| void | propertiesAdd(java.lang.String path,
             java.util.List<PropertyGroup> propertyGroups)Deprecated.   | 
| void | propertiesOverwrite(java.lang.String path,
                   java.util.List<PropertyGroup> propertyGroups)Deprecated.   | 
| void | propertiesRemove(java.lang.String path,
                java.util.List<java.lang.String> propertyTemplateIds)Deprecated.   | 
| GetTemplateResult | propertiesTemplateGet(java.lang.String templateId)Deprecated.   | 
| ListTemplateResult | propertiesTemplateList()Deprecated.   | 
| void | propertiesUpdate(java.lang.String path,
                java.util.List<PropertyGroupUpdate> updatePropertyGroups)Deprecated.   | 
| FileMetadata | restore(java.lang.String path,
       java.lang.String rev)Restore a specific revision of a file to the given path. | 
| SaveUrlResult | saveUrl(java.lang.String path,
       java.lang.String url)Save the data from a specified URL into a file in user's Dropbox. | 
| SaveUrlJobStatus | saveUrlCheckJobStatus(java.lang.String asyncJobId)Check the status of a  saveUrl(String,String)job. | 
| SearchResult | search(java.lang.String path,
      java.lang.String query)Searches for files and folders. | 
| SearchBuilder | searchBuilder(java.lang.String path,
             java.lang.String query)Searches for files and folders. | 
| UploadUploader | upload(java.lang.String path)Create a new file with the contents provided in the request. | 
| UploadBuilder | uploadBuilder(java.lang.String path)Create a new file with the contents provided in the request. | 
| UploadSessionAppendUploader | uploadSessionAppend(java.lang.String sessionId,
                   long offset)Deprecated. 
 use  uploadSessionAppendV2(UploadSessionCursor,boolean)instead. | 
| UploadSessionAppendV2Uploader | uploadSessionAppendV2(UploadSessionCursor cursor)Append more data to an upload session. | 
| UploadSessionAppendV2Uploader | uploadSessionAppendV2(UploadSessionCursor cursor,
                     boolean close)Append more data to an upload session. | 
| UploadSessionFinishUploader | uploadSessionFinish(UploadSessionCursor cursor,
                   CommitInfo commit)Finish an upload session and save the uploaded data to the given file
 path. | 
| UploadSessionFinishBatchLaunch | uploadSessionFinishBatch(java.util.List<UploadSessionFinishArg> entries)This route helps you commit many files at once into a user's Dropbox. | 
| UploadSessionFinishBatchJobStatus | uploadSessionFinishBatchCheck(java.lang.String asyncJobId)Returns the status of an asynchronous job for  uploadSessionFinishBatch(List). | 
| UploadSessionStartUploader | uploadSessionStart()Upload sessions allow you to upload a single file in one or more
 requests, for example where the size of the file is greater than 150 MB. | 
| UploadSessionStartUploader | uploadSessionStart(boolean close)Upload sessions allow you to upload a single file in one or more
 requests, for example where the size of the file is greater than 150 MB. | 
public DbxUserFilesRequests(DbxRawClientV2 client)
@Deprecated public Metadata alphaGetMetadata(java.lang.String path) throws AlphaGetMetadataErrorException, DbxException
getMetadata(String) instead. The default values for the optional request parameters will be used.
 See AlphaGetMetadataBuilder for more details. 
path - The path of a file or folder on Dropbox. Must match pattern
     "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"
     and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.AlphaGetMetadataErrorExceptionDbxException@Deprecated public AlphaGetMetadataBuilder alphaGetMetadataBuilder(java.lang.String path)
getMetadata(String) instead.path - The path of a file or folder on Dropbox. Must match pattern
     "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"
     and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.@Deprecated public AlphaUploadUploader alphaUpload(java.lang.String path) throws DbxException
alphaUpload(String) instead.upload(String). Do not use
 this to upload a file larger than 150 MB. Instead, create an upload
 session with uploadSessionStart(boolean).
  The default values for the optional request parameters will be used.
 See AlphaUploadBuilder for more details. 
path - Path in the user's Dropbox to save the file. Must match
     pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)" and not
     be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxException@Deprecated public AlphaUploadBuilder alphaUploadBuilder(java.lang.String path)
alphaUpload(String) instead.upload(String). Do not use
 this to upload a file larger than 150 MB. Instead, create an upload
 session with uploadSessionStart(boolean).path - Path in the user's Dropbox to save the file. Must match
     pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)" and not
     be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public RelocationResult copyV2(java.lang.String fromPath, java.lang.String toPath) throws RelocationErrorException, DbxException
 The default values for the optional request parameters will be used.
 See CopyV2Builder for more details. 
fromPath - Path in the user's Dropbox to be copied or moved. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.toPath - Path in the user's Dropbox that is the destination. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.RelocationErrorExceptionDbxExceptionpublic CopyV2Builder copyV2Builder(java.lang.String fromPath, java.lang.String toPath)
fromPath - Path in the user's Dropbox to be copied or moved. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.toPath - Path in the user's Dropbox that is the destination. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.@Deprecated public Metadata copy(java.lang.String fromPath, java.lang.String toPath) throws RelocationErrorException, DbxException
copyV2(String,String)
     instead. The default values for the optional request parameters will be used.
 See CopyBuilder for more details. 
fromPath - Path in the user's Dropbox to be copied or moved. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.toPath - Path in the user's Dropbox that is the destination. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.RelocationErrorExceptionDbxException@Deprecated public CopyBuilder copyBuilder(java.lang.String fromPath, java.lang.String toPath)
copyV2(String,String)
     instead.fromPath - Path in the user's Dropbox to be copied or moved. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.toPath - Path in the user's Dropbox that is the destination. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public RelocationBatchV2Launch copyBatchV2(java.util.List<RelocationPath> entries) throws DbxApiException, DbxException
copyBatch(List). The main difference is this route
 will return stutus for each entry, while copyBatch(List) raises failure if any entry fails.
 This route will either finish synchronously, or return a job ID and do
 the async copy job in background. Please use copyBatchCheckV2(String) to check the job status.
  The autorename request parameter will default to false (see copyBatchV2(List,boolean)). 
entries - List of entries to be moved or copied. Each entry is
     RelocationPath. Must contain at least 1 items, not contain a
     null item, and not be null.copyBatchV2(List,boolean) or moveBatchV2(List) that may either launch an
     asynchronous job or complete synchronously.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxApiExceptionDbxExceptionpublic RelocationBatchV2Launch copyBatchV2(java.util.List<RelocationPath> entries, boolean autorename) throws DbxApiException, DbxException
copyBatch(List). The main difference is this route
 will return stutus for each entry, while copyBatch(List) raises failure if any entry fails.
 This route will either finish synchronously, or return a job ID and do
 the async copy job in background. Please use copyBatchCheckV2(String) to check the job status.entries - List of entries to be moved or copied. Each entry is
     RelocationPath. Must contain at least 1 items, not contain a
     null item, and not be null.autorename - If there's a conflict with any file, have the Dropbox
     server try to autorename that file to avoid the conflict.copyBatchV2(List,boolean) or moveBatchV2(List) that may either launch an
     asynchronous job or complete synchronously.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxApiExceptionDbxException@Deprecated public RelocationBatchLaunch copyBatch(java.util.List<RelocationPath> entries) throws DbxApiException, DbxException
copyBatchV2(List,boolean)
     instead.RelocationBatchArg.getAllowSharedFolder() is
 false, this route is atomic. If one entry fails, the whole transaction
 will abort. If RelocationBatchArg.getAllowSharedFolder() is true,
 atomicity is not guaranteed, but it allows you to copy the contents of
 shared folders to new locations. This route will return job ID
 immediately and do the async copy job in background. Please use copyBatchCheck(String) to check the job status.
  The default values for the optional request parameters will be used.
 See CopyBatchBuilder for more details. 
entries - List of entries to be moved or copied. Each entry is
     RelocationPath. Must contain at least 1 items, not contain a
     null item, and not be null.copyBatch(List)
     or moveBatch(List) that may either
     launch an asynchronous job or complete synchronously.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxApiExceptionDbxException@Deprecated public CopyBatchBuilder copyBatchBuilder(java.util.List<RelocationPath> entries)
copyBatchV2(List,boolean)
     instead.RelocationBatchArg.getAllowSharedFolder() is
 false, this route is atomic. If one entry fails, the whole transaction
 will abort. If RelocationBatchArg.getAllowSharedFolder() is true,
 atomicity is not guaranteed, but it allows you to copy the contents of
 shared folders to new locations. This route will return job ID
 immediately and do the async copy job in background. Please use copyBatchCheck(String) to check the job status.entries - List of entries to be moved or copied. Each entry is
     RelocationPath. Must contain at least 1 items, not contain a
     null item, and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public RelocationBatchV2JobStatus copyBatchCheckV2(java.lang.String asyncJobId) throws PollErrorException, DbxException
copyBatchV2(List,boolean). It returns list of
 results for each entry.asyncJobId - Id of the asynchronous job. This is the value of a
     response returned from the method that launched the job. Must have
     length of at least 1 and not be null.copyBatchV2(List,boolean) or moveBatchV2(List) that may either launch an
     asynchronous job or complete synchronously.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.PollErrorExceptionDbxException@Deprecated public RelocationBatchJobStatus copyBatchCheck(java.lang.String asyncJobId) throws PollErrorException, DbxException
copyBatchCheckV2(String)
     instead.copyBatch(List). If success, it returns list of
 results for each entry.asyncJobId - Id of the asynchronous job. This is the value of a
     response returned from the method that launched the job. Must have
     length of at least 1 and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.PollErrorExceptionDbxExceptionpublic GetCopyReferenceResult copyReferenceGet(java.lang.String path) throws GetCopyReferenceErrorException, DbxException
copyReferenceSave(String,String).path - The path to the file or folder you want to get a copy
     reference to. Must match pattern "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)" and not
     be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.GetCopyReferenceErrorExceptionDbxExceptionpublic SaveCopyReferenceResult copyReferenceSave(java.lang.String copyReference, java.lang.String path) throws SaveCopyReferenceErrorException, DbxException
copyReferenceGet(String) to the user's Dropbox.copyReference - A copy reference returned by copyReferenceGet(String). Must not be null.path - Path in the user's Dropbox that is the destination. Must
     match pattern "/(.|[\\r\\n])*" and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.SaveCopyReferenceErrorExceptionDbxExceptionpublic CreateFolderResult createFolderV2(java.lang.String path) throws CreateFolderErrorException, DbxException
 The autorename request parameter will default to false (see createFolderV2(String,boolean)). 
path - Path in the user's Dropbox to create. Must match pattern
     "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)" and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.CreateFolderErrorExceptionDbxExceptionpublic CreateFolderResult createFolderV2(java.lang.String path, boolean autorename) throws CreateFolderErrorException, DbxException
path - Path in the user's Dropbox to create. Must match pattern
     "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)" and not be null.autorename - If there's a conflict, have the Dropbox server try to
     autorename the folder to avoid the conflict.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.CreateFolderErrorExceptionDbxException@Deprecated public FolderMetadata createFolder(java.lang.String path) throws CreateFolderErrorException, DbxException
createFolderV2(String,boolean) instead. The autorename request parameter will default to false (see createFolder(String,boolean)). 
path - Path in the user's Dropbox to create. Must match pattern
     "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)" and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.CreateFolderErrorExceptionDbxException@Deprecated public FolderMetadata createFolder(java.lang.String path, boolean autorename) throws CreateFolderErrorException, DbxException
createFolderV2(String,boolean) instead.path - Path in the user's Dropbox to create. Must match pattern
     "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)" and not be null.autorename - If there's a conflict, have the Dropbox server try to
     autorename the folder to avoid the conflict.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.CreateFolderErrorExceptionDbxExceptionpublic CreateFolderBatchLaunch createFolderBatch(java.util.List<java.lang.String> paths) throws DbxApiException, DbxException
CreateFolderBatchArg.getForceAsync() flag.
 Use createFolderBatchCheck(String) to check
 the job status.
  The default values for the optional request parameters will be used.
 See CreateFolderBatchBuilder for more details. 
paths - List of paths to be created in the user's Dropbox.
     Duplicate path arguments in the batch are considered only once. Must
     not contain a null item and not be null.createFolderBatch(List) that may either launch
     an asynchronous job or complete synchronously.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxApiExceptionDbxExceptionpublic CreateFolderBatchBuilder createFolderBatchBuilder(java.util.List<java.lang.String> paths)
CreateFolderBatchArg.getForceAsync() flag.
 Use createFolderBatchCheck(String) to check
 the job status.paths - List of paths to be created in the user's Dropbox.
     Duplicate path arguments in the batch are considered only once. Must
     not contain a null item and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public CreateFolderBatchJobStatus createFolderBatchCheck(java.lang.String asyncJobId) throws PollErrorException, DbxException
createFolderBatch(List). If success, it returns
 list of result for each entry.asyncJobId - Id of the asynchronous job. This is the value of a
     response returned from the method that launched the job. Must have
     length of at least 1 and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.PollErrorExceptionDbxExceptionpublic DeleteResult deleteV2(java.lang.String path) throws DeleteErrorException, DbxException
FileMetadata or FolderMetadata for the item
 at time of deletion, and not a DeletedMetadata object.path - Path in the user's Dropbox to delete. Must match pattern
     "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)" and not be
     null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DeleteErrorExceptionDbxExceptionpublic DeleteResult deleteV2(java.lang.String path, java.lang.String parentRev) throws DeleteErrorException, DbxException
FileMetadata or FolderMetadata for the item
 at time of deletion, and not a DeletedMetadata object.path - Path in the user's Dropbox to delete. Must match pattern
     "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)" and not be
     null.parentRev - Perform delete if given "rev" matches the existing
     file's latest "rev". This field does not support deleting a folder.
     Must have length of at least 9 and match pattern "[0-9a-f]+".java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DeleteErrorExceptionDbxException@Deprecated public Metadata delete(java.lang.String path) throws DeleteErrorException, DbxException
deleteV2(String,String)
     instead.FileMetadata or FolderMetadata for the item
 at time of deletion, and not a DeletedMetadata object.path - Path in the user's Dropbox to delete. Must match pattern
     "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)" and not be
     null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DeleteErrorExceptionDbxException@Deprecated public Metadata delete(java.lang.String path, java.lang.String parentRev) throws DeleteErrorException, DbxException
deleteV2(String,String)
     instead.FileMetadata or FolderMetadata for the item
 at time of deletion, and not a DeletedMetadata object.path - Path in the user's Dropbox to delete. Must match pattern
     "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)" and not be
     null.parentRev - Perform delete if given "rev" matches the existing
     file's latest "rev". This field does not support deleting a folder.
     Must have length of at least 9 and match pattern "[0-9a-f]+".java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DeleteErrorExceptionDbxExceptionpublic DeleteBatchLaunch deleteBatch(java.util.List<DeleteArg> entries) throws DbxApiException, DbxException
deleteBatchCheck(String) to check the
 job status.entries - Must not contain a null item and not be null.deleteBatch(List)
     that may either launch an asynchronous job or complete synchronously.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxApiExceptionDbxExceptionpublic DeleteBatchJobStatus deleteBatchCheck(java.lang.String asyncJobId) throws PollErrorException, DbxException
deleteBatch(List). If success, it returns list of
 result for each entry.asyncJobId - Id of the asynchronous job. This is the value of a
     response returned from the method that launched the job. Must have
     length of at least 1 and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.PollErrorExceptionDbxExceptionpublic DbxDownloader<FileMetadata> download(java.lang.String path) throws DownloadErrorException, DbxException
path - The path of the file to download. Must match pattern "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)" and not
     be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DownloadErrorExceptionDbxExceptionpublic DbxDownloader<FileMetadata> download(java.lang.String path, java.lang.String rev) throws DownloadErrorException, DbxException
path - The path of the file to download. Must match pattern "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)" and not
     be null.rev - Please specify revision in the path argument to
     download(String,String) instead. Must
     have length of at least 9 and match pattern "[0-9a-f]+".java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DownloadErrorExceptionDbxExceptionpublic DownloadBuilder downloadBuilder(java.lang.String path)
path - The path of the file to download. Must match pattern "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)" and not
     be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public DbxDownloader<DownloadZipResult> downloadZip(java.lang.String path) throws DownloadZipErrorException, DbxException
path - The path of the folder to download. Must match pattern
     "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"
     and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DownloadZipErrorExceptionDbxExceptionpublic DownloadZipBuilder downloadZipBuilder(java.lang.String path)
path - The path of the folder to download. Must match pattern
     "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"
     and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public Metadata getMetadata(java.lang.String path) throws GetMetadataErrorException, DbxException
 The default values for the optional request parameters will be used.
 See GetMetadataBuilder for more details. 
path - The path of a file or folder on Dropbox. Must match pattern
     "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"
     and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.GetMetadataErrorExceptionDbxExceptionpublic GetMetadataBuilder getMetadataBuilder(java.lang.String path)
path - The path of a file or folder on Dropbox. Must match pattern
     "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)"
     and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public DbxDownloader<FileMetadata> getPreview(java.lang.String path) throws PreviewErrorException, DbxException
path - The path of the file to preview. Must match pattern "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)" and not
     be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.PreviewErrorExceptionDbxExceptionpublic DbxDownloader<FileMetadata> getPreview(java.lang.String path, java.lang.String rev) throws PreviewErrorException, DbxException
path - The path of the file to preview. Must match pattern "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)" and not
     be null.rev - Please specify revision in the path argument to
     getPreview(String,String) instead. Must
     have length of at least 9 and match pattern "[0-9a-f]+".java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.PreviewErrorExceptionDbxExceptionpublic GetPreviewBuilder getPreviewBuilder(java.lang.String path)
path - The path of the file to preview. Must match pattern "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)" and not
     be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public GetTemporaryLinkResult getTemporaryLink(java.lang.String path) throws GetTemporaryLinkErrorException, DbxException
path - The path to the file you want a temporary link to. Must
     match pattern "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)" and not
     be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.GetTemporaryLinkErrorExceptionDbxExceptionpublic GetTemporaryUploadLinkResult getTemporaryUploadLink(CommitInfo commitInfo) throws DbxApiException, DbxException
 This endpoint acts as a delayed upload(String). The returned temporary upload link
 may be used to make a POST request with the data to be uploaded. The
 upload will then be perfomed with the CommitInfo previously
 provided to getTemporaryUploadLink(CommitInfo,double) but
 evaluated only upon consumption. Hence, errors stemming from invalid
 CommitInfo with respect to the state of the user's Dropbox will
 only be communicated at consumption time. Additionally, these errors are
 surfaced as generic HTTP 409 Conflict responses, potentially hiding issue
 details. The maximum temporary upload link duration is 4 hours. Upon
 consumption or expiration, a new link will have to be generated. Multiple
 links may exist for a specific upload path at any given time. 
The POST request on the temporary upload link must have its Content-Type set to "application/octet-stream".
Example temporary upload link consumption request:
curl -X POST https://dl.dropboxusercontent.com/apitul/1/bNi2uIYF51cVBND --header "Content-Type: application/octet-stream" --data-binary @local_file.txt
A successful temporary upload link consumption request returns the content hash of the uploaded data in JSON format.
Example succesful temporary upload link consumption response: {"content-hash": "599d71033d700ac892a0e48fa61b125d2f5994"}
An unsuccessful temporary upload link consumption request returns any of the following status codes:
HTTP 400 Bad Request: Content-Type is not one of application/octet-stream and text/plain or request is invalid. HTTP 409 Conflict: The temporary upload link does not exist or is currently unavailable, the upload failed, or another error happened. HTTP 410 Gone: The temporary upload link is expired or consumed.
Example unsuccessful temporary upload link consumption response: Temporary upload link has been recently consumed.
 The duration request parameter will default to 14400.0 (see getTemporaryUploadLink(CommitInfo,double)). 
commitInfo - Contains the path and other optional modifiers for the
     future upload commit. Equivalent to the parameters provided to upload(String). Must not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxApiExceptionDbxExceptionpublic GetTemporaryUploadLinkResult getTemporaryUploadLink(CommitInfo commitInfo, double duration) throws DbxApiException, DbxException
 This endpoint acts as a delayed upload(String). The returned temporary upload link
 may be used to make a POST request with the data to be uploaded. The
 upload will then be perfomed with the CommitInfo previously
 provided to getTemporaryUploadLink(CommitInfo,double) but
 evaluated only upon consumption. Hence, errors stemming from invalid
 CommitInfo with respect to the state of the user's Dropbox will
 only be communicated at consumption time. Additionally, these errors are
 surfaced as generic HTTP 409 Conflict responses, potentially hiding issue
 details. The maximum temporary upload link duration is 4 hours. Upon
 consumption or expiration, a new link will have to be generated. Multiple
 links may exist for a specific upload path at any given time. 
The POST request on the temporary upload link must have its Content-Type set to "application/octet-stream".
Example temporary upload link consumption request:
curl -X POST https://dl.dropboxusercontent.com/apitul/1/bNi2uIYF51cVBND --header "Content-Type: application/octet-stream" --data-binary @local_file.txt
A successful temporary upload link consumption request returns the content hash of the uploaded data in JSON format.
Example succesful temporary upload link consumption response: {"content-hash": "599d71033d700ac892a0e48fa61b125d2f5994"}
An unsuccessful temporary upload link consumption request returns any of the following status codes:
HTTP 400 Bad Request: Content-Type is not one of application/octet-stream and text/plain or request is invalid. HTTP 409 Conflict: The temporary upload link does not exist or is currently unavailable, the upload failed, or another error happened. HTTP 410 Gone: The temporary upload link is expired or consumed.
Example unsuccessful temporary upload link consumption response: Temporary upload link has been recently consumed.
commitInfo - Contains the path and other optional modifiers for the
     future upload commit. Equivalent to the parameters provided to upload(String). Must not be null.duration - How long before this link expires, in seconds.
     Attempting to start an upload with this link longer than this period
     of time after link creation will result in an error. Must be greater
     than or equal to 60.0 and be less than or equal to 14400.0.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxApiExceptionDbxExceptionpublic DbxDownloader<FileMetadata> getThumbnail(java.lang.String path) throws ThumbnailErrorException, DbxException
 The default values for the optional request parameters will be used.
 See GetThumbnailBuilder for more details. 
path - The path to the image file you want to thumbnail. Must match
     pattern "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)" and not
     be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.ThumbnailErrorExceptionDbxExceptionpublic GetThumbnailBuilder getThumbnailBuilder(java.lang.String path)
path - The path to the image file you want to thumbnail. Must match
     pattern "(/(.|[\\r\\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)" and not
     be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public GetThumbnailBatchResult getThumbnailBatch(java.util.List<ThumbnailArg> entries) throws GetThumbnailBatchErrorException, DbxException
entries - List of files to get thumbnails. Must not contain a
     null item and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.GetThumbnailBatchErrorExceptionDbxExceptionpublic ListFolderResult listFolder(java.lang.String path) throws ListFolderErrorException, DbxException
ListFolderResult.getHasMore() field is true, call listFolderContinue(String) with the returned ListFolderResult.getCursor() to retrieve more entries. If you're using
 ListFolderArg.getRecursive() set to true to keep a local
 cache of the contents of a Dropbox account, iterate through each entry in
 order and process them as follows to keep your local state in sync: For
 each FileMetadata, store the new entry at the given path in your
 local state. If the required parent folders don't exist yet, create them.
 If there's already something else at the given path, replace it and
 remove all its children. For each FolderMetadata, store the new
 entry at the given path in your local state. If the required parent
 folders don't exist yet, create them. If there's already something else
 at the given path, replace it but leave the children as they are. Check
 the new entry's FolderSharingInfo.getReadOnly() and set all its
 children's read-only statuses to match. For each DeletedMetadata,
 if your local state has something at the given path, remove it and all
 its children. If there's nothing at the given path, ignore this entry.
 Note: RateLimitError may be returned if
 multiple listFolder(String) or listFolderContinue(String) calls with same
 parameters are made simultaneously by same API app for same user. If your
 app implements retry logic, please hold off the retry until the previous
 request finishes.
  The default values for the optional request parameters will be used.
 See ListFolderBuilder for more details. 
path - A unique identifier for the file. Must match pattern "(/(.|[\\r\\n])*)?|id:.*|(ns:[0-9]+(/.*)?)" and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.ListFolderErrorExceptionDbxExceptionpublic ListFolderBuilder listFolderBuilder(java.lang.String path)
ListFolderResult.getHasMore() field is true, call listFolderContinue(String) with the returned ListFolderResult.getCursor() to retrieve more entries. If you're using
 ListFolderArg.getRecursive() set to true to keep a local
 cache of the contents of a Dropbox account, iterate through each entry in
 order and process them as follows to keep your local state in sync: For
 each FileMetadata, store the new entry at the given path in your
 local state. If the required parent folders don't exist yet, create them.
 If there's already something else at the given path, replace it and
 remove all its children. For each FolderMetadata, store the new
 entry at the given path in your local state. If the required parent
 folders don't exist yet, create them. If there's already something else
 at the given path, replace it but leave the children as they are. Check
 the new entry's FolderSharingInfo.getReadOnly() and set all its
 children's read-only statuses to match. For each DeletedMetadata,
 if your local state has something at the given path, remove it and all
 its children. If there's nothing at the given path, ignore this entry.
 Note: RateLimitError may be returned if
 multiple listFolder(String) or listFolderContinue(String) calls with same
 parameters are made simultaneously by same API app for same user. If your
 app implements retry logic, please hold off the retry until the previous
 request finishes.path - A unique identifier for the file. Must match pattern "(/(.|[\\r\\n])*)?|id:.*|(ns:[0-9]+(/.*)?)" and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public ListFolderResult listFolderContinue(java.lang.String cursor) throws ListFolderContinueErrorException, DbxException
listFolder(String), use this to paginate through
 all files and retrieve updates to the folder, following the same rules as
 documented for listFolder(String).cursor - The cursor returned by your last call to listFolder(String) or listFolderContinue(String). Must have length of
     at least 1 and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.ListFolderContinueErrorExceptionDbxExceptionpublic ListFolderGetLatestCursorResult listFolderGetLatestCursor(java.lang.String path) throws ListFolderErrorException, DbxException
listFolder(String), listFolderGetLatestCursor(String) doesn't return
 any entries. This endpoint is for app which only needs to know about new
 files and modifications and doesn't need to know about files that already
 exist in Dropbox.
  The default values for the optional request parameters will be used.
 See ListFolderGetLatestCursorBuilder for more details. 
path - A unique identifier for the file. Must match pattern "(/(.|[\\r\\n])*)?|id:.*|(ns:[0-9]+(/.*)?)" and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.ListFolderErrorExceptionDbxExceptionpublic ListFolderGetLatestCursorBuilder listFolderGetLatestCursorBuilder(java.lang.String path)
listFolder(String), listFolderGetLatestCursor(String) doesn't return
 any entries. This endpoint is for app which only needs to know about new
 files and modifications and doesn't need to know about files that already
 exist in Dropbox.path - A unique identifier for the file. Must match pattern "(/(.|[\\r\\n])*)?|id:.*|(ns:[0-9]+(/.*)?)" and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public ListFolderLongpollResult listFolderLongpoll(java.lang.String cursor) throws ListFolderLongpollErrorException, DbxException
listFolderContinue(String), this call
 gives you a low-latency way to monitor an account for file changes. The
 connection will block until there are changes available or a timeout
 occurs. This endpoint is useful mostly for client-side apps. If you're
 looking for server-side notifications, check out our webhooks
 documentation.
  The timeout request parameter will default to 30L
 (see listFolderLongpoll(String,long)). 
cursor - A cursor as returned by listFolder(String) or listFolderContinue(String). Cursors retrieved
     by setting ListFolderArg.getIncludeMediaInfo() to true
     are not supported. Must have length of at least 1 and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.ListFolderLongpollErrorExceptionDbxExceptionpublic ListFolderLongpollResult listFolderLongpoll(java.lang.String cursor, long timeout) throws ListFolderLongpollErrorException, DbxException
listFolderContinue(String), this call
 gives you a low-latency way to monitor an account for file changes. The
 connection will block until there are changes available or a timeout
 occurs. This endpoint is useful mostly for client-side apps. If you're
 looking for server-side notifications, check out our webhooks
 documentation.cursor - A cursor as returned by listFolder(String) or listFolderContinue(String). Cursors retrieved
     by setting ListFolderArg.getIncludeMediaInfo() to true
     are not supported. Must have length of at least 1 and not be null.timeout - A timeout in seconds. The request will block for at most
     this length of time, plus up to 90 seconds of random jitter added to
     avoid the thundering herd problem. Care should be taken when using
     this parameter, as some network infrastructure does not support long
     timeouts. Must be greater than or equal to 30 and be less than or
     equal to 480.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.ListFolderLongpollErrorExceptionDbxExceptionpublic ListRevisionsResult listRevisions(java.lang.String path) throws ListRevisionsErrorException, DbxException
ListRevisionsMode.PATH (default) mode, all revisions at the same
 file path as the latest file entry are returned. If revisions with the
 same file id are desired, then mode must be set to ListRevisionsMode.ID. The ListRevisionsMode.ID mode is useful to
 retrieve revisions for a given file across moves or renames.
  The default values for the optional request parameters will be used.
 See ListRevisionsBuilder for more details. 
path - The path to the file you want to see the revisions of. Must
     match pattern "/(.|[\\r\\n])*|id:.*|(ns:[0-9]+(/.*)?)" and
     not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.ListRevisionsErrorExceptionDbxExceptionpublic ListRevisionsBuilder listRevisionsBuilder(java.lang.String path)
ListRevisionsMode.PATH (default) mode, all revisions at the same
 file path as the latest file entry are returned. If revisions with the
 same file id are desired, then mode must be set to ListRevisionsMode.ID. The ListRevisionsMode.ID mode is useful to
 retrieve revisions for a given file across moves or renames.path - The path to the file you want to see the revisions of. Must
     match pattern "/(.|[\\r\\n])*|id:.*|(ns:[0-9]+(/.*)?)" and
     not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public RelocationResult moveV2(java.lang.String fromPath, java.lang.String toPath) throws RelocationErrorException, DbxException
 The default values for the optional request parameters will be used.
 See MoveV2Builder for more details. 
fromPath - Path in the user's Dropbox to be copied or moved. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.toPath - Path in the user's Dropbox that is the destination. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.RelocationErrorExceptionDbxExceptionpublic MoveV2Builder moveV2Builder(java.lang.String fromPath, java.lang.String toPath)
fromPath - Path in the user's Dropbox to be copied or moved. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.toPath - Path in the user's Dropbox that is the destination. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.@Deprecated public Metadata move(java.lang.String fromPath, java.lang.String toPath) throws RelocationErrorException, DbxException
moveV2(String,String)
     instead. The default values for the optional request parameters will be used.
 See MoveBuilder for more details. 
fromPath - Path in the user's Dropbox to be copied or moved. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.toPath - Path in the user's Dropbox that is the destination. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.RelocationErrorExceptionDbxException@Deprecated public MoveBuilder moveBuilder(java.lang.String fromPath, java.lang.String toPath)
moveV2(String,String)
     instead.fromPath - Path in the user's Dropbox to be copied or moved. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.toPath - Path in the user's Dropbox that is the destination. Must
     match pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)"
     and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public RelocationBatchV2Launch moveBatchV2(java.util.List<RelocationPath> entries) throws DbxApiException, DbxException
moveBatchV2(List). The main difference is this
 route will return stutus for each entry, while moveBatch(List) raises failure if any entry fails.
 This route will either finish synchronously, or return a job ID and do
 the async move job in background. Please use moveBatchCheckV2(String) to check the job status.
  The default values for the optional request parameters will be used.
 See MoveBatchV2Builder for more details. 
entries - List of entries to be moved or copied. Each entry is
     RelocationPath. Must contain at least 1 items, not contain a
     null item, and not be null.copyBatchV2(List,boolean) or moveBatchV2(List) that may either launch an
     asynchronous job or complete synchronously.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxApiExceptionDbxExceptionpublic MoveBatchV2Builder moveBatchV2Builder(java.util.List<RelocationPath> entries)
moveBatchV2(List). The main difference is this
 route will return stutus for each entry, while moveBatch(List) raises failure if any entry fails.
 This route will either finish synchronously, or return a job ID and do
 the async move job in background. Please use moveBatchCheckV2(String) to check the job status.entries - List of entries to be moved or copied. Each entry is
     RelocationPath. Must contain at least 1 items, not contain a
     null item, and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public RelocationBatchLaunch moveBatch(java.util.List<RelocationPath> entries) throws DbxApiException, DbxException
moveBatchCheck(String) to check the job status.
  The default values for the optional request parameters will be used.
 See MoveBatchBuilder for more details. 
entries - List of entries to be moved or copied. Each entry is
     RelocationPath. Must contain at least 1 items, not contain a
     null item, and not be null.copyBatch(List)
     or moveBatch(List) that may either
     launch an asynchronous job or complete synchronously.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxApiExceptionDbxExceptionpublic MoveBatchBuilder moveBatchBuilder(java.util.List<RelocationPath> entries)
moveBatchCheck(String) to check the job status.entries - List of entries to be moved or copied. Each entry is
     RelocationPath. Must contain at least 1 items, not contain a
     null item, and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public RelocationBatchV2JobStatus moveBatchCheckV2(java.lang.String asyncJobId) throws PollErrorException, DbxException
moveBatchV2(List). It returns list of results for
 each entry.asyncJobId - Id of the asynchronous job. This is the value of a
     response returned from the method that launched the job. Must have
     length of at least 1 and not be null.copyBatchV2(List,boolean) or moveBatchV2(List) that may either launch an
     asynchronous job or complete synchronously.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.PollErrorExceptionDbxExceptionpublic RelocationBatchJobStatus moveBatchCheck(java.lang.String asyncJobId) throws PollErrorException, DbxException
moveBatch(List). If success, it returns list of
 results for each entry.asyncJobId - Id of the asynchronous job. This is the value of a
     response returned from the method that launched the job. Must have
     length of at least 1 and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.PollErrorExceptionDbxExceptionpublic void permanentlyDelete(java.lang.String path)
                       throws DeleteErrorException,
                              DbxException
path - Path in the user's Dropbox to delete. Must match pattern
     "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)" and not be
     null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DeleteErrorExceptionDbxExceptionpublic void permanentlyDelete(java.lang.String path,
                              java.lang.String parentRev)
                       throws DeleteErrorException,
                              DbxException
path - Path in the user's Dropbox to delete. Must match pattern
     "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)" and not be
     null.parentRev - Perform delete if given "rev" matches the existing
     file's latest "rev". This field does not support deleting a folder.
     Must have length of at least 9 and match pattern "[0-9a-f]+".java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DeleteErrorExceptionDbxException@Deprecated
public void propertiesAdd(java.lang.String path,
                                      java.util.List<PropertyGroup> propertyGroups)
                               throws AddPropertiesErrorException,
                                      DbxException
path - A unique identifier for the file or folder. Must match
     pattern "/(.|[\\r\\n])*|id:.*|(ns:[0-9]+(/.*)?)" and not be
     null.propertyGroups - The property groups which are to be added to a
     Dropbox file. Must not contain a null item and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.AddPropertiesErrorExceptionDbxException@Deprecated
public void propertiesOverwrite(java.lang.String path,
                                            java.util.List<PropertyGroup> propertyGroups)
                                     throws InvalidPropertyGroupErrorException,
                                            DbxException
path - A unique identifier for the file or folder. Must match
     pattern "/(.|[\\r\\n])*|id:.*|(ns:[0-9]+(/.*)?)" and not be
     null.propertyGroups - The property groups "snapshot" updates to force
     apply. Must contain at least 1 items, not contain a null
     item, and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.InvalidPropertyGroupErrorExceptionDbxException@Deprecated
public void propertiesRemove(java.lang.String path,
                                         java.util.List<java.lang.String> propertyTemplateIds)
                                  throws RemovePropertiesErrorException,
                                         DbxException
path - A unique identifier for the file or folder. Must match
     pattern "/(.|[\\r\\n])*|id:.*|(ns:[0-9]+(/.*)?)" and not be
     null.propertyTemplateIds - A list of identifiers for a template created
     by DbxUserFilePropertiesRequests.templatesAddForUser(String,String,List)
     or templatesAddForTeam. Must not contain a null item
     and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.RemovePropertiesErrorExceptionDbxException@Deprecated public GetTemplateResult propertiesTemplateGet(java.lang.String templateId) throws TemplateErrorException, DbxException
templateId - An identifier for template added by route  See DbxUserFilePropertiesRequests.templatesAddForUser(String,String,List)
     or templatesAddForTeam. Must have length of at least 1, match
     pattern "(/|ptid:).*", and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.TemplateErrorExceptionDbxException@Deprecated public ListTemplateResult propertiesTemplateList() throws TemplateErrorException, DbxException
TemplateErrorExceptionDbxException@Deprecated
public void propertiesUpdate(java.lang.String path,
                                         java.util.List<PropertyGroupUpdate> updatePropertyGroups)
                                  throws UpdatePropertiesErrorException,
                                         DbxException
path - A unique identifier for the file or folder. Must match
     pattern "/(.|[\\r\\n])*|id:.*|(ns:[0-9]+(/.*)?)" and not be
     null.updatePropertyGroups - The property groups "delta" updates to
     apply. Must not contain a null item and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.UpdatePropertiesErrorExceptionDbxExceptionpublic FileMetadata restore(java.lang.String path, java.lang.String rev) throws RestoreErrorException, DbxException
path - The path to save the restored file. Must match pattern
     "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)" and not be null.rev - The revision to restore. Must have length of at least 9,
     match pattern "[0-9a-f]+", and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.RestoreErrorExceptionDbxExceptionpublic SaveUrlResult saveUrl(java.lang.String path, java.lang.String url) throws SaveUrlErrorException, DbxException
path - The path in Dropbox where the URL will be saved to. Must
     match pattern "/(.|[\\r\\n])*" and not be null.url - The URL to be saved. Must not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.SaveUrlErrorExceptionDbxExceptionpublic SaveUrlJobStatus saveUrlCheckJobStatus(java.lang.String asyncJobId) throws PollErrorException, DbxException
saveUrl(String,String)
 job.asyncJobId - Id of the asynchronous job. This is the value of a
     response returned from the method that launched the job. Must have
     length of at least 1 and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.PollErrorExceptionDbxExceptionpublic SearchResult search(java.lang.String path, java.lang.String query) throws SearchErrorException, DbxException
 The default values for the optional request parameters will be used.
 See SearchBuilder for more details. 
path - The path in the user's Dropbox to search. Should probably be
     a folder. Must match pattern "(/(.|[\\r\\n])*)?|id:.*|(ns:[0-9]+(/.*)?)" and not be null.query - The string to search for. The search string is split on
     spaces into multiple tokens. For file name searching, the last token
     is used for prefix matching (i.e. "bat c" matches "bat cave" but not
     "batman car"). Must not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.SearchErrorExceptionDbxExceptionpublic SearchBuilder searchBuilder(java.lang.String path, java.lang.String query)
path - The path in the user's Dropbox to search. Should probably be
     a folder. Must match pattern "(/(.|[\\r\\n])*)?|id:.*|(ns:[0-9]+(/.*)?)" and not be null.query - The string to search for. The search string is split on
     spaces into multiple tokens. For file name searching, the last token
     is used for prefix matching (i.e. "bat c" matches "bat cave" but not
     "batman car"). Must not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public UploadUploader upload(java.lang.String path) throws DbxException
uploadSessionStart(boolean).
 Calls to this endpoint will count as data transport calls for any Dropbox
 Business teams with a limit on the number of data transport calls allowed
 per month. For more information, see the Data
 transport limit page.
  The default values for the optional request parameters will be used.
 See UploadBuilder for more details. 
path - Path in the user's Dropbox to save the file. Must match
     pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)" and not
     be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxExceptionpublic UploadBuilder uploadBuilder(java.lang.String path)
uploadSessionStart(boolean).
 Calls to this endpoint will count as data transport calls for any Dropbox
 Business teams with a limit on the number of data transport calls allowed
 per month. For more information, see the Data
 transport limit page.path - Path in the user's Dropbox to save the file. Must match
     pattern "(/(.|[\\r\\n])*)|(ns:[0-9]+(/.*)?)|(id:.*)" and not
     be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.public UploadSessionAppendV2Uploader uploadSessionAppendV2(UploadSessionCursor cursor) throws DbxException
 The close request parameter will default to false
 (see uploadSessionAppendV2(UploadSessionCursor,boolean)). 
cursor - Contains the upload session ID and the offset. Must not be
     null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxExceptionpublic UploadSessionAppendV2Uploader uploadSessionAppendV2(UploadSessionCursor cursor, boolean close) throws DbxException
cursor - Contains the upload session ID and the offset. Must not be
     null.close - If true, the current session will be closed, at which point
     you won't be able to call uploadSessionAppendV2(UploadSessionCursor,boolean)
     anymore with the current session.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxException@Deprecated public UploadSessionAppendUploader uploadSessionAppend(java.lang.String sessionId, long offset) throws DbxException
uploadSessionAppendV2(UploadSessionCursor,boolean)
     instead.sessionId - The upload session ID (returned by uploadSessionStart(boolean)). Must not be
     null.offset - The amount of data that has been uploaded so far. We use
     this to make sure upload data isn't lost or duplicated in the event
     of a network error.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxExceptionpublic UploadSessionFinishUploader uploadSessionFinish(UploadSessionCursor cursor, CommitInfo commit) throws DbxException
cursor - Contains the upload session ID and the offset. Must not be
     null.commit - Contains the path and other optional modifiers for the
     commit. Must not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxExceptionpublic UploadSessionFinishBatchLaunch uploadSessionFinishBatch(java.util.List<UploadSessionFinishArg> entries) throws DbxApiException, DbxException
uploadSessionStart(boolean) and uploadSessionAppendV2(UploadSessionCursor,boolean)
 to upload file contents. We recommend uploading many files in parallel to
 increase throughput. Once the file contents have been uploaded, rather
 than calling uploadSessionFinish(UploadSessionCursor,CommitInfo),
 use this route to finish all your upload sessions in a single request.
 the close argument to uploadSessionStart(boolean) or the close
 argument to uploadSessionAppendV2(UploadSessionCursor,boolean)
 needs to be true for the last uploadSessionStart(boolean) or uploadSessionAppendV2(UploadSessionCursor,boolean)
 call. The maximum size of a file one can upload to an upload session is
 350 GB. This route will return a job_id immediately and do the async
 commit job in background. Use uploadSessionFinishBatchCheck(String) to check the
 job status. For the same account, this route should be executed serially.
 That means you should not start the next job before current job finishes.
 We allow up to 1000 entries in a single request. Calls to this endpoint
 will count as data transport calls for any Dropbox Business teams with a
 limit on the number of data transport calls allowed per month. For more
 information, see the Data
 transport limit page.entries - Commit information for each file in the batch. Must
     contain at most 1000 items, not contain a null item, and not
     be null.uploadSessionFinishBatch(List) that may either
     launch an asynchronous job or complete synchronously.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.DbxApiExceptionDbxExceptionpublic UploadSessionFinishBatchJobStatus uploadSessionFinishBatchCheck(java.lang.String asyncJobId) throws PollErrorException, DbxException
uploadSessionFinishBatch(List). If success, it
 returns list of result for each entry.asyncJobId - Id of the asynchronous job. This is the value of a
     response returned from the method that launched the job. Must have
     length of at least 1 and not be null.java.lang.IllegalArgumentException - If any argument does not meet its
     preconditions.PollErrorExceptionDbxExceptionpublic UploadSessionStartUploader uploadSessionStart() throws DbxException
uploadSessionAppendV2(UploadSessionCursor,boolean)
 to add more data and uploadSessionFinish(UploadSessionCursor,CommitInfo)
 to save all the data to a file in Dropbox. A single request should not
 upload more than 150 MB. The maximum size of a file one can upload to an
 upload session is 350 GB. An upload session can be used for a maximum of
 48 hours. Attempting to use an UploadSessionStartResult.getSessionId() with uploadSessionAppendV2(UploadSessionCursor,boolean)
 or uploadSessionFinish(UploadSessionCursor,CommitInfo)
 more than 48 hours after its creation will return a UploadSessionLookupError.NOT_FOUND. Calls to this endpoint will count as
 data transport calls for any Dropbox Business teams with a limit on the
 number of data transport calls allowed per month. For more information,
 see the Data
 transport limit page.
  The close request parameter will default to false
 (see uploadSessionStart(boolean)). 
DbxExceptionpublic UploadSessionStartUploader uploadSessionStart(boolean close) throws DbxException
uploadSessionAppendV2(UploadSessionCursor,boolean)
 to add more data and uploadSessionFinish(UploadSessionCursor,CommitInfo)
 to save all the data to a file in Dropbox. A single request should not
 upload more than 150 MB. The maximum size of a file one can upload to an
 upload session is 350 GB. An upload session can be used for a maximum of
 48 hours. Attempting to use an UploadSessionStartResult.getSessionId() with uploadSessionAppendV2(UploadSessionCursor,boolean)
 or uploadSessionFinish(UploadSessionCursor,CommitInfo)
 more than 48 hours after its creation will return a UploadSessionLookupError.NOT_FOUND. Calls to this endpoint will count as
 data transport calls for any Dropbox Business teams with a limit on the
 number of data transport calls allowed per month. For more information,
 see the Data
 transport limit page.close - If true, the current session will be closed, at which point
     you won't be able to call uploadSessionAppendV2(UploadSessionCursor,boolean)
     anymore with the current session.DbxException