25 lines
720 B
C#
25 lines
720 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FileService.Domain.ValueObjects
|
|
{
|
|
public class StorageLocation
|
|
{
|
|
public string StorageProvider { get; private set; }
|
|
public string Bucket { get; private set; }
|
|
public string ObjectKey { get; private set; }
|
|
public string? Region { get; private set; }
|
|
|
|
public StorageLocation(string storageProvider, string bucket, string objectKey, string? region = null)
|
|
{
|
|
this.StorageProvider = storageProvider;
|
|
this.Bucket = bucket;
|
|
this.ObjectKey = objectKey;
|
|
this.Region = region;
|
|
}
|
|
}
|
|
}
|