Видеоальбом.
Страница документации ВКонтакте .
Ejemplo n.º 1
0
        internal static VideoAlbum FromJson(VkResponse response)
        {
            var album = new VideoAlbum();

            album.Id = Utilities.GetNullableLongId(response["id"]);
            album.OwnerId = response["owner_id"];
            album.Title = response["title"];
            album.Count = Utilities.GetNullableLongId(response["count"]);
            album.Photo160 = response["photo_160"];
            album.Photo320 = response["photo_320"];

            return album;
        }
Ejemplo n.º 2
0
        internal static VideoAlbum FromJson(VkResponse response)
        {
            var album = new VideoAlbum();

            album.Id       = Utilities.GetNullableLongId(response["id"]);
            album.OwnerId  = response["owner_id"];
            album.Title    = response["title"];
            album.Count    = Utilities.GetNullableLongId(response["count"]);
            album.Photo160 = response["photo_160"];
            album.Photo320 = response["photo_320"];

            return(album);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Разобрать из json.
        /// </summary>
        /// <param name="response">Ответ сервера.</param>
        /// <returns></returns>
        public static VideoAlbum FromJson(VkResponse response)
        {
            var album = new VideoAlbum
            {
                Id       = Utilities.GetNullableLongId(response["id"]),
                OwnerId  = response["owner_id"],
                Title    = response["title"],
                Count    = Utilities.GetNullableLongId(response["count"]),
                Photo160 = response["photo_160"],
                Photo320 = response["photo_320"]
            };

            return(album);
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Разобрать из json.
        /// </summary>
        /// <param name="response">Ответ сервера.</param>
        /// <returns></returns>
        public static VideoAlbum FromJson(VkResponse response)
        {
            var album = new VideoAlbum
            {
                Id = Utilities.GetNullableLongId(response["id"]),
                OwnerId = response["owner_id"],
                Title = response["title"],
                Count = Utilities.GetNullableLongId(response["count"]),
                Photo160 = response["photo_160"],
                Photo320 = response["photo_320"]
            };

            return album;
        }