Skip to content

ArchiveFileDto ​

Namespace: MJCZone.MediaMatic.AspNetCore.Models

Assembly: MJCZone.MediaMatic.AspNetCore

Summary ​

Information about an archive file.

public

Contents ​

Constructors (2) | Methods (4) | Properties (6)

Constructors ​

ArchiveFileDto ​

Initializes a new instance of the ArchiveFileDto class.

csharp
ArchiveFileDto()

ArchiveFileDto ​

Initializes a new instance of the ArchiveFileDto class.

csharp
ArchiveFileDto(
    string archiveId,
    string fileName,
    string path,
    long size,
    DateTime createdAt)

Parameters ​

  • archiveId (string) - The archive ID.
  • fileName (string) - The archive file name.
  • path (string) - The archive file path.
  • size (long) - The archive size in bytes.
  • createdAt (DateTime) - When the archive was created.

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

ArchiveId ​

Gets or sets the unique archive ID.

Type: string

FileName ​

Gets or sets the archive file name.

Type: string

Path ​

Gets or sets the archive file path within the filesource.

Type: string

Size ​

Gets or sets the archive size in bytes.

Type: long

CreatedAt ​

Gets or sets when the archive was created.

Type: DateTime

ExpiresAt ​

Gets or sets when the archive will be automatically deleted (if configured).

Type: DateTime?