aboutsummaryrefslogtreecommitdiffstats
path: root/UniversalVesAdapter/src/main/java/org/onap/dcaegen2/ves/domain/ves7_0/MeasurementFields.java
blob: 2c82fed3b1d1c0289effc93c79fa849a4cd34ec6 (plain)
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
/*
* ============LICENSE_START=======================================================
* ONAP : DCAE
* ================================================================================
* Copyright 2018 TechMahindra
*=================================================================================
* 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.
* ============LICENSE_END=========================================================
*/
package org.onap.dcaegen2.ves.domain.ves7_0;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonValue;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;


/**
 * measurement fields
 * 
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
    "additionalFields",
    "additionalMeasurements",
    "additionalObjects",
    "codecUsageArray",
    "concurrentSessions",
    "configuredEntities",
    "cpuUsageArray",
    "diskUsageArray",
    "featureUsageArray",
    "filesystemUsageArray",
    "hugePagesArray",
    "ipmi",
    "latencyDistribution",
    "loadArray",
    "machineCheckExceptionArray",
    "meanRequestLatency",
    "measurementInterval",
    "measurementFieldsVersion",
    "memoryUsageArray",
    "numberOfMediaPortsInUse",
    "requestRate",
    "nfcScalingMetric",
    "nicPerformanceArray",
    "processStatsArray"
})
public class MeasurementFields {

    /**
     * an associative array which is an array of key:value pairs
     * 
     */
    @JsonProperty("additionalFields")
    @JsonPropertyDescription("an associative array which is an array of key:value pairs")
    private AlarmAdditionalInformation additionalFields;
    /**
     * array of named hashMaps
     * 
     */
    @JsonProperty("additionalMeasurements")
    @JsonPropertyDescription("array of named hashMaps")
    private List<AdditionalMeasurement> additionalMeasurements = new ArrayList<AdditionalMeasurement>();
    /**
     * array of json objects described by name, schema and other meta-information
     * 
     */
    @JsonProperty("additionalObjects")
    @JsonPropertyDescription("array of json objects described by name, schema and other meta-information")
    private List<AdditionalObject> additionalObjects = new ArrayList<AdditionalObject>();
    /**
     * array of codecs in use
     * 
     */
    @JsonProperty("codecUsageArray")
    @JsonPropertyDescription("array of codecs in use")
    private List<CodecUsageArray> codecUsageArray = new ArrayList<CodecUsageArray>();
    /**
     * peak concurrent sessions for the VM or xNF over the measurementInterval
     * 
     */
    @JsonProperty("concurrentSessions")
    @JsonPropertyDescription("peak concurrent sessions for the VM or xNF over the measurementInterval")
    private Integer concurrentSessions;
    /**
     * over the measurementInterval, peak total number of: users, subscribers, devices, adjacencies, etc., for the VM, or subscribers, devices, etc., for the xNF
     * 
     */
    @JsonProperty("configuredEntities")
    @JsonPropertyDescription("over the measurementInterval, peak total number of: users, subscribers, devices, adjacencies, etc., for the VM, or subscribers, devices, etc., for the xNF")
    private Integer configuredEntities;
    /**
     * usage of an array of CPUs
     * 
     */
    @JsonProperty("cpuUsageArray")
    @JsonPropertyDescription("usage of an array of CPUs")
    private List<CpuUsageArray> cpuUsageArray = new ArrayList<CpuUsageArray>();
    /**
     * usage of an array of disks
     * 
     */
    @JsonProperty("diskUsageArray")
    @JsonPropertyDescription("usage of an array of disks")
    private List<DiskUsageArray> diskUsageArray = new ArrayList<DiskUsageArray>();
    /**
     * an associative array which is an array of key:value pairs
     * 
     */
    @JsonProperty("featureUsageArray")
    @JsonPropertyDescription("an associative array which is an array of key:value pairs")
    private AlarmAdditionalInformation featureUsageArray;
    /**
     * filesystem usage of the VM on which the xNFC reporting the event is running
     * 
     */
    @JsonProperty("filesystemUsageArray")
    @JsonPropertyDescription("filesystem usage of the VM on which the xNFC reporting the event is running")
    private List<FilesystemUsageArray> filesystemUsageArray = new ArrayList<FilesystemUsageArray>();
    /**
     * array of metrics on hugepPages
     * 
     */
    @JsonProperty("hugePagesArray")
    @JsonPropertyDescription("array of metrics on hugepPages")
    private List<HugePagesArray> hugePagesArray = new ArrayList<HugePagesArray>();
    /**
     * intelligent platform management interface metrics
     * 
     */
    @JsonProperty("ipmi")
    @JsonPropertyDescription("intelligent platform management interface metrics")
    private Ipmi ipmi;
    /**
     * array of integers representing counts of requests whose latency in milliseconds falls within per-xNF configured ranges
     * 
     */
    @JsonProperty("latencyDistribution")
    @JsonPropertyDescription("array of integers representing counts of requests whose latency in milliseconds falls within per-xNF configured ranges")
    private List<LatencyDistribution> latencyDistribution = new ArrayList<LatencyDistribution>();
    /**
     * array of system load metrics
     * 
     */
    @JsonProperty("loadArray")
    @JsonPropertyDescription("array of system load metrics")
    private List<LoadArray> loadArray = new ArrayList<LoadArray>();
    /**
     * array of machine check exceptions
     * 
     */
    @JsonProperty("machineCheckExceptionArray")
    @JsonPropertyDescription("array of machine check exceptions")
    private List<MachineCheckExceptionArray> machineCheckExceptionArray = new ArrayList<MachineCheckExceptionArray>();
    /**
     * mean seconds required to respond to each request for the VM on which the xNFC reporting the event is running
     * 
     */
    @JsonProperty("meanRequestLatency")
    @JsonPropertyDescription("mean seconds required to respond to each request for the VM on which the xNFC reporting the event is running")
    private Double meanRequestLatency;
    /**
     * interval over which measurements are being reported in seconds
     * (Required)
     * 
     */
    @JsonProperty("measurementInterval")
    @JsonPropertyDescription("interval over which measurements are being reported in seconds")
    private Double measurementInterval;
    /**
     * version of the measurementFields block
     * (Required)
     * 
     */
    @JsonProperty("measurementFieldsVersion")
    @JsonPropertyDescription("version of the measurementFields block")
    private MeasurementFields.MeasurementFieldsVersion measurementFieldsVersion;
    /**
     * memory usage of an array of VMs
     * 
     */
    @JsonProperty("memoryUsageArray")
    @JsonPropertyDescription("memory usage of an array of VMs")
    private List<MemoryUsageArray> memoryUsageArray = new ArrayList<MemoryUsageArray>();
    /**
     * number of media ports in use
     * 
     */
    @JsonProperty("numberOfMediaPortsInUse")
    @JsonPropertyDescription("number of media ports in use")
    private Integer numberOfMediaPortsInUse;
    /**
     * peak rate of service requests per second to the xNF over the measurementInterval
     * 
     */
    @JsonProperty("requestRate")
    @JsonPropertyDescription("peak rate of service requests per second to the xNF over the measurementInterval")
    private Double requestRate;
    /**
     * represents busy-ness of the network function from 0 to 100 as reported by the xNFC
     * 
     */
    @JsonProperty("nfcScalingMetric")
    @JsonPropertyDescription("represents busy-ness of the network function from 0 to 100 as reported by the xNFC")
    private Integer nfcScalingMetric;
    /**
     * usage of an array of network interface cards
     * 
     */
    @JsonProperty("nicPerformanceArray")
    @JsonPropertyDescription("usage of an array of network interface cards")
    private List<NicPerformanceArray> nicPerformanceArray = new ArrayList<NicPerformanceArray>();
    /**
     * array of metrics on system processes
     * 
     */
    @JsonProperty("processStatsArray")
    @JsonPropertyDescription("array of metrics on system processes")
    private List<ProcessStatsArray> processStatsArray = new ArrayList<ProcessStatsArray>();

    /**
     * an associative array which is an array of key:value pairs
     * 
     */
    @JsonProperty("additionalFields")
    public AlarmAdditionalInformation getAdditionalFields() {
        return additionalFields;
    }

    /**
     * an associative array which is an array of key:value pairs
     * 
     */
    @JsonProperty("additionalFields")
    public void setAdditionalFields(AlarmAdditionalInformation additionalFields) {
        this.additionalFields = additionalFields;
    }

    /**
     * array of named hashMaps
     * 
     */
    @JsonProperty("additionalMeasurements")
    public List<AdditionalMeasurement> getAdditionalMeasurements() {
        return additionalMeasurements;
    }

    /**
     * array of named hashMaps
     * 
     */
    @JsonProperty("additionalMeasurements")
    public void setAdditionalMeasurements(List<AdditionalMeasurement> additionalMeasurements) {
        this.additionalMeasurements = additionalMeasurements;
    }

    /**
     * array of json objects described by name, schema and other meta-information
     * 
     */
    @JsonProperty("additionalObjects")
    public List<AdditionalObject> getAdditionalObjects() {
        return additionalObjects;
    }

    /**
     * array of json objects described by name, schema and other meta-information
     * 
     */
    @JsonProperty("additionalObjects")
    public void setAdditionalObjects(List<AdditionalObject> additionalObjects) {
        this.additionalObjects = additionalObjects;
    }

    /**
     * array of codecs in use
     * 
     */
    @JsonProperty("codecUsageArray")
    public List<CodecUsageArray> getCodecUsageArray() {
        return codecUsageArray;
    }

    /**
     * array of codecs in use
     * 
     */
    @JsonProperty("codecUsageArray")
    public void setCodecUsageArray(List<CodecUsageArray> codecUsageArray) {
        this.codecUsageArray = codecUsageArray;
    }

    /**
     * peak concurrent sessions for the VM or xNF over the measurementInterval
     * 
     */
    @JsonProperty("concurrentSessions")
    public Integer getConcurrentSessions() {
        return concurrentSessions;
    }

    /**
     * peak concurrent sessions for the VM or xNF over the measurementInterval
     * 
     */
    @JsonProperty("concurrentSessions")
    public void setConcurrentSessions(Integer concurrentSessions) {
        this.concurrentSessions = concurrentSessions;
    }

    /**
     * over the measurementInterval, peak total number of: users, subscribers, devices, adjacencies, etc., for the VM, or subscribers, devices, etc., for the xNF
     * 
     */
    @JsonProperty("configuredEntities")
    public Integer getConfiguredEntities() {
        return configuredEntities;
    }

    /**
     * over the measurementInterval, peak total number of: users, subscribers, devices, adjacencies, etc., for the VM, or subscribers, devices, etc., for the xNF
     * 
     */
    @JsonProperty("configuredEntities")
    public void setConfiguredEntities(Integer configuredEntities) {
        this.configuredEntities = configuredEntities;
    }

    /**
     * usage of an array of CPUs
     * 
     */
    @JsonProperty("cpuUsageArray")
    public List<CpuUsageArray> getCpuUsageArray() {
        return cpuUsageArray;
    }

    /**
     * usage of an array of CPUs
     * 
     */
    @JsonProperty("cpuUsageArray")
    public void setCpuUsageArray(List<CpuUsageArray> cpuUsageArray) {
        this.cpuUsageArray = cpuUsageArray;
    }

    /**
     * usage of an array of disks
     * 
     */
    @JsonProperty("diskUsageArray")
    public List<DiskUsageArray> getDiskUsageArray() {
        return diskUsageArray;
    }

    /**
     * usage of an array of disks
     * 
     */
    @JsonProperty("diskUsageArray")
    public void setDiskUsageArray(List<DiskUsageArray> diskUsageArray) {
        this.diskUsageArray = diskUsageArray;
    }

    /**
     * an associative array which is an array of key:value pairs
     * 
     */
    @JsonProperty("featureUsageArray")
    public AlarmAdditionalInformation getFeatureUsageArray() {
        return featureUsageArray;
    }

    /**
     * an associative array which is an array of key:value pairs
     * 
     */
    @JsonProperty("featureUsageArray")
    public void setFeatureUsageArray(AlarmAdditionalInformation featureUsageArray) {
        this.featureUsageArray = featureUsageArray;
    }

    /**
     * filesystem usage of the VM on which the xNFC reporting the event is running
     * 
     */
    @JsonProperty("filesystemUsageArray")
    public List<FilesystemUsageArray> getFilesystemUsageArray() {
        return filesystemUsageArray;
    }

    /**
     * filesystem usage of the VM on which the xNFC reporting the event is running
     * 
     */
    @JsonProperty("filesystemUsageArray")
    public void setFilesystemUsageArray(List<FilesystemUsageArray> filesystemUsageArray) {
        this.filesystemUsageArray = filesystemUsageArray;
    }

    /**
     * array of metrics on hugepPages
     * 
     */
    @JsonProperty("hugePagesArray")
    public List<HugePagesArray> getHugePagesArray() {
        return hugePagesArray;
    }

    /**
     * array of metrics on hugepPages
     * 
     */
    @JsonProperty("hugePagesArray")
    public void setHugePagesArray(List<HugePagesArray> hugePagesArray) {
        this.hugePagesArray = hugePagesArray;
    }

    /**
     * intelligent platform management interface metrics
     * 
     */
    @JsonProperty("ipmi")
    public Ipmi getIpmi() {
        return ipmi;
    }

    /**
     * intelligent platform management interface metrics
     * 
     */
    @JsonProperty("ipmi")
    public void setIpmi(Ipmi ipmi) {
        this.ipmi = ipmi;
    }

    /**
     * array of integers representing counts of requests whose latency in milliseconds falls within per-xNF configured ranges
     * 
     */
    @JsonProperty("latencyDistribution")
    public List<LatencyDistribution> getLatencyDistribution() {
        return latencyDistribution;
    }

    /**
     * array of integers representing counts of requests whose latency in milliseconds falls within per-xNF configured ranges
     * 
     */
    @JsonProperty("latencyDistribution")
    public void setLatencyDistribution(List<LatencyDistribution> latencyDistribution) {
        this.latencyDistribution = latencyDistribution;
    }

    /**
     * array of system load metrics
     * 
     */
    @JsonProperty("loadArray")
    public List<LoadArray> getLoadArray() {
        return loadArray;
    }

    /**
     * array of system load metrics
     * 
     */
    @JsonProperty("loadArray")
    public void setLoadArray(List<LoadArray> loadArray) {
        this.loadArray = loadArray;
    }

    /**
     * array of machine check exceptions
     * 
     */
    @JsonProperty("machineCheckExceptionArray")
    public List<MachineCheckExceptionArray> getMachineCheckExceptionArray() {
        return machineCheckExceptionArray;
    }

    /**
     * array of machine check exceptions
     * 
     */
    @JsonProperty("machineCheckExceptionArray")
    public void setMachineCheckExceptionArray(List<MachineCheckExceptionArray> machineCheckExceptionArray) {
        this.machineCheckExceptionArray = machineCheckExceptionArray;
    }

    /**
     * mean seconds required to respond to each request for the VM on which the xNFC reporting the event is running
     * 
     */
    @JsonProperty("meanRequestLatency")
    public Double getMeanRequestLatency() {
        return meanRequestLatency;
    }

    /**
     * mean seconds required to respond to each request for the VM on which the xNFC reporting the event is running
     * 
     */
    @JsonProperty("meanRequestLatency")
    public void setMeanRequestLatency(Double meanRequestLatency) {
        this.meanRequestLatency = meanRequestLatency;
    }

    /**
     * interval over which measurements are being reported in seconds
     * (Required)
     * 
     */
    @JsonProperty("measurementInterval")
    public Double getMeasurementInterval() {
        return measurementInterval;
    }

    /**
     * interval over which measurements are being reported in seconds
     * (Required)
     * 
     */
    @JsonProperty("measurementInterval")
    public void setMeasurementInterval(Double measurementInterval) {
        this.measurementInterval = measurementInterval;
    }

    /**
     * version of the measurementFields block
     * (Required)
     * 
     */
    @JsonProperty("measurementFieldsVersion")
    public MeasurementFields.MeasurementFieldsVersion getMeasurementFieldsVersion() {
        return measurementFieldsVersion;
    }

    /**
     * version of the measurementFields block
     * (Required)
     * 
     */
    @JsonProperty("measurementFieldsVersion")
    public void setMeasurementFieldsVersion(MeasurementFields.MeasurementFieldsVersion measurementFieldsVersion) {
        this.measurementFieldsVersion = measurementFieldsVersion;
    }

    /**
     * memory usage of an array of VMs
     * 
     */
    @JsonProperty("memoryUsageArray")
    public List<MemoryUsageArray> getMemoryUsageArray() {
        return memoryUsageArray;
    }

    /**
     * memory usage of an array of VMs
     * 
     */
    @JsonProperty("memoryUsageArray")
    public void setMemoryUsageArray(List<MemoryUsageArray> memoryUsageArray) {
        this.memoryUsageArray = memoryUsageArray;
    }

    /**
     * number of media ports in use
     * 
     */
    @JsonProperty("numberOfMediaPortsInUse")
    public Integer getNumberOfMediaPortsInUse() {
        return numberOfMediaPortsInUse;
    }

    /**
     * number of media ports in use
     * 
     */
    @JsonProperty("numberOfMediaPortsInUse")
    public void setNumberOfMediaPortsInUse(Integer numberOfMediaPortsInUse) {
        this.numberOfMediaPortsInUse = numberOfMediaPortsInUse;
    }

    /**
     * peak rate of service requests per second to the xNF over the measurementInterval
     * 
     */
    @JsonProperty("requestRate")
    public Double getRequestRate() {
        return requestRate;
    }

    /**
     * peak rate of service requests per second to the xNF over the measurementInterval
     * 
     */
    @JsonProperty("requestRate")
    public void setRequestRate(Double requestRate) {
        this.requestRate = requestRate;
    }

    /**
     * represents busy-ness of the network function from 0 to 100 as reported by the xNFC
     * 
     */
    @JsonProperty("nfcScalingMetric")
    public Integer getNfcScalingMetric() {
        return nfcScalingMetric;
    }

    /**
     * represents busy-ness of the network function from 0 to 100 as reported by the xNFC
     * 
     */
    @JsonProperty("nfcScalingMetric")
    public void setNfcScalingMetric(Integer nfcScalingMetric) {
        this.nfcScalingMetric = nfcScalingMetric;
    }

    /**
     * usage of an array of network interface cards
     * 
     */
    @JsonProperty("nicPerformanceArray")
    public List<NicPerformanceArray> getNicPerformanceArray() {
        return nicPerformanceArray;
    }

    /**
     * usage of an array of network interface cards
     * 
     */
    @JsonProperty("nicPerformanceArray")
    public void setNicPerformanceArray(List<NicPerformanceArray> nicPerformanceArray) {
        this.nicPerformanceArray = nicPerformanceArray;
    }

    /**
     * array of metrics on system processes
     * 
     */
    @JsonProperty("processStatsArray")
    public List<ProcessStatsArray> getProcessStatsArray() {
        return processStatsArray;
    }

    /**
     * array of metrics on system processes
     * 
     */
    @JsonProperty("processStatsArray")
    public void setProcessStatsArray(List<ProcessStatsArray> processStatsArray) {
        this.processStatsArray = processStatsArray;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

    @Override
    public int hashCode() {
        return new HashCodeBuilder().append(additionalFields).append(additionalMeasurements).append(additionalObjects).append(codecUsageArray).append(concurrentSessions).append(configuredEntities).append(cpuUsageArray).append(diskUsageArray).append(featureUsageArray).append(filesystemUsageArray).append(hugePagesArray).append(ipmi).append(latencyDistribution).append(loadArray).append(machineCheckExceptionArray).append(meanRequestLatency).append(measurementInterval).append(measurementFieldsVersion).append(memoryUsageArray).append(numberOfMediaPortsInUse).append(requestRate).append(nfcScalingMetric).append(nicPerformanceArray).append(processStatsArray).toHashCode();
    }

    @Override
    public boolean equals(Object other) {
        if (other == this) {
            return true;
        }
        if ((other instanceof MeasurementFields) == false) {
            return false;
        }
        MeasurementFields rhs = ((MeasurementFields) other);
        return new EqualsBuilder().append(additionalFields, rhs.additionalFields).append(additionalMeasurements, rhs.additionalMeasurements).append(additionalObjects, rhs.additionalObjects).append(codecUsageArray, rhs.codecUsageArray).append(concurrentSessions, rhs.concurrentSessions).append(configuredEntities, rhs.configuredEntities).append(cpuUsageArray, rhs.cpuUsageArray).append(diskUsageArray, rhs.diskUsageArray).append(featureUsageArray, rhs.featureUsageArray).append(filesystemUsageArray, rhs.filesystemUsageArray).append(hugePagesArray, rhs.hugePagesArray).append(ipmi, rhs.ipmi).append(latencyDistribution, rhs.latencyDistribution).append(loadArray, rhs.loadArray).append(machineCheckExceptionArray, rhs.machineCheckExceptionArray).append(meanRequestLatency, rhs.meanRequestLatency).append(measurementInterval, rhs.measurementInterval).append(measurementFieldsVersion, rhs.measurementFieldsVersion).append(memoryUsageArray, rhs.memoryUsageArray).append(numberOfMediaPortsInUse, rhs.numberOfMediaPortsInUse).append(requestRate, rhs.requestRate).append(nfcScalingMetric, rhs.nfcScalingMetric).append(nicPerformanceArray, rhs.nicPerformanceArray).append(processStatsArray, rhs.processStatsArray).isEquals();
    }

    public enum MeasurementFieldsVersion {

        _4_0("4.0");
        private final String value;
        private final static Map<String, MeasurementFields.MeasurementFieldsVersion> CONSTANTS = new HashMap<String, MeasurementFields.MeasurementFieldsVersion>();

        static {
            for (MeasurementFields.MeasurementFieldsVersion c: values()) {
                CONSTANTS.put(c.value, c);
            }
        }

        private MeasurementFieldsVersion(String value) {
            this.value = value;
        }

        @Override
        public String toString() {
            return this.value;
        }

        @JsonValue
        public String value() {
            return this.value;
        }

        @JsonCreator
        public static MeasurementFields.MeasurementFieldsVersion fromValue(String value) {
            MeasurementFields.MeasurementFieldsVersion constant = CONSTANTS.get(value);
            if (constant == null) {
                throw new IllegalArgumentException(value);
            } else {
                return constant;
            }
        }

    }

}