def __init__(self, klass, jobs_key, api, json_dict, filters=None):
    self._api = api
    self.offset = int(json_dict['offset'])
    self.total = int(json_dict['total'])
    self.jobs = [klass(self._api, wf_dict) for wf_dict in json_dict[jobs_key]]
    self.filters = filters
json_dict is the oozie json.
dataset/ETHPy150Open cloudera/hue/desktop/libs/liboozie/src/liboozie/types.py/JobList.__init__