def rename(self, new_name):
    '\n    Rename a host template.\n    @param new_name: New host template name.\n    @return: An ApiHostTemplate object.\n    '
    update = copy.copy(self)
    update.name = new_name
    return self._do_update(update)
Rename a host template.
@param new_name: New host template name.
@return: An ApiHostTemplate object.
def rename(self, new_name):
    '\n    Rename a host template.\n    @param new_name: New host template name.\n    @return: An ApiHostTemplate object.\n    '
    update = copy.copy(self)
    update.name = new_name
    return self._do_update(update)