Files
IM_NEW/IM.Commons/IntegrationEvents/UploadTaskCompleteEvent.cs
T

26 lines
733 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IM.Commons.IntegrationEvents
{
public class UploadTaskCompleteEvent
{
public Guid TaskId { get; set; }
public string SessionId { get; set; }
public string FileName { get; set; }
public string ProviderCode { get; set; }
public string Bucket { get; set; }
public string Region { get; set; }
public string ObjectKey { get; set; }
public IReadOnlyList<UploadPart> Parts { get; set; }
}
public sealed record UploadPart(
int PartNumber,
string ETag,
long? Size = null,
string? Checksum = null);
}