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

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

        _obj = SharedAccessConfigData.parse_obj({
            "id": obj.get("id"),
            "owner": obj.get("owner"),
            "access_type": obj.get("accessType"),
            "users": obj.get("users"),
            "teams": obj.get("teams"),
            "created_at": obj.get("createdAt"),
            "last_modified_at": obj.get("lastModifiedAt")
        })
        return _obj
Create an instance of SharedAccessConfigData from a dict
lightly/openapi_generated/swagger_client/models/shared_access_config_data.py