@@ -77,6 +77,10 @@ def __init__(self) -> None:
7777 self ._enabled : Optional [bool ] = None
7878 self ._use_default_setting : Optional [bool ] = None
7979 self .safe_list : Optional [list [SafeExtension ]] = None
80+ self ._allow_trusted : Optional [bool ] = None
81+ self ._include_tableau_built : Optional [bool ] = None
82+ self ._include_partner_built : Optional [bool ] = None
83+ self ._include_sandboxed : Optional [bool ] = None
8084
8185 @property
8286 def enabled (self ) -> Optional [bool ]:
@@ -96,6 +100,42 @@ def use_default_setting(self) -> Optional[bool]:
96100 def use_default_setting (self , value : Optional [bool ]) -> None :
97101 self ._use_default_setting = value
98102
103+ @property
104+ def allow_trusted (self ) -> Optional [bool ]:
105+ return self ._allow_trusted
106+
107+ @allow_trusted .setter
108+ @property_is_boolean
109+ def allow_trusted (self , value : Optional [bool ]) -> None :
110+ self ._allow_trusted = value
111+
112+ @property
113+ def include_tableau_built (self ) -> Optional [bool ]:
114+ return self ._include_tableau_built
115+
116+ @include_tableau_built .setter
117+ @property_is_boolean
118+ def include_tableau_built (self , value : Optional [bool ]) -> None :
119+ self ._include_tableau_built = value
120+
121+ @property
122+ def include_partner_built (self ) -> Optional [bool ]:
123+ return self ._include_partner_built
124+
125+ @include_partner_built .setter
126+ @property_is_boolean
127+ def include_partner_built (self , value : Optional [bool ]) -> None :
128+ self ._include_partner_built = value
129+
130+ @property
131+ def include_sandboxed (self ) -> Optional [bool ]:
132+ return self ._include_sandboxed
133+
134+ @include_sandboxed .setter
135+ @property_is_boolean
136+ def include_sandboxed (self , value : Optional [bool ]) -> None :
137+ self ._include_sandboxed = value
138+
99139 @classmethod
100140 def from_response (cls : type [Self ], response , ns ) -> Self :
101141 xml = fromstring (response )
@@ -108,6 +148,14 @@ def from_response(cls: type[Self], response, ns) -> Self:
108148 obj .enabled = string_to_bool (enabled_element .text )
109149 if (default_settings_element := element .find ("./t:useDefaultSetting" , namespaces = ns )) is not None :
110150 obj .use_default_setting = string_to_bool (default_settings_element .text )
151+ if (allow_trusted_element := element .find ("./t:allowTrusted" , namespaces = ns )) is not None :
152+ obj .allow_trusted = string_to_bool (allow_trusted_element .text )
153+ if (include_tableau_built_element := element .find ("./t:includeTableauBuilt" , namespaces = ns )) is not None :
154+ obj .include_tableau_built = string_to_bool (include_tableau_built_element .text )
155+ if (include_partner_built_element := element .find ("./t:includePartnerBuilt" , namespaces = ns )) is not None :
156+ obj .include_partner_built = string_to_bool (include_partner_built_element .text )
157+ if (include_sandboxed_element := element .find ("./t:includeSandboxed" , namespaces = ns )) is not None :
158+ obj .include_sandboxed = string_to_bool (include_sandboxed_element .text )
111159
112160 safe_list = []
113161 for safe_extension_element in element .findall ("./t:safeList" , namespaces = ns ):
0 commit comments