<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def to_dict(self):
        '''Save this target port into a dictionary.'''
        d = super(TargetPort, self).to_dict()
        d['portName'] = self.port_name
        return d