Table of Contents

Class StorageObject

Namespace
Songhay.Models
Assembly
SonghayCore.dll

Defines an “intersection type” for the S3Object defacto standard and FileInfo

public record StorageObject : IEquatable<StorageObject>
Inheritance
StorageObject
Implements
Inherited Members
Extension Methods

Constructors

StorageObject(string, string?, string, DateTime, long, string?, string)

Defines an “intersection type” for the S3Object defacto standard and FileInfo

public StorageObject(string BucketName, string? ETag, string Key, DateTime LastWriteTimeUtc, long Size, string? Extension, string Name)

Parameters

BucketName string

maps to DirectoryName

ETag string

represents S3Object.ETag

Key string

represents S3Object.Key

LastWriteTimeUtc DateTime

maps to S3Object.LastModified

Size long

maps to Length

Extension string

represents Extension

Name string

represents Name

Properties

BucketName

maps to DirectoryName

public string BucketName { get; init; }

Property Value

string

ETag

represents S3Object.ETag

public string? ETag { get; init; }

Property Value

string

Extension

represents Extension

public string? Extension { get; init; }

Property Value

string

Key

represents S3Object.Key

public string Key { get; init; }

Property Value

string

LastWriteTimeUtc

maps to S3Object.LastModified

public DateTime LastWriteTimeUtc { get; init; }

Property Value

DateTime

Name

represents Name

public string Name { get; init; }

Property Value

string

Size

maps to Length

public long Size { get; init; }

Property Value

long