@@ -22,6 +22,10 @@ class GetNetworkMetadataResponse200:
22
22
default_topology (Union[Unset, str]): Indicates the default topology of the network used when creating a
23
23
project. Values can be "star" or "tree".
24
24
dpo_authorization_enabled (Union[Unset, bool]): Indicates if collective projects require authorization.
25
+ e_2_ee_enforced (Union[Unset, bool]): Indicates if the instance is configured to only allow end-to-end encrypted
26
+ computations.
27
+ When this mode is activated, the e2e project setting cannot be toggled off anymore and only computations
28
+ supporting e2e mode can be launched.
25
29
network_type (Union[Unset, GetNetworkMetadataResponse200NetworkType]): Indicates the type of network. Values can
26
30
be "default" or "sse".
27
31
networks (Union[Unset, List['Network']]):
@@ -32,6 +36,7 @@ class GetNetworkMetadataResponse200:
32
36
compound_queries_enabled : Union [Unset , bool ] = UNSET
33
37
default_topology : Union [Unset , str ] = UNSET
34
38
dpo_authorization_enabled : Union [Unset , bool ] = UNSET
39
+ e_2_ee_enforced : Union [Unset , bool ] = UNSET
35
40
network_type : Union [Unset , GetNetworkMetadataResponse200NetworkType ] = UNSET
36
41
networks : Union [Unset , List ["Network" ]] = UNSET
37
42
nodes : Union [Unset , List ["Node" ]] = UNSET
@@ -42,6 +47,7 @@ def to_dict(self) -> Dict[str, Any]:
42
47
compound_queries_enabled = self .compound_queries_enabled
43
48
default_topology = self .default_topology
44
49
dpo_authorization_enabled = self .dpo_authorization_enabled
50
+ e_2_ee_enforced = self .e_2_ee_enforced
45
51
network_type : Union [Unset , str ] = UNSET
46
52
if not isinstance (self .network_type , Unset ):
47
53
network_type = self .network_type .value
@@ -75,6 +81,8 @@ def to_dict(self) -> Dict[str, Any]:
75
81
field_dict ["defaultTopology" ] = default_topology
76
82
if dpo_authorization_enabled is not UNSET :
77
83
field_dict ["dpoAuthorizationEnabled" ] = dpo_authorization_enabled
84
+ if e_2_ee_enforced is not UNSET :
85
+ field_dict ["e2eeEnforced" ] = e_2_ee_enforced
78
86
if network_type is not UNSET :
79
87
field_dict ["networkType" ] = network_type
80
88
if networks is not UNSET :
@@ -98,6 +106,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
98
106
99
107
dpo_authorization_enabled = d .pop ("dpoAuthorizationEnabled" , UNSET )
100
108
109
+ e_2_ee_enforced = d .pop ("e2eeEnforced" , UNSET )
110
+
101
111
_network_type = d .pop ("networkType" , UNSET )
102
112
network_type : Union [Unset , GetNetworkMetadataResponse200NetworkType ]
103
113
if isinstance (_network_type , Unset ):
@@ -125,6 +135,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
125
135
compound_queries_enabled = compound_queries_enabled ,
126
136
default_topology = default_topology ,
127
137
dpo_authorization_enabled = dpo_authorization_enabled ,
138
+ e_2_ee_enforced = e_2_ee_enforced ,
128
139
network_type = network_type ,
129
140
networks = networks ,
130
141
nodes = nodes ,
0 commit comments