'Initialize status tracker.
Args:
operation: [AgentOperation]  The operation returning the status.
original_response: [HttpResponseType] Contains JSON identifier object
returned from the Spinnaker request to track. This can be none to
indicate an error making the original request.'

def __init__(self, operation, original_response=None):

    super(SpinnakerStatus, self).__init__(operation, original_response)
    self.__request_id = original_response.output
    self.__current_state = None
    self.__detail_path = None
    self.__exception_details = None
    self.__error = None
    self.__json_doc = None
    if ((not original_response) or (original_response.http_code is None)):
        self.__current_state = 'REQUEST_FAILED'
        return
