code: def _node_digest(self) -> Dict[str, Any]:
          
          res = {"kind": self._yang_class()}
          if self.mandatory:
              res["mandatory"] = True
          if self.description:
              res["description"] = self.description
          return res
docs: Return dictionary of receiver's properties suitable for clients.