namespace ElectronNET.API.Entities
{
///
///
///
public class CreateInterruptedDownloadOptions
{
///
/// Absolute path of the download.
///
public string Path { get; set; }
///
/// Complete URL chain for the download.
///
public string[] UrlChain { get; set; }
///
///
///
public string MimeType { get; set; }
///
/// Start range for the download.
///
public int Offset { get; set; }
///
/// Total length of the download.
///
public int Length { get; set; }
///
/// Last-Modified header value.
///
public string LastModified { get; set; }
///
/// ETag header value.
///
public string ETag { get; set; }
///
/// Time when download was started in number of seconds since UNIX epoch.
///
public int StartTime { get; set; }
///
///
///
/// Absolute path of the download.
/// Complete URL chain for the download.
/// Start range for the download.
/// Total length of the download.
/// Last-Modified header value.
/// ETag header value.
public CreateInterruptedDownloadOptions(string path, string[] urlChain, int offset, int length, string lastModified, string eTag)
{
Path = path;
UrlChain = urlChain;
Offset = offset;
Length = length;
LastModified = lastModified;
ETag = eTag;
}
}
}