@@ -325,7 +325,7 @@ def __setattr__(self, name: str, value: typing.Any) -> None:
325325
326326class FbProjectValidateCreateOnlyInput (TypesyncModel ):
327327 """Represents VALIDATE project fields that are valid while creating a project"""
328- customOptions : typing .List [FbObjCustomOption ]
328+ customOptions : typing .Union [ TypesyncUndefined , typing . List [FbObjCustomOption ]] = UNDEFINED
329329 tileServer : FbObjRasterTileServer
330330 inputType : FbEnumValidateInputType
331331 filter : typing .Union [TypesyncUndefined , str ] = UNDEFINED
@@ -336,6 +336,8 @@ class Config:
336336 extra = 'forbid'
337337
338338 def __setattr__ (self , name : str , value : typing .Any ) -> None :
339+ if name == "customOptions" and value is None :
340+ raise ValueError ("'customOptions' field cannot be set to None" )
339341 if name == "filter" and value is None :
340342 raise ValueError ("'filter' field cannot be set to None" )
341343 if name == "TMId" and value is None :
@@ -842,13 +844,15 @@ class FbValidateTutorial(TypesyncModel):
842844 tileServer : FbObjRasterTileServer
843845 zoomLevel : int
844846 screens : typing .List [FbScreen ]
845- customOptions : typing .List [FbObjCustomOption ]
847+ customOptions : typing .Union [ TypesyncUndefined , typing . List [FbObjCustomOption ]] = UNDEFINED
846848
847849 class Config :
848850 use_enum_values = True
849851 extra = 'forbid'
850852
851853 def __setattr__ (self , name : str , value : typing .Any ) -> None :
854+ if name == "customOptions" and value is None :
855+ raise ValueError ("'customOptions' field cannot be set to None" )
852856 super ().__setattr__ (name , value )
853857
854858class FbValidateTutorialTaskProperties (TypesyncModel ):
0 commit comments