-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_xml_ns0_enclave_process.go
925 lines (793 loc) · 28.4 KB
/
model_xml_ns0_enclave_process.go
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
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
/*
* madana-api
*
* <h1>Using the madana-api</h1> <p>This documentation contains a Quickstart Guide, relating client functionality and information about the available endpoints and used datamodels. </p> <p> The madana-api and its implementations are still in heavy development. This means that there may be problems in our protocols, or there may be mistakes in our implementations. We take security vulnerabilities very seriously. If you discover a security issue, please bring it to our attention right away! If you find a vulnerability that may affect live deployments -- for example, by exposing a remote execution exploit -- please send your report privately to info@madana.io. Please DO NOT file a public issue. If the issue is a protocol weakness that cannot be immediately exploited or something not yet deployed, just discuss it openly </p> <br> <p> Note: Not all functionality might be acessible without having accquired and api-license token. For more information visit <a href=\"https://www.madana.io\">www.madana.io</a> </p> <br>
*
* API version: 0.5.0-master.56
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package madanaapiclient
import (
"encoding/json"
)
// XmlNs0EnclaveProcess
type XmlNs0EnclaveProcess struct {
//
AttestationServer *string `json:"attestationServer,omitempty"`
//
ConsoleOutput *string `json:"consoleOutput,omitempty"`
//
EnclaveIdent *string `json:"enclaveIdent,omitempty"`
EnclaveInputstream *XmlNs0InputStream `json:"enclaveInputstream,omitempty"`
//
EndingTime *string `json:"endingTime,omitempty"`
Environment *XmlNs0Environment `json:"environment,omitempty"`
//
InternalAttesationServer *string `json:"internalAttesationServer,omitempty"`
//
InternalIdent *string `json:"internalIdent,omitempty"`
//
InternalRemoteControlServer *string `json:"internalRemoteControlServer,omitempty"`
//
InternalWireguardServer *string `json:"internalWireguardServer,omitempty"`
KubernetesEnclave *XmlNs0KubernetesEnclave `json:"kubernetesEnclave,omitempty"`
//
PortMapping *map[string]interface{} `json:"portMapping,omitempty"`
//
Ports *[]XmlNs0EnclavePort `json:"ports,omitempty"`
Process *XmlNs0Process `json:"process,omitempty"`
//
PublicIdent *string `json:"publicIdent,omitempty"`
//
RemoteControlServer *string `json:"remoteControlServer,omitempty"`
//
SignerIdent *string `json:"signerIdent,omitempty"`
//
StartupCMD *string `json:"startupCMD,omitempty"`
//
StartupTime *string `json:"startupTime,omitempty"`
//
Status *string `json:"status,omitempty"`
WgInterface *XmlNs0WireguardInterface `json:"wgInterface,omitempty"`
//
WireguardPublicKey *string `json:"wireguardPublicKey,omitempty"`
//
WireguardServer *string `json:"wireguardServer,omitempty"`
}
// NewXmlNs0EnclaveProcess instantiates a new XmlNs0EnclaveProcess object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed
func NewXmlNs0EnclaveProcess() *XmlNs0EnclaveProcess {
this := XmlNs0EnclaveProcess{}
return &this
}
// NewXmlNs0EnclaveProcessWithDefaults instantiates a new XmlNs0EnclaveProcess object
// This constructor will only assign default values to properties that have it defined,
// but it doesn't guarantee that properties required by API are set
func NewXmlNs0EnclaveProcessWithDefaults() *XmlNs0EnclaveProcess {
this := XmlNs0EnclaveProcess{}
return &this
}
// GetAttestationServer returns the AttestationServer field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetAttestationServer() string {
if o == nil || o.AttestationServer == nil {
var ret string
return ret
}
return *o.AttestationServer
}
// GetAttestationServerOk returns a tuple with the AttestationServer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetAttestationServerOk() (*string, bool) {
if o == nil || o.AttestationServer == nil {
return nil, false
}
return o.AttestationServer, true
}
// HasAttestationServer returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasAttestationServer() bool {
if o != nil && o.AttestationServer != nil {
return true
}
return false
}
// SetAttestationServer gets a reference to the given string and assigns it to the AttestationServer field.
func (o *XmlNs0EnclaveProcess) SetAttestationServer(v string) {
o.AttestationServer = &v
}
// GetConsoleOutput returns the ConsoleOutput field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetConsoleOutput() string {
if o == nil || o.ConsoleOutput == nil {
var ret string
return ret
}
return *o.ConsoleOutput
}
// GetConsoleOutputOk returns a tuple with the ConsoleOutput field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetConsoleOutputOk() (*string, bool) {
if o == nil || o.ConsoleOutput == nil {
return nil, false
}
return o.ConsoleOutput, true
}
// HasConsoleOutput returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasConsoleOutput() bool {
if o != nil && o.ConsoleOutput != nil {
return true
}
return false
}
// SetConsoleOutput gets a reference to the given string and assigns it to the ConsoleOutput field.
func (o *XmlNs0EnclaveProcess) SetConsoleOutput(v string) {
o.ConsoleOutput = &v
}
// GetEnclaveIdent returns the EnclaveIdent field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetEnclaveIdent() string {
if o == nil || o.EnclaveIdent == nil {
var ret string
return ret
}
return *o.EnclaveIdent
}
// GetEnclaveIdentOk returns a tuple with the EnclaveIdent field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetEnclaveIdentOk() (*string, bool) {
if o == nil || o.EnclaveIdent == nil {
return nil, false
}
return o.EnclaveIdent, true
}
// HasEnclaveIdent returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasEnclaveIdent() bool {
if o != nil && o.EnclaveIdent != nil {
return true
}
return false
}
// SetEnclaveIdent gets a reference to the given string and assigns it to the EnclaveIdent field.
func (o *XmlNs0EnclaveProcess) SetEnclaveIdent(v string) {
o.EnclaveIdent = &v
}
// GetEnclaveInputstream returns the EnclaveInputstream field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetEnclaveInputstream() XmlNs0InputStream {
if o == nil || o.EnclaveInputstream == nil {
var ret XmlNs0InputStream
return ret
}
return *o.EnclaveInputstream
}
// GetEnclaveInputstreamOk returns a tuple with the EnclaveInputstream field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetEnclaveInputstreamOk() (*XmlNs0InputStream, bool) {
if o == nil || o.EnclaveInputstream == nil {
return nil, false
}
return o.EnclaveInputstream, true
}
// HasEnclaveInputstream returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasEnclaveInputstream() bool {
if o != nil && o.EnclaveInputstream != nil {
return true
}
return false
}
// SetEnclaveInputstream gets a reference to the given XmlNs0InputStream and assigns it to the EnclaveInputstream field.
func (o *XmlNs0EnclaveProcess) SetEnclaveInputstream(v XmlNs0InputStream) {
o.EnclaveInputstream = &v
}
// GetEndingTime returns the EndingTime field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetEndingTime() string {
if o == nil || o.EndingTime == nil {
var ret string
return ret
}
return *o.EndingTime
}
// GetEndingTimeOk returns a tuple with the EndingTime field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetEndingTimeOk() (*string, bool) {
if o == nil || o.EndingTime == nil {
return nil, false
}
return o.EndingTime, true
}
// HasEndingTime returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasEndingTime() bool {
if o != nil && o.EndingTime != nil {
return true
}
return false
}
// SetEndingTime gets a reference to the given string and assigns it to the EndingTime field.
func (o *XmlNs0EnclaveProcess) SetEndingTime(v string) {
o.EndingTime = &v
}
// GetEnvironment returns the Environment field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetEnvironment() XmlNs0Environment {
if o == nil || o.Environment == nil {
var ret XmlNs0Environment
return ret
}
return *o.Environment
}
// GetEnvironmentOk returns a tuple with the Environment field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetEnvironmentOk() (*XmlNs0Environment, bool) {
if o == nil || o.Environment == nil {
return nil, false
}
return o.Environment, true
}
// HasEnvironment returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasEnvironment() bool {
if o != nil && o.Environment != nil {
return true
}
return false
}
// SetEnvironment gets a reference to the given XmlNs0Environment and assigns it to the Environment field.
func (o *XmlNs0EnclaveProcess) SetEnvironment(v XmlNs0Environment) {
o.Environment = &v
}
// GetInternalAttesationServer returns the InternalAttesationServer field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetInternalAttesationServer() string {
if o == nil || o.InternalAttesationServer == nil {
var ret string
return ret
}
return *o.InternalAttesationServer
}
// GetInternalAttesationServerOk returns a tuple with the InternalAttesationServer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetInternalAttesationServerOk() (*string, bool) {
if o == nil || o.InternalAttesationServer == nil {
return nil, false
}
return o.InternalAttesationServer, true
}
// HasInternalAttesationServer returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasInternalAttesationServer() bool {
if o != nil && o.InternalAttesationServer != nil {
return true
}
return false
}
// SetInternalAttesationServer gets a reference to the given string and assigns it to the InternalAttesationServer field.
func (o *XmlNs0EnclaveProcess) SetInternalAttesationServer(v string) {
o.InternalAttesationServer = &v
}
// GetInternalIdent returns the InternalIdent field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetInternalIdent() string {
if o == nil || o.InternalIdent == nil {
var ret string
return ret
}
return *o.InternalIdent
}
// GetInternalIdentOk returns a tuple with the InternalIdent field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetInternalIdentOk() (*string, bool) {
if o == nil || o.InternalIdent == nil {
return nil, false
}
return o.InternalIdent, true
}
// HasInternalIdent returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasInternalIdent() bool {
if o != nil && o.InternalIdent != nil {
return true
}
return false
}
// SetInternalIdent gets a reference to the given string and assigns it to the InternalIdent field.
func (o *XmlNs0EnclaveProcess) SetInternalIdent(v string) {
o.InternalIdent = &v
}
// GetInternalRemoteControlServer returns the InternalRemoteControlServer field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetInternalRemoteControlServer() string {
if o == nil || o.InternalRemoteControlServer == nil {
var ret string
return ret
}
return *o.InternalRemoteControlServer
}
// GetInternalRemoteControlServerOk returns a tuple with the InternalRemoteControlServer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetInternalRemoteControlServerOk() (*string, bool) {
if o == nil || o.InternalRemoteControlServer == nil {
return nil, false
}
return o.InternalRemoteControlServer, true
}
// HasInternalRemoteControlServer returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasInternalRemoteControlServer() bool {
if o != nil && o.InternalRemoteControlServer != nil {
return true
}
return false
}
// SetInternalRemoteControlServer gets a reference to the given string and assigns it to the InternalRemoteControlServer field.
func (o *XmlNs0EnclaveProcess) SetInternalRemoteControlServer(v string) {
o.InternalRemoteControlServer = &v
}
// GetInternalWireguardServer returns the InternalWireguardServer field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetInternalWireguardServer() string {
if o == nil || o.InternalWireguardServer == nil {
var ret string
return ret
}
return *o.InternalWireguardServer
}
// GetInternalWireguardServerOk returns a tuple with the InternalWireguardServer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetInternalWireguardServerOk() (*string, bool) {
if o == nil || o.InternalWireguardServer == nil {
return nil, false
}
return o.InternalWireguardServer, true
}
// HasInternalWireguardServer returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasInternalWireguardServer() bool {
if o != nil && o.InternalWireguardServer != nil {
return true
}
return false
}
// SetInternalWireguardServer gets a reference to the given string and assigns it to the InternalWireguardServer field.
func (o *XmlNs0EnclaveProcess) SetInternalWireguardServer(v string) {
o.InternalWireguardServer = &v
}
// GetKubernetesEnclave returns the KubernetesEnclave field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetKubernetesEnclave() XmlNs0KubernetesEnclave {
if o == nil || o.KubernetesEnclave == nil {
var ret XmlNs0KubernetesEnclave
return ret
}
return *o.KubernetesEnclave
}
// GetKubernetesEnclaveOk returns a tuple with the KubernetesEnclave field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetKubernetesEnclaveOk() (*XmlNs0KubernetesEnclave, bool) {
if o == nil || o.KubernetesEnclave == nil {
return nil, false
}
return o.KubernetesEnclave, true
}
// HasKubernetesEnclave returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasKubernetesEnclave() bool {
if o != nil && o.KubernetesEnclave != nil {
return true
}
return false
}
// SetKubernetesEnclave gets a reference to the given XmlNs0KubernetesEnclave and assigns it to the KubernetesEnclave field.
func (o *XmlNs0EnclaveProcess) SetKubernetesEnclave(v XmlNs0KubernetesEnclave) {
o.KubernetesEnclave = &v
}
// GetPortMapping returns the PortMapping field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetPortMapping() map[string]interface{} {
if o == nil || o.PortMapping == nil {
var ret map[string]interface{}
return ret
}
return *o.PortMapping
}
// GetPortMappingOk returns a tuple with the PortMapping field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetPortMappingOk() (*map[string]interface{}, bool) {
if o == nil || o.PortMapping == nil {
return nil, false
}
return o.PortMapping, true
}
// HasPortMapping returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasPortMapping() bool {
if o != nil && o.PortMapping != nil {
return true
}
return false
}
// SetPortMapping gets a reference to the given map[string]interface{} and assigns it to the PortMapping field.
func (o *XmlNs0EnclaveProcess) SetPortMapping(v map[string]interface{}) {
o.PortMapping = &v
}
// GetPorts returns the Ports field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetPorts() []XmlNs0EnclavePort {
if o == nil || o.Ports == nil {
var ret []XmlNs0EnclavePort
return ret
}
return *o.Ports
}
// GetPortsOk returns a tuple with the Ports field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetPortsOk() (*[]XmlNs0EnclavePort, bool) {
if o == nil || o.Ports == nil {
return nil, false
}
return o.Ports, true
}
// HasPorts returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasPorts() bool {
if o != nil && o.Ports != nil {
return true
}
return false
}
// SetPorts gets a reference to the given []XmlNs0EnclavePort and assigns it to the Ports field.
func (o *XmlNs0EnclaveProcess) SetPorts(v []XmlNs0EnclavePort) {
o.Ports = &v
}
// GetProcess returns the Process field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetProcess() XmlNs0Process {
if o == nil || o.Process == nil {
var ret XmlNs0Process
return ret
}
return *o.Process
}
// GetProcessOk returns a tuple with the Process field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetProcessOk() (*XmlNs0Process, bool) {
if o == nil || o.Process == nil {
return nil, false
}
return o.Process, true
}
// HasProcess returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasProcess() bool {
if o != nil && o.Process != nil {
return true
}
return false
}
// SetProcess gets a reference to the given XmlNs0Process and assigns it to the Process field.
func (o *XmlNs0EnclaveProcess) SetProcess(v XmlNs0Process) {
o.Process = &v
}
// GetPublicIdent returns the PublicIdent field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetPublicIdent() string {
if o == nil || o.PublicIdent == nil {
var ret string
return ret
}
return *o.PublicIdent
}
// GetPublicIdentOk returns a tuple with the PublicIdent field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetPublicIdentOk() (*string, bool) {
if o == nil || o.PublicIdent == nil {
return nil, false
}
return o.PublicIdent, true
}
// HasPublicIdent returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasPublicIdent() bool {
if o != nil && o.PublicIdent != nil {
return true
}
return false
}
// SetPublicIdent gets a reference to the given string and assigns it to the PublicIdent field.
func (o *XmlNs0EnclaveProcess) SetPublicIdent(v string) {
o.PublicIdent = &v
}
// GetRemoteControlServer returns the RemoteControlServer field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetRemoteControlServer() string {
if o == nil || o.RemoteControlServer == nil {
var ret string
return ret
}
return *o.RemoteControlServer
}
// GetRemoteControlServerOk returns a tuple with the RemoteControlServer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetRemoteControlServerOk() (*string, bool) {
if o == nil || o.RemoteControlServer == nil {
return nil, false
}
return o.RemoteControlServer, true
}
// HasRemoteControlServer returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasRemoteControlServer() bool {
if o != nil && o.RemoteControlServer != nil {
return true
}
return false
}
// SetRemoteControlServer gets a reference to the given string and assigns it to the RemoteControlServer field.
func (o *XmlNs0EnclaveProcess) SetRemoteControlServer(v string) {
o.RemoteControlServer = &v
}
// GetSignerIdent returns the SignerIdent field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetSignerIdent() string {
if o == nil || o.SignerIdent == nil {
var ret string
return ret
}
return *o.SignerIdent
}
// GetSignerIdentOk returns a tuple with the SignerIdent field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetSignerIdentOk() (*string, bool) {
if o == nil || o.SignerIdent == nil {
return nil, false
}
return o.SignerIdent, true
}
// HasSignerIdent returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasSignerIdent() bool {
if o != nil && o.SignerIdent != nil {
return true
}
return false
}
// SetSignerIdent gets a reference to the given string and assigns it to the SignerIdent field.
func (o *XmlNs0EnclaveProcess) SetSignerIdent(v string) {
o.SignerIdent = &v
}
// GetStartupCMD returns the StartupCMD field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetStartupCMD() string {
if o == nil || o.StartupCMD == nil {
var ret string
return ret
}
return *o.StartupCMD
}
// GetStartupCMDOk returns a tuple with the StartupCMD field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetStartupCMDOk() (*string, bool) {
if o == nil || o.StartupCMD == nil {
return nil, false
}
return o.StartupCMD, true
}
// HasStartupCMD returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasStartupCMD() bool {
if o != nil && o.StartupCMD != nil {
return true
}
return false
}
// SetStartupCMD gets a reference to the given string and assigns it to the StartupCMD field.
func (o *XmlNs0EnclaveProcess) SetStartupCMD(v string) {
o.StartupCMD = &v
}
// GetStartupTime returns the StartupTime field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetStartupTime() string {
if o == nil || o.StartupTime == nil {
var ret string
return ret
}
return *o.StartupTime
}
// GetStartupTimeOk returns a tuple with the StartupTime field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetStartupTimeOk() (*string, bool) {
if o == nil || o.StartupTime == nil {
return nil, false
}
return o.StartupTime, true
}
// HasStartupTime returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasStartupTime() bool {
if o != nil && o.StartupTime != nil {
return true
}
return false
}
// SetStartupTime gets a reference to the given string and assigns it to the StartupTime field.
func (o *XmlNs0EnclaveProcess) SetStartupTime(v string) {
o.StartupTime = &v
}
// GetStatus returns the Status field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetStatus() string {
if o == nil || o.Status == nil {
var ret string
return ret
}
return *o.Status
}
// GetStatusOk returns a tuple with the Status field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetStatusOk() (*string, bool) {
if o == nil || o.Status == nil {
return nil, false
}
return o.Status, true
}
// HasStatus returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasStatus() bool {
if o != nil && o.Status != nil {
return true
}
return false
}
// SetStatus gets a reference to the given string and assigns it to the Status field.
func (o *XmlNs0EnclaveProcess) SetStatus(v string) {
o.Status = &v
}
// GetWgInterface returns the WgInterface field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetWgInterface() XmlNs0WireguardInterface {
if o == nil || o.WgInterface == nil {
var ret XmlNs0WireguardInterface
return ret
}
return *o.WgInterface
}
// GetWgInterfaceOk returns a tuple with the WgInterface field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetWgInterfaceOk() (*XmlNs0WireguardInterface, bool) {
if o == nil || o.WgInterface == nil {
return nil, false
}
return o.WgInterface, true
}
// HasWgInterface returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasWgInterface() bool {
if o != nil && o.WgInterface != nil {
return true
}
return false
}
// SetWgInterface gets a reference to the given XmlNs0WireguardInterface and assigns it to the WgInterface field.
func (o *XmlNs0EnclaveProcess) SetWgInterface(v XmlNs0WireguardInterface) {
o.WgInterface = &v
}
// GetWireguardPublicKey returns the WireguardPublicKey field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetWireguardPublicKey() string {
if o == nil || o.WireguardPublicKey == nil {
var ret string
return ret
}
return *o.WireguardPublicKey
}
// GetWireguardPublicKeyOk returns a tuple with the WireguardPublicKey field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetWireguardPublicKeyOk() (*string, bool) {
if o == nil || o.WireguardPublicKey == nil {
return nil, false
}
return o.WireguardPublicKey, true
}
// HasWireguardPublicKey returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasWireguardPublicKey() bool {
if o != nil && o.WireguardPublicKey != nil {
return true
}
return false
}
// SetWireguardPublicKey gets a reference to the given string and assigns it to the WireguardPublicKey field.
func (o *XmlNs0EnclaveProcess) SetWireguardPublicKey(v string) {
o.WireguardPublicKey = &v
}
// GetWireguardServer returns the WireguardServer field value if set, zero value otherwise.
func (o *XmlNs0EnclaveProcess) GetWireguardServer() string {
if o == nil || o.WireguardServer == nil {
var ret string
return ret
}
return *o.WireguardServer
}
// GetWireguardServerOk returns a tuple with the WireguardServer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *XmlNs0EnclaveProcess) GetWireguardServerOk() (*string, bool) {
if o == nil || o.WireguardServer == nil {
return nil, false
}
return o.WireguardServer, true
}
// HasWireguardServer returns a boolean if a field has been set.
func (o *XmlNs0EnclaveProcess) HasWireguardServer() bool {
if o != nil && o.WireguardServer != nil {
return true
}
return false
}
// SetWireguardServer gets a reference to the given string and assigns it to the WireguardServer field.
func (o *XmlNs0EnclaveProcess) SetWireguardServer(v string) {
o.WireguardServer = &v
}
func (o XmlNs0EnclaveProcess) MarshalJSON() ([]byte, error) {
toSerialize := map[string]interface{}{}
if o.AttestationServer != nil {
toSerialize["attestationServer"] = o.AttestationServer
}
if o.ConsoleOutput != nil {
toSerialize["consoleOutput"] = o.ConsoleOutput
}
if o.EnclaveIdent != nil {
toSerialize["enclaveIdent"] = o.EnclaveIdent
}
if o.EnclaveInputstream != nil {
toSerialize["enclaveInputstream"] = o.EnclaveInputstream
}
if o.EndingTime != nil {
toSerialize["endingTime"] = o.EndingTime
}
if o.Environment != nil {
toSerialize["environment"] = o.Environment
}
if o.InternalAttesationServer != nil {
toSerialize["internalAttesationServer"] = o.InternalAttesationServer
}
if o.InternalIdent != nil {
toSerialize["internalIdent"] = o.InternalIdent
}
if o.InternalRemoteControlServer != nil {
toSerialize["internalRemoteControlServer"] = o.InternalRemoteControlServer
}
if o.InternalWireguardServer != nil {
toSerialize["internalWireguardServer"] = o.InternalWireguardServer
}
if o.KubernetesEnclave != nil {
toSerialize["kubernetesEnclave"] = o.KubernetesEnclave
}
if o.PortMapping != nil {
toSerialize["portMapping"] = o.PortMapping
}
if o.Ports != nil {
toSerialize["ports"] = o.Ports
}
if o.Process != nil {
toSerialize["process"] = o.Process
}
if o.PublicIdent != nil {
toSerialize["publicIdent"] = o.PublicIdent
}
if o.RemoteControlServer != nil {
toSerialize["remoteControlServer"] = o.RemoteControlServer
}
if o.SignerIdent != nil {
toSerialize["signerIdent"] = o.SignerIdent
}
if o.StartupCMD != nil {
toSerialize["startupCMD"] = o.StartupCMD
}
if o.StartupTime != nil {
toSerialize["startupTime"] = o.StartupTime
}
if o.Status != nil {
toSerialize["status"] = o.Status
}
if o.WgInterface != nil {
toSerialize["wgInterface"] = o.WgInterface
}
if o.WireguardPublicKey != nil {
toSerialize["wireguardPublicKey"] = o.WireguardPublicKey
}
if o.WireguardServer != nil {
toSerialize["wireguardServer"] = o.WireguardServer
}
return json.Marshal(toSerialize)
}
type NullableXmlNs0EnclaveProcess struct {
value *XmlNs0EnclaveProcess
isSet bool
}
func (v NullableXmlNs0EnclaveProcess) Get() *XmlNs0EnclaveProcess {
return v.value
}
func (v *NullableXmlNs0EnclaveProcess) Set(val *XmlNs0EnclaveProcess) {
v.value = val
v.isSet = true
}
func (v NullableXmlNs0EnclaveProcess) IsSet() bool {
return v.isSet
}
func (v *NullableXmlNs0EnclaveProcess) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableXmlNs0EnclaveProcess(val *XmlNs0EnclaveProcess) *NullableXmlNs0EnclaveProcess {
return &NullableXmlNs0EnclaveProcess{value: val, isSet: true}
}
func (v NullableXmlNs0EnclaveProcess) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableXmlNs0EnclaveProcess) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}