﻿using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using Newtonsoft.Json;
using Zencoder.HttpHelpers;

namespace Zencoder.Jobs
{
    /// <summary>
    ///     Wraps a <see cref="Job" /> object for proper deserialization in a <see cref="ListJobsResponse" />.
    /// </summary>
    [JsonObject(MemberSerialization = MemberSerialization.OptIn)]
    public class JobContentBody
    {
        [JsonProperty("job")]
        public Job Job { get; set; }
    }


    public class JobCollection : List<JobContentBody>//, IResponse
    {
        //[JsonIgnore]
        //public HttpRequestException RequestException { get; }
        //[JsonIgnore]
        //public HttpStatusCode StatusCode { get; }
        //[JsonIgnore]
        //public HttpStatusCode IgnoreCode { get; }
        //[JsonIgnore]
        //public bool Success { get; }
    }
}