21 lines
804 B
C#
21 lines
804 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace LCU.API.Internal.Operations.IncentiveApi.Configuration;
|
|
|
|
public class FileOperationsApiConfiguration
|
|
{
|
|
public string Url { get; set; }
|
|
public string GetFileContentEndpoint { get; set; }
|
|
public string WriteFileEndpoint { get; set; }
|
|
public string BuildDynamicFileListEndpoint { get; set; }
|
|
public int RetryCount { get; set; }
|
|
[NotMapped]
|
|
public Uri GetFileContentUri => new Uri(Url + GetFileContentEndpoint);
|
|
[NotMapped]
|
|
public Uri BuildDynamicFileListUri => new Uri(Url + BuildDynamicFileListEndpoint);
|
|
[NotMapped]
|
|
public Uri WriteFileEndpointUri => new Uri(Url + WriteFileEndpoint);
|
|
[NotMapped]
|
|
public Uri BuildDynamicFileListEndpointUri => new Uri(Url + BuildDynamicFileListEndpoint);
|
|
}
|