Результат метода account.changePassword
예제 #1
0
        /// <summary>
        /// Разобрать из json.
        /// </summary>
        /// <param name="response"> Ответ сервера. </param>
        /// <returns> </returns>
        public static AccountChangePasswordResult FromJson(VkResponse response)
        {
            var item = new AccountChangePasswordResult
            {
                Token    = response[key : "token"]
                , Secret = response[key : "secret"]
            };

            return(item);
        }
예제 #2
0
        /// <summary>
        /// Разобрать из json.
        /// </summary>
        /// <param name="response">Ответ сервера.</param>
        /// <returns></returns>
        public static AccountChangePasswordResult FromJson(VkResponse response)
        {
            var item = new AccountChangePasswordResult
            {
                Token = response["token"],
                Secret = response["secret"]
            };

            return item;
        }