@@ -26,9 +26,10 @@ class ImageOptionResponse(BaseModel):
2626 ImageOptionResponse
2727 """
2828 data_uri : Optional [StrictStr ] = None
29+ guid : Optional [StrictStr ] = None
2930 label : Optional [StrictStr ] = None
3031 value : Optional [StrictStr ] = None
31- __properties = ["data_uri" , "label" , "value" ]
32+ __properties = ["data_uri" , "guid" , " label" , "value" ]
3233
3334 class Config :
3435 """Pydantic configuration"""
@@ -59,6 +60,11 @@ def to_dict(self):
5960 if self .data_uri is None and "data_uri" in self .__fields_set__ :
6061 _dict ['data_uri' ] = None
6162
63+ # set to None if guid (nullable) is None
64+ # and __fields_set__ contains the field
65+ if self .guid is None and "guid" in self .__fields_set__ :
66+ _dict ['guid' ] = None
67+
6268 # set to None if label (nullable) is None
6369 # and __fields_set__ contains the field
6470 if self .label is None and "label" in self .__fields_set__ :
@@ -82,6 +88,7 @@ def from_dict(cls, obj: dict) -> ImageOptionResponse:
8288
8389 _obj = ImageOptionResponse .parse_obj ({
8490 "data_uri" : obj .get ("data_uri" ),
91+ "guid" : obj .get ("guid" ),
8592 "label" : obj .get ("label" ),
8693 "value" : obj .get ("value" )
8794 })
0 commit comments