Sets attributes of this user object.

    :type attr_dict: dict
    :param attr_dict: Parameters to set, with attribute keys.

    :rtype: :class:`.Base`
    :return: The current object.

def set(self, attr_dict):
    """Sets attributes of this user object.

    :type attr_dict: dict
    :param attr_dict: Parameters to set, with attribute keys.

    :rtype: :class:`.Base`
    :return: The current object.

    """
    for key in attr_dict:
      if key == self._id_attribute:
        setattr(self, self._id_attribute, attr_dict[key])
      else:
        setattr(self, u"_" + key, attr_dict[key])
    return self