Home C# model for nested properties
Reply: 0

C# model for nested properties

user493
1#
user493 Published in April 24, 2018, 6:40 am

I need to make API request to CloudFlare to purge cache of individual files.

Can someone please guide how to represent the below as C# model class.

files: [
        "http://www.example.com/css/styles.css",
        {
          "url": "http://www.example.com/cat_picture.jpg",
          "headers": {
            "Origin": "cloudflare.com",
            "CF-IPCountry": "US",
            "CF-Device-Type": "desktop"
          }
        }
      ]
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.285855 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO