class_docstr: A base class that has methods generally useful for interacting with
  REST objects. The attributes are accessible either as dict keys or as
  attributes. The object also behaves like a dict, even replicating the
  repr() functionality.
  
  Attributes
  ----------
  
  __rest__ : set of str
      A set of all the rest attribute names. This is generated automatically
      and should include all of the base classes' __rest__ as well as any
      addition RESTProperty.
class_docstr_tok: ["A","base","class","that","has","methods","generally","useful","for","interacting","with","REST","objects",".","The","attributes","are","accessible","either","as","dict","keys","or","as","attributes",".","The","object","also","behaves","like","a","dict",",","even","replicating","the","repr","(",")","functionality",".","Attributes","--","--","--","--","--","__rest__",":","set","of","str","A","set","of","all","the","rest","attribute","names",".","This","is","generated","automatically","and","should","include","all","of","the","base","classes","'","__rest__","as","well","as","any","addition","RESTProperty","."]
code: def __setitem__(self, item, value):
      if item not in self.__rest__:
          raise KeyError(item)
      setattr(self, item, value)
  
imports: import abc
  from collections.abc import MutableMapping
  import logging
  import requests
  from requests.auth import HTTPBasicAuth
  from re import compile
  import json
label_desc: Use image node_id 9 for calling the RESTObject obj's underlying member method code with example usage: obj.__setitem__(item, value) without return types