... #APIResponse api_response = response.api_response #is an object of type APIDetail api_response.response_code #is an integer api_response.response_text #is a string