using System.Collections.Generic;
using RestSharp.Deserializers;
public static void Main()
""appId"" : ""23456ghjk"",
""appName"" : ""portal"",
""appDescription"" : ""description"",
""isApiProtectionNeeded"": false
""providerName"" : ""primary"",
""providerId"" : ""3456hjk"",
""providerName"" : ""Premier"",
""providerId"" : ""7878jjij"",
ApplicationSettings items = JsonConvert.DeserializeObject<ApplicationSettings>(json);
Console.WriteLine("success: " + items.AppSettings);
Console.WriteLine("success: " + items.AppSettings.AppMeta.Protocol.IsApiProtectionNeeded);
Console.WriteLine("success: " + items.AppSettings.IdpMeta);
public class ApplicationSettings
public AppSettings AppSettings { get; set;}
public AppMeta AppMeta { get; set;}
public IdpMeta IdpMeta { get; set;}
public List<ClaimsMeta> ClaimsMeta {get; set;}
public string AppId {get; set;}
public string AppName {get; set;}
public string AppDescription {get; set;}
public string AppType {get; set;}
public List<string> RedirectUri {get; set;}
public Protocol Protocol{get; set;}
public string Type {get; set;}
public bool IsApiProtectionNeeded {get; set;}
public IDPs IDPs {get; set;}
public List<IDPDetails> IDPDetails {get; set;}
public string IdpId {get; set;}
public string IdpName {get; set;}
public List<ClaimProviders> ClaimProviders {get; set;}
public class ClaimProviders
public string ProviderName {get; set;}
public string ProviderId {get; set;}
public List<Claims> claims {get; set;}
public string Type {get; set;}
public string Value {get; set;}