Exemple #1
0
 public static Image[] GetAllImages(string reqBody)
 {
     return(NtnxUtil.FromJson <Image>(NtnxUtil.RestCall("images/list", "POST", reqBody), (Func <dynamic, Image>)(j => new Image(j))));
 }
Exemple #2
0
 public static Subnet[] GetAllSubnets(string reqBody)
 {
     return(NtnxUtil.FromJson <Subnet>(
                NtnxUtil.RestCall("subnets/list", "POST", reqBody),
                (Func <dynamic, Subnet>)(j => new Subnet(j))));
 }