@@ -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,43 @@ 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+
104+ @property
105+ def allow_trusted (self ) -> Optional [bool ]:
106+ return self ._allow_trusted
107+
108+ @allow_trusted .setter
109+ @property_is_boolean
110+ def allow_trusted (self , value : Optional [bool ]) -> None :
111+ self ._allow_trusted = value
112+
113+ @property
114+ def include_tableau_built (self ) -> Optional [bool ]:
115+ return self ._include_tableau_built
116+
117+ @include_tableau_built .setter
118+ @property_is_boolean
119+ def include_tableau_built (self , value : Optional [bool ]) -> None :
120+ self ._include_tableau_built = value
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+
139+
99140 @classmethod
100141 def from_response (cls : type [Self ], response , ns ) -> Self :
101142 xml = fromstring (response )
@@ -108,6 +149,14 @@ def from_response(cls: type[Self], response, ns) -> Self:
108149 obj .enabled = string_to_bool (enabled_element .text )
109150 if (default_settings_element := element .find ("./t:useDefaultSetting" , namespaces = ns )) is not None :
110151 obj .use_default_setting = string_to_bool (default_settings_element .text )
152+ if (allow_trusted_element := element .find ("./t:allowTrusted" , namespaces = ns )) is not None :
153+ obj .allow_trusted = string_to_bool (allow_trusted_element .text )
154+ if (include_tableau_built_element := element .find ("./t:includeTableauBuilt" , namespaces = ns )) is not None :
155+ obj .include_tableau_built = string_to_bool (include_tableau_built_element .text )
156+ if (include_partner_built_element := element .find ("./t:includePartnerBuilt" , namespaces = ns )) is not None :
157+ obj .include_partner_built = string_to_bool (include_partner_built_element .text )
158+ if (include_sandboxed_element := element .find ("./t:includeSandboxed" , namespaces = ns )) is not None :
159+ obj .include_sandboxed = string_to_bool (include_sandboxed_element .text )
111160
112161 safe_list = []
113162 for safe_extension_element in element .findall ("./t:safeList" , namespaces = ns ):
0 commit comments