public static IEnumerable <CitrinaObject> Process()
        {
            var result = new List <CitrinaObject>();

            var apiSchema = new VKApiSchema();
            var responses = apiSchema.GetResponsesAsync().Result.Responses;

            foreach (var response in responses)
            {
                if ((response.Object.Type != ApiObjectType.Object || response.Object.Reference != null) && response.Object.Properties == null)
                {
                    continue;
                }

                var citrinaObject = new CitrinaObject
                {
                    Name       = response.Name,
                    Properties = GetObjectProperties(response.Object)
                };

                if (response.Type == ApiObjectType.Object || response.Type == ApiObjectType.Undefined)
                {
                    result.Add(citrinaObject);
                }
            }

            return(result);
        }
        public static IEnumerable <CitrinaObject> Process()
        {
            var result = new List <CitrinaObject>();

            var apiSchema = new VKApiSchema();
            var objects   = apiSchema.GetObjectsAsync().Result.Objects;

            foreach (var obj in objects)
            {
                var citrinaObject = new CitrinaObject
                {
                    Name       = obj.Name,
                    Properties = GetObjectProperties(obj),
                    ParentType = GetParentType(obj)
                };

                if (obj.Type == ApiObjectType.Object || obj.Type == ApiObjectType.Undefined)
                {
                    result.Add(citrinaObject);
                }
            }

            return(result);
        }