Exemplo n.º 1
0
        private static ArrayList GetEdgeStrategies(FlowrouteNumbersAndMessagingClient client)
        {
            ArrayList return_list = new ArrayList();

            RoutesController routes = client.Routes;

            dynamic route_data = routes.ListEdgeStrategies();

            Console.WriteLine(route_data);

            foreach (var item in route_data.data)
            {
                Console.WriteLine("---------------------------\nEdge Strategies:\n");
                Console.WriteLine("Attributes:{0}\nId:{1}\nLinks:{2}\nType:{3}\n", item.attributes, item.id, item.links, item.type);
                return_list.Add((dynamic)item);
            }

            return(return_list);
        }