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

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

        _obj = ServiceAccountBasicData.parse_obj({
            "id": obj.get("id"),
            "name": obj.get("name"),
            "token": obj.get("token"),
            "created_at": obj.get("createdAt")
        })
        return _obj
Create an instance of ServiceAccountBasicData from a dict
lightly/openapi_generated/swagger_client/models/service_account_basic_data.py