@classmethod
def _from_generated(cls, generated):
    delegation_key = cls()
    delegation_key.signed_oid = generated.signed_oid
    delegation_key.signed_tid = generated.signed_tid
    delegation_key.signed_start = generated.signed_start
    delegation_key.signed_expiry = generated.signed_expiry
    delegation_key.signed_service = generated.signed_service
    delegation_key.signed_version = generated.signed_version
    delegation_key.value = generated.value
    return delegation_key
@classmethod
def _from_generated(cls, generated):
    delegation_key = cls()
    delegation_key.signed_oid = generated.signed_oid
    delegation_key.signed_tid = generated.signed_tid
    delegation_key.signed_start = generated.signed_start
    delegation_key.signed_expiry = generated.signed_expiry
    delegation_key.signed_service = generated.signed_service
    delegation_key.signed_version = generated.signed_version
    delegation_key.value = generated.value
    return delegation_key