public static CategoriesResponse Load(dynamic dyn)
        {
            Func <dynamic, CategoriesResponse> func = (d) =>
            {
                return(new CategoriesResponse
                {
                    Data = CategoryGroupsWrapper.Load(d.data)
                });
            };

            return(YnabApi.ProcessApiResult(dyn, func));
        }
        public static CategoryGroupsWrapper Load(dynamic dyn)
        {
            Func <dynamic, CategoryGroupsWrapper> func = (d) =>
            {
                var result = new CategoryGroupsWrapper();
                foreach (var c in d.category_groups)
                {
                    result.CategoryGroups.Add(CategoryGroupWithCategories.Load(c));
                }
                return(result);
            };

            return(YnabApi.ProcessApiResult(dyn, func));
        }