public Flavor Get(string id, Identity identity)
 {
     Flavor flavor = new Flavor();
     RequestManager requestManager = new RequestManager(identity);
     var uri = String.Format("/flavors/{0}", id);
     JObject response = requestManager.Get(uri, "nova");
     flavor.Name = response["flavor"]["name"].ToString();
     flavor.Id = response["flavor"]["id"].ToString();
     return flavor;
 }
 public IList<Flavor> List(Identity identity)
 {
     IList<Flavor> list = new List<Flavor>();
     RequestManager requestManager = new RequestManager(identity);
     var uri = "/flavors/detail";
     JObject response = requestManager.Get(uri, "nova");
     var tempinstances = response["flavors"];
     foreach (var tempinstance in tempinstances)
     {
         var instance = new Flavor()
         {
             Id = tempinstance["id"].ToString(),
             Name = tempinstance["name"].ToString()
         };
         list.Add(instance);
     }
     return list;
 }