Table of Contents

Class MFileMetadata

Namespace: CmlLib.Core.Files
Assembly: CmlLib.Core.dll

public record MFileMetadata : IEquatable<MFileMetadata>

Inheritance

objectMFileMetadata

Derived

AssetMetadata, JsonVersionMetadataModel

Implements

IEquatable<MFileMetadata>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Checksums

[JsonPropertyName("checksums")]
public IReadOnlyCollection<string>? Checksums { get; set; }

Property Value

IReadOnlyCollection<string>?

Id

[JsonPropertyName("id")]
public string? Id { get; set; }

Property Value

string?

Name

[JsonPropertyName("name")]
public string? Name { get; set; }

Property Value

string?

Path

[JsonPropertyName("path")]
public string? Path { get; set; }

Property Value

string?

Sha1

[JsonPropertyName("sha1")]
public string? Sha1 { get; set; }

Property Value

string?

Size

[JsonPropertyName("size")]
public long Size { get; set; }

Property Value

long

Url

[JsonPropertyName("url")]
public string? Url { get; set; }

Property Value

string?

Methods

GetSha1()

public string? GetSha1()

Returns

string?