Skip to content

ArchiveRequestDto ​

Namespace: MJCZone.MediaMatic.AspNetCore.Models.Dtos

Assembly: MJCZone.MediaMatic.AspNetCore

Summary ​

Request to create an archive of files and folders.

public

Contents ​

Constructors (1) | Methods (4) | Properties (3)

Constructors ​

ArchiveRequestDto ​

csharp
ArchiveRequestDto()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Name ​

Gets or sets the name of the archive file (without extension). If not specified, defaults to timestamp-based name.

Type: string?

Paths ​

Gets or sets the list of file and folder paths to include in the archive. Used for file list archives. Folders should end with '/'.

Type: List<string>?

Compression ​

Gets or sets the compression format. Valid values: "zip" (default), "tar", "tar.gz".

Type: string