using System.Collections.Generic;
using AyaNova.Models;

namespace AyaNova.Api.ControllerHelpers
{



    public class ApiPagedResponse<T>
    {

        public T[] items { get; }
        public object PageLinks { get; }
        public object Columns { get; }

        public ApiPagedResponse(T[] returnItems, object pageLinks, object columns = null)
        {
            items = returnItems;
            PageLinks = pageLinks;
            Columns = Columns;

        }
    }//eoc

     public class ApiPagedResponse
    {

        public object items { get; }
        public object PageLinks { get; }
        public string Columns { get; }

        public ApiPagedResponse(object returnItems, object pageLinks, string columns)
        {
            items = returnItems;
            PageLinks = pageLinks;
            Columns = columns;

        }
    }//eoc


}//eons