def __init__(self, raw_data):
    self.attributes = {'contractor': json.dumps(raw_data[0]), 'job_name': json.dumps(raw_data[1]), 'is_dayshift': json.dumps(int((raw_data[3] == 'Days'))), 'job_id': json.dumps(int(raw_data[4]))}
    self.contractor = raw_data[0]
    self.jobName = raw_data[1]
    self.startDate = raw_data[2]
    self.shift = raw_data[3]
    self.id = raw_data[4]
def __init__(self, raw_data):
    self.attributes = {'contractor': json.dumps(raw_data[0]), 'job_name': json.dumps(raw_data[1]), 'is_dayshift': json.dumps(int((raw_data[3] == 'Days'))), 'job_id': json.dumps(int(raw_data[4]))}
    self.contractor = raw_data[0]
    self.jobName = raw_data[1]
    self.startDate = raw_data[2]
    self.shift = raw_data[3]
    self.id = raw_data[4]