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
-
IBaseRequest
- Inherited Members
Properties
ContentType
public required string ContentType { get; init; }
Property Value
FileName
public required string FileName { get; init; }
Property Value
FileStorageProvider
public required string FileStorageProvider { get; init; }
Property Value
Length
public required long Length { get; init; }
Property Value
ObjectKey
public required string ObjectKey { get; init; }
Property Value
ThemeId
public ShortGuid? ThemeId { get; init; }
Property Value
- ShortGuid?
Methods
Empty()
public static CreateMediaItem.Command Empty()