def from_dict(cls, obj: dict) -> TagUpdateRequest:
        """Create an instance of TagUpdateRequest from a dict"""
        if obj is None:
            return None

        if not isinstance(obj, dict):
            return TagUpdateRequest.parse_obj(obj)

        # raise errors for additional fields in the input
        for _key in obj.keys():
            if _key not in cls.__properties:
                raise ValueError("Error due to additional fields (not defined in TagUpdateRequest) in the input: " + str(obj))

        _obj = TagUpdateRequest.parse_obj({
            "update_creator": obj.get("updateCreator"),
            "name": obj.get("name"),
            "bit_mask_data": obj.get("bitMaskData"),
            "changes": TagChangeData.from_dict(obj.get("changes")) if obj.get("changes") is not None else None
        })
        return _obj
Create an instance of TagUpdateRequest from a dict
lightly/openapi_generated/swagger_client/models/tag_update_request.py