How to get config variable api data from json?

Options
Anuja.Kulkarni64
Anuja.Kulkarni64 Posts: 13 ASC Beta Tester

Hi,

 

I have written class inc #

 

 public class Configvariable

  {

    public string ConfigId { get; set; }

    public string Name { get; set; }

    public string Scope { get; set; }

    public string Description { get; set; }

    public string DataType { get; set; }

    public string DefaultValue { get; set; }

    public bool CanEditSystemValue { get; set; }

    public bool CanEditOverrideValues { get; set; }

    public bool IsSensitiveData { get; set; }

    public List<allowed> AllowedValues { get; set; }

  }

  public class allowed

  {

    public string Value { get; set; }

  }

 

I am not able to get values for items when i deserelize response . Could you please let me know, what's wrong in defining classes?