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

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

        _obj = InitialTagCreateRequest.parse_obj({
            "name": obj.get("name"),
            "creator": obj.get("creator"),
            "img_type": obj.get("imgType"),
            "run_id": obj.get("runId")
        })
        return _obj
Create an instance of InitialTagCreateRequest from a dict
lightly/openapi_generated/swagger_client/models/initial_tag_create_request.py