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

        if not isinstance(obj, dict):
            return DelegatedAccessExternalIdsInner.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 DelegatedAccessExternalIdsInner) in the input: " + str(obj))

        _obj = DelegatedAccessExternalIdsInner.parse_obj({
            "external_id": obj.get("externalId"),
            "user_id": obj.get("userId"),
            "team_id": obj.get("teamId")
        })
        return _obj
Create an instance of DelegatedAccessExternalIdsInner from a dict
lightly/openapi_generated/swagger_client/models/delegated_access_external_ids_inner.py