@@ -957,6 +957,55 @@ def __setattr__(self, name: str, value: typing.Any) -> None:
957957 super ().__setattr__ (name , value )
958958
959959
960+ class FbValidateImageTutorial (TypesyncModel ):
961+ projectType : typing .Literal [10 ]
962+ customOptions : list [FbObjCustomOption ] | TypesyncUndefined | None = UNDEFINED
963+
964+ class Config :
965+ use_enum_values = False
966+ extra = "forbid"
967+
968+ @typing .override
969+ def __setattr__ (self , name : str , value : typing .Any ) -> None :
970+ if name == "customOptions" and value is None :
971+ raise ValueError ("'customOptions' field cannot be set to None" )
972+ super ().__setattr__ (name , value )
973+
974+
975+ class FbValidateImageTutorialTask (TypesyncModel ):
976+ groupId : int
977+ projectId : str
978+ referenceAnswer : int
979+ screen : int
980+ geometry : str
981+ taskId : str
982+ fileName : str
983+ url : str
984+ width : int | TypesyncUndefined | None = UNDEFINED
985+ height : int | TypesyncUndefined | None = UNDEFINED
986+ annotationId : str | TypesyncUndefined | None = UNDEFINED
987+ bbox : list [float ] | TypesyncUndefined | None = UNDEFINED
988+ segmentation : list [list [float ]] | TypesyncUndefined | None = UNDEFINED
989+
990+ class Config :
991+ use_enum_values = False
992+ extra = "forbid"
993+
994+ @typing .override
995+ def __setattr__ (self , name : str , value : typing .Any ) -> None :
996+ if name == "width" and value is None :
997+ raise ValueError ("'width' field cannot be set to None" )
998+ if name == "height" and value is None :
999+ raise ValueError ("'height' field cannot be set to None" )
1000+ if name == "annotationId" and value is None :
1001+ raise ValueError ("'annotationId' field cannot be set to None" )
1002+ if name == "bbox" and value is None :
1003+ raise ValueError ("'bbox' field cannot be set to None" )
1004+ if name == "segmentation" and value is None :
1005+ raise ValueError ("'segmentation' field cannot be set to None" )
1006+ super ().__setattr__ (name , value )
1007+
1008+
9601009class FbUserReadonlyType (TypesyncModel ):
9611010 """Represents user fields that cannot be updated from backend"""
9621011
0 commit comments