def get_ref_id(self):

        """
            Return the ID of the resource to which this not is attached
        """
        if self.ref_key == 'NETWORK':
            return self.network_id
        elif self.ref_key == 'NODE':
            return self.node_id
        elif self.ref_key == 'LINK':
            return self.link_id
        elif self.ref_key == 'GROUP':
            return self.group_id
        elif self.ref_key == 'SCENARIO':
            return self.scenario_id
        elif self.ref_key == 'PROJECT':
            return self.project_id
def get_ref_id ( self ) : if self . ref_key == 'NETWORK' : return self . network_id elif self . ref_key == 'NODE' : return self . node_id elif self . ref_key == 'LINK' : return self . link_id elif self . ref_key == 'GROUP' : return self . group_id elif self . ref_key == 'SCENARIO' : return self . scenario_id elif self . ref_key == 'PROJECT' : return self . project_id
Return the ID of the resource to which this not is attached