web_sys/features/
gen_NetworkCommandOptions.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = NetworkCommandOptions)]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `NetworkCommandOptions` dictionary."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    pub type NetworkCommandOptions;
    #[doc = "Get the `cmd` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "cmd")]
    pub fn get_cmd(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `cmd` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "cmd")]
    pub fn set_cmd(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `curExternalIfname` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "curExternalIfname")]
    pub fn get_cur_external_ifname(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `curExternalIfname` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "curExternalIfname")]
    pub fn set_cur_external_ifname(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `curInternalIfname` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "curInternalIfname")]
    pub fn get_cur_internal_ifname(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `curInternalIfname` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "curInternalIfname")]
    pub fn set_cur_internal_ifname(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `dns1` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "dns1")]
    pub fn get_dns1(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `dns1` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "dns1")]
    pub fn set_dns1(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `dns1_long` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "dns1_long")]
    pub fn get_dns1_long(this: &NetworkCommandOptions) -> Option<i32>;
    #[doc = "Change the `dns1_long` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "dns1_long")]
    pub fn set_dns1_long(this: &NetworkCommandOptions, val: i32);
    #[doc = "Get the `dns2` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "dns2")]
    pub fn get_dns2(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `dns2` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "dns2")]
    pub fn set_dns2(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `dns2_long` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "dns2_long")]
    pub fn get_dns2_long(this: &NetworkCommandOptions) -> Option<i32>;
    #[doc = "Change the `dns2_long` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "dns2_long")]
    pub fn set_dns2_long(this: &NetworkCommandOptions, val: i32);
    #[doc = "Get the `dnses` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "dnses")]
    pub fn get_dnses(this: &NetworkCommandOptions) -> Option<::js_sys::Array>;
    #[doc = "Change the `dnses` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "dnses")]
    pub fn set_dnses(this: &NetworkCommandOptions, val: &::wasm_bindgen::JsValue);
    #[doc = "Get the `domain` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "domain")]
    pub fn get_domain(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `domain` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "domain")]
    pub fn set_domain(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `enable` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "enable")]
    pub fn get_enable(this: &NetworkCommandOptions) -> Option<bool>;
    #[doc = "Change the `enable` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "enable")]
    pub fn set_enable(this: &NetworkCommandOptions, val: bool);
    #[doc = "Get the `enabled` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "enabled")]
    pub fn get_enabled(this: &NetworkCommandOptions) -> Option<bool>;
    #[doc = "Change the `enabled` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "enabled")]
    pub fn set_enabled(this: &NetworkCommandOptions, val: bool);
    #[doc = "Get the `endIp` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "endIp")]
    pub fn get_end_ip(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `endIp` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "endIp")]
    pub fn set_end_ip(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `externalIfname` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "externalIfname")]
    pub fn get_external_ifname(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `externalIfname` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "externalIfname")]
    pub fn set_external_ifname(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `gateway` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "gateway")]
    pub fn get_gateway(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `gateway` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "gateway")]
    pub fn set_gateway(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `gateway_long` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "gateway_long")]
    pub fn get_gateway_long(this: &NetworkCommandOptions) -> Option<i32>;
    #[doc = "Change the `gateway_long` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "gateway_long")]
    pub fn set_gateway_long(this: &NetworkCommandOptions, val: i32);
    #[doc = "Get the `gateways` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "gateways")]
    pub fn get_gateways(this: &NetworkCommandOptions) -> Option<::js_sys::Array>;
    #[doc = "Change the `gateways` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "gateways")]
    pub fn set_gateways(this: &NetworkCommandOptions, val: &::wasm_bindgen::JsValue);
    #[doc = "Get the `id` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "id")]
    pub fn get_id(this: &NetworkCommandOptions) -> Option<i32>;
    #[doc = "Change the `id` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "id")]
    pub fn set_id(this: &NetworkCommandOptions, val: i32);
    #[doc = "Get the `ifname` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "ifname")]
    pub fn get_ifname(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `ifname` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "ifname")]
    pub fn set_ifname(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `interfaceList` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "interfaceList")]
    pub fn get_interface_list(this: &NetworkCommandOptions) -> Option<::js_sys::Array>;
    #[doc = "Change the `interfaceList` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "interfaceList")]
    pub fn set_interface_list(this: &NetworkCommandOptions, val: &::wasm_bindgen::JsValue);
    #[doc = "Get the `internalIfname` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "internalIfname")]
    pub fn get_internal_ifname(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `internalIfname` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "internalIfname")]
    pub fn set_internal_ifname(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `ip` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "ip")]
    pub fn get_ip(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `ip` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "ip")]
    pub fn set_ip(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `ipaddr` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "ipaddr")]
    pub fn get_ipaddr(this: &NetworkCommandOptions) -> Option<i32>;
    #[doc = "Change the `ipaddr` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "ipaddr")]
    pub fn set_ipaddr(this: &NetworkCommandOptions, val: i32);
    #[doc = "Get the `key` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "key")]
    pub fn get_key(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `key` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "key")]
    pub fn set_key(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `link` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "link")]
    pub fn get_link(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `link` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "link")]
    pub fn set_link(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `mask` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "mask")]
    pub fn get_mask(this: &NetworkCommandOptions) -> Option<i32>;
    #[doc = "Change the `mask` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "mask")]
    pub fn set_mask(this: &NetworkCommandOptions, val: i32);
    #[doc = "Get the `maskLength` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "maskLength")]
    pub fn get_mask_length(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `maskLength` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "maskLength")]
    pub fn set_mask_length(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `mode` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "mode")]
    pub fn get_mode(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `mode` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "mode")]
    pub fn set_mode(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `mtu` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "mtu")]
    pub fn get_mtu(this: &NetworkCommandOptions) -> Option<i32>;
    #[doc = "Change the `mtu` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "mtu")]
    pub fn set_mtu(this: &NetworkCommandOptions, val: i32);
    #[doc = "Get the `preExternalIfname` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "preExternalIfname")]
    pub fn get_pre_external_ifname(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `preExternalIfname` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "preExternalIfname")]
    pub fn set_pre_external_ifname(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `preInternalIfname` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "preInternalIfname")]
    pub fn get_pre_internal_ifname(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `preInternalIfname` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "preInternalIfname")]
    pub fn set_pre_internal_ifname(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `prefix` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "prefix")]
    pub fn get_prefix(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `prefix` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "prefix")]
    pub fn set_prefix(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `prefixLength` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "prefixLength")]
    pub fn get_prefix_length(this: &NetworkCommandOptions) -> Option<u32>;
    #[doc = "Change the `prefixLength` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "prefixLength")]
    pub fn set_prefix_length(this: &NetworkCommandOptions, val: u32);
    #[doc = "Get the `report` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "report")]
    pub fn get_report(this: &NetworkCommandOptions) -> Option<bool>;
    #[doc = "Change the `report` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "report")]
    pub fn set_report(this: &NetworkCommandOptions, val: bool);
    #[doc = "Get the `security` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "security")]
    pub fn get_security(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `security` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "security")]
    pub fn set_security(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `serverIp` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "serverIp")]
    pub fn get_server_ip(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `serverIp` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "serverIp")]
    pub fn set_server_ip(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `ssid` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "ssid")]
    pub fn get_ssid(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `ssid` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "ssid")]
    pub fn set_ssid(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `startIp` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "startIp")]
    pub fn get_start_ip(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `startIp` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "startIp")]
    pub fn set_start_ip(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `threshold` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "threshold")]
    pub fn get_threshold(this: &NetworkCommandOptions) -> Option<f64>;
    #[doc = "Change the `threshold` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "threshold")]
    pub fn set_threshold(this: &NetworkCommandOptions, val: f64);
    #[doc = "Get the `usbEndIp` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "usbEndIp")]
    pub fn get_usb_end_ip(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `usbEndIp` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "usbEndIp")]
    pub fn set_usb_end_ip(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `usbStartIp` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "usbStartIp")]
    pub fn get_usb_start_ip(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `usbStartIp` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "usbStartIp")]
    pub fn set_usb_start_ip(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `wifiEndIp` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "wifiEndIp")]
    pub fn get_wifi_end_ip(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `wifiEndIp` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "wifiEndIp")]
    pub fn set_wifi_end_ip(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `wifiStartIp` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "wifiStartIp")]
    pub fn get_wifi_start_ip(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `wifiStartIp` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "wifiStartIp")]
    pub fn set_wifi_start_ip(this: &NetworkCommandOptions, val: &str);
    #[doc = "Get the `wifictrlinterfacename` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, getter = "wifictrlinterfacename")]
    pub fn get_wifictrlinterfacename(this: &NetworkCommandOptions) -> Option<String>;
    #[doc = "Change the `wifictrlinterfacename` field of this object."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    #[wasm_bindgen(method, setter = "wifictrlinterfacename")]
    pub fn set_wifictrlinterfacename(this: &NetworkCommandOptions, val: &str);
}
impl NetworkCommandOptions {
    #[doc = "Construct a new `NetworkCommandOptions`."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `NetworkCommandOptions`*"]
    pub fn new() -> Self {
        #[allow(unused_mut)]
        let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
        ret
    }
    #[deprecated = "Use `set_cmd()` instead."]
    pub fn cmd(&mut self, val: &str) -> &mut Self {
        self.set_cmd(val);
        self
    }
    #[deprecated = "Use `set_cur_external_ifname()` instead."]
    pub fn cur_external_ifname(&mut self, val: &str) -> &mut Self {
        self.set_cur_external_ifname(val);
        self
    }
    #[deprecated = "Use `set_cur_internal_ifname()` instead."]
    pub fn cur_internal_ifname(&mut self, val: &str) -> &mut Self {
        self.set_cur_internal_ifname(val);
        self
    }
    #[deprecated = "Use `set_dns1()` instead."]
    pub fn dns1(&mut self, val: &str) -> &mut Self {
        self.set_dns1(val);
        self
    }
    #[deprecated = "Use `set_dns1_long()` instead."]
    pub fn dns1_long(&mut self, val: i32) -> &mut Self {
        self.set_dns1_long(val);
        self
    }
    #[deprecated = "Use `set_dns2()` instead."]
    pub fn dns2(&mut self, val: &str) -> &mut Self {
        self.set_dns2(val);
        self
    }
    #[deprecated = "Use `set_dns2_long()` instead."]
    pub fn dns2_long(&mut self, val: i32) -> &mut Self {
        self.set_dns2_long(val);
        self
    }
    #[deprecated = "Use `set_dnses()` instead."]
    pub fn dnses(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
        self.set_dnses(val);
        self
    }
    #[deprecated = "Use `set_domain()` instead."]
    pub fn domain(&mut self, val: &str) -> &mut Self {
        self.set_domain(val);
        self
    }
    #[deprecated = "Use `set_enable()` instead."]
    pub fn enable(&mut self, val: bool) -> &mut Self {
        self.set_enable(val);
        self
    }
    #[deprecated = "Use `set_enabled()` instead."]
    pub fn enabled(&mut self, val: bool) -> &mut Self {
        self.set_enabled(val);
        self
    }
    #[deprecated = "Use `set_end_ip()` instead."]
    pub fn end_ip(&mut self, val: &str) -> &mut Self {
        self.set_end_ip(val);
        self
    }
    #[deprecated = "Use `set_external_ifname()` instead."]
    pub fn external_ifname(&mut self, val: &str) -> &mut Self {
        self.set_external_ifname(val);
        self
    }
    #[deprecated = "Use `set_gateway()` instead."]
    pub fn gateway(&mut self, val: &str) -> &mut Self {
        self.set_gateway(val);
        self
    }
    #[deprecated = "Use `set_gateway_long()` instead."]
    pub fn gateway_long(&mut self, val: i32) -> &mut Self {
        self.set_gateway_long(val);
        self
    }
    #[deprecated = "Use `set_gateways()` instead."]
    pub fn gateways(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
        self.set_gateways(val);
        self
    }
    #[deprecated = "Use `set_id()` instead."]
    pub fn id(&mut self, val: i32) -> &mut Self {
        self.set_id(val);
        self
    }
    #[deprecated = "Use `set_ifname()` instead."]
    pub fn ifname(&mut self, val: &str) -> &mut Self {
        self.set_ifname(val);
        self
    }
    #[deprecated = "Use `set_interface_list()` instead."]
    pub fn interface_list(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
        self.set_interface_list(val);
        self
    }
    #[deprecated = "Use `set_internal_ifname()` instead."]
    pub fn internal_ifname(&mut self, val: &str) -> &mut Self {
        self.set_internal_ifname(val);
        self
    }
    #[deprecated = "Use `set_ip()` instead."]
    pub fn ip(&mut self, val: &str) -> &mut Self {
        self.set_ip(val);
        self
    }
    #[deprecated = "Use `set_ipaddr()` instead."]
    pub fn ipaddr(&mut self, val: i32) -> &mut Self {
        self.set_ipaddr(val);
        self
    }
    #[deprecated = "Use `set_key()` instead."]
    pub fn key(&mut self, val: &str) -> &mut Self {
        self.set_key(val);
        self
    }
    #[deprecated = "Use `set_link()` instead."]
    pub fn link(&mut self, val: &str) -> &mut Self {
        self.set_link(val);
        self
    }
    #[deprecated = "Use `set_mask()` instead."]
    pub fn mask(&mut self, val: i32) -> &mut Self {
        self.set_mask(val);
        self
    }
    #[deprecated = "Use `set_mask_length()` instead."]
    pub fn mask_length(&mut self, val: &str) -> &mut Self {
        self.set_mask_length(val);
        self
    }
    #[deprecated = "Use `set_mode()` instead."]
    pub fn mode(&mut self, val: &str) -> &mut Self {
        self.set_mode(val);
        self
    }
    #[deprecated = "Use `set_mtu()` instead."]
    pub fn mtu(&mut self, val: i32) -> &mut Self {
        self.set_mtu(val);
        self
    }
    #[deprecated = "Use `set_pre_external_ifname()` instead."]
    pub fn pre_external_ifname(&mut self, val: &str) -> &mut Self {
        self.set_pre_external_ifname(val);
        self
    }
    #[deprecated = "Use `set_pre_internal_ifname()` instead."]
    pub fn pre_internal_ifname(&mut self, val: &str) -> &mut Self {
        self.set_pre_internal_ifname(val);
        self
    }
    #[deprecated = "Use `set_prefix()` instead."]
    pub fn prefix(&mut self, val: &str) -> &mut Self {
        self.set_prefix(val);
        self
    }
    #[deprecated = "Use `set_prefix_length()` instead."]
    pub fn prefix_length(&mut self, val: u32) -> &mut Self {
        self.set_prefix_length(val);
        self
    }
    #[deprecated = "Use `set_report()` instead."]
    pub fn report(&mut self, val: bool) -> &mut Self {
        self.set_report(val);
        self
    }
    #[deprecated = "Use `set_security()` instead."]
    pub fn security(&mut self, val: &str) -> &mut Self {
        self.set_security(val);
        self
    }
    #[deprecated = "Use `set_server_ip()` instead."]
    pub fn server_ip(&mut self, val: &str) -> &mut Self {
        self.set_server_ip(val);
        self
    }
    #[deprecated = "Use `set_ssid()` instead."]
    pub fn ssid(&mut self, val: &str) -> &mut Self {
        self.set_ssid(val);
        self
    }
    #[deprecated = "Use `set_start_ip()` instead."]
    pub fn start_ip(&mut self, val: &str) -> &mut Self {
        self.set_start_ip(val);
        self
    }
    #[deprecated = "Use `set_threshold()` instead."]
    pub fn threshold(&mut self, val: f64) -> &mut Self {
        self.set_threshold(val);
        self
    }
    #[deprecated = "Use `set_usb_end_ip()` instead."]
    pub fn usb_end_ip(&mut self, val: &str) -> &mut Self {
        self.set_usb_end_ip(val);
        self
    }
    #[deprecated = "Use `set_usb_start_ip()` instead."]
    pub fn usb_start_ip(&mut self, val: &str) -> &mut Self {
        self.set_usb_start_ip(val);
        self
    }
    #[deprecated = "Use `set_wifi_end_ip()` instead."]
    pub fn wifi_end_ip(&mut self, val: &str) -> &mut Self {
        self.set_wifi_end_ip(val);
        self
    }
    #[deprecated = "Use `set_wifi_start_ip()` instead."]
    pub fn wifi_start_ip(&mut self, val: &str) -> &mut Self {
        self.set_wifi_start_ip(val);
        self
    }
    #[deprecated = "Use `set_wifictrlinterfacename()` instead."]
    pub fn wifictrlinterfacename(&mut self, val: &str) -> &mut Self {
        self.set_wifictrlinterfacename(val);
        self
    }
}
impl Default for NetworkCommandOptions {
    fn default() -> Self {
        Self::new()
    }
}