class Job:

    def __init__(self, raw_job, batch, machine):
        self.__raw_job = raw_job
        self.__batch = batch
        self.__machine = machine

    def __str__(self):
        return "Job %s" % str(self.__raw_job['id'])

    def get_account_id(self):
        return self.__batch.get_raw('account')

    def get_fair_machine_set(self):
        return self.__machine.fair_machine_set

    def get_batch(self):
        return self.__batch

    def get_start_time(self):
        return self.__raw_job['real_start_time']

    def get_finish_time(self):
        return self.__raw_job['real_start_time'] + self.__raw_job['real_duration']

    def get_id(self):
        return self.__raw_job['id']


class DummyJob:

    def __init__(self, account_id, fair_machine_set, maxt):
        self.__account_id = account_id
        self.__fair_machine_set = fair_machine_set
        self.__start_time = maxt

    def __str__(self):
        return "Dummy job, account_id: %d, fair_machine_set: %s" % (self.__account_id, str(self.__fair_machine_set))

    def get_account_id(self):
        return self.__account_id

    def get_fair_machine_set(self):
        return self.__fair_machine_set

    def get_start_time(self):
        return self.__start_time

e423efdba540f799d79b2e01146624963449a57e
class Job:
    <mask token>
    <mask token>

    def get_account_id(self):
        return self.__batch.get_raw('account')

    def get_fair_machine_set(self):
        return self.__machine.fair_machine_set

    def get_batch(self):
        return self.__batch
    <mask token>
    <mask token>
    <mask token>


class DummyJob:

    def __init__(self, account_id, fair_machine_set, maxt):
        self.__account_id = account_id
        self.__fair_machine_set = fair_machine_set
        self.__start_time = maxt

    def __str__(self):
        return 'Dummy job, account_id: %d, fair_machine_set: %s' % (self.
            __account_id, str(self.__fair_machine_set))

    def get_account_id(self):
        return self.__account_id

    def get_fair_machine_set(self):
        return self.__fair_machine_set

    def get_start_time(self):
        return self.__start_time

class Job:
    <mask token>
    <mask token>

    def get_account_id(self):
        return self.__batch.get_raw('account')

    def get_fair_machine_set(self):
        return self.__machine.fair_machine_set

    def get_batch(self):
        return self.__batch
    <mask token>
    <mask token>

    def get_id(self):
        return self.__raw_job['id']


class DummyJob:

    def __init__(self, account_id, fair_machine_set, maxt):
        self.__account_id = account_id
        self.__fair_machine_set = fair_machine_set
        self.__start_time = maxt

    def __str__(self):
        return 'Dummy job, account_id: %d, fair_machine_set: %s' % (self.
            __account_id, str(self.__fair_machine_set))

    def get_account_id(self):
        return self.__account_id

    def get_fair_machine_set(self):
        return self.__fair_machine_set

    def get_start_time(self):
        return self.__start_time

class Job:
    <mask token>
    <mask token>

    def get_account_id(self):
        return self.__batch.get_raw('account')

    def get_fair_machine_set(self):
        return self.__machine.fair_machine_set

    def get_batch(self):
        return self.__batch

    def get_start_time(self):
        return self.__raw_job['real_start_time']
    <mask token>

    def get_id(self):
        return self.__raw_job['id']


class DummyJob:

    def __init__(self, account_id, fair_machine_set, maxt):
        self.__account_id = account_id
        self.__fair_machine_set = fair_machine_set
        self.__start_time = maxt

    def __str__(self):
        return 'Dummy job, account_id: %d, fair_machine_set: %s' % (self.
            __account_id, str(self.__fair_machine_set))

    def get_account_id(self):
        return self.__account_id

    def get_fair_machine_set(self):
        return self.__fair_machine_set

    def get_start_time(self):
        return self.__start_time

class Job:

    def __init__(self, raw_job, batch, machine):
        self.__raw_job = raw_job
        self.__batch = batch
        self.__machine = machine

    def __str__(self):
        return 'Job %s' % str(self.__raw_job['id'])

    def get_account_id(self):
        return self.__batch.get_raw('account')

    def get_fair_machine_set(self):
        return self.__machine.fair_machine_set

    def get_batch(self):
        return self.__batch

    def get_start_time(self):
        return self.__raw_job['real_start_time']

    def get_finish_time(self):
        return self.__raw_job['real_start_time'] + self.__raw_job[
            'real_duration']

    def get_id(self):
        return self.__raw_job['id']


class DummyJob:

    def __init__(self, account_id, fair_machine_set, maxt):
        self.__account_id = account_id
        self.__fair_machine_set = fair_machine_set
        self.__start_time = maxt

    def __str__(self):
        return 'Dummy job, account_id: %d, fair_machine_set: %s' % (self.
            __account_id, str(self.__fair_machine_set))

    def get_account_id(self):
        return self.__account_id

    def get_fair_machine_set(self):
        return self.__fair_machine_set

    def get_start_time(self):
        return self.__start_time

class Job:

    def __init__(self, raw_job, batch, machine):
        self.__raw_job = raw_job
        self.__batch = batch
        self.__machine = machine

    def __str__(self):
        return "Job %s" % str(self.__raw_job['id'])

    def get_account_id(self):
        return self.__batch.get_raw('account')

    def get_fair_machine_set(self):
        return self.__machine.fair_machine_set

    def get_batch(self):
        return self.__batch

    def get_start_time(self):
        return self.__raw_job['real_start_time']

    def get_finish_time(self):
        return self.__raw_job['real_start_time'] + self.__raw_job['real_duration']

    def get_id(self):
        return self.__raw_job['id']


class DummyJob:

    def __init__(self, account_id, fair_machine_set, maxt):
        self.__account_id = account_id
        self.__fair_machine_set = fair_machine_set
        self.__start_time = maxt

    def __str__(self):
        return "Dummy job, account_id: %d, fair_machine_set: %s" % (self.__account_id, str(self.__fair_machine_set))

    def get_account_id(self):
        return self.__account_id

    def get_fair_machine_set(self):
        return self.__fair_machine_set

    def get_start_time(self):
        return self.__start_time
