/// <summary>
        /// Parses a TeleSign PhoneID Contact JSON response into a rich object.
        /// </summary>
        /// <param name="json">The json string containing the response.</param>
        /// <returns>A ContactPhoneIdResponse object populated with the data from the response.</returns>
        public PhoneIdContactResponse ParsePhoneIdContactResponse(string json)
        {
            CheckArgument.NotNull(json, "json");

            JObject node = JObject.Parse(json);

            PhoneIdContactResponse response = new PhoneIdContactResponse(json);
            this.PopulateCommonPhoneIdResponseFields(response, node);
            this.PopulateStatusResponseFields(response, node);
            this.PopulatePhoneIdStandardResponseFields(response, node);

            response.Contact = this.ParseContactInfo(node["contact"]);

            return response;
        }
        /// <summary>
        /// Parses a TeleSign PhoneID Contact JSON response into a rich object.
        /// </summary>
        /// <param name="json">The json string containing the response.</param>
        /// <returns>A ContactPhoneIdResponse object populated with the data from the response.</returns>
        public PhoneIdContactResponse ParsePhoneIdContactResponse(string json)
        {
            CheckArgument.NotNull(json, "json");

            JObject node = JObject.Parse(json);

            PhoneIdContactResponse response = new PhoneIdContactResponse(json);

            this.PopulateCommonPhoneIdResponseFields(response, node);
            this.PopulateStatusResponseFields(response, node);
            this.PopulatePhoneIdStandardResponseFields(response, node);

            response.Contact = this.ParseContactInfo(node["contact"]);

            return(response);
        }