from __future__ import absolute_import, division, print_function, unicode_literals

from amaascore.core.amaas_model import AMaaSModel


class Link(AMaaSModel):

    def __init__(self, linked_asset_id, active=True, version=1, *args, **kwargs):
        self.linked_asset_id = linked_asset_id
        self.active = active
        self.version = version
        super(Link, self).__init__(*args, **kwargs)

@@ -395,8 +395,251 @@
 kwargs)%0A
+%0Aclass Reference(AMaaSModel):%0A%0A    def __init__(self, reference_value, active=True, *args, **kwargs):%0A        self.reference_value = reference_value%0A        self.active = active%0A        super(Reference, self).__init__(*args, **kwargs)%0A        

add reference class to asset children