docs: def _from_dict(cls, _dict):
          """Initialize a DialogNodeOutput object from a json dictionary."""
          args = {}
          xtra = _dict.copy()
          if 'generic' in _dict:
              args['generic'] = [
                  DialogNodeOutputGeneric._from_dict(x)
                  for x in (_dict.get('generic'))
              ]
              del xtra['generic']
          if 'modifiers' in _dict:
              args['modifiers'] = DialogNodeOutputModifiers._from_dict(
                  _dict.get('modifiers'))
              del xtra['modifiers']
          args.update(xtra)
          return cls(**args)