VkNet.Model.Topic.FromJson C# (CSharp) Method

FromJson() public static method

Разобрать из json.
public static FromJson ( VkResponse response ) : Topic
response VkNet.Utils.VkResponse Ответ сервера.
return Topic
        public static Topic FromJson(VkResponse response)
        {
            var topicItem = new Topic
            {
                Id = response["id"],
                Title = response["title"],
                Сreated = response["created"],
                СreatedBy = response["created_by"],
                Updated = response["updated"],
                UpdatedBy = response["updated_by"],
                IsClosed = response["is_closed"],
                IsFixed = response["is_fixed"],
                CommentsСount = response["comments"],
                FirstComment = response["first_comment"],
                LastComment = response["last_comment"],
            };

            return topicItem;
        }