Table of Contents

Class ContentVersionDto

Namespace
Biwen.QuickApi.Contents.Apis
Assembly
Biwen.QuickApi.Contents.dll
[AutoDto<ContentVersion>(new string[] { })]
[AutoDtoComplex(2)]
public record ContentVersionDto : IEquatable<ContentVersionDto>
Inheritance
ContentVersionDto
Implements
Inherited Members
Extension Methods

Constructors

ContentVersionDto()

public ContentVersionDto()

ContentVersionDto(ContentVersionDto)

protected ContentVersionDto(ContentVersionDto original)

Parameters

original ContentVersionDto

Properties

Content

public ContentDto Content { get; set; }

Property Value

ContentDto

ContentId

[Required]
public Guid ContentId { get; set; }

Property Value

Guid

CreatedAt

[Required]
public DateTime CreatedAt { get; set; }

Property Value

DateTime

CreatorId

[StringLength(100)]
public string? CreatorId { get; set; }

Property Value

string

CreatorName

[StringLength(100)]
public string? CreatorName { get; set; }

Property Value

string

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

Id

public Guid Id { get; set; }

Property Value

Guid

Snapshot

[Required]
public string Snapshot { get; set; }

Property Value

string

Version

[Required]
public int Version { get; set; }

Property Value

int

Methods

Equals(ContentVersionDto?)

public virtual bool Equals(ContentVersionDto? other)

Parameters

other ContentVersionDto

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ContentVersionDto?, ContentVersionDto?)

public static bool operator ==(ContentVersionDto? left, ContentVersionDto? right)

Parameters

left ContentVersionDto
right ContentVersionDto

Returns

bool

operator !=(ContentVersionDto?, ContentVersionDto?)

public static bool operator !=(ContentVersionDto? left, ContentVersionDto? right)

Parameters

left ContentVersionDto
right ContentVersionDto

Returns

bool