web_sys/features/
gen_NetworkCommandOptions.rs

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`*"]
370    #[wasm_bindgen(method, getter = "ssid")]
371    pub fn get_ssid(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
372    #[doc = "Change the `ssid` field of this object."]
373    #[doc = ""]
374    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
375    #[wasm_bindgen(method, setter = "ssid")]
376    pub fn set_ssid(this: &NetworkCommandOptions, val: &str);
377    #[doc = "Get the `startIp` field of this object."]
378    #[doc = ""]
379    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
380    #[wasm_bindgen(method, getter = "startIp")]
381    pub fn get_start_ip(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
382    #[doc = "Change the `startIp` field of this object."]
383    #[doc = ""]
384    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
385    #[wasm_bindgen(method, setter = "startIp")]
386    pub fn set_start_ip(this: &NetworkCommandOptions, val: &str);
387    #[doc = "Get the `threshold` field of this object."]
388    #[doc = ""]
389    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
390    #[wasm_bindgen(method, getter = "threshold")]
391    pub fn get_threshold(this: &NetworkCommandOptions) -> Option<f64>;
392    #[doc = "Change the `threshold` field of this object."]
393    #[doc = ""]
394    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
395    #[wasm_bindgen(method, setter = "threshold")]
396    pub fn set_threshold(this: &NetworkCommandOptions, val: f64);
397    #[doc = "Get the `usbEndIp` field of this object."]
398    #[doc = ""]
399    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
400    #[wasm_bindgen(method, getter = "usbEndIp")]
401    pub fn get_usb_end_ip(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
402    #[doc = "Change the `usbEndIp` field of this object."]
403    #[doc = ""]
404    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
405    #[wasm_bindgen(method, setter = "usbEndIp")]
406    pub fn set_usb_end_ip(this: &NetworkCommandOptions, val: &str);
407    #[doc = "Get the `usbStartIp` field of this object."]
408    #[doc = ""]
409    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
410    #[wasm_bindgen(method, getter = "usbStartIp")]
411    pub fn get_usb_start_ip(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
412    #[doc = "Change the `usbStartIp` field of this object."]
413    #[doc = ""]
414    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
415    #[wasm_bindgen(method, setter = "usbStartIp")]
416    pub fn set_usb_start_ip(this: &NetworkCommandOptions, val: &str);
417    #[doc = "Get the `wifiEndIp` field of this object."]
418    #[doc = ""]
419    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
420    #[wasm_bindgen(method, getter = "wifiEndIp")]
421    pub fn get_wifi_end_ip(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
422    #[doc = "Change the `wifiEndIp` field of this object."]
423    #[doc = ""]
424    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
425    #[wasm_bindgen(method, setter = "wifiEndIp")]
426    pub fn set_wifi_end_ip(this: &NetworkCommandOptions, val: &str);
427    #[doc = "Get the `wifiStartIp` field of this object."]
428    #[doc = ""]
429    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
430    #[wasm_bindgen(method, getter = "wifiStartIp")]
431    pub fn get_wifi_start_ip(this: &NetworkCommandOptions) -> Option<::alloc::string::String>;
432    #[doc = "Change the `wifiStartIp` field of this object."]
433    #[doc = ""]
434    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
435    #[wasm_bindgen(method, setter = "wifiStartIp")]
436    pub fn set_wifi_start_ip(this: &NetworkCommandOptions, val: &str);
437    #[doc = "Get the `wifictrlinterfacename` field of this object."]
438    #[doc = ""]
439    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
440    #[wasm_bindgen(method, getter = "wifictrlinterfacename")]
441    pub fn get_wifictrlinterfacename(
442        this: &NetworkCommandOptions,
443    ) -> Option<::alloc::string::String>;
444    #[doc = "Change the `wifictrlinterfacename` field of this object."]
445    #[doc = ""]
446    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
447    #[wasm_bindgen(method, setter = "wifictrlinterfacename")]
448    pub fn set_wifictrlinterfacename(this: &NetworkCommandOptions, val: &str);
449}
450impl NetworkCommandOptions {
451    #[doc = "Construct a new `NetworkCommandOptions`."]
452    #[doc = ""]
453    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
454    pub fn new() -> Self {
455        #[allow(unused_mut)]
456        let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
457        ret
458    }
459    #[deprecated = "Use `set_cmd()` instead."]
460    pub fn cmd(&mut self, val: &str) -> &mut Self {
461        self.set_cmd(val);
462        self
463    }
464    #[deprecated = "Use `set_cur_external_ifname()` instead."]
465    pub fn cur_external_ifname(&mut self, val: &str) -> &mut Self {
466        self.set_cur_external_ifname(val);
467        self
468    }
469    #[deprecated = "Use `set_cur_internal_ifname()` instead."]
470    pub fn cur_internal_ifname(&mut self, val: &str) -> &mut Self {
471        self.set_cur_internal_ifname(val);
472        self
473    }
474    #[deprecated = "Use `set_dns1()` instead."]
475    pub fn dns1(&mut self, val: &str) -> &mut Self {
476        self.set_dns1(val);
477        self
478    }
479    #[deprecated = "Use `set_dns1_long()` instead."]
480    pub fn dns1_long(&mut self, val: i32) -> &mut Self {
481        self.set_dns1_long(val);
482        self
483    }
484    #[deprecated = "Use `set_dns2()` instead."]
485    pub fn dns2(&mut self, val: &str) -> &mut Self {
486        self.set_dns2(val);
487        self
488    }
489    #[deprecated = "Use `set_dns2_long()` instead."]
490    pub fn dns2_long(&mut self, val: i32) -> &mut Self {
491        self.set_dns2_long(val);
492        self
493    }
494    #[deprecated = "Use `set_dnses()` instead."]
495    pub fn dnses(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
496        self.set_dnses(val);
497        self
498    }
499    #[deprecated = "Use `set_domain()` instead."]
500    pub fn domain(&mut self, val: &str) -> &mut Self {
501        self.set_domain(val);
502        self
503    }
504    #[deprecated = "Use `set_enable()` instead."]
505    pub fn enable(&mut self, val: bool) -> &mut Self {
506        self.set_enable(val);
507        self
508    }
509    #[deprecated = "Use `set_enabled()` instead."]
510    pub fn enabled(&mut self, val: bool) -> &mut Self {
511        self.set_enabled(val);
512        self
513    }
514    #[deprecated = "Use `set_end_ip()` instead."]
515    pub fn end_ip(&mut self, val: &str) -> &mut Self {
516        self.set_end_ip(val);
517        self
518    }
519    #[deprecated = "Use `set_external_ifname()` instead."]
520    pub fn external_ifname(&mut self, val: &str) -> &mut Self {
521        self.set_external_ifname(val);
522        self
523    }
524    #[deprecated = "Use `set_gateway()` instead."]
525    pub fn gateway(&mut self, val: &str) -> &mut Self {
526        self.set_gateway(val);
527        self
528    }
529    #[deprecated = "Use `set_gateway_long()` instead."]
530    pub fn gateway_long(&mut self, val: i32) -> &mut Self {
531        self.set_gateway_long(val);
532        self
533    }
534    #[deprecated = "Use `set_gateways()` instead."]
535    pub fn gateways(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
536        self.set_gateways(val);
537        self
538    }
539    #[deprecated = "Use `set_id()` instead."]
540    pub fn id(&mut self, val: i32) -> &mut Self {
541        self.set_id(val);
542        self
543    }
544    #[deprecated = "Use `set_ifname()` instead."]
545    pub fn ifname(&mut self, val: &str) -> &mut Self {
546        self.set_ifname(val);
547        self
548    }
549    #[deprecated = "Use `set_interface_list()` instead."]
550    pub fn interface_list(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
551        self.set_interface_list(val);
552        self
553    }
554    #[deprecated = "Use `set_internal_ifname()` instead."]
555    pub fn internal_ifname(&mut self, val: &str) -> &mut Self {
556        self.set_internal_ifname(val);
557        self
558    }
559    #[deprecated = "Use `set_ip()` instead."]
560    pub fn ip(&mut self, val: &str) -> &mut Self {
561        self.set_ip(val);
562        self
563    }
564    #[deprecated = "Use `set_ipaddr()` instead."]
565    pub fn ipaddr(&mut self, val: i32) -> &mut Self {
566        self.set_ipaddr(val);
567        self
568    }
569    #[deprecated = "Use `set_key()` instead."]
570    pub fn key(&mut self, val: &str) -> &mut Self {
571        self.set_key(val);
572        self
573    }
574    #[deprecated = "Use `set_link()` instead."]
575    pub fn link(&mut self, val: &str) -> &mut Self {
576        self.set_link(val);
577        self
578    }
579    #[deprecated = "Use `set_mask()` instead."]
580    pub fn mask(&mut self, val: i32) -> &mut Self {
581        self.set_mask(val);
582        self
583    }
584    #[deprecated = "Use `set_mask_length()` instead."]
585    pub fn mask_length(&mut self, val: &str) -> &mut Self {
586        self.set_mask_length(val);
587        self
588    }
589    #[deprecated = "Use `set_mode()` instead."]
590    pub fn mode(&mut self, val: &str) -> &mut Self {
591        self.set_mode(val);
592        self
593    }
594    #[deprecated = "Use `set_mtu()` instead."]
595    pub fn mtu(&mut self, val: i32) -> &mut Self {
596        self.set_mtu(val);
597        self
598    }
599    #[deprecated = "Use `set_pre_external_ifname()` instead."]
600    pub fn pre_external_ifname(&mut self, val: &str) -> &mut Self {
601        self.set_pre_external_ifname(val);
602        self
603    }
604    #[deprecated = "Use `set_pre_internal_ifname()` instead."]
605    pub fn pre_internal_ifname(&mut self, val: &str) -> &mut Self {
606        self.set_pre_internal_ifname(val);
607        self
608    }
609    #[deprecated = "Use `set_prefix()` instead."]
610    pub fn prefix(&mut self, val: &str) -> &mut Self {
611        self.set_prefix(val);
612        self
613    }
614    #[deprecated = "Use `set_prefix_length()` instead."]
615    pub fn prefix_length(&mut self, val: u32) -> &mut Self {
616        self.set_prefix_length(val);
617        self
618    }
619    #[deprecated = "Use `set_report()` instead."]
620    pub fn report(&mut self, val: bool) -> &mut Self {
621        self.set_report(val);
622        self
623    }
624    #[deprecated = "Use `set_security()` instead."]
625    pub fn security(&mut self, val: &str) -> &mut Self {
626        self.set_security(val);
627        self
628    }
629    #[deprecated = "Use `set_server_ip()` instead."]
630    pub fn server_ip(&mut self, val: &str) -> &mut Self {
631        self.set_server_ip(val);
632        self
633    }
634    #[deprecated = "Use `set_ssid()` instead."]
635    pub fn ssid(&mut self, val: &str) -> &mut Self {
636        self.set_ssid(val);
637        self
638    }
639    #[deprecated = "Use `set_start_ip()` instead."]
640    pub fn start_ip(&mut self, val: &str) -> &mut Self {
641        self.set_start_ip(val);
642        self
643    }
644    #[deprecated = "Use `set_threshold()` instead."]
645    pub fn threshold(&mut self, val: f64) -> &mut Self {
646        self.set_threshold(val);
647        self
648    }
649    #[deprecated = "Use `set_usb_end_ip()` instead."]
650    pub fn usb_end_ip(&mut self, val: &str) -> &mut Self {
651        self.set_usb_end_ip(val);
652        self
653    }
654    #[deprecated = "Use `set_usb_start_ip()` instead."]
655    pub fn usb_start_ip(&mut self, val: &str) -> &mut Self {
656        self.set_usb_start_ip(val);
657        self
658    }
659    #[deprecated = "Use `set_wifi_end_ip()` instead."]
660    pub fn wifi_end_ip(&mut self, val: &str) -> &mut Self {
661        self.set_wifi_end_ip(val);
662        self
663    }
664    #[deprecated = "Use `set_wifi_start_ip()` instead."]
665    pub fn wifi_start_ip(&mut self, val: &str) -> &mut Self {
666        self.set_wifi_start_ip(val);
667        self
668    }
669    #[deprecated = "Use `set_wifictrlinterfacename()` instead."]
670    pub fn wifictrlinterfacename(&mut self, val: &str) -> &mut Self {
671        self.set_wifictrlinterfacename(val);
672        self
673    }
674}
675impl Default for NetworkCommandOptions {
676    fn default() -> Self {
677        Self::new()
678    }
679}