Table of Contents

Class CreateMediaItem.Command

Namespace
Raytha.Application.MediaItems.Commands
Assembly
Raytha.Application.dll
public record CreateMediaItem.Command : LoggableEntityRequest<CommandResponseDto<ShortGuid>>, IRequest<CommandResponseDto<ShortGuid>>, IBaseRequest, ILoggableRequest, IEquatable<LoggableRequest<CommandResponseDto<ShortGuid>>>, ILoggableEntityRequest, IEquatable<LoggableEntityRequest<CommandResponseDto<ShortGuid>>>, IEquatable<CreateMediaItem.Command>
Inheritance
CreateMediaItem.Command
Implements
IRequest<CommandResponseDto<ShortGuid>>
IBaseRequest
Inherited Members

Properties

ContentType

public required string ContentType { get; init; }

Property Value

string

FileName

public required string FileName { get; init; }

Property Value

string

FileStorageProvider

public required string FileStorageProvider { get; init; }

Property Value

string

Length

public required long Length { get; init; }

Property Value

long

ObjectKey

public required string ObjectKey { get; init; }

Property Value

string

ThemeId

public ShortGuid? ThemeId { get; init; }

Property Value

ShortGuid?

Methods

Empty()

public static CreateMediaItem.Command Empty()

Returns

CreateMediaItem.Command