public class DownloadParameters extends Object
Constructor and Description |
---|
DownloadParameters() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoDeleteTempFile()
Gets whether the temporary upload file should be deleted.
|
List<Long> |
getCampaignIds()
Gets the Ids of the campaigns to download.
|
Collection<DataScope> |
getDataScope()
Gets the scope or types of data to download.
|
ArrayOfDownloadEntity |
getDownloadEntities() |
DownloadFileType |
getFileType()
Gets the extension type of the downloaded file.
|
Calendar |
getLastSyncTimeInUTC()
Gets the last time that you requested a download.
|
boolean |
getOverwriteResultFile()
Gets whether the local result file should be overwritten if it already exists.
|
File |
getResultFileDirectory()
Gets the directory where the file will be downloaded.
|
String |
getResultFileName()
Gets the name of the local download result file.
|
void |
setAutoDeleteTempFile(boolean autoDeleteTempFile)
Sets whether the temporary upload file should be deleted.
|
void |
setCampaignIds(List<Long> campaignIds)
Sets the Ids of the campaigns to download.
|
void |
setDataScope(Collection<DataScope> value)
Sets the scope or types of data to download.
|
void |
setDownloadEntities(ArrayOfDownloadEntity entities) |
void |
setFileType(DownloadFileType fileType)
Sets the extension type of the downloaded file.
|
void |
setLastSyncTimeInUTC(Calendar lastSyncTimeInUTC)
Sets the last time that you requested a download.
|
void |
setOverwriteResultFile(boolean overwriteResultFile)
Sets whether the local result file should be overwritten if it already exists.
|
void |
setResultFileDirectory(File resultFileDirectory)
Sets the directory where the file will be downloaded.
|
void |
setResultFileName(String resultFileName)
Sets the name of the local download result file.
|
public DownloadFileType getFileType()
public void setFileType(DownloadFileType fileType)
public Collection<DataScope> getDataScope()
public void setDataScope(Collection<DataScope> value)
public List<Long> getCampaignIds()
public void setCampaignIds(List<Long> campaignIds)
public Calendar getLastSyncTimeInUTC()
public void setLastSyncTimeInUTC(Calendar lastSyncTimeInUTC)
public File getResultFileDirectory()
public void setResultFileDirectory(File resultFileDirectory)
public String getResultFileName()
public void setResultFileName(String resultFileName)
public boolean getOverwriteResultFile()
public void setOverwriteResultFile(boolean overwriteResultFile)
public ArrayOfDownloadEntity getDownloadEntities()
public void setDownloadEntities(ArrayOfDownloadEntity entities)
public boolean getAutoDeleteTempFile()
public void setAutoDeleteTempFile(boolean autoDeleteTempFile)
Copyright © 2024. All rights reserved.