'Constructs a JenkinsOperationStatus object.
Args:
operation [BaseJenkinsOperation]: The Jenkins operation that this is for.
status_class [AgentOperationClass]: The status class used to monitor the
action that the jenkins trigger kicked off.
path [string]: The path the trigger_status should poll on.
http_response [HttpResponseType]: Response given by Jenkins to the
trigger.'

def __init__(self, operation, status_class, path, http_response):

    super(JenkinsOperationStatus, self).__init__(operation)
    self.__trigger_status = status_class(operation, http_response)
    self.__trigger_status._bind_id('n/a    for    synchronous    request')
    self.__trigger_status._bind_detail_path(path)
