@classmethod
def change_owner(cls, user_name, class_name, object_id):
    api = cls.instance()
    response_data = api.call('/grant/owner?userName={}&aclClass={}&id={}'.format(user_name, str(class_name).upper(), object_id), None, http_method='POST')
    if (('payload' in response_data) and ('entity' in response_data['payload'])):
        return response_data['payload']['entity']
    if ('message' in response_data):
        raise RuntimeError(response_data['message'])
    else:
        raise RuntimeError('Failed to change owner.')
@classmethod
def change_owner(cls, user_name, class_name, object_id):
    api = cls.instance()
    response_data = api.call('/grant/owner?userName={}&aclClass={}&id={}'.format(user_name, str(class_name).upper(), object_id), None, http_method='POST')
    if (('payload' in response_data) and ('entity' in response_data['payload'])):
        return response_data['payload']['entity']
    if ('message' in response_data):
        raise RuntimeError(response_data['message'])
    else:
        raise RuntimeError('Failed to change owner.')