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","."]
docstr: Creates a new instance of the RESTObject.
  
  Parameters
  ----------
  
  The parameters depend on __rest__. Each item in __rest__ is searched
  for. If found, it is assigned to the instance. Additional parameters
  are ignored.
docstr_tok: ["Creates","a","new","instance","of","the","RESTObject",".","Parameters","--","--","--","--","--","The","parameters","depend","on","__rest__",".","Each","item","in","__rest__","is","searched","for",".","If","found",",","it","is","assigned","to","the","instance",".","Additional","parameters","are","ignored","."]
code: def __init__(self, **kwargs):
      """Creates a new instance of the RESTObject.
  
      Parameters
      ----------
  
      The parameters depend on __rest__. Each item in __rest__ is searched
      for. If found, it is assigned to the instance. Additional parameters
      are ignored.
  
      """
      logger.info(
          f"Initializing {self.__class__.__name__} from {kwargs}"
      )
      for attr in self.__rest__:
          if attr in kwargs:
              setattr(self, attr, kwargs.pop(attr))
  
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 1 to create a new RESTObject object from inherited base classes: MutableMapping with example: obj = RESTObject()