def set(self, value):
<EOL>if not isinstance(value, self.TYPES[self.type]['<STR_LIT:type>']):<EOL><INDENT>badtype = type(value).__name__<EOL>raise BadRequest('<STR_LIT>' % (self.id, self.type, badtype))<EOL><DEDENT>if self.enumValues and value not in self.enumValues:<EOL><INDENT>raise BadRequest('<STR_LIT>' % (self.id, value, list(self.enumValues)))<EOL><DEDENT>tostr = self.TYPES[self.type]['<STR_LIT>']<EOL>self._setValue = tostr(value)<EOL>
Set a new value for this setitng. NOTE: You must call plex.settings.save() for before
            any changes to setting values are persisted to the :class:`~plexapi.server.PlexServer`.