using System.Collections.Generic;
public static void Main()
var ddm = new deviceDetailsModel();
foreach (deviceDetailsModel.Detail d in ddm.device.details)
foreach (deviceDetailsModel.entry e in d)
public class deviceDetailsModel
public int totalCount { get; set; }
public string messages { get; set; }
public Device device { get; set; }
public string key { get; set; }
public object value { get; set; }
public List<Entry> entry { get; set; }
public string @id { get; set; }
public string uuid { get; set; }
public string principal { get; set; }
public int blockReason { get; set; }
public int clientId { get; set; }
public string comment { get; set; }
public int compliance { get; set; }
public int countryCode { get; set; }
public int countryId { get; set; }
public string countryName { get; set; }
public string createdAt { get; set; }
public string currentPhoneNumber { get; set; }
public List<Detail> details { get; set; }