'Updates specialized fields from http_response.
Args:
http_response: [HttpResponseType] From the last status update.'

def set_http_response(self, http_response):

    if (http_response.http_code is None):
        self.__current_state = 'Unknown'
        return
    decoder = JSONDecoder()
    self.__json_doc = decoder.decode(http_response.output)
    self._update_response_from_json(self.__json_doc)
