diff --git a/Inflow.Api/Helper/ResourceLink.cs b/Inflow.Api/Helper/ResourceLink.cs new file mode 100644 index 0000000..79f1d48 --- /dev/null +++ b/Inflow.Api/Helper/ResourceLink.cs @@ -0,0 +1,26 @@ +namespace Inflow.Api.Helper +{ + public class ResourceLink + { + public string? Rel { get; set; } + public string? Href { get; set; } + public string? Method { get; set; } + + public ResourceLink() + { + } + + public ResourceLink(string? rel, string? href) + { + Rel = rel; + Href = href; + } + + public ResourceLink(string? rel, string? href, string? method) + : this(rel, href) + { + Method = method; + } + } +} + diff --git a/Inflow.Api/Helper/ResourceType.cs b/Inflow.Api/Helper/ResourceType.cs new file mode 100644 index 0000000..615b79e --- /dev/null +++ b/Inflow.Api/Helper/ResourceType.cs @@ -0,0 +1,9 @@ +namespace Inflow.Api.Helper +{ + public enum ResourceType + { + CurrentPage, + NextPage, + PreviousPage, + } +}