# ======== Tasks ========

# TODO find out if this information one task has is up to date.

class BoincTask:
    def __init__(
            self, 
            name, 
            workunit_name,
            project_url,
            received,
            report_deadline,
            ready_to_report,
            state,
            scheduler_state,
            active_task_state,
            app_version_num,
            resources,
            estimated_cpu_time_remaining
        ):
        self.name = name
        self.workunit_name = workunit_name
        self.project_url = project_url
        self.received = received
        self.report_deadline = report_deadline
        self.ready_to_report = ready_to_report
        self.state = state
        self.scheduler_state = scheduler_state
        self.active_task_state = active_task_state
        self.app_version_num = app_version_num
        self.resources = resources
        self.estimated_cpu_time_remaining = estimated_cpu_time_remaining