@@ -38,7 +38,7 @@ class CreateLinkRequest(BaseModel):
3838 domain : Optional [StrictStr ] = Field (default = None , description = "Domain" )
3939 code : Optional [Annotated [str , Field (strict = True )]] = Field (default = None , description = "Custom short code" )
4040 label : Optional [StrictStr ] = Field (default = None , description = "Label" )
41- : Optional [Annotated [List [StrictStr ], Field (max_length = 3 )]] = Field (default = None , description = "Tags" )
41+ tags : Optional [Annotated [List [StrictStr ], Field (max_length = 3 )]] = Field (default = None , description = "Tags" )
4242 password : Optional [StrictStr ] = Field (default = None , description = "Password" )
4343 qrcode : Optional [CreateLinkRequestQrcode ] = None
4444 utm : Optional [GetLink200ResponseUtm ] = None
@@ -47,7 +47,7 @@ class CreateLinkRequest(BaseModel):
4747 expired_at : Optional [datetime ] = Field (default = None , description = "Scheduled expiration date" )
4848 expired_url : Optional [StrictStr ] = Field (default = None , description = "Expiration URL" )
4949 delete_after_expiration : Optional [StrictBool ] = Field (default = False , description = "Whether or not to remove the link after the expiry date" )
50- __properties : ClassVar [List [str ]] = ["url" , "team_id" , "folder_id" , "domain" , "code" , "label" , "" , "password" , "qrcode" , "utm" , "metatag" , "delete_at" , "expired_at" , "expired_url" , "delete_after_expiration" ]
50+ __properties : ClassVar [List [str ]] = ["url" , "team_id" , "folder_id" , "domain" , "code" , "label" , "tags " , "password" , "qrcode" , "utm" , "metatag" , "delete_at" , "expired_at" , "expired_url" , "delete_after_expiration" ]
5151
5252 @field_validator ('code' )
5353 def code_validate_regular_expression (cls , value ):
@@ -125,7 +125,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
125125 "domain" : obj .get ("domain" ),
126126 "code" : obj .get ("code" ),
127127 "label" : obj .get ("label" ),
128- "" : obj .get ("" ),
128+ "tags " : obj .get ("tags " ),
129129 "password" : obj .get ("password" ),
130130 "qrcode" : CreateLinkRequestQrcode .from_dict (obj ["qrcode" ]) if obj .get ("qrcode" ) is not None else None ,
131131 "utm" : GetLink200ResponseUtm .from_dict (obj ["utm" ]) if obj .get ("utm" ) is not None else None ,
0 commit comments