

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sannel.House.ServerSDK
{
	public sealed class ApplicationLogEntryResults
	{
		public ApplicationLogEntryResults(RequestStatus status, IList<IApplicationLogEntry> data, Guid key)
		{
			Status = status;
			Data = data;
			Key = key;
		}

		public ApplicationLogEntryResults(RequestStatus status, IList<IApplicationLogEntry> data, Guid key, Exception exception)
		{
			Status = status;
			Data = data;
			Key = key;
			Exception = exception;
		}

		public RequestStatus Status
		{
			get;
			set;
		}

		public IList<IApplicationLogEntry> Data
		{
			get;
			set;
		}

		public Guid Key
		{
			get;
			set;
		}

		public Exception Exception
		{
			get;
			set;
		}
	}
}