I have a defined an object ( simplified below) and want to return an element as a list.

Is there an easier way than doing the below ?

```
class objectRecord(object):
    def __init__(self,fields):
        self.time=fields[0]
        self.definition=fields[1]
        self.name=fields[2]
        self.source=fields[3]
        self.size=fields[4]
        self.value=fields[5]
        self.increasedsize=fields[6]
        self.count=fields[7]

```

rest of `__init__` omitted

```
    def getList(self):
        return [self.name,self.definition,self.name,self.source,self.size,self.value,self.increasedsize,self.count]

```

rest of class omitted