code: def deserialize(cls, cls_target, obj_raw):
          
  
          model_ = super()._deserialize_default(cls_target, obj_raw)
  
          if isinstance(
                  model_,
                  core.AnchoredObjectInterface
          ) and model_.is_all_field_none():
              for field in model_.__dict__:
                  object_class = cls._get_object_class(field)
                  contents = super()._deserialize_default(object_class, obj_raw)
  
                  if contents.is_all_field_none():
                      setattr(model_, field, None)
                  else:
                      setattr(model_, field, contents)
  
          return model_
docs: :type cls_target: core.BunqModel
          :type obj_raw: int|str|bool|float|list|dict|None
  
          :rtype: T