VkNet.Model.VideoCatalogItem.FromJson C# (CSharp) Méthode

FromJson() public static méthode

–азобрать из json.
public static FromJson ( VkResponse response ) : VideoCatalogItem
response VkResponse ќтвет сервера.
Résultat VideoCatalogItem
        public static VideoCatalogItem FromJson(VkResponse response)
        {
            var item = new VideoCatalogItem
            {
                Id = response["id"],
                OwnerId = response["owner_id"],
                Title = response["title"],
                Type = response["type"],

                Duration = response["duration"],
                Description = response["description"],
                Date = response["date"],
                Views = response["views"],
                Comments = response["comments"],
                Photo130 = response["photo_130"],
                Photo320 = response["photo_320"],
                Photo640 = response["photo_640"],
                CanAdd = response["can_add"],
                CanEdit = response["can_edit"],

                Count = response["count"],
                Photo160 = response["photo_160"],
                UpdatedTime = response["updated_time"],
            };

            return item;
        }
VideoCatalogItem