-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodel_formatted_api_instance.go
3439 lines (2936 loc) · 105 KB
/
model_formatted_api_instance.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
/*
GCOM API
Grafana.com API (public). Looking for GCOM API client packages? You can find them at [grafana-com-public-clients](https://github.com/grafana/grafana-com-public-clients) repository. If you have any questions, please contact support in the Grafana Cloud UI. This spec is in *Beta* stage, so use it with caution: - Not all endpoint responses are properly typed for the time being. - Some request parameter types may not be precise
API version: public
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package gcom
import (
"encoding/json"
)
// checks if the FormattedApiInstance type satisfies the MappedNullable interface at compile time
var _ MappedNullable = &FormattedApiInstance{}
// FormattedApiInstance struct for FormattedApiInstance
type FormattedApiInstance struct {
AlertCnt float32 `json:"alertCnt"`
AlertQuota float32 `json:"alertQuota"`
AmInstanceGeneratorUrl string `json:"amInstanceGeneratorUrl"`
AmInstanceGeneratorUrlDatasource string `json:"amInstanceGeneratorUrlDatasource"`
AmInstanceId float32 `json:"amInstanceId"`
AmInstanceName string `json:"amInstanceName"`
AmInstanceStatus string `json:"amInstanceStatus"`
AmInstanceUrl string `json:"amInstanceUrl"`
AmInstanceClusterId float32 `json:"amInstanceClusterId"`
BillingActiveUsers float32 `json:"billingActiveUsers"`
BillingEndDate NullableString `json:"billingEndDate"`
BillingGrafanaActiveUsers float32 `json:"billingGrafanaActiveUsers"`
BillingOnCallActiveUsers float32 `json:"billingOnCallActiveUsers"`
BillingStartDate string `json:"billingStartDate"`
ClusterId float32 `json:"clusterId"`
ClusterName string `json:"clusterName"`
ClusterSlug string `json:"clusterSlug"`
CreatedAt string `json:"createdAt"`
CreatedBy string `json:"createdBy"`
CurrentActiveAdminUsers float32 `json:"currentActiveAdminUsers"`
CurrentActiveEditorUsers float32 `json:"currentActiveEditorUsers"`
CurrentActiveUsers float32 `json:"currentActiveUsers"`
CurrentActiveViewerUsers float32 `json:"currentActiveViewerUsers"`
CustomAuth bool `json:"customAuth"`
CustomDomain bool `json:"customDomain"`
DailyAdminCnt float32 `json:"dailyAdminCnt"`
DailyEditorCnt float32 `json:"dailyEditorCnt"`
DailyUserCnt float32 `json:"dailyUserCnt"`
DailyViewerCnt float32 `json:"dailyViewerCnt"`
DashboardCnt float32 `json:"dashboardCnt"`
DashboardQuota float32 `json:"dashboardQuota"`
DatasourceCnts map[string]interface{} `json:"datasourceCnts"`
Description string `json:"description"`
Gateway string `json:"gateway"`
HlInstanceCurrentUsage float32 `json:"hlInstanceCurrentUsage"`
HlInstanceBillingUsage float32 `json:"hlInstanceBillingUsage"`
HlInstanceId float32 `json:"hlInstanceId"`
HlInstanceName string `json:"hlInstanceName"`
HlInstanceStatus string `json:"hlInstanceStatus"`
HlInstanceUrl string `json:"hlInstanceUrl"`
HlInstanceClusterId float32 `json:"hlInstanceClusterId"`
HmInstanceGraphiteCurrentUsage float32 `json:"hmInstanceGraphiteCurrentUsage"`
HmInstanceGraphiteBillingUsage float32 `json:"hmInstanceGraphiteBillingUsage"`
HmInstanceGraphiteId float32 `json:"hmInstanceGraphiteId"`
HmInstanceGraphiteName string `json:"hmInstanceGraphiteName"`
HmInstanceGraphiteStatus string `json:"hmInstanceGraphiteStatus"`
HmInstanceGraphiteType string `json:"hmInstanceGraphiteType"`
HmInstanceGraphiteUrl string `json:"hmInstanceGraphiteUrl"`
HmInstancePromClusterId float32 `json:"hmInstancePromClusterId"`
HmInstancePromCurrentActiveSeries NullableFloat32 `json:"hmInstancePromCurrentActiveSeries"`
HmInstancePromCurrentUsage float32 `json:"hmInstancePromCurrentUsage"`
HmInstancePromBillingUsage float32 `json:"hmInstancePromBillingUsage"`
HmInstancePromId float32 `json:"hmInstancePromId"`
HmInstancePromName string `json:"hmInstancePromName"`
HmInstancePromStatus string `json:"hmInstancePromStatus"`
HmInstancePromUrl string `json:"hmInstancePromUrl"`
HmInstanceGraphiteClusterId float32 `json:"hmInstanceGraphiteClusterId"`
HtInstanceId float32 `json:"htInstanceId"`
HtInstanceName string `json:"htInstanceName"`
HtInstanceStatus string `json:"htInstanceStatus"`
HtInstanceUrl string `json:"htInstanceUrl"`
HtInstanceClusterId float32 `json:"htInstanceClusterId"`
HtInstanceCurrentUsage float32 `json:"htInstanceCurrentUsage"`
HtInstanceBillingUsage float32 `json:"htInstanceBillingUsage"`
HpInstanceId float32 `json:"hpInstanceId"`
HpInstanceName string `json:"hpInstanceName"`
HpInstanceStatus string `json:"hpInstanceStatus"`
HpInstanceUrl string `json:"hpInstanceUrl"`
HpInstanceClusterId float32 `json:"hpInstanceClusterId"`
HpInstanceCurrentUsage float32 `json:"hpInstanceCurrentUsage"`
HpInstanceBillingUsage float32 `json:"hpInstanceBillingUsage"`
Id float32 `json:"id"`
Incident float32 `json:"incident"`
Labels map[string]interface{} `json:"labels,omitempty"`
MachineLearning float32 `json:"machineLearning"`
Name string `json:"name"`
OrgId float32 `json:"orgId"`
OrgName string `json:"orgName"`
OrgSlug string `json:"orgSlug"`
Plan string `json:"plan"`
PlanName string `json:"planName"`
RegionId float32 `json:"regionId"`
RegionSlug string `json:"regionSlug"`
RegionPublicName string `json:"regionPublicName"`
Provider string `json:"provider"`
ProviderRegion string `json:"providerRegion"`
RunningVersion string `json:"runningVersion"`
Slug string `json:"slug"`
Ssl bool `json:"ssl"`
Status string `json:"status"`
Support bool `json:"support"`
Trial float32 `json:"trial"`
TrialExpiresAt NullableString `json:"trialExpiresAt"`
UpdatedAt NullableString `json:"updatedAt"`
UpdatedBy NullableString `json:"updatedBy"`
Url string `json:"url"`
UserQuota float32 `json:"userQuota"`
Version string `json:"version"`
VersionIssueLink *string `json:"versionIssueLink,omitempty"`
AgentManagementInstanceId float32 `json:"agentManagementInstanceId"`
AgentManagementInstanceUrl string `json:"agentManagementInstanceUrl"`
AgentManagementInstanceName string `json:"agentManagementInstanceName"`
AgentManagementInstanceStatus string `json:"agentManagementInstanceStatus"`
AgentManagementInstanceClusterId float32 `json:"agentManagementInstanceClusterId"`
Config map[string]interface{} `json:"config,omitempty"`
Type string `json:"type"`
K6OrgId NullableFloat32 `json:"k6OrgId"`
MachineLearningLogsToken string `json:"machineLearningLogsToken"`
UsageStatsId string `json:"usageStatsId"`
RegionStackStateServiceUrl string `json:"regionStackStateServiceUrl"`
RegionSyntheticMonitoringApiUrl string `json:"regionSyntheticMonitoringApiUrl"`
RegionInsightsApiUrl string `json:"regionInsightsApiUrl"`
RegionIntegrationsApiUrl string `json:"regionIntegrationsApiUrl"`
RegionHostedExportersApiUrl string `json:"regionHostedExportersApiUrl"`
RegionMachineLearningApiUrl string `json:"regionMachineLearningApiUrl"`
RegionLLMGatewayUrl string `json:"regionLLMGatewayUrl"`
Links []LinksInner1 `json:"links"`
AdditionalProperties map[string]interface{}
}
type _FormattedApiInstance FormattedApiInstance
// NewFormattedApiInstance instantiates a new FormattedApiInstance 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 NewFormattedApiInstance(alertCnt float32, alertQuota float32, amInstanceGeneratorUrl string, amInstanceGeneratorUrlDatasource string, amInstanceId float32, amInstanceName string, amInstanceStatus string, amInstanceUrl string, amInstanceClusterId float32, billingActiveUsers float32, billingEndDate NullableString, billingGrafanaActiveUsers float32, billingOnCallActiveUsers float32, billingStartDate string, clusterId float32, clusterName string, clusterSlug string, createdAt string, createdBy string, currentActiveAdminUsers float32, currentActiveEditorUsers float32, currentActiveUsers float32, currentActiveViewerUsers float32, customAuth bool, customDomain bool, dailyAdminCnt float32, dailyEditorCnt float32, dailyUserCnt float32, dailyViewerCnt float32, dashboardCnt float32, dashboardQuota float32, datasourceCnts map[string]interface{}, description string, gateway string, hlInstanceCurrentUsage float32, hlInstanceBillingUsage float32, hlInstanceId float32, hlInstanceName string, hlInstanceStatus string, hlInstanceUrl string, hlInstanceClusterId float32, hmInstanceGraphiteCurrentUsage float32, hmInstanceGraphiteBillingUsage float32, hmInstanceGraphiteId float32, hmInstanceGraphiteName string, hmInstanceGraphiteStatus string, hmInstanceGraphiteType string, hmInstanceGraphiteUrl string, hmInstancePromClusterId float32, hmInstancePromCurrentActiveSeries NullableFloat32, hmInstancePromCurrentUsage float32, hmInstancePromBillingUsage float32, hmInstancePromId float32, hmInstancePromName string, hmInstancePromStatus string, hmInstancePromUrl string, hmInstanceGraphiteClusterId float32, htInstanceId float32, htInstanceName string, htInstanceStatus string, htInstanceUrl string, htInstanceClusterId float32, htInstanceCurrentUsage float32, htInstanceBillingUsage float32, hpInstanceId float32, hpInstanceName string, hpInstanceStatus string, hpInstanceUrl string, hpInstanceClusterId float32, hpInstanceCurrentUsage float32, hpInstanceBillingUsage float32, id float32, incident float32, machineLearning float32, name string, orgId float32, orgName string, orgSlug string, plan string, planName string, regionId float32, regionSlug string, regionPublicName string, provider string, providerRegion string, runningVersion string, slug string, ssl bool, status string, support bool, trial float32, trialExpiresAt NullableString, updatedAt NullableString, updatedBy NullableString, url string, userQuota float32, version string, agentManagementInstanceId float32, agentManagementInstanceUrl string, agentManagementInstanceName string, agentManagementInstanceStatus string, agentManagementInstanceClusterId float32, type_ string, k6OrgId NullableFloat32, machineLearningLogsToken string, usageStatsId string, regionStackStateServiceUrl string, regionSyntheticMonitoringApiUrl string, regionInsightsApiUrl string, regionIntegrationsApiUrl string, regionHostedExportersApiUrl string, regionMachineLearningApiUrl string, regionLLMGatewayUrl string, links []LinksInner1) *FormattedApiInstance {
this := FormattedApiInstance{}
this.AlertCnt = alertCnt
this.AlertQuota = alertQuota
this.AmInstanceGeneratorUrl = amInstanceGeneratorUrl
this.AmInstanceGeneratorUrlDatasource = amInstanceGeneratorUrlDatasource
this.AmInstanceId = amInstanceId
this.AmInstanceName = amInstanceName
this.AmInstanceStatus = amInstanceStatus
this.AmInstanceUrl = amInstanceUrl
this.AmInstanceClusterId = amInstanceClusterId
this.BillingActiveUsers = billingActiveUsers
this.BillingEndDate = billingEndDate
this.BillingGrafanaActiveUsers = billingGrafanaActiveUsers
this.BillingOnCallActiveUsers = billingOnCallActiveUsers
this.BillingStartDate = billingStartDate
this.ClusterId = clusterId
this.ClusterName = clusterName
this.ClusterSlug = clusterSlug
this.CreatedAt = createdAt
this.CreatedBy = createdBy
this.CurrentActiveAdminUsers = currentActiveAdminUsers
this.CurrentActiveEditorUsers = currentActiveEditorUsers
this.CurrentActiveUsers = currentActiveUsers
this.CurrentActiveViewerUsers = currentActiveViewerUsers
this.CustomAuth = customAuth
this.CustomDomain = customDomain
this.DailyAdminCnt = dailyAdminCnt
this.DailyEditorCnt = dailyEditorCnt
this.DailyUserCnt = dailyUserCnt
this.DailyViewerCnt = dailyViewerCnt
this.DashboardCnt = dashboardCnt
this.DashboardQuota = dashboardQuota
this.DatasourceCnts = datasourceCnts
this.Description = description
this.Gateway = gateway
this.HlInstanceCurrentUsage = hlInstanceCurrentUsage
this.HlInstanceBillingUsage = hlInstanceBillingUsage
this.HlInstanceId = hlInstanceId
this.HlInstanceName = hlInstanceName
this.HlInstanceStatus = hlInstanceStatus
this.HlInstanceUrl = hlInstanceUrl
this.HlInstanceClusterId = hlInstanceClusterId
this.HmInstanceGraphiteCurrentUsage = hmInstanceGraphiteCurrentUsage
this.HmInstanceGraphiteBillingUsage = hmInstanceGraphiteBillingUsage
this.HmInstanceGraphiteId = hmInstanceGraphiteId
this.HmInstanceGraphiteName = hmInstanceGraphiteName
this.HmInstanceGraphiteStatus = hmInstanceGraphiteStatus
this.HmInstanceGraphiteType = hmInstanceGraphiteType
this.HmInstanceGraphiteUrl = hmInstanceGraphiteUrl
this.HmInstancePromClusterId = hmInstancePromClusterId
this.HmInstancePromCurrentActiveSeries = hmInstancePromCurrentActiveSeries
this.HmInstancePromCurrentUsage = hmInstancePromCurrentUsage
this.HmInstancePromBillingUsage = hmInstancePromBillingUsage
this.HmInstancePromId = hmInstancePromId
this.HmInstancePromName = hmInstancePromName
this.HmInstancePromStatus = hmInstancePromStatus
this.HmInstancePromUrl = hmInstancePromUrl
this.HmInstanceGraphiteClusterId = hmInstanceGraphiteClusterId
this.HtInstanceId = htInstanceId
this.HtInstanceName = htInstanceName
this.HtInstanceStatus = htInstanceStatus
this.HtInstanceUrl = htInstanceUrl
this.HtInstanceClusterId = htInstanceClusterId
this.HtInstanceCurrentUsage = htInstanceCurrentUsage
this.HtInstanceBillingUsage = htInstanceBillingUsage
this.HpInstanceId = hpInstanceId
this.HpInstanceName = hpInstanceName
this.HpInstanceStatus = hpInstanceStatus
this.HpInstanceUrl = hpInstanceUrl
this.HpInstanceClusterId = hpInstanceClusterId
this.HpInstanceCurrentUsage = hpInstanceCurrentUsage
this.HpInstanceBillingUsage = hpInstanceBillingUsage
this.Id = id
this.Incident = incident
this.MachineLearning = machineLearning
this.Name = name
this.OrgId = orgId
this.OrgName = orgName
this.OrgSlug = orgSlug
this.Plan = plan
this.PlanName = planName
this.RegionId = regionId
this.RegionSlug = regionSlug
this.RegionPublicName = regionPublicName
this.Provider = provider
this.ProviderRegion = providerRegion
this.RunningVersion = runningVersion
this.Slug = slug
this.Ssl = ssl
this.Status = status
this.Support = support
this.Trial = trial
this.TrialExpiresAt = trialExpiresAt
this.UpdatedAt = updatedAt
this.UpdatedBy = updatedBy
this.Url = url
this.UserQuota = userQuota
this.Version = version
this.AgentManagementInstanceId = agentManagementInstanceId
this.AgentManagementInstanceUrl = agentManagementInstanceUrl
this.AgentManagementInstanceName = agentManagementInstanceName
this.AgentManagementInstanceStatus = agentManagementInstanceStatus
this.AgentManagementInstanceClusterId = agentManagementInstanceClusterId
this.Type = type_
this.K6OrgId = k6OrgId
this.MachineLearningLogsToken = machineLearningLogsToken
this.UsageStatsId = usageStatsId
this.RegionStackStateServiceUrl = regionStackStateServiceUrl
this.RegionSyntheticMonitoringApiUrl = regionSyntheticMonitoringApiUrl
this.RegionInsightsApiUrl = regionInsightsApiUrl
this.RegionIntegrationsApiUrl = regionIntegrationsApiUrl
this.RegionHostedExportersApiUrl = regionHostedExportersApiUrl
this.RegionMachineLearningApiUrl = regionMachineLearningApiUrl
this.RegionLLMGatewayUrl = regionLLMGatewayUrl
this.Links = links
return &this
}
// NewFormattedApiInstanceWithDefaults instantiates a new FormattedApiInstance 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 NewFormattedApiInstanceWithDefaults() *FormattedApiInstance {
this := FormattedApiInstance{}
return &this
}
// GetAlertCnt returns the AlertCnt field value
func (o *FormattedApiInstance) GetAlertCnt() float32 {
if o == nil {
var ret float32
return ret
}
return o.AlertCnt
}
// GetAlertCntOk returns a tuple with the AlertCnt field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetAlertCntOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.AlertCnt, true
}
// SetAlertCnt sets field value
func (o *FormattedApiInstance) SetAlertCnt(v float32) {
o.AlertCnt = v
}
// GetAlertQuota returns the AlertQuota field value
func (o *FormattedApiInstance) GetAlertQuota() float32 {
if o == nil {
var ret float32
return ret
}
return o.AlertQuota
}
// GetAlertQuotaOk returns a tuple with the AlertQuota field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetAlertQuotaOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.AlertQuota, true
}
// SetAlertQuota sets field value
func (o *FormattedApiInstance) SetAlertQuota(v float32) {
o.AlertQuota = v
}
// GetAmInstanceGeneratorUrl returns the AmInstanceGeneratorUrl field value
func (o *FormattedApiInstance) GetAmInstanceGeneratorUrl() string {
if o == nil {
var ret string
return ret
}
return o.AmInstanceGeneratorUrl
}
// GetAmInstanceGeneratorUrlOk returns a tuple with the AmInstanceGeneratorUrl field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetAmInstanceGeneratorUrlOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.AmInstanceGeneratorUrl, true
}
// SetAmInstanceGeneratorUrl sets field value
func (o *FormattedApiInstance) SetAmInstanceGeneratorUrl(v string) {
o.AmInstanceGeneratorUrl = v
}
// GetAmInstanceGeneratorUrlDatasource returns the AmInstanceGeneratorUrlDatasource field value
func (o *FormattedApiInstance) GetAmInstanceGeneratorUrlDatasource() string {
if o == nil {
var ret string
return ret
}
return o.AmInstanceGeneratorUrlDatasource
}
// GetAmInstanceGeneratorUrlDatasourceOk returns a tuple with the AmInstanceGeneratorUrlDatasource field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetAmInstanceGeneratorUrlDatasourceOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.AmInstanceGeneratorUrlDatasource, true
}
// SetAmInstanceGeneratorUrlDatasource sets field value
func (o *FormattedApiInstance) SetAmInstanceGeneratorUrlDatasource(v string) {
o.AmInstanceGeneratorUrlDatasource = v
}
// GetAmInstanceId returns the AmInstanceId field value
func (o *FormattedApiInstance) GetAmInstanceId() float32 {
if o == nil {
var ret float32
return ret
}
return o.AmInstanceId
}
// GetAmInstanceIdOk returns a tuple with the AmInstanceId field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetAmInstanceIdOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.AmInstanceId, true
}
// SetAmInstanceId sets field value
func (o *FormattedApiInstance) SetAmInstanceId(v float32) {
o.AmInstanceId = v
}
// GetAmInstanceName returns the AmInstanceName field value
func (o *FormattedApiInstance) GetAmInstanceName() string {
if o == nil {
var ret string
return ret
}
return o.AmInstanceName
}
// GetAmInstanceNameOk returns a tuple with the AmInstanceName field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetAmInstanceNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.AmInstanceName, true
}
// SetAmInstanceName sets field value
func (o *FormattedApiInstance) SetAmInstanceName(v string) {
o.AmInstanceName = v
}
// GetAmInstanceStatus returns the AmInstanceStatus field value
func (o *FormattedApiInstance) GetAmInstanceStatus() string {
if o == nil {
var ret string
return ret
}
return o.AmInstanceStatus
}
// GetAmInstanceStatusOk returns a tuple with the AmInstanceStatus field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetAmInstanceStatusOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.AmInstanceStatus, true
}
// SetAmInstanceStatus sets field value
func (o *FormattedApiInstance) SetAmInstanceStatus(v string) {
o.AmInstanceStatus = v
}
// GetAmInstanceUrl returns the AmInstanceUrl field value
func (o *FormattedApiInstance) GetAmInstanceUrl() string {
if o == nil {
var ret string
return ret
}
return o.AmInstanceUrl
}
// GetAmInstanceUrlOk returns a tuple with the AmInstanceUrl field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetAmInstanceUrlOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.AmInstanceUrl, true
}
// SetAmInstanceUrl sets field value
func (o *FormattedApiInstance) SetAmInstanceUrl(v string) {
o.AmInstanceUrl = v
}
// GetAmInstanceClusterId returns the AmInstanceClusterId field value
func (o *FormattedApiInstance) GetAmInstanceClusterId() float32 {
if o == nil {
var ret float32
return ret
}
return o.AmInstanceClusterId
}
// GetAmInstanceClusterIdOk returns a tuple with the AmInstanceClusterId field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetAmInstanceClusterIdOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.AmInstanceClusterId, true
}
// SetAmInstanceClusterId sets field value
func (o *FormattedApiInstance) SetAmInstanceClusterId(v float32) {
o.AmInstanceClusterId = v
}
// GetBillingActiveUsers returns the BillingActiveUsers field value
func (o *FormattedApiInstance) GetBillingActiveUsers() float32 {
if o == nil {
var ret float32
return ret
}
return o.BillingActiveUsers
}
// GetBillingActiveUsersOk returns a tuple with the BillingActiveUsers field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetBillingActiveUsersOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.BillingActiveUsers, true
}
// SetBillingActiveUsers sets field value
func (o *FormattedApiInstance) SetBillingActiveUsers(v float32) {
o.BillingActiveUsers = v
}
// GetBillingEndDate returns the BillingEndDate field value
// If the value is explicit nil, the zero value for string will be returned
func (o *FormattedApiInstance) GetBillingEndDate() string {
if o == nil || o.BillingEndDate.Get() == nil {
var ret string
return ret
}
return *o.BillingEndDate.Get()
}
// GetBillingEndDateOk returns a tuple with the BillingEndDate field value
// 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 *FormattedApiInstance) GetBillingEndDateOk() (*string, bool) {
if o == nil {
return nil, false
}
return o.BillingEndDate.Get(), o.BillingEndDate.IsSet()
}
// SetBillingEndDate sets field value
func (o *FormattedApiInstance) SetBillingEndDate(v string) {
o.BillingEndDate.Set(&v)
}
// GetBillingGrafanaActiveUsers returns the BillingGrafanaActiveUsers field value
func (o *FormattedApiInstance) GetBillingGrafanaActiveUsers() float32 {
if o == nil {
var ret float32
return ret
}
return o.BillingGrafanaActiveUsers
}
// GetBillingGrafanaActiveUsersOk returns a tuple with the BillingGrafanaActiveUsers field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetBillingGrafanaActiveUsersOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.BillingGrafanaActiveUsers, true
}
// SetBillingGrafanaActiveUsers sets field value
func (o *FormattedApiInstance) SetBillingGrafanaActiveUsers(v float32) {
o.BillingGrafanaActiveUsers = v
}
// GetBillingOnCallActiveUsers returns the BillingOnCallActiveUsers field value
func (o *FormattedApiInstance) GetBillingOnCallActiveUsers() float32 {
if o == nil {
var ret float32
return ret
}
return o.BillingOnCallActiveUsers
}
// GetBillingOnCallActiveUsersOk returns a tuple with the BillingOnCallActiveUsers field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetBillingOnCallActiveUsersOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.BillingOnCallActiveUsers, true
}
// SetBillingOnCallActiveUsers sets field value
func (o *FormattedApiInstance) SetBillingOnCallActiveUsers(v float32) {
o.BillingOnCallActiveUsers = v
}
// GetBillingStartDate returns the BillingStartDate field value
func (o *FormattedApiInstance) GetBillingStartDate() string {
if o == nil {
var ret string
return ret
}
return o.BillingStartDate
}
// GetBillingStartDateOk returns a tuple with the BillingStartDate field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetBillingStartDateOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.BillingStartDate, true
}
// SetBillingStartDate sets field value
func (o *FormattedApiInstance) SetBillingStartDate(v string) {
o.BillingStartDate = v
}
// GetClusterId returns the ClusterId field value
func (o *FormattedApiInstance) GetClusterId() float32 {
if o == nil {
var ret float32
return ret
}
return o.ClusterId
}
// GetClusterIdOk returns a tuple with the ClusterId field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetClusterIdOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.ClusterId, true
}
// SetClusterId sets field value
func (o *FormattedApiInstance) SetClusterId(v float32) {
o.ClusterId = v
}
// GetClusterName returns the ClusterName field value
func (o *FormattedApiInstance) GetClusterName() string {
if o == nil {
var ret string
return ret
}
return o.ClusterName
}
// GetClusterNameOk returns a tuple with the ClusterName field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetClusterNameOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.ClusterName, true
}
// SetClusterName sets field value
func (o *FormattedApiInstance) SetClusterName(v string) {
o.ClusterName = v
}
// GetClusterSlug returns the ClusterSlug field value
func (o *FormattedApiInstance) GetClusterSlug() string {
if o == nil {
var ret string
return ret
}
return o.ClusterSlug
}
// GetClusterSlugOk returns a tuple with the ClusterSlug field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetClusterSlugOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.ClusterSlug, true
}
// SetClusterSlug sets field value
func (o *FormattedApiInstance) SetClusterSlug(v string) {
o.ClusterSlug = v
}
// GetCreatedAt returns the CreatedAt field value
func (o *FormattedApiInstance) GetCreatedAt() string {
if o == nil {
var ret string
return ret
}
return o.CreatedAt
}
// GetCreatedAtOk returns a tuple with the CreatedAt field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetCreatedAtOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.CreatedAt, true
}
// SetCreatedAt sets field value
func (o *FormattedApiInstance) SetCreatedAt(v string) {
o.CreatedAt = v
}
// GetCreatedBy returns the CreatedBy field value
func (o *FormattedApiInstance) GetCreatedBy() string {
if o == nil {
var ret string
return ret
}
return o.CreatedBy
}
// GetCreatedByOk returns a tuple with the CreatedBy field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetCreatedByOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.CreatedBy, true
}
// SetCreatedBy sets field value
func (o *FormattedApiInstance) SetCreatedBy(v string) {
o.CreatedBy = v
}
// GetCurrentActiveAdminUsers returns the CurrentActiveAdminUsers field value
func (o *FormattedApiInstance) GetCurrentActiveAdminUsers() float32 {
if o == nil {
var ret float32
return ret
}
return o.CurrentActiveAdminUsers
}
// GetCurrentActiveAdminUsersOk returns a tuple with the CurrentActiveAdminUsers field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetCurrentActiveAdminUsersOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.CurrentActiveAdminUsers, true
}
// SetCurrentActiveAdminUsers sets field value
func (o *FormattedApiInstance) SetCurrentActiveAdminUsers(v float32) {
o.CurrentActiveAdminUsers = v
}
// GetCurrentActiveEditorUsers returns the CurrentActiveEditorUsers field value
func (o *FormattedApiInstance) GetCurrentActiveEditorUsers() float32 {
if o == nil {
var ret float32
return ret
}
return o.CurrentActiveEditorUsers
}
// GetCurrentActiveEditorUsersOk returns a tuple with the CurrentActiveEditorUsers field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetCurrentActiveEditorUsersOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.CurrentActiveEditorUsers, true
}
// SetCurrentActiveEditorUsers sets field value
func (o *FormattedApiInstance) SetCurrentActiveEditorUsers(v float32) {
o.CurrentActiveEditorUsers = v
}
// GetCurrentActiveUsers returns the CurrentActiveUsers field value
func (o *FormattedApiInstance) GetCurrentActiveUsers() float32 {
if o == nil {
var ret float32
return ret
}
return o.CurrentActiveUsers
}
// GetCurrentActiveUsersOk returns a tuple with the CurrentActiveUsers field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetCurrentActiveUsersOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.CurrentActiveUsers, true
}
// SetCurrentActiveUsers sets field value
func (o *FormattedApiInstance) SetCurrentActiveUsers(v float32) {
o.CurrentActiveUsers = v
}
// GetCurrentActiveViewerUsers returns the CurrentActiveViewerUsers field value
func (o *FormattedApiInstance) GetCurrentActiveViewerUsers() float32 {
if o == nil {
var ret float32
return ret
}
return o.CurrentActiveViewerUsers
}
// GetCurrentActiveViewerUsersOk returns a tuple with the CurrentActiveViewerUsers field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetCurrentActiveViewerUsersOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.CurrentActiveViewerUsers, true
}
// SetCurrentActiveViewerUsers sets field value
func (o *FormattedApiInstance) SetCurrentActiveViewerUsers(v float32) {
o.CurrentActiveViewerUsers = v
}
// GetCustomAuth returns the CustomAuth field value
func (o *FormattedApiInstance) GetCustomAuth() bool {
if o == nil {
var ret bool
return ret
}
return o.CustomAuth
}
// GetCustomAuthOk returns a tuple with the CustomAuth field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetCustomAuthOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.CustomAuth, true
}
// SetCustomAuth sets field value
func (o *FormattedApiInstance) SetCustomAuth(v bool) {
o.CustomAuth = v
}
// GetCustomDomain returns the CustomDomain field value
func (o *FormattedApiInstance) GetCustomDomain() bool {
if o == nil {
var ret bool
return ret
}
return o.CustomDomain
}
// GetCustomDomainOk returns a tuple with the CustomDomain field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetCustomDomainOk() (*bool, bool) {
if o == nil {
return nil, false
}
return &o.CustomDomain, true
}
// SetCustomDomain sets field value
func (o *FormattedApiInstance) SetCustomDomain(v bool) {
o.CustomDomain = v
}
// GetDailyAdminCnt returns the DailyAdminCnt field value
func (o *FormattedApiInstance) GetDailyAdminCnt() float32 {
if o == nil {
var ret float32
return ret
}
return o.DailyAdminCnt
}
// GetDailyAdminCntOk returns a tuple with the DailyAdminCnt field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetDailyAdminCntOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.DailyAdminCnt, true
}
// SetDailyAdminCnt sets field value
func (o *FormattedApiInstance) SetDailyAdminCnt(v float32) {
o.DailyAdminCnt = v
}
// GetDailyEditorCnt returns the DailyEditorCnt field value
func (o *FormattedApiInstance) GetDailyEditorCnt() float32 {
if o == nil {
var ret float32
return ret
}
return o.DailyEditorCnt
}
// GetDailyEditorCntOk returns a tuple with the DailyEditorCnt field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetDailyEditorCntOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.DailyEditorCnt, true
}
// SetDailyEditorCnt sets field value
func (o *FormattedApiInstance) SetDailyEditorCnt(v float32) {
o.DailyEditorCnt = v
}
// GetDailyUserCnt returns the DailyUserCnt field value
func (o *FormattedApiInstance) GetDailyUserCnt() float32 {
if o == nil {
var ret float32
return ret
}
return o.DailyUserCnt
}
// GetDailyUserCntOk returns a tuple with the DailyUserCnt field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetDailyUserCntOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.DailyUserCnt, true
}
// SetDailyUserCnt sets field value
func (o *FormattedApiInstance) SetDailyUserCnt(v float32) {
o.DailyUserCnt = v
}
// GetDailyViewerCnt returns the DailyViewerCnt field value
func (o *FormattedApiInstance) GetDailyViewerCnt() float32 {
if o == nil {
var ret float32
return ret
}
return o.DailyViewerCnt
}
// GetDailyViewerCntOk returns a tuple with the DailyViewerCnt field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetDailyViewerCntOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.DailyViewerCnt, true
}
// SetDailyViewerCnt sets field value
func (o *FormattedApiInstance) SetDailyViewerCnt(v float32) {
o.DailyViewerCnt = v
}
// GetDashboardCnt returns the DashboardCnt field value
func (o *FormattedApiInstance) GetDashboardCnt() float32 {
if o == nil {
var ret float32
return ret
}
return o.DashboardCnt
}
// GetDashboardCntOk returns a tuple with the DashboardCnt field value
// and a boolean to check if the value has been set.
func (o *FormattedApiInstance) GetDashboardCntOk() (*float32, bool) {
if o == nil {
return nil, false
}
return &o.DashboardCnt, true
}
// SetDashboardCnt sets field value
func (o *FormattedApiInstance) SetDashboardCnt(v float32) {
o.DashboardCnt = v
}
// GetDashboardQuota returns the DashboardQuota field value
func (o *FormattedApiInstance) GetDashboardQuota() float32 {
if o == nil {
var ret float32