﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Air.Client.Submission
{
    public class SubmissionResponse
    {
        public SubmissionResponse(int statusCode, string message = null)
        {
            StatusCode = statusCode;
            Message = message;

            Success = statusCode >= 200 && statusCode <= 299;
        }

        public bool Success { get; private set; }
        
        public int StatusCode { get; private set; }
        public string Message { get; private set; }
    }
}
