﻿using System;
using System.Collections.Generic;
using CVR.Newtonsoft.Json;

namespace CVR.CCKEditor.API
{
    [Serializable]
    public class MyContentResponse
    {
        [JsonProperty("totalPages")]
        public int TotalPages { get; set; }

        [JsonProperty("entries")]
        public List<MyContentData> Entries { get; set; }
    }
    
    [Serializable]
    public class MyContentData
    {
        [JsonProperty("platforms")]
        public List<string> Platforms { get; set; }

        [JsonProperty("public")]
        public bool IsPublic { get; set; }

        [JsonProperty("description")]
        public string Description { get; set; }

        [JsonProperty("image")]
        public string ImageUrl { get; set; }

        [JsonProperty("id")]
        public string ID { get; set; }

        [JsonProperty("name")]
        public string Name { get; set; }
        
        [JsonProperty("playerCount")]
        public int PlayerCount { get; set; } // World cck/my gives this ???
    }
}