If you look carefully, you will find tools on the internet which will do that and create your classes for you - there are quite a few. I use this one:
json2csharp - generate c# classes from json[
^] which is free and gave me this set of C# classes:
public class Resource
{
public string public_id { get; set; }
public string type { get; set; }
public DateTime created_at { get; set; }
public int bytes { get; set; }
public int width { get; set; }
public int height { get; set; }
}
public class RootObject
{
public List<Resource> resources { get; set; }
}
Which (to be honest) anyone using JSON should have been able to create for themselves, given there is no complexity there at all!