-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_keyfactor_web_keyfactor_api_models_ssl_network_query_response.go
1032 lines (879 loc) · 39.4 KB
/
model_keyfactor_web_keyfactor_api_models_ssl_network_query_response.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
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
Copyright 2023 Keyfactor
Licensed under the Apache License, Version 2.0 (the License); you may
not use this file except in compliance with the License. You may obtain a
copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless
required by applicable law or agreed to in writing, software distributed
under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES
OR CONDITIONS OF ANY KIND, either express or implied. See the License for
the specific language governing permissions and limitations under the
License.
Keyfactor API Reference and Utility
<p>This page provides a utility through which the Keyfactor API endpoints can be called and results returned. It is intended to be used primarily for validation, testing and workflow development. It also serves secondarily as documentation for the API.</p> <p>If you would like to view documentation containing details on the Keyfactor API and endpoints, please refer to the Web API section of the Keyfactor Command documentation.</p>
API version: 1.0
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package command
import (
"encoding/json"
"time"
)
// checks if the KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse{}
// KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse struct for KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse
type KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse struct {
NetworkId *string `json:"networkId,omitempty"`
Name NullableString `json:"name,omitempty"`
AgentPoolName NullableString `json:"agentPoolName,omitempty"`
AgentPoolId NullableString `json:"agentPoolId,omitempty"`
Description NullableString `json:"description,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
DiscoverSchedule *KeyfactorCommonSchedulingKeyfactorSchedule `json:"discoverSchedule,omitempty"`
MonitorSchedule *KeyfactorCommonSchedulingKeyfactorSchedule `json:"monitorSchedule,omitempty"`
DiscoverPercentComplete *float64 `json:"discoverPercentComplete,omitempty"`
MonitorPercentComplete *float64 `json:"monitorPercentComplete,omitempty"`
DiscoverStatus *CSSCMSCoreEnumsSslNetworkJobStatus `json:"discoverStatus,omitempty"`
MonitorStatus *CSSCMSCoreEnumsSslNetworkJobStatus `json:"monitorStatus,omitempty"`
DiscoverLastScanned NullableTime `json:"discoverLastScanned,omitempty"`
MonitorLastScanned NullableTime `json:"monitorLastScanned,omitempty"`
SslAlertRecipients []string `json:"sslAlertRecipients,omitempty"`
GetRobots *bool `json:"getRobots,omitempty"`
DiscoverTimeoutMs *float64 `json:"discoverTimeoutMs,omitempty"`
MonitorTimeoutMs *float64 `json:"monitorTimeoutMs,omitempty"`
ExpirationAlertDays *float64 `json:"expirationAlertDays,omitempty"`
DiscoverJobParts *int32 `json:"discoverJobParts,omitempty"`
MonitorJobParts *int32 `json:"monitorJobParts,omitempty"`
QuietHours []KeyfactorWebKeyfactorApiModelsSslQuietHourResponse `json:"quietHours,omitempty"`
BlackoutStart *KeyfactorCommonSchedulingModelsWeeklyModel `json:"blackoutStart,omitempty"`
BlackoutEnd *KeyfactorCommonSchedulingModelsWeeklyModel `json:"blackoutEnd,omitempty"`
}
// NewKeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse instantiates a new KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse 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 NewKeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse() *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse {
this := KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse{}
return &this
}
// NewKeyfactorWebKeyfactorApiModelsSslNetworkQueryResponseWithDefaults instantiates a new KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse 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 NewKeyfactorWebKeyfactorApiModelsSslNetworkQueryResponseWithDefaults() *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse {
this := KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse{}
return &this
}
// GetNetworkId returns the NetworkId field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetNetworkId() string {
if o == nil || isNil(o.NetworkId) {
var ret string
return ret
}
return *o.NetworkId
}
// GetNetworkIdOk returns a tuple with the NetworkId field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetNetworkIdOk() (*string, bool) {
if o == nil || isNil(o.NetworkId) {
return nil, false
}
return o.NetworkId, true
}
// HasNetworkId returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasNetworkId() bool {
if o != nil && !isNil(o.NetworkId) {
return true
}
return false
}
// SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetNetworkId(v string) {
o.NetworkId = &v
}
// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetName() string {
if o == nil || isNil(o.Name.Get()) {
var ret string
return ret
}
return *o.Name.Get()
}
// GetNameOk returns a tuple with the Name field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Name.Get(), o.Name.IsSet()
}
// HasName returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasName() bool {
if o != nil && o.Name.IsSet() {
return true
}
return false
}
// SetName gets a reference to the given NullableString and assigns it to the Name field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetName(v string) {
o.Name.Set(&v)
}
// SetNameNil sets the value for Name to be an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetNameNil() {
o.Name.Set(nil)
}
// UnsetName ensures that no value is present for Name, not even an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) UnsetName() {
o.Name.Unset()
}
// GetAgentPoolName returns the AgentPoolName field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetAgentPoolName() string {
if o == nil || isNil(o.AgentPoolName.Get()) {
var ret string
return ret
}
return *o.AgentPoolName.Get()
}
// GetAgentPoolNameOk returns a tuple with the AgentPoolName field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetAgentPoolNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.AgentPoolName.Get(), o.AgentPoolName.IsSet()
}
// HasAgentPoolName returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasAgentPoolName() bool {
if o != nil && o.AgentPoolName.IsSet() {
return true
}
return false
}
// SetAgentPoolName gets a reference to the given NullableString and assigns it to the AgentPoolName field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetAgentPoolName(v string) {
o.AgentPoolName.Set(&v)
}
// SetAgentPoolNameNil sets the value for AgentPoolName to be an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetAgentPoolNameNil() {
o.AgentPoolName.Set(nil)
}
// UnsetAgentPoolName ensures that no value is present for AgentPoolName, not even an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) UnsetAgentPoolName() {
o.AgentPoolName.Unset()
}
// GetAgentPoolId returns the AgentPoolId field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetAgentPoolId() string {
if o == nil || isNil(o.AgentPoolId.Get()) {
var ret string
return ret
}
return *o.AgentPoolId.Get()
}
// GetAgentPoolIdOk returns a tuple with the AgentPoolId field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetAgentPoolIdOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.AgentPoolId.Get(), o.AgentPoolId.IsSet()
}
// HasAgentPoolId returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasAgentPoolId() bool {
if o != nil && o.AgentPoolId.IsSet() {
return true
}
return false
}
// SetAgentPoolId gets a reference to the given NullableString and assigns it to the AgentPoolId field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetAgentPoolId(v string) {
o.AgentPoolId.Set(&v)
}
// SetAgentPoolIdNil sets the value for AgentPoolId to be an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetAgentPoolIdNil() {
o.AgentPoolId.Set(nil)
}
// UnsetAgentPoolId ensures that no value is present for AgentPoolId, not even an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) UnsetAgentPoolId() {
o.AgentPoolId.Unset()
}
// GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetDescription() string {
if o == nil || isNil(o.Description.Get()) {
var ret string
return ret
}
return *o.Description.Get()
}
// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetDescriptionOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.Description.Get(), o.Description.IsSet()
}
// HasDescription returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasDescription() bool {
if o != nil && o.Description.IsSet() {
return true
}
return false
}
// SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetDescription(v string) {
o.Description.Set(&v)
}
// SetDescriptionNil sets the value for Description to be an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetDescriptionNil() {
o.Description.Set(nil)
}
// UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) UnsetDescription() {
o.Description.Unset()
}
// GetEnabled returns the Enabled field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetEnabled() bool {
if o == nil || isNil(o.Enabled) {
var ret bool
return ret
}
return *o.Enabled
}
// GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetEnabledOk() (*bool, bool) {
if o == nil || isNil(o.Enabled) {
return nil, false
}
return o.Enabled, true
}
// HasEnabled returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasEnabled() bool {
if o != nil && !isNil(o.Enabled) {
return true
}
return false
}
// SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetEnabled(v bool) {
o.Enabled = &v
}
// GetDiscoverSchedule returns the DiscoverSchedule field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetDiscoverSchedule() KeyfactorCommonSchedulingKeyfactorSchedule {
if o == nil || isNil(o.DiscoverSchedule) {
var ret KeyfactorCommonSchedulingKeyfactorSchedule
return ret
}
return *o.DiscoverSchedule
}
// GetDiscoverScheduleOk returns a tuple with the DiscoverSchedule field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetDiscoverScheduleOk() (*KeyfactorCommonSchedulingKeyfactorSchedule, bool) {
if o == nil || isNil(o.DiscoverSchedule) {
return nil, false
}
return o.DiscoverSchedule, true
}
// HasDiscoverSchedule returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasDiscoverSchedule() bool {
if o != nil && !isNil(o.DiscoverSchedule) {
return true
}
return false
}
// SetDiscoverSchedule gets a reference to the given KeyfactorCommonSchedulingKeyfactorSchedule and assigns it to the DiscoverSchedule field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetDiscoverSchedule(v KeyfactorCommonSchedulingKeyfactorSchedule) {
o.DiscoverSchedule = &v
}
// GetMonitorSchedule returns the MonitorSchedule field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetMonitorSchedule() KeyfactorCommonSchedulingKeyfactorSchedule {
if o == nil || isNil(o.MonitorSchedule) {
var ret KeyfactorCommonSchedulingKeyfactorSchedule
return ret
}
return *o.MonitorSchedule
}
// GetMonitorScheduleOk returns a tuple with the MonitorSchedule field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetMonitorScheduleOk() (*KeyfactorCommonSchedulingKeyfactorSchedule, bool) {
if o == nil || isNil(o.MonitorSchedule) {
return nil, false
}
return o.MonitorSchedule, true
}
// HasMonitorSchedule returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasMonitorSchedule() bool {
if o != nil && !isNil(o.MonitorSchedule) {
return true
}
return false
}
// SetMonitorSchedule gets a reference to the given KeyfactorCommonSchedulingKeyfactorSchedule and assigns it to the MonitorSchedule field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetMonitorSchedule(v KeyfactorCommonSchedulingKeyfactorSchedule) {
o.MonitorSchedule = &v
}
// GetDiscoverPercentComplete returns the DiscoverPercentComplete field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetDiscoverPercentComplete() float64 {
if o == nil || isNil(o.DiscoverPercentComplete) {
var ret float64
return ret
}
return *o.DiscoverPercentComplete
}
// GetDiscoverPercentCompleteOk returns a tuple with the DiscoverPercentComplete field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetDiscoverPercentCompleteOk() (*float64, bool) {
if o == nil || isNil(o.DiscoverPercentComplete) {
return nil, false
}
return o.DiscoverPercentComplete, true
}
// HasDiscoverPercentComplete returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasDiscoverPercentComplete() bool {
if o != nil && !isNil(o.DiscoverPercentComplete) {
return true
}
return false
}
// SetDiscoverPercentComplete gets a reference to the given float64 and assigns it to the DiscoverPercentComplete field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetDiscoverPercentComplete(v float64) {
o.DiscoverPercentComplete = &v
}
// GetMonitorPercentComplete returns the MonitorPercentComplete field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetMonitorPercentComplete() float64 {
if o == nil || isNil(o.MonitorPercentComplete) {
var ret float64
return ret
}
return *o.MonitorPercentComplete
}
// GetMonitorPercentCompleteOk returns a tuple with the MonitorPercentComplete field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetMonitorPercentCompleteOk() (*float64, bool) {
if o == nil || isNil(o.MonitorPercentComplete) {
return nil, false
}
return o.MonitorPercentComplete, true
}
// HasMonitorPercentComplete returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasMonitorPercentComplete() bool {
if o != nil && !isNil(o.MonitorPercentComplete) {
return true
}
return false
}
// SetMonitorPercentComplete gets a reference to the given float64 and assigns it to the MonitorPercentComplete field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetMonitorPercentComplete(v float64) {
o.MonitorPercentComplete = &v
}
// GetDiscoverStatus returns the DiscoverStatus field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetDiscoverStatus() CSSCMSCoreEnumsSslNetworkJobStatus {
if o == nil || isNil(o.DiscoverStatus) {
var ret CSSCMSCoreEnumsSslNetworkJobStatus
return ret
}
return *o.DiscoverStatus
}
// GetDiscoverStatusOk returns a tuple with the DiscoverStatus field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetDiscoverStatusOk() (*CSSCMSCoreEnumsSslNetworkJobStatus, bool) {
if o == nil || isNil(o.DiscoverStatus) {
return nil, false
}
return o.DiscoverStatus, true
}
// HasDiscoverStatus returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasDiscoverStatus() bool {
if o != nil && !isNil(o.DiscoverStatus) {
return true
}
return false
}
// SetDiscoverStatus gets a reference to the given CSSCMSCoreEnumsSslNetworkJobStatus and assigns it to the DiscoverStatus field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetDiscoverStatus(v CSSCMSCoreEnumsSslNetworkJobStatus) {
o.DiscoverStatus = &v
}
// GetMonitorStatus returns the MonitorStatus field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetMonitorStatus() CSSCMSCoreEnumsSslNetworkJobStatus {
if o == nil || isNil(o.MonitorStatus) {
var ret CSSCMSCoreEnumsSslNetworkJobStatus
return ret
}
return *o.MonitorStatus
}
// GetMonitorStatusOk returns a tuple with the MonitorStatus field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetMonitorStatusOk() (*CSSCMSCoreEnumsSslNetworkJobStatus, bool) {
if o == nil || isNil(o.MonitorStatus) {
return nil, false
}
return o.MonitorStatus, true
}
// HasMonitorStatus returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasMonitorStatus() bool {
if o != nil && !isNil(o.MonitorStatus) {
return true
}
return false
}
// SetMonitorStatus gets a reference to the given CSSCMSCoreEnumsSslNetworkJobStatus and assigns it to the MonitorStatus field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetMonitorStatus(v CSSCMSCoreEnumsSslNetworkJobStatus) {
o.MonitorStatus = &v
}
// GetDiscoverLastScanned returns the DiscoverLastScanned field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetDiscoverLastScanned() time.Time {
if o == nil || isNil(o.DiscoverLastScanned.Get()) {
var ret time.Time
return ret
}
return *o.DiscoverLastScanned.Get()
}
// GetDiscoverLastScannedOk returns a tuple with the DiscoverLastScanned field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetDiscoverLastScannedOk() (*time.Time, bool) {
if o == nil {
return nil, false
}
return o.DiscoverLastScanned.Get(), o.DiscoverLastScanned.IsSet()
}
// HasDiscoverLastScanned returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasDiscoverLastScanned() bool {
if o != nil && o.DiscoverLastScanned.IsSet() {
return true
}
return false
}
// SetDiscoverLastScanned gets a reference to the given NullableTime and assigns it to the DiscoverLastScanned field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetDiscoverLastScanned(v time.Time) {
o.DiscoverLastScanned.Set(&v)
}
// SetDiscoverLastScannedNil sets the value for DiscoverLastScanned to be an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetDiscoverLastScannedNil() {
o.DiscoverLastScanned.Set(nil)
}
// UnsetDiscoverLastScanned ensures that no value is present for DiscoverLastScanned, not even an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) UnsetDiscoverLastScanned() {
o.DiscoverLastScanned.Unset()
}
// GetMonitorLastScanned returns the MonitorLastScanned field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetMonitorLastScanned() time.Time {
if o == nil || isNil(o.MonitorLastScanned.Get()) {
var ret time.Time
return ret
}
return *o.MonitorLastScanned.Get()
}
// GetMonitorLastScannedOk returns a tuple with the MonitorLastScanned field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetMonitorLastScannedOk() (*time.Time, bool) {
if o == nil {
return nil, false
}
return o.MonitorLastScanned.Get(), o.MonitorLastScanned.IsSet()
}
// HasMonitorLastScanned returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasMonitorLastScanned() bool {
if o != nil && o.MonitorLastScanned.IsSet() {
return true
}
return false
}
// SetMonitorLastScanned gets a reference to the given NullableTime and assigns it to the MonitorLastScanned field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetMonitorLastScanned(v time.Time) {
o.MonitorLastScanned.Set(&v)
}
// SetMonitorLastScannedNil sets the value for MonitorLastScanned to be an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetMonitorLastScannedNil() {
o.MonitorLastScanned.Set(nil)
}
// UnsetMonitorLastScanned ensures that no value is present for MonitorLastScanned, not even an explicit nil
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) UnsetMonitorLastScanned() {
o.MonitorLastScanned.Unset()
}
// GetSslAlertRecipients returns the SslAlertRecipients field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetSslAlertRecipients() []string {
if o == nil {
var ret []string
return ret
}
return o.SslAlertRecipients
}
// GetSslAlertRecipientsOk returns a tuple with the SslAlertRecipients field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetSslAlertRecipientsOk() ([]string, bool) {
if o == nil || isNil(o.SslAlertRecipients) {
return nil, false
}
return o.SslAlertRecipients, true
}
// HasSslAlertRecipients returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasSslAlertRecipients() bool {
if o != nil && isNil(o.SslAlertRecipients) {
return true
}
return false
}
// SetSslAlertRecipients gets a reference to the given []string and assigns it to the SslAlertRecipients field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetSslAlertRecipients(v []string) {
o.SslAlertRecipients = v
}
// GetGetRobots returns the GetRobots field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetGetRobots() bool {
if o == nil || isNil(o.GetRobots) {
var ret bool
return ret
}
return *o.GetRobots
}
// GetGetRobotsOk returns a tuple with the GetRobots field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetGetRobotsOk() (*bool, bool) {
if o == nil || isNil(o.GetRobots) {
return nil, false
}
return o.GetRobots, true
}
// HasGetRobots returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasGetRobots() bool {
if o != nil && !isNil(o.GetRobots) {
return true
}
return false
}
// SetGetRobots gets a reference to the given bool and assigns it to the GetRobots field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetGetRobots(v bool) {
o.GetRobots = &v
}
// GetDiscoverTimeoutMs returns the DiscoverTimeoutMs field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetDiscoverTimeoutMs() float64 {
if o == nil || isNil(o.DiscoverTimeoutMs) {
var ret float64
return ret
}
return *o.DiscoverTimeoutMs
}
// GetDiscoverTimeoutMsOk returns a tuple with the DiscoverTimeoutMs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetDiscoverTimeoutMsOk() (*float64, bool) {
if o == nil || isNil(o.DiscoverTimeoutMs) {
return nil, false
}
return o.DiscoverTimeoutMs, true
}
// HasDiscoverTimeoutMs returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasDiscoverTimeoutMs() bool {
if o != nil && !isNil(o.DiscoverTimeoutMs) {
return true
}
return false
}
// SetDiscoverTimeoutMs gets a reference to the given float64 and assigns it to the DiscoverTimeoutMs field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetDiscoverTimeoutMs(v float64) {
o.DiscoverTimeoutMs = &v
}
// GetMonitorTimeoutMs returns the MonitorTimeoutMs field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetMonitorTimeoutMs() float64 {
if o == nil || isNil(o.MonitorTimeoutMs) {
var ret float64
return ret
}
return *o.MonitorTimeoutMs
}
// GetMonitorTimeoutMsOk returns a tuple with the MonitorTimeoutMs field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetMonitorTimeoutMsOk() (*float64, bool) {
if o == nil || isNil(o.MonitorTimeoutMs) {
return nil, false
}
return o.MonitorTimeoutMs, true
}
// HasMonitorTimeoutMs returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasMonitorTimeoutMs() bool {
if o != nil && !isNil(o.MonitorTimeoutMs) {
return true
}
return false
}
// SetMonitorTimeoutMs gets a reference to the given float64 and assigns it to the MonitorTimeoutMs field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetMonitorTimeoutMs(v float64) {
o.MonitorTimeoutMs = &v
}
// GetExpirationAlertDays returns the ExpirationAlertDays field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetExpirationAlertDays() float64 {
if o == nil || isNil(o.ExpirationAlertDays) {
var ret float64
return ret
}
return *o.ExpirationAlertDays
}
// GetExpirationAlertDaysOk returns a tuple with the ExpirationAlertDays field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetExpirationAlertDaysOk() (*float64, bool) {
if o == nil || isNil(o.ExpirationAlertDays) {
return nil, false
}
return o.ExpirationAlertDays, true
}
// HasExpirationAlertDays returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasExpirationAlertDays() bool {
if o != nil && !isNil(o.ExpirationAlertDays) {
return true
}
return false
}
// SetExpirationAlertDays gets a reference to the given float64 and assigns it to the ExpirationAlertDays field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetExpirationAlertDays(v float64) {
o.ExpirationAlertDays = &v
}
// GetDiscoverJobParts returns the DiscoverJobParts field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetDiscoverJobParts() int32 {
if o == nil || isNil(o.DiscoverJobParts) {
var ret int32
return ret
}
return *o.DiscoverJobParts
}
// GetDiscoverJobPartsOk returns a tuple with the DiscoverJobParts field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetDiscoverJobPartsOk() (*int32, bool) {
if o == nil || isNil(o.DiscoverJobParts) {
return nil, false
}
return o.DiscoverJobParts, true
}
// HasDiscoverJobParts returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasDiscoverJobParts() bool {
if o != nil && !isNil(o.DiscoverJobParts) {
return true
}
return false
}
// SetDiscoverJobParts gets a reference to the given int32 and assigns it to the DiscoverJobParts field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetDiscoverJobParts(v int32) {
o.DiscoverJobParts = &v
}
// GetMonitorJobParts returns the MonitorJobParts field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetMonitorJobParts() int32 {
if o == nil || isNil(o.MonitorJobParts) {
var ret int32
return ret
}
return *o.MonitorJobParts
}
// GetMonitorJobPartsOk returns a tuple with the MonitorJobParts field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetMonitorJobPartsOk() (*int32, bool) {
if o == nil || isNil(o.MonitorJobParts) {
return nil, false
}
return o.MonitorJobParts, true
}
// HasMonitorJobParts returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasMonitorJobParts() bool {
if o != nil && !isNil(o.MonitorJobParts) {
return true
}
return false
}
// SetMonitorJobParts gets a reference to the given int32 and assigns it to the MonitorJobParts field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetMonitorJobParts(v int32) {
o.MonitorJobParts = &v
}
// GetQuietHours returns the QuietHours field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetQuietHours() []KeyfactorWebKeyfactorApiModelsSslQuietHourResponse {
if o == nil {
var ret []KeyfactorWebKeyfactorApiModelsSslQuietHourResponse
return ret
}
return o.QuietHours
}
// GetQuietHoursOk returns a tuple with the QuietHours field value if set, nil otherwise
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetQuietHoursOk() ([]KeyfactorWebKeyfactorApiModelsSslQuietHourResponse, bool) {
if o == nil || isNil(o.QuietHours) {
return nil, false
}
return o.QuietHours, true
}
// HasQuietHours returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasQuietHours() bool {
if o != nil && isNil(o.QuietHours) {
return true
}
return false
}
// SetQuietHours gets a reference to the given []KeyfactorWebKeyfactorApiModelsSslQuietHourResponse and assigns it to the QuietHours field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetQuietHours(v []KeyfactorWebKeyfactorApiModelsSslQuietHourResponse) {
o.QuietHours = v
}
// GetBlackoutStart returns the BlackoutStart field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetBlackoutStart() KeyfactorCommonSchedulingModelsWeeklyModel {
if o == nil || isNil(o.BlackoutStart) {
var ret KeyfactorCommonSchedulingModelsWeeklyModel
return ret
}
return *o.BlackoutStart
}
// GetBlackoutStartOk returns a tuple with the BlackoutStart field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetBlackoutStartOk() (*KeyfactorCommonSchedulingModelsWeeklyModel, bool) {
if o == nil || isNil(o.BlackoutStart) {
return nil, false
}
return o.BlackoutStart, true
}
// HasBlackoutStart returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasBlackoutStart() bool {
if o != nil && !isNil(o.BlackoutStart) {
return true
}
return false
}
// SetBlackoutStart gets a reference to the given KeyfactorCommonSchedulingModelsWeeklyModel and assigns it to the BlackoutStart field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetBlackoutStart(v KeyfactorCommonSchedulingModelsWeeklyModel) {
o.BlackoutStart = &v
}
// GetBlackoutEnd returns the BlackoutEnd field value if set, zero value otherwise.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetBlackoutEnd() KeyfactorCommonSchedulingModelsWeeklyModel {
if o == nil || isNil(o.BlackoutEnd) {
var ret KeyfactorCommonSchedulingModelsWeeklyModel
return ret
}
return *o.BlackoutEnd
}
// GetBlackoutEndOk returns a tuple with the BlackoutEnd field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) GetBlackoutEndOk() (*KeyfactorCommonSchedulingModelsWeeklyModel, bool) {
if o == nil || isNil(o.BlackoutEnd) {
return nil, false
}
return o.BlackoutEnd, true
}
// HasBlackoutEnd returns a boolean if a field has been set.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) HasBlackoutEnd() bool {
if o != nil && !isNil(o.BlackoutEnd) {
return true
}
return false
}
// SetBlackoutEnd gets a reference to the given KeyfactorCommonSchedulingModelsWeeklyModel and assigns it to the BlackoutEnd field.
func (o *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) SetBlackoutEnd(v KeyfactorCommonSchedulingModelsWeeklyModel) {
o.BlackoutEnd = &v
}
func (o KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) MarshalJSON() ([]byte, error) {
toSerialize, err := o.ToMap()
if err != nil {
return []byte{}, err
}
return json.Marshal(toSerialize)
}
func (o KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
if !isNil(o.NetworkId) {
toSerialize["networkId"] = o.NetworkId
}
if o.Name.IsSet() {
toSerialize["name"] = o.Name.Get()
}
if o.AgentPoolName.IsSet() {
toSerialize["agentPoolName"] = o.AgentPoolName.Get()
}
if o.AgentPoolId.IsSet() {
toSerialize["agentPoolId"] = o.AgentPoolId.Get()
}
if o.Description.IsSet() {
toSerialize["description"] = o.Description.Get()
}
if !isNil(o.Enabled) {
toSerialize["enabled"] = o.Enabled
}
if !isNil(o.DiscoverSchedule) {
toSerialize["discoverSchedule"] = o.DiscoverSchedule
}
if !isNil(o.MonitorSchedule) {
toSerialize["monitorSchedule"] = o.MonitorSchedule
}
if !isNil(o.DiscoverPercentComplete) {
toSerialize["discoverPercentComplete"] = o.DiscoverPercentComplete
}
if !isNil(o.MonitorPercentComplete) {
toSerialize["monitorPercentComplete"] = o.MonitorPercentComplete
}
if !isNil(o.DiscoverStatus) {
toSerialize["discoverStatus"] = o.DiscoverStatus
}
if !isNil(o.MonitorStatus) {
toSerialize["monitorStatus"] = o.MonitorStatus
}
if o.DiscoverLastScanned.IsSet() {
toSerialize["discoverLastScanned"] = o.DiscoverLastScanned.Get()
}
if o.MonitorLastScanned.IsSet() {
toSerialize["monitorLastScanned"] = o.MonitorLastScanned.Get()
}
if o.SslAlertRecipients != nil {
toSerialize["sslAlertRecipients"] = o.SslAlertRecipients
}
if !isNil(o.GetRobots) {
toSerialize["getRobots"] = o.GetRobots
}
if !isNil(o.DiscoverTimeoutMs) {
toSerialize["discoverTimeoutMs"] = o.DiscoverTimeoutMs
}
if !isNil(o.MonitorTimeoutMs) {
toSerialize["monitorTimeoutMs"] = o.MonitorTimeoutMs
}
if !isNil(o.ExpirationAlertDays) {
toSerialize["expirationAlertDays"] = o.ExpirationAlertDays
}
if !isNil(o.DiscoverJobParts) {
toSerialize["discoverJobParts"] = o.DiscoverJobParts
}
if !isNil(o.MonitorJobParts) {
toSerialize["monitorJobParts"] = o.MonitorJobParts
}
if o.QuietHours != nil {
toSerialize["quietHours"] = o.QuietHours
}
if !isNil(o.BlackoutStart) {
toSerialize["blackoutStart"] = o.BlackoutStart
}
if !isNil(o.BlackoutEnd) {
toSerialize["blackoutEnd"] = o.BlackoutEnd
}
return toSerialize, nil
}
type NullableKeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse struct {
value *KeyfactorWebKeyfactorApiModelsSslNetworkQueryResponse
isSet bool