@@ -1051,26 +1051,39 @@ def __init__(
10511051class BrowserCookieFacet (Facet ):
10521052 def __init__ (
10531053 self ,
1054- name = None ,
1055- path = None ,
1056- created_time = None ,
1057- last_access_time = None ,
1058- expiration_time = None ,
1059- secure = None ,
1060- ):
1061- super ().__init__ ()
1054+ * args : Any ,
1055+ accessed_time : Optional [datetime ] = None ,
1056+ application : Optional [ObservableObject ] = None ,
1057+ cookie_domain : Optional [ObservableObject ] = None ,
1058+ cookie_name : Optional [str ] = None ,
1059+ cookie_path : Optional [str ] = None ,
1060+ created_time : Optional [datetime ] = None ,
1061+ expiration_time : Optional [datetime ] = None ,
1062+ is_secure : Optional [bool ] = None ,
1063+ ** kwargs : Any ,
1064+ ) -> None :
1065+ super ().__init__ (* args , ** kwargs )
10621066 self ["@type" ] = "uco-observable:BrowserCookieFacet"
1067+ self ._node_reference_vars (
1068+ ** {
1069+ "uco-observable:application" : application ,
1070+ "uco-observable:cookieDomain" : cookie_domain ,
1071+ }
1072+ )
10631073 self ._str_vars (
1064- ** {"uco-observable:cookieName" : name , "uco-observable:cookiePath" : path }
1074+ ** {
1075+ "uco-observable:cookieName" : cookie_name ,
1076+ "uco-observable:cookiePath" : cookie_path ,
1077+ }
10651078 )
10661079 self ._datetime_vars (
10671080 ** {
10681081 "uco-observable:observableCreatedTime" : created_time ,
1069- "uco-observable:lastAccessTime " : last_access_time ,
1082+ "uco-observable:accessedTime " : accessed_time ,
10701083 "uco-observable:expirationTime" : expiration_time ,
10711084 }
10721085 )
1073- self ._bool_vars (** {"uco-observable:isSecure" : secure })
1086+ self ._bool_vars (** {"uco-observable:isSecure" : is_secure })
10741087
10751088
10761089class File (ObservableObject ):
0 commit comments