1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NetworkCommandOptions)]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `NetworkCommandOptions` dictionary."]
10 #[doc = ""]
11 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
12 pub type NetworkCommandOptions;
13 #[doc = "Get the `cmd` field of this object."]
14 #[doc = ""]
15 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
16 #[wasm_bindgen(method, getter = "cmd")]
17 pub fn get_cmd(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
18 #[doc = "Change the `cmd` field of this object."]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
21 #[wasm_bindgen(method, setter = "cmd")]
22 pub fn set_cmd(this: &NetworkCommandOptions, val: &str);
23 #[doc = "Get the `curExternalIfname` field of this object."]
24 #[doc = ""]
25 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
26 #[wasm_bindgen(method, getter = "curExternalIfname")]
27 pub fn get_cur_external_ifname(this: &NetworkCommandOptions)
28 -> Option<::alloc::string::String>;
29 #[doc = "Change the `curExternalIfname` field of this object."]
30 #[doc = ""]
31 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
32 #[wasm_bindgen(method, setter = "curExternalIfname")]
33 pub fn set_cur_external_ifname(this: &NetworkCommandOptions, val: &str);
34 #[doc = "Get the `curInternalIfname` field of this object."]
35 #[doc = ""]
36 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
37 #[wasm_bindgen(method, getter = "curInternalIfname")]
38 pub fn get_cur_internal_ifname(this: &NetworkCommandOptions)
39 -> Option<::alloc::string::String>;
40 #[doc = "Change the `curInternalIfname` field of this object."]
41 #[doc = ""]
42 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
43 #[wasm_bindgen(method, setter = "curInternalIfname")]
44 pub fn set_cur_internal_ifname(this: &NetworkCommandOptions, val: &str);
45 #[doc = "Get the `dns1` field of this object."]
46 #[doc = ""]
47 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
48 #[wasm_bindgen(method, getter = "dns1")]
49 pub fn get_dns1(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
50 #[doc = "Change the `dns1` field of this object."]
51 #[doc = ""]
52 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
53 #[wasm_bindgen(method, setter = "dns1")]
54 pub fn set_dns1(this: &NetworkCommandOptions, val: &str);
55 #[doc = "Get the `dns1_long` field of this object."]
56 #[doc = ""]
57 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
58 #[wasm_bindgen(method, getter = "dns1_long")]
59 pub fn get_dns1_long(this: &NetworkCommandOptions) -> Option<i32>;
60 #[doc = "Change the `dns1_long` field of this object."]
61 #[doc = ""]
62 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
63 #[wasm_bindgen(method, setter = "dns1_long")]
64 pub fn set_dns1_long(this: &NetworkCommandOptions, val: i32);
65 #[doc = "Get the `dns2` field of this object."]
66 #[doc = ""]
67 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
68 #[wasm_bindgen(method, getter = "dns2")]
69 pub fn get_dns2(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
70 #[doc = "Change the `dns2` field of this object."]
71 #[doc = ""]
72 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
73 #[wasm_bindgen(method, setter = "dns2")]
74 pub fn set_dns2(this: &NetworkCommandOptions, val: &str);
75 #[doc = "Get the `dns2_long` field of this object."]
76 #[doc = ""]
77 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
78 #[wasm_bindgen(method, getter = "dns2_long")]
79 pub fn get_dns2_long(this: &NetworkCommandOptions) -> Option<i32>;
80 #[doc = "Change the `dns2_long` field of this object."]
81 #[doc = ""]
82 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
83 #[wasm_bindgen(method, setter = "dns2_long")]
84 pub fn set_dns2_long(this: &NetworkCommandOptions, val: i32);
85 #[doc = "Get the `dnses` field of this object."]
86 #[doc = ""]
87 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
88 #[wasm_bindgen(method, getter = "dnses")]
89 pub fn get_dnses(this: &NetworkCommandOptions) -> Option<::js_sys::Array>;
90 #[doc = "Change the `dnses` field of this object."]
91 #[doc = ""]
92 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
93 #[wasm_bindgen(method, setter = "dnses")]
94 pub fn set_dnses(this: &NetworkCommandOptions, val: &::wasm_bindgen::JsValue);
95 #[doc = "Get the `domain` field of this object."]
96 #[doc = ""]
97 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
98 #[wasm_bindgen(method, getter = "domain")]
99 pub fn get_domain(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
100 #[doc = "Change the `domain` field of this object."]
101 #[doc = ""]
102 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
103 #[wasm_bindgen(method, setter = "domain")]
104 pub fn set_domain(this: &NetworkCommandOptions, val: &str);
105 #[doc = "Get the `enable` field of this object."]
106 #[doc = ""]
107 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
108 #[wasm_bindgen(method, getter = "enable")]
109 pub fn get_enable(this: &NetworkCommandOptions) -> Option<bool>;
110 #[doc = "Change the `enable` field of this object."]
111 #[doc = ""]
112 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
113 #[wasm_bindgen(method, setter = "enable")]
114 pub fn set_enable(this: &NetworkCommandOptions, val: bool);
115 #[doc = "Get the `enabled` field of this object."]
116 #[doc = ""]
117 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
118 #[wasm_bindgen(method, getter = "enabled")]
119 pub fn get_enabled(this: &NetworkCommandOptions) -> Option<bool>;
120 #[doc = "Change the `enabled` field of this object."]
121 #[doc = ""]
122 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
123 #[wasm_bindgen(method, setter = "enabled")]
124 pub fn set_enabled(this: &NetworkCommandOptions, val: bool);
125 #[doc = "Get the `endIp` field of this object."]
126 #[doc = ""]
127 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
128 #[wasm_bindgen(method, getter = "endIp")]
129 pub fn get_end_ip(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
130 #[doc = "Change the `endIp` field of this object."]
131 #[doc = ""]
132 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
133 #[wasm_bindgen(method, setter = "endIp")]
134 pub fn set_end_ip(this: &NetworkCommandOptions, val: &str);
135 #[doc = "Get the `externalIfname` field of this object."]
136 #[doc = ""]
137 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
138 #[wasm_bindgen(method, getter = "externalIfname")]
139 pub fn get_external_ifname(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
140 #[doc = "Change the `externalIfname` field of this object."]
141 #[doc = ""]
142 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
143 #[wasm_bindgen(method, setter = "externalIfname")]
144 pub fn set_external_ifname(this: &NetworkCommandOptions, val: &str);
145 #[doc = "Get the `gateway` field of this object."]
146 #[doc = ""]
147 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
148 #[wasm_bindgen(method, getter = "gateway")]
149 pub fn get_gateway(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
150 #[doc = "Change the `gateway` field of this object."]
151 #[doc = ""]
152 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
153 #[wasm_bindgen(method, setter = "gateway")]
154 pub fn set_gateway(this: &NetworkCommandOptions, val: &str);
155 #[doc = "Get the `gateway_long` field of this object."]
156 #[doc = ""]
157 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
158 #[wasm_bindgen(method, getter = "gateway_long")]
159 pub fn get_gateway_long(this: &NetworkCommandOptions) -> Option<i32>;
160 #[doc = "Change the `gateway_long` field of this object."]
161 #[doc = ""]
162 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
163 #[wasm_bindgen(method, setter = "gateway_long")]
164 pub fn set_gateway_long(this: &NetworkCommandOptions, val: i32);
165 #[doc = "Get the `gateways` field of this object."]
166 #[doc = ""]
167 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
168 #[wasm_bindgen(method, getter = "gateways")]
169 pub fn get_gateways(this: &NetworkCommandOptions) -> Option<::js_sys::Array>;
170 #[doc = "Change the `gateways` field of this object."]
171 #[doc = ""]
172 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
173 #[wasm_bindgen(method, setter = "gateways")]
174 pub fn set_gateways(this: &NetworkCommandOptions, val: &::wasm_bindgen::JsValue);
175 #[doc = "Get the `id` field of this object."]
176 #[doc = ""]
177 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
178 #[wasm_bindgen(method, getter = "id")]
179 pub fn get_id(this: &NetworkCommandOptions) -> Option<i32>;
180 #[doc = "Change the `id` field of this object."]
181 #[doc = ""]
182 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
183 #[wasm_bindgen(method, setter = "id")]
184 pub fn set_id(this: &NetworkCommandOptions, val: i32);
185 #[doc = "Get the `ifname` field of this object."]
186 #[doc = ""]
187 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
188 #[wasm_bindgen(method, getter = "ifname")]
189 pub fn get_ifname(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
190 #[doc = "Change the `ifname` field of this object."]
191 #[doc = ""]
192 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
193 #[wasm_bindgen(method, setter = "ifname")]
194 pub fn set_ifname(this: &NetworkCommandOptions, val: &str);
195 #[doc = "Get the `interfaceList` field of this object."]
196 #[doc = ""]
197 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
198 #[wasm_bindgen(method, getter = "interfaceList")]
199 pub fn get_interface_list(this: &NetworkCommandOptions) -> Option<::js_sys::Array>;
200 #[doc = "Change the `interfaceList` field of this object."]
201 #[doc = ""]
202 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
203 #[wasm_bindgen(method, setter = "interfaceList")]
204 pub fn set_interface_list(this: &NetworkCommandOptions, val: &::wasm_bindgen::JsValue);
205 #[doc = "Get the `internalIfname` field of this object."]
206 #[doc = ""]
207 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
208 #[wasm_bindgen(method, getter = "internalIfname")]
209 pub fn get_internal_ifname(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
210 #[doc = "Change the `internalIfname` field of this object."]
211 #[doc = ""]
212 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
213 #[wasm_bindgen(method, setter = "internalIfname")]
214 pub fn set_internal_ifname(this: &NetworkCommandOptions, val: &str);
215 #[doc = "Get the `ip` field of this object."]
216 #[doc = ""]
217 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
218 #[wasm_bindgen(method, getter = "ip")]
219 pub fn get_ip(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
220 #[doc = "Change the `ip` field of this object."]
221 #[doc = ""]
222 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
223 #[wasm_bindgen(method, setter = "ip")]
224 pub fn set_ip(this: &NetworkCommandOptions, val: &str);
225 #[doc = "Get the `ipaddr` field of this object."]
226 #[doc = ""]
227 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
228 #[wasm_bindgen(method, getter = "ipaddr")]
229 pub fn get_ipaddr(this: &NetworkCommandOptions) -> Option<i32>;
230 #[doc = "Change the `ipaddr` field of this object."]
231 #[doc = ""]
232 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
233 #[wasm_bindgen(method, setter = "ipaddr")]
234 pub fn set_ipaddr(this: &NetworkCommandOptions, val: i32);
235 #[doc = "Get the `key` field of this object."]
236 #[doc = ""]
237 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
238 #[wasm_bindgen(method, getter = "key")]
239 pub fn get_key(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
240 #[doc = "Change the `key` field of this object."]
241 #[doc = ""]
242 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
243 #[wasm_bindgen(method, setter = "key")]
244 pub fn set_key(this: &NetworkCommandOptions, val: &str);
245 #[doc = "Get the `link` field of this object."]
246 #[doc = ""]
247 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
248 #[wasm_bindgen(method, getter = "link")]
249 pub fn get_link(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
250 #[doc = "Change the `link` field of this object."]
251 #[doc = ""]
252 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
253 #[wasm_bindgen(method, setter = "link")]
254 pub fn set_link(this: &NetworkCommandOptions, val: &str);
255 #[doc = "Get the `mask` field of this object."]
256 #[doc = ""]
257 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
258 #[wasm_bindgen(method, getter = "mask")]
259 pub fn get_mask(this: &NetworkCommandOptions) -> Option<i32>;
260 #[doc = "Change the `mask` field of this object."]
261 #[doc = ""]
262 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
263 #[wasm_bindgen(method, setter = "mask")]
264 pub fn set_mask(this: &NetworkCommandOptions, val: i32);
265 #[doc = "Get the `maskLength` field of this object."]
266 #[doc = ""]
267 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
268 #[wasm_bindgen(method, getter = "maskLength")]
269 pub fn get_mask_length(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
270 #[doc = "Change the `maskLength` field of this object."]
271 #[doc = ""]
272 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
273 #[wasm_bindgen(method, setter = "maskLength")]
274 pub fn set_mask_length(this: &NetworkCommandOptions, val: &str);
275 #[doc = "Get the `mode` field of this object."]
276 #[doc = ""]
277 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
278 #[wasm_bindgen(method, getter = "mode")]
279 pub fn get_mode(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
280 #[doc = "Change the `mode` field of this object."]
281 #[doc = ""]
282 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
283 #[wasm_bindgen(method, setter = "mode")]
284 pub fn set_mode(this: &NetworkCommandOptions, val: &str);
285 #[doc = "Get the `mtu` field of this object."]
286 #[doc = ""]
287 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
288 #[wasm_bindgen(method, getter = "mtu")]
289 pub fn get_mtu(this: &NetworkCommandOptions) -> Option<i32>;
290 #[doc = "Change the `mtu` field of this object."]
291 #[doc = ""]
292 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
293 #[wasm_bindgen(method, setter = "mtu")]
294 pub fn set_mtu(this: &NetworkCommandOptions, val: i32);
295 #[doc = "Get the `preExternalIfname` field of this object."]
296 #[doc = ""]
297 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
298 #[wasm_bindgen(method, getter = "preExternalIfname")]
299 pub fn get_pre_external_ifname(this: &NetworkCommandOptions)
300 -> Option<::alloc::string::String>;
301 #[doc = "Change the `preExternalIfname` field of this object."]
302 #[doc = ""]
303 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
304 #[wasm_bindgen(method, setter = "preExternalIfname")]
305 pub fn set_pre_external_ifname(this: &NetworkCommandOptions, val: &str);
306 #[doc = "Get the `preInternalIfname` field of this object."]
307 #[doc = ""]
308 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
309 #[wasm_bindgen(method, getter = "preInternalIfname")]
310 pub fn get_pre_internal_ifname(this: &NetworkCommandOptions)
311 -> Option<::alloc::string::String>;
312 #[doc = "Change the `preInternalIfname` field of this object."]
313 #[doc = ""]
314 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
315 #[wasm_bindgen(method, setter = "preInternalIfname")]
316 pub fn set_pre_internal_ifname(this: &NetworkCommandOptions, val: &str);
317 #[doc = "Get the `prefix` field of this object."]
318 #[doc = ""]
319 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
320 #[wasm_bindgen(method, getter = "prefix")]
321 pub fn get_prefix(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
322 #[doc = "Change the `prefix` field of this object."]
323 #[doc = ""]
324 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
325 #[wasm_bindgen(method, setter = "prefix")]
326 pub fn set_prefix(this: &NetworkCommandOptions, val: &str);
327 #[doc = "Get the `prefixLength` field of this object."]
328 #[doc = ""]
329 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
330 #[wasm_bindgen(method, getter = "prefixLength")]
331 pub fn get_prefix_length(this: &NetworkCommandOptions) -> Option<u32>;
332 #[doc = "Change the `prefixLength` field of this object."]
333 #[doc = ""]
334 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
335 #[wasm_bindgen(method, setter = "prefixLength")]
336 pub fn set_prefix_length(this: &NetworkCommandOptions, val: u32);
337 #[doc = "Get the `report` field of this object."]
338 #[doc = ""]
339 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
340 #[wasm_bindgen(method, getter = "report")]
341 pub fn get_report(this: &NetworkCommandOptions) -> Option<bool>;
342 #[doc = "Change the `report` field of this object."]
343 #[doc = ""]
344 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
345 #[wasm_bindgen(method, setter = "report")]
346 pub fn set_report(this: &NetworkCommandOptions, val: bool);
347 #[doc = "Get the `security` field of this object."]
348 #[doc = ""]
349 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
350 #[wasm_bindgen(method, getter = "security")]
351 pub fn get_security(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
352 #[doc = "Change the `security` field of this object."]
353 #[doc = ""]
354 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
355 #[wasm_bindgen(method, setter = "security")]
356 pub fn set_security(this: &NetworkCommandOptions, val: &str);
357 #[doc = "Get the `serverIp` field of this object."]
358 #[doc = ""]
359 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
360 #[wasm_bindgen(method, getter = "serverIp")]
361 pub fn get_server_ip(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
362 #[doc = "Change the `serverIp` field of this object."]
363 #[doc = ""]
364 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
365 #[wasm_bindgen(method, setter = "serverIp")]
366 pub fn set_server_ip(this: &NetworkCommandOptions, val: &str);
367 #[doc = "Get the `ssid` field of this object."]
368 #[doc = ""]
369 #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]