-
Notifications
You must be signed in to change notification settings - Fork 1
/
model_site_detail_response_model.go
1329 lines (1142 loc) · 47.4 KB
/
model_site_detail_response_model.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
/*
Citrix Virtual Apps and Desktops Rest API for Developer Portal
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
API version: devportal-onprem-ga
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package citrixorchestration
import (
"encoding/json"
)
// checks if the SiteDetailResponseModel type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &SiteDetailResponseModel{}
// SiteDetailResponseModel struct for SiteDetailResponseModel
type SiteDetailResponseModel struct {
// Globally unique id of the site.
Id string `json:"Id"`
// Site name. Not guaranteed to be unique.
Name string `json:"Name"`
// Orchestration API version
OrchestationApiVersion int32 `json:"OrchestationApiVersion"`
AppProtectionAuthorized *bool `json:"AppProtectionAuthorized,omitempty"`
// The Uid for the Configuration Service Group.
ConfigurationServiceGroupUid NullableString `json:"ConfigurationServiceGroupUid,omitempty"`
// Hostname of the licensing server for the site. Will be null for XenApp & XenDesktop service.
LicenseServerName NullableString `json:"LicenseServerName,omitempty"`
// License server port. Will be null for XenApp & XenDesktop service.
LicenseServerPort NullableInt32 `json:"LicenseServerPort,omitempty"`
// License server URI. Will be null for XenApp & XenDesktop service.
LicenseServerUri NullableString `json:"LicenseServerUri,omitempty"`
LicensingModel *LicenseModel `json:"LicensingModel,omitempty"`
// Indicates whether the site's initial configuration is complete.
SiteConfigurationComplete *bool `json:"SiteConfigurationComplete,omitempty"`
PrimaryZone RefResponseModel `json:"PrimaryZone"`
// Product code for the site license.
ProductCode string `json:"ProductCode"`
// Product edition for the site license.
ProductEdition string `json:"ProductEdition"`
// Product version.
ProductVersion string `json:"ProductVersion"`
// The metadata of Site.
Metadata []NameValueStringPairModel `json:"Metadata,omitempty"`
// Services running within the site.
SiteServices []SiteServiceResponseModel `json:"SiteServices"`
// Enabled features within the site.
EnabledFeatures []string `json:"EnabledFeatures"`
// The objectGUID property identifying the base OU in Active Directory used for desktop registrations.
BaseOU NullableString `json:"BaseOU,omitempty"`
ColorDepth ColorDepth `json:"ColorDepth"`
// Indicates whether connection leasing is enabled.
ConnectionLeasingEnabled *bool `json:"ConnectionLeasingEnabled,omitempty"`
DefaultMinimumFunctionalLevel *FunctionalLevel `json:"DefaultMinimumFunctionalLevel,omitempty"`
// The default desktop icon used for new delivery groups.
DefaultDesktopIconId string `json:"DefaultDesktopIconId"`
// Indicates whether numeric IP addresses or DNS names are present in ICA files.
DnsResolutionEnabled *bool `json:"DnsResolutionEnabled,omitempty"`
// The number of licensing grace sessions remaining.
LicenseGraceSessionsRemaining NullableInt32 `json:"LicenseGraceSessionsRemaining,omitempty"`
// The number of active, licensed sessions.
LicensedSessionsActive NullableInt32 `json:"LicensedSessionsActive,omitempty"`
// When in an active licensing grace period, indicates the number of hours remaining in the grace period. Will be null for XenApp & XenDesktop service.
LicensingGraceHoursLeft NullableInt32 `json:"LicensingGraceHoursLeft,omitempty"`
// Indicates whether a licensing grace period is active. Will be null for XenApp & XenDesktop service.
LicensingGracePeriodActive NullableBool `json:"LicensingGracePeriodActive,omitempty"`
// The peak number of concurrent licensed users. Only applies if LicensingModel is Concurrent.
PeakConcurrentLicenseUsers NullableInt32 `json:"PeakConcurrentLicenseUsers,omitempty"`
// Allow sessions to launch on shared machines without an intermediate shutdown while the system is operating in outage mode.
ReuseMachinesWithoutShutdownInOutageAllowed *bool `json:"ReuseMachinesWithoutShutdownInOutageAllowed,omitempty"`
// The default SecureICA usage for new delivery groups.
DefaultSecureIcaRequired *bool `json:"DefaultSecureIcaRequired,omitempty"`
// The total count of unique license users.
TotalUniqueLicenseUsers NullableInt32 `json:"TotalUniqueLicenseUsers,omitempty"`
// Indicates whether the XML service trusts the caller to specify user identity.
TrustRequestsSentToTheXmlServicePort NullableBool `json:"TrustRequestsSentToTheXmlServicePort,omitempty"`
// Get active licensing alerts in the site. Will be null for XenApp & XenDesktop service.
LicensingAlerts []LicensingAlertResponseModel `json:"LicensingAlerts,omitempty"`
}
// NewSiteDetailResponseModel instantiates a new SiteDetailResponseModel 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 NewSiteDetailResponseModel(id string, name string, orchestationApiVersion int32, primaryZone RefResponseModel, productCode string, productEdition string, productVersion string, siteServices []SiteServiceResponseModel, enabledFeatures []string, colorDepth ColorDepth, defaultDesktopIconId string) *SiteDetailResponseModel {
this := SiteDetailResponseModel{}
this.Id = id
this.Name = name
this.OrchestationApiVersion = orchestationApiVersion
this.PrimaryZone = primaryZone
this.ProductCode = productCode
this.ProductEdition = productEdition
this.ProductVersion = productVersion
this.SiteServices = siteServices
this.EnabledFeatures = enabledFeatures
this.ColorDepth = colorDepth
this.DefaultDesktopIconId = defaultDesktopIconId
return &this
}
// NewSiteDetailResponseModelWithDefaults instantiates a new SiteDetailResponseModel 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 NewSiteDetailResponseModelWithDefaults() *SiteDetailResponseModel {
this := SiteDetailResponseModel{}
return &this
}
// GetId returns the Id field value
func (o *SiteDetailResponseModel) GetId() string {
if o == nil {
var ret string
return ret
}
return o.Id
}
// GetIdOk returns a tuple with the Id field value
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetIdOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Id, true
}
// SetId sets field value
func (o *SiteDetailResponseModel) SetId(v string) {
o.Id = v
}
// GetName returns the Name field value
func (o *SiteDetailResponseModel) GetName() string {
if o == nil {
var ret string
return ret
}
return o.Name
}
// GetNameOk returns a tuple with the Name field value
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Name, true
}
// SetName sets field value
func (o *SiteDetailResponseModel) SetName(v string) {
o.Name = v
}
// GetOrchestationApiVersion returns the OrchestationApiVersion field value
func (o *SiteDetailResponseModel) GetOrchestationApiVersion() int32 {
if o == nil {
var ret int32
return ret
}
return o.OrchestationApiVersion
}
// GetOrchestationApiVersionOk returns a tuple with the OrchestationApiVersion field value
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetOrchestationApiVersionOk() (*int32, bool) {
if o == nil {
return nil, false
}
return &o.OrchestationApiVersion, true
}
// SetOrchestationApiVersion sets field value
func (o *SiteDetailResponseModel) SetOrchestationApiVersion(v int32) {
o.OrchestationApiVersion = v
}
// GetAppProtectionAuthorized returns the AppProtectionAuthorized field value if set, zero value otherwise.
func (o *SiteDetailResponseModel) GetAppProtectionAuthorized() bool {
if o == nil || IsNil(o.AppProtectionAuthorized) {
var ret bool
return ret
}
return *o.AppProtectionAuthorized
}
// GetAppProtectionAuthorizedOk returns a tuple with the AppProtectionAuthorized field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetAppProtectionAuthorizedOk() (*bool, bool) {
if o == nil || IsNil(o.AppProtectionAuthorized) {
return nil, false
}
return o.AppProtectionAuthorized, true
}
// HasAppProtectionAuthorized returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasAppProtectionAuthorized() bool {
if o != nil && !IsNil(o.AppProtectionAuthorized) {
return true
}
return false
}
// SetAppProtectionAuthorized gets a reference to the given bool and assigns it to the AppProtectionAuthorized field.
func (o *SiteDetailResponseModel) SetAppProtectionAuthorized(v bool) {
o.AppProtectionAuthorized = &v
}
// GetConfigurationServiceGroupUid returns the ConfigurationServiceGroupUid field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *SiteDetailResponseModel) GetConfigurationServiceGroupUid() string {
if o == nil || IsNil(o.ConfigurationServiceGroupUid.Get()) {
var ret string
return ret
}
return *o.ConfigurationServiceGroupUid.Get()
}
// GetConfigurationServiceGroupUidOk returns a tuple with the ConfigurationServiceGroupUid 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 *SiteDetailResponseModel) GetConfigurationServiceGroupUidOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.ConfigurationServiceGroupUid.Get(), o.ConfigurationServiceGroupUid.IsSet()
}
// HasConfigurationServiceGroupUid returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasConfigurationServiceGroupUid() bool {
if o != nil && o.ConfigurationServiceGroupUid.IsSet() {
return true
}
return false
}
// SetConfigurationServiceGroupUid gets a reference to the given NullableString and assigns it to the ConfigurationServiceGroupUid field.
func (o *SiteDetailResponseModel) SetConfigurationServiceGroupUid(v string) {
o.ConfigurationServiceGroupUid.Set(&v)
}
// SetConfigurationServiceGroupUidNil sets the value for ConfigurationServiceGroupUid to be an explicit nil
func (o *SiteDetailResponseModel) SetConfigurationServiceGroupUidNil() {
o.ConfigurationServiceGroupUid.Set(nil)
}
// UnsetConfigurationServiceGroupUid ensures that no value is present for ConfigurationServiceGroupUid, not even an explicit nil
func (o *SiteDetailResponseModel) UnsetConfigurationServiceGroupUid() {
o.ConfigurationServiceGroupUid.Unset()
}
// GetLicenseServerName returns the LicenseServerName field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *SiteDetailResponseModel) GetLicenseServerName() string {
if o == nil || IsNil(o.LicenseServerName.Get()) {
var ret string
return ret
}
return *o.LicenseServerName.Get()
}
// GetLicenseServerNameOk returns a tuple with the LicenseServerName 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 *SiteDetailResponseModel) GetLicenseServerNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.LicenseServerName.Get(), o.LicenseServerName.IsSet()
}
// HasLicenseServerName returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasLicenseServerName() bool {
if o != nil && o.LicenseServerName.IsSet() {
return true
}
return false
}
// SetLicenseServerName gets a reference to the given NullableString and assigns it to the LicenseServerName field.
func (o *SiteDetailResponseModel) SetLicenseServerName(v string) {
o.LicenseServerName.Set(&v)
}
// SetLicenseServerNameNil sets the value for LicenseServerName to be an explicit nil
func (o *SiteDetailResponseModel) SetLicenseServerNameNil() {
o.LicenseServerName.Set(nil)
}
// UnsetLicenseServerName ensures that no value is present for LicenseServerName, not even an explicit nil
func (o *SiteDetailResponseModel) UnsetLicenseServerName() {
o.LicenseServerName.Unset()
}
// GetLicenseServerPort returns the LicenseServerPort field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *SiteDetailResponseModel) GetLicenseServerPort() int32 {
if o == nil || IsNil(o.LicenseServerPort.Get()) {
var ret int32
return ret
}
return *o.LicenseServerPort.Get()
}
// GetLicenseServerPortOk returns a tuple with the LicenseServerPort 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 *SiteDetailResponseModel) GetLicenseServerPortOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.LicenseServerPort.Get(), o.LicenseServerPort.IsSet()
}
// HasLicenseServerPort returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasLicenseServerPort() bool {
if o != nil && o.LicenseServerPort.IsSet() {
return true
}
return false
}
// SetLicenseServerPort gets a reference to the given NullableInt32 and assigns it to the LicenseServerPort field.
func (o *SiteDetailResponseModel) SetLicenseServerPort(v int32) {
o.LicenseServerPort.Set(&v)
}
// SetLicenseServerPortNil sets the value for LicenseServerPort to be an explicit nil
func (o *SiteDetailResponseModel) SetLicenseServerPortNil() {
o.LicenseServerPort.Set(nil)
}
// UnsetLicenseServerPort ensures that no value is present for LicenseServerPort, not even an explicit nil
func (o *SiteDetailResponseModel) UnsetLicenseServerPort() {
o.LicenseServerPort.Unset()
}
// GetLicenseServerUri returns the LicenseServerUri field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *SiteDetailResponseModel) GetLicenseServerUri() string {
if o == nil || IsNil(o.LicenseServerUri.Get()) {
var ret string
return ret
}
return *o.LicenseServerUri.Get()
}
// GetLicenseServerUriOk returns a tuple with the LicenseServerUri 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 *SiteDetailResponseModel) GetLicenseServerUriOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.LicenseServerUri.Get(), o.LicenseServerUri.IsSet()
}
// HasLicenseServerUri returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasLicenseServerUri() bool {
if o != nil && o.LicenseServerUri.IsSet() {
return true
}
return false
}
// SetLicenseServerUri gets a reference to the given NullableString and assigns it to the LicenseServerUri field.
func (o *SiteDetailResponseModel) SetLicenseServerUri(v string) {
o.LicenseServerUri.Set(&v)
}
// SetLicenseServerUriNil sets the value for LicenseServerUri to be an explicit nil
func (o *SiteDetailResponseModel) SetLicenseServerUriNil() {
o.LicenseServerUri.Set(nil)
}
// UnsetLicenseServerUri ensures that no value is present for LicenseServerUri, not even an explicit nil
func (o *SiteDetailResponseModel) UnsetLicenseServerUri() {
o.LicenseServerUri.Unset()
}
// GetLicensingModel returns the LicensingModel field value if set, zero value otherwise.
func (o *SiteDetailResponseModel) GetLicensingModel() LicenseModel {
if o == nil || IsNil(o.LicensingModel) {
var ret LicenseModel
return ret
}
return *o.LicensingModel
}
// GetLicensingModelOk returns a tuple with the LicensingModel field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetLicensingModelOk() (*LicenseModel, bool) {
if o == nil || IsNil(o.LicensingModel) {
return nil, false
}
return o.LicensingModel, true
}
// HasLicensingModel returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasLicensingModel() bool {
if o != nil && !IsNil(o.LicensingModel) {
return true
}
return false
}
// SetLicensingModel gets a reference to the given LicenseModel and assigns it to the LicensingModel field.
func (o *SiteDetailResponseModel) SetLicensingModel(v LicenseModel) {
o.LicensingModel = &v
}
// GetSiteConfigurationComplete returns the SiteConfigurationComplete field value if set, zero value otherwise.
func (o *SiteDetailResponseModel) GetSiteConfigurationComplete() bool {
if o == nil || IsNil(o.SiteConfigurationComplete) {
var ret bool
return ret
}
return *o.SiteConfigurationComplete
}
// GetSiteConfigurationCompleteOk returns a tuple with the SiteConfigurationComplete field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetSiteConfigurationCompleteOk() (*bool, bool) {
if o == nil || IsNil(o.SiteConfigurationComplete) {
return nil, false
}
return o.SiteConfigurationComplete, true
}
// HasSiteConfigurationComplete returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasSiteConfigurationComplete() bool {
if o != nil && !IsNil(o.SiteConfigurationComplete) {
return true
}
return false
}
// SetSiteConfigurationComplete gets a reference to the given bool and assigns it to the SiteConfigurationComplete field.
func (o *SiteDetailResponseModel) SetSiteConfigurationComplete(v bool) {
o.SiteConfigurationComplete = &v
}
// GetPrimaryZone returns the PrimaryZone field value
func (o *SiteDetailResponseModel) GetPrimaryZone() RefResponseModel {
if o == nil {
var ret RefResponseModel
return ret
}
return o.PrimaryZone
}
// GetPrimaryZoneOk returns a tuple with the PrimaryZone field value
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetPrimaryZoneOk() (*RefResponseModel, bool) {
if o == nil {
return nil, false
}
return &o.PrimaryZone, true
}
// SetPrimaryZone sets field value
func (o *SiteDetailResponseModel) SetPrimaryZone(v RefResponseModel) {
o.PrimaryZone = v
}
// GetProductCode returns the ProductCode field value
func (o *SiteDetailResponseModel) GetProductCode() string {
if o == nil {
var ret string
return ret
}
return o.ProductCode
}
// GetProductCodeOk returns a tuple with the ProductCode field value
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetProductCodeOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.ProductCode, true
}
// SetProductCode sets field value
func (o *SiteDetailResponseModel) SetProductCode(v string) {
o.ProductCode = v
}
// GetProductEdition returns the ProductEdition field value
func (o *SiteDetailResponseModel) GetProductEdition() string {
if o == nil {
var ret string
return ret
}
return o.ProductEdition
}
// GetProductEditionOk returns a tuple with the ProductEdition field value
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetProductEditionOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.ProductEdition, true
}
// SetProductEdition sets field value
func (o *SiteDetailResponseModel) SetProductEdition(v string) {
o.ProductEdition = v
}
// GetProductVersion returns the ProductVersion field value
func (o *SiteDetailResponseModel) GetProductVersion() string {
if o == nil {
var ret string
return ret
}
return o.ProductVersion
}
// GetProductVersionOk returns a tuple with the ProductVersion field value
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetProductVersionOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.ProductVersion, true
}
// SetProductVersion sets field value
func (o *SiteDetailResponseModel) SetProductVersion(v string) {
o.ProductVersion = v
}
// GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *SiteDetailResponseModel) GetMetadata() []NameValueStringPairModel {
if o == nil {
var ret []NameValueStringPairModel
return ret
}
return o.Metadata
}
// GetMetadataOk returns a tuple with the Metadata 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 *SiteDetailResponseModel) GetMetadataOk() ([]NameValueStringPairModel, bool) {
if o == nil || IsNil(o.Metadata) {
return nil, false
}
return o.Metadata, true
}
// HasMetadata returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasMetadata() bool {
if o != nil && IsNil(o.Metadata) {
return true
}
return false
}
// SetMetadata gets a reference to the given []NameValueStringPairModel and assigns it to the Metadata field.
func (o *SiteDetailResponseModel) SetMetadata(v []NameValueStringPairModel) {
o.Metadata = v
}
// GetSiteServices returns the SiteServices field value
func (o *SiteDetailResponseModel) GetSiteServices() []SiteServiceResponseModel {
if o == nil {
var ret []SiteServiceResponseModel
return ret
}
return o.SiteServices
}
// GetSiteServicesOk returns a tuple with the SiteServices field value
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetSiteServicesOk() ([]SiteServiceResponseModel, bool) {
if o == nil {
return nil, false
}
return o.SiteServices, true
}
// SetSiteServices sets field value
func (o *SiteDetailResponseModel) SetSiteServices(v []SiteServiceResponseModel) {
o.SiteServices = v
}
// GetEnabledFeatures returns the EnabledFeatures field value
func (o *SiteDetailResponseModel) GetEnabledFeatures() []string {
if o == nil {
var ret []string
return ret
}
return o.EnabledFeatures
}
// GetEnabledFeaturesOk returns a tuple with the EnabledFeatures field value
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetEnabledFeaturesOk() ([]string, bool) {
if o == nil {
return nil, false
}
return o.EnabledFeatures, true
}
// SetEnabledFeatures sets field value
func (o *SiteDetailResponseModel) SetEnabledFeatures(v []string) {
o.EnabledFeatures = v
}
// GetBaseOU returns the BaseOU field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *SiteDetailResponseModel) GetBaseOU() string {
if o == nil || IsNil(o.BaseOU.Get()) {
var ret string
return ret
}
return *o.BaseOU.Get()
}
// GetBaseOUOk returns a tuple with the BaseOU 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 *SiteDetailResponseModel) GetBaseOUOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.BaseOU.Get(), o.BaseOU.IsSet()
}
// HasBaseOU returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasBaseOU() bool {
if o != nil && o.BaseOU.IsSet() {
return true
}
return false
}
// SetBaseOU gets a reference to the given NullableString and assigns it to the BaseOU field.
func (o *SiteDetailResponseModel) SetBaseOU(v string) {
o.BaseOU.Set(&v)
}
// SetBaseOUNil sets the value for BaseOU to be an explicit nil
func (o *SiteDetailResponseModel) SetBaseOUNil() {
o.BaseOU.Set(nil)
}
// UnsetBaseOU ensures that no value is present for BaseOU, not even an explicit nil
func (o *SiteDetailResponseModel) UnsetBaseOU() {
o.BaseOU.Unset()
}
// GetColorDepth returns the ColorDepth field value
func (o *SiteDetailResponseModel) GetColorDepth() ColorDepth {
if o == nil {
var ret ColorDepth
return ret
}
return o.ColorDepth
}
// GetColorDepthOk returns a tuple with the ColorDepth field value
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetColorDepthOk() (*ColorDepth, bool) {
if o == nil {
return nil, false
}
return &o.ColorDepth, true
}
// SetColorDepth sets field value
func (o *SiteDetailResponseModel) SetColorDepth(v ColorDepth) {
o.ColorDepth = v
}
// GetConnectionLeasingEnabled returns the ConnectionLeasingEnabled field value if set, zero value otherwise.
func (o *SiteDetailResponseModel) GetConnectionLeasingEnabled() bool {
if o == nil || IsNil(o.ConnectionLeasingEnabled) {
var ret bool
return ret
}
return *o.ConnectionLeasingEnabled
}
// GetConnectionLeasingEnabledOk returns a tuple with the ConnectionLeasingEnabled field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetConnectionLeasingEnabledOk() (*bool, bool) {
if o == nil || IsNil(o.ConnectionLeasingEnabled) {
return nil, false
}
return o.ConnectionLeasingEnabled, true
}
// HasConnectionLeasingEnabled returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasConnectionLeasingEnabled() bool {
if o != nil && !IsNil(o.ConnectionLeasingEnabled) {
return true
}
return false
}
// SetConnectionLeasingEnabled gets a reference to the given bool and assigns it to the ConnectionLeasingEnabled field.
func (o *SiteDetailResponseModel) SetConnectionLeasingEnabled(v bool) {
o.ConnectionLeasingEnabled = &v
}
// GetDefaultMinimumFunctionalLevel returns the DefaultMinimumFunctionalLevel field value if set, zero value otherwise.
func (o *SiteDetailResponseModel) GetDefaultMinimumFunctionalLevel() FunctionalLevel {
if o == nil || IsNil(o.DefaultMinimumFunctionalLevel) {
var ret FunctionalLevel
return ret
}
return *o.DefaultMinimumFunctionalLevel
}
// GetDefaultMinimumFunctionalLevelOk returns a tuple with the DefaultMinimumFunctionalLevel field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetDefaultMinimumFunctionalLevelOk() (*FunctionalLevel, bool) {
if o == nil || IsNil(o.DefaultMinimumFunctionalLevel) {
return nil, false
}
return o.DefaultMinimumFunctionalLevel, true
}
// HasDefaultMinimumFunctionalLevel returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasDefaultMinimumFunctionalLevel() bool {
if o != nil && !IsNil(o.DefaultMinimumFunctionalLevel) {
return true
}
return false
}
// SetDefaultMinimumFunctionalLevel gets a reference to the given FunctionalLevel and assigns it to the DefaultMinimumFunctionalLevel field.
func (o *SiteDetailResponseModel) SetDefaultMinimumFunctionalLevel(v FunctionalLevel) {
o.DefaultMinimumFunctionalLevel = &v
}
// GetDefaultDesktopIconId returns the DefaultDesktopIconId field value
func (o *SiteDetailResponseModel) GetDefaultDesktopIconId() string {
if o == nil {
var ret string
return ret
}
return o.DefaultDesktopIconId
}
// GetDefaultDesktopIconIdOk returns a tuple with the DefaultDesktopIconId field value
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetDefaultDesktopIconIdOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.DefaultDesktopIconId, true
}
// SetDefaultDesktopIconId sets field value
func (o *SiteDetailResponseModel) SetDefaultDesktopIconId(v string) {
o.DefaultDesktopIconId = v
}
// GetDnsResolutionEnabled returns the DnsResolutionEnabled field value if set, zero value otherwise.
func (o *SiteDetailResponseModel) GetDnsResolutionEnabled() bool {
if o == nil || IsNil(o.DnsResolutionEnabled) {
var ret bool
return ret
}
return *o.DnsResolutionEnabled
}
// GetDnsResolutionEnabledOk returns a tuple with the DnsResolutionEnabled field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *SiteDetailResponseModel) GetDnsResolutionEnabledOk() (*bool, bool) {
if o == nil || IsNil(o.DnsResolutionEnabled) {
return nil, false
}
return o.DnsResolutionEnabled, true
}
// HasDnsResolutionEnabled returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasDnsResolutionEnabled() bool {
if o != nil && !IsNil(o.DnsResolutionEnabled) {
return true
}
return false
}
// SetDnsResolutionEnabled gets a reference to the given bool and assigns it to the DnsResolutionEnabled field.
func (o *SiteDetailResponseModel) SetDnsResolutionEnabled(v bool) {
o.DnsResolutionEnabled = &v
}
// GetLicenseGraceSessionsRemaining returns the LicenseGraceSessionsRemaining field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *SiteDetailResponseModel) GetLicenseGraceSessionsRemaining() int32 {
if o == nil || IsNil(o.LicenseGraceSessionsRemaining.Get()) {
var ret int32
return ret
}
return *o.LicenseGraceSessionsRemaining.Get()
}
// GetLicenseGraceSessionsRemainingOk returns a tuple with the LicenseGraceSessionsRemaining 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 *SiteDetailResponseModel) GetLicenseGraceSessionsRemainingOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.LicenseGraceSessionsRemaining.Get(), o.LicenseGraceSessionsRemaining.IsSet()
}
// HasLicenseGraceSessionsRemaining returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasLicenseGraceSessionsRemaining() bool {
if o != nil && o.LicenseGraceSessionsRemaining.IsSet() {
return true
}
return false
}
// SetLicenseGraceSessionsRemaining gets a reference to the given NullableInt32 and assigns it to the LicenseGraceSessionsRemaining field.
func (o *SiteDetailResponseModel) SetLicenseGraceSessionsRemaining(v int32) {
o.LicenseGraceSessionsRemaining.Set(&v)
}
// SetLicenseGraceSessionsRemainingNil sets the value for LicenseGraceSessionsRemaining to be an explicit nil
func (o *SiteDetailResponseModel) SetLicenseGraceSessionsRemainingNil() {
o.LicenseGraceSessionsRemaining.Set(nil)
}
// UnsetLicenseGraceSessionsRemaining ensures that no value is present for LicenseGraceSessionsRemaining, not even an explicit nil
func (o *SiteDetailResponseModel) UnsetLicenseGraceSessionsRemaining() {
o.LicenseGraceSessionsRemaining.Unset()
}
// GetLicensedSessionsActive returns the LicensedSessionsActive field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *SiteDetailResponseModel) GetLicensedSessionsActive() int32 {
if o == nil || IsNil(o.LicensedSessionsActive.Get()) {
var ret int32
return ret
}
return *o.LicensedSessionsActive.Get()
}
// GetLicensedSessionsActiveOk returns a tuple with the LicensedSessionsActive 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 *SiteDetailResponseModel) GetLicensedSessionsActiveOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.LicensedSessionsActive.Get(), o.LicensedSessionsActive.IsSet()
}
// HasLicensedSessionsActive returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasLicensedSessionsActive() bool {
if o != nil && o.LicensedSessionsActive.IsSet() {
return true
}
return false
}
// SetLicensedSessionsActive gets a reference to the given NullableInt32 and assigns it to the LicensedSessionsActive field.
func (o *SiteDetailResponseModel) SetLicensedSessionsActive(v int32) {
o.LicensedSessionsActive.Set(&v)
}
// SetLicensedSessionsActiveNil sets the value for LicensedSessionsActive to be an explicit nil
func (o *SiteDetailResponseModel) SetLicensedSessionsActiveNil() {
o.LicensedSessionsActive.Set(nil)
}
// UnsetLicensedSessionsActive ensures that no value is present for LicensedSessionsActive, not even an explicit nil
func (o *SiteDetailResponseModel) UnsetLicensedSessionsActive() {
o.LicensedSessionsActive.Unset()
}
// GetLicensingGraceHoursLeft returns the LicensingGraceHoursLeft field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *SiteDetailResponseModel) GetLicensingGraceHoursLeft() int32 {
if o == nil || IsNil(o.LicensingGraceHoursLeft.Get()) {
var ret int32
return ret
}
return *o.LicensingGraceHoursLeft.Get()
}
// GetLicensingGraceHoursLeftOk returns a tuple with the LicensingGraceHoursLeft 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 *SiteDetailResponseModel) GetLicensingGraceHoursLeftOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.LicensingGraceHoursLeft.Get(), o.LicensingGraceHoursLeft.IsSet()
}
// HasLicensingGraceHoursLeft returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasLicensingGraceHoursLeft() bool {
if o != nil && o.LicensingGraceHoursLeft.IsSet() {
return true
}
return false
}
// SetLicensingGraceHoursLeft gets a reference to the given NullableInt32 and assigns it to the LicensingGraceHoursLeft field.
func (o *SiteDetailResponseModel) SetLicensingGraceHoursLeft(v int32) {
o.LicensingGraceHoursLeft.Set(&v)
}
// SetLicensingGraceHoursLeftNil sets the value for LicensingGraceHoursLeft to be an explicit nil
func (o *SiteDetailResponseModel) SetLicensingGraceHoursLeftNil() {
o.LicensingGraceHoursLeft.Set(nil)
}
// UnsetLicensingGraceHoursLeft ensures that no value is present for LicensingGraceHoursLeft, not even an explicit nil
func (o *SiteDetailResponseModel) UnsetLicensingGraceHoursLeft() {
o.LicensingGraceHoursLeft.Unset()
}
// GetLicensingGracePeriodActive returns the LicensingGracePeriodActive field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *SiteDetailResponseModel) GetLicensingGracePeriodActive() bool {
if o == nil || IsNil(o.LicensingGracePeriodActive.Get()) {
var ret bool
return ret
}
return *o.LicensingGracePeriodActive.Get()
}
// GetLicensingGracePeriodActiveOk returns a tuple with the LicensingGracePeriodActive 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 *SiteDetailResponseModel) GetLicensingGracePeriodActiveOk() (*bool, bool) {
if o == nil {
return nil, false
}
return o.LicensingGracePeriodActive.Get(), o.LicensingGracePeriodActive.IsSet()
}
// HasLicensingGracePeriodActive returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasLicensingGracePeriodActive() bool {
if o != nil && o.LicensingGracePeriodActive.IsSet() {
return true
}
return false
}
// SetLicensingGracePeriodActive gets a reference to the given NullableBool and assigns it to the LicensingGracePeriodActive field.
func (o *SiteDetailResponseModel) SetLicensingGracePeriodActive(v bool) {
o.LicensingGracePeriodActive.Set(&v)
}
// SetLicensingGracePeriodActiveNil sets the value for LicensingGracePeriodActive to be an explicit nil
func (o *SiteDetailResponseModel) SetLicensingGracePeriodActiveNil() {
o.LicensingGracePeriodActive.Set(nil)
}
// UnsetLicensingGracePeriodActive ensures that no value is present for LicensingGracePeriodActive, not even an explicit nil
func (o *SiteDetailResponseModel) UnsetLicensingGracePeriodActive() {
o.LicensingGracePeriodActive.Unset()
}
// GetPeakConcurrentLicenseUsers returns the PeakConcurrentLicenseUsers field value if set, zero value otherwise (both if not set or set to explicit null).
func (o *SiteDetailResponseModel) GetPeakConcurrentLicenseUsers() int32 {
if o == nil || IsNil(o.PeakConcurrentLicenseUsers.Get()) {
var ret int32
return ret
}
return *o.PeakConcurrentLicenseUsers.Get()
}
// GetPeakConcurrentLicenseUsersOk returns a tuple with the PeakConcurrentLicenseUsers 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 *SiteDetailResponseModel) GetPeakConcurrentLicenseUsersOk() (*int32, bool) {
if o == nil {
return nil, false
}
return o.PeakConcurrentLicenseUsers.Get(), o.PeakConcurrentLicenseUsers.IsSet()
}
// HasPeakConcurrentLicenseUsers returns a boolean if a field has been set.
func (o *SiteDetailResponseModel) HasPeakConcurrentLicenseUsers() bool {